From e976db84432eccff5c9efccb9143921e03200187 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Sun, 2 Jun 2024 10:42:42 +0200 Subject: [PATCH] Address late review comment in samsungtv (#118539) Address late comment in samsungtv --- homeassistant/components/samsungtv/bridge.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/samsungtv/bridge.py b/homeassistant/components/samsungtv/bridge.py index 0b8a5d4a268..059c6682857 100644 --- a/homeassistant/components/samsungtv/bridge.py +++ b/homeassistant/components/samsungtv/bridge.py @@ -325,6 +325,11 @@ class SamsungTVLegacyBridge(SamsungTVBridge): """Try to gather infos of this device.""" return None + def _notify_reauth_callback(self) -> None: + """Notify access denied callback.""" + if self._reauth_callback is not None: + self.hass.loop.call_soon_threadsafe(self._reauth_callback) + def _get_remote(self) -> Remote: """Create or return a remote control instance.""" if self._remote is None: