-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Climate, water_heater: improve reporting of invalid units.
If unit was static (attached to temperature / current_temperature etc dp), there was a possibility that a None value could get reported from another dp that was checked earlier. Also, water_heater only checked temperature, which meany anko kettle would report as no unit, since the config has it on the current_temperature. Issue #1855
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters