Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rytilahti
Copy link
Owner

Not all humidifiers support use_time, this adds the properties to return None on those cases for better API compatibility among devices. The proper fix will be adding base classes to define the minimal common API, but that takes some time.

Spotted at home-assistant/core#59045

@rytilahti rytilahti merged commit 210e818 into master Nov 5, 2021
@rytilahti rytilahti deleted the humidifier/fix/add_noop_use_times branch November 5, 2021 14:42
@rytilahti rytilahti mentioned this pull request Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants