Address late review comment in samsungtv (#118539)

Address late comment in samsungtv
This commit is contained in:
epenet 2024-06-02 10:42:42 +02:00 committed by GitHub
parent d67ed42edc
commit e976db8443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -325,6 +325,11 @@ class SamsungTVLegacyBridge(SamsungTVBridge):
"""Try to gather infos of this device.""" """Try to gather infos of this device."""
return None 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: def _get_remote(self) -> Remote:
"""Create or return a remote control instance.""" """Create or return a remote control instance."""
if self._remote is None: if self._remote is None: