Skip to content

Commit

Permalink
Additional fixes of 3b3fb7b
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Jan 22, 2024
1 parent 3b3fb7b commit e8fd652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/echonetlite/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ async def async_update(self):
"""Retrieve latest state."""
try:
await self._connector.async_update()
self._attr_native_value = self.get_attr_native_value()
except TimeoutError:
pass

Expand Down

0 comments on commit e8fd652

Please sign in to comment.