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 Franck Nijhof
parent b5783e6f5c
commit aff5da5762
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -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: