Skip to content

Commit

Permalink
Improve availability for Shelly Valve
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelli74 committed Dec 16, 2021
1 parent 61cdc04 commit d8cbd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/shelly/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def available(self) -> bool:
"""Device availability."""
if self.device_block is not None:
return not cast(bool, self.device_block.valveError)
return True
return self.wrapper.last_update_success

@property
def hvac_mode(self) -> str:
Expand Down

0 comments on commit d8cbd81

Please sign in to comment.