Cleanup samsungtv coordinator (#143949)

This commit is contained in:
epenet 2025-04-30 16:25:45 +02:00 committed by GitHub
parent 4061314cd2
commit df5f150531
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ class SamsungTVDataUpdateCoordinator(DataUpdateCoordinator[None]):
async def _async_update_data(self) -> None: async def _async_update_data(self) -> None:
"""Fetch data from SamsungTV bridge.""" """Fetch data from SamsungTV bridge."""
if self.bridge.auth_failed or self.hass.is_stopping: if self.bridge.auth_failed:
return return
old_state = self.is_on old_state = self.is_on
if self.bridge.power_off_in_progress: if self.bridge.power_off_in_progress: