mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Address late review of SwitchBee (#78585)
This commit is contained in:
parent
f2a661026f
commit
42c28cd074
@ -76,7 +76,7 @@ class SwitchBeeSwitchEntity(CoordinatorEntity[SwitchBeeCoordinator], SwitchEntit
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
"""Return True if entity is available."""
|
||||
return self._is_online and self.coordinator.last_update_success
|
||||
return self._is_online and super().available
|
||||
|
||||
@callback
|
||||
def _handle_coordinator_update(self) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user