mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Update nest tests to unload config entries to perform clean teardown (#130266)
This commit is contained in:
@@ -107,6 +107,7 @@ class FakeSubscriber(GoogleNestSubscriber):
|
||||
def __init__(self) -> None: # pylint: disable=super-init-not-called
|
||||
"""Initialize Fake Subscriber."""
|
||||
self._device_manager = DeviceManager()
|
||||
self._subscriber_name = "fake-name"
|
||||
|
||||
def set_update_callback(self, target: Callable[[EventMessage], Awaitable[None]]):
|
||||
"""Capture the callback set by Home Assistant."""
|
||||
|
||||
Reference in New Issue
Block a user