Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
climate: Return None for current temperature if not returned by device
Current code will fall-back to raw value of the SET_TEMP property if the device does not return a valid, but that has two problems: - the value can be also unavailable and end up displayed as -3, - SET_TEMP is the currently set temperature, so displaying it as the current room temperature can be confusing to the user. Fix this by simply returning None if the device does not return the current room temperature.
- Loading branch information