mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add test for HA stop to devolo Home Control (#116682)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
@@ -257,9 +257,7 @@ class HomeControlMock(HomeControl):
|
||||
self.gateway = MagicMock()
|
||||
self.gateway.local_connection = True
|
||||
self.gateway.firmware_version = "8.94.0"
|
||||
|
||||
def websocket_disconnect(self, event: str = "") -> None:
|
||||
"""Mock disconnect of the websocket."""
|
||||
self.websocket_disconnect = MagicMock()
|
||||
|
||||
|
||||
class HomeControlMockBinarySensor(HomeControlMock):
|
||||
|
||||
Reference in New Issue
Block a user