mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Cleanup samsungtv coordinator (#143949)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user