mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Take into account coordinator availability for SamsungTV (#144545)
This commit is contained in:
parent
ea4120a7d4
commit
867624fc59
@ -54,7 +54,7 @@ class SamsungTVEntity(CoordinatorEntity[SamsungTVDataUpdateCoordinator], Entity)
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
"""Return the availability of the device."""
|
||||
if self._bridge.auth_failed:
|
||||
if not super().available or self._bridge.auth_failed:
|
||||
return False
|
||||
return (
|
||||
self.coordinator.is_on
|
||||
|
Loading…
x
Reference in New Issue
Block a user