Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support humidifier platform #46

Closed
codyc1515 opened this issue Oct 25, 2023 · 4 comments · Fixed by #47
Closed

Support humidifier platform #46

codyc1515 opened this issue Oct 25, 2023 · 4 comments · Fixed by #47
Labels
enhancement New feature or request

Comments

@codyc1515
Copy link

I have a Humidifier (Diffuser) configured using a Fan type, as there is no target humidity so it could not be a Climate type. Because of this, I get the warnings below. Is there a better way to set-up Humidifers?

This error originated from a custom integration.

Logger: custom_components.localtuya.fan
Source: custom_components/localtuya/core/pytuya/__init__.py:280
Integration: LocalTuya (documentation, issues)
First occurred: 13:06:51 (2 occurrences)
Last logged: 13:06:51

[eb9...wib] Entity fan.diffuser_switch is requesting unset index for option fan_speed_control
[eb9...wib] Entity fan.diffuser_switch is requesting unknown DPS index None
@codyc1515 codyc1515 added the bug Something isn't working label Oct 25, 2023
@xZetsubou
Copy link
Owner

Adding a Humidifier platform is the best solution, I don't have a humidifier device to be honest, I can add support for platform and let you to test it if you don't mind.

@codyc1515
Copy link
Author

Certainly. Let me know if you need assistance.

@xZetsubou xZetsubou changed the title unset index for option / unknown DPS index None Humidifier support Oct 25, 2023
@xZetsubou xZetsubou changed the title Humidifier support Support humidifier platform Oct 25, 2023
@xZetsubou xZetsubou added enhancement New feature or request and removed bug Something isn't working labels Oct 25, 2023
@xZetsubou
Copy link
Owner

Can you try #47 and see if it's works as it should, let me know if there is an issues.

@codyc1515
Copy link
Author

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants