Skip to content

Commit

Permalink
Fixed wrong _first_update_done
Browse files Browse the repository at this point in the history
  • Loading branch information
albertogeniola committed Apr 24, 2020
1 parent b773a8b commit 2643d5b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/meross_cloud/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def notify_client_state(self, status: ClientStatus):
self._available = False
self.schedule_update_ha_state(False)

@property
def assumed_state(self) -> bool:
return not self._first_update_done

@property
def available(self) -> bool:
return self._available and self._device.online
Expand Down

0 comments on commit 2643d5b

Please sign in to comment.