Skip to content

Commit

Permalink
Merge branch 'release/2022.4.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Apr 23, 2022
2 parents 6e269ac + f688e94 commit 22afbf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def __init__(
@callback
def _async_update_temp(self, state):
"""Update thermostat with latest state from sensor."""
if state.state is None or state.state == "unknown":
if state.state is None or state.state in ["unknown", "unavailable"]:
return

unit = state.attributes.get(ATTR_UNIT_OF_MEASUREMENT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "xiaomi_miio_airconditioningcompanion",
"name": "Xiaomi Mi and Aqara Air Conditioning Companion",
"config_flow": false,
"version": "2022.4.6.0",
"version": "2022.4.6.1",
"iot_class": "local_polling",
"documentation": "https://github.com/syssi/xiaomi_airconditioningcompanion",
"issue_tracker": "https://github.com/syssi/xiaomi_airconditioningcompanion/issues",
Expand Down

0 comments on commit 22afbf5

Please sign in to comment.