mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Update systembridgeconnector to 3.3.2 (#74701)
This commit is contained in:
parent
0f33c08dca
commit
e74f7d13ab
@ -93,7 +93,7 @@ class SystemBridgeDataUpdateCoordinator(
|
|||||||
if not self.websocket_client.connected:
|
if not self.websocket_client.connected:
|
||||||
await self._setup_websocket()
|
await self._setup_websocket()
|
||||||
|
|
||||||
await self.websocket_client.get_data(modules)
|
self.hass.async_create_task(self.websocket_client.get_data(modules))
|
||||||
|
|
||||||
async def async_handle_module(
|
async def async_handle_module(
|
||||||
self,
|
self,
|
||||||
@ -107,9 +107,7 @@ class SystemBridgeDataUpdateCoordinator(
|
|||||||
|
|
||||||
async def _listen_for_data(self) -> None:
|
async def _listen_for_data(self) -> None:
|
||||||
"""Listen for events from the WebSocket."""
|
"""Listen for events from the WebSocket."""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await self.websocket_client.register_data_listener(MODULES)
|
|
||||||
await self.websocket_client.listen(callback=self.async_handle_module)
|
await self.websocket_client.listen(callback=self.async_handle_module)
|
||||||
except AuthenticationException as exception:
|
except AuthenticationException as exception:
|
||||||
self.last_update_success = False
|
self.last_update_success = False
|
||||||
@ -175,6 +173,9 @@ class SystemBridgeDataUpdateCoordinator(
|
|||||||
self.async_update_listeners()
|
self.async_update_listeners()
|
||||||
|
|
||||||
self.hass.async_create_task(self._listen_for_data())
|
self.hass.async_create_task(self._listen_for_data())
|
||||||
|
|
||||||
|
await self.websocket_client.register_data_listener(MODULES)
|
||||||
|
|
||||||
self.last_update_success = True
|
self.last_update_success = True
|
||||||
self.async_update_listeners()
|
self.async_update_listeners()
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "System Bridge",
|
"name": "System Bridge",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/system_bridge",
|
"documentation": "https://www.home-assistant.io/integrations/system_bridge",
|
||||||
"requirements": ["systembridgeconnector==3.1.5"],
|
"requirements": ["systembridgeconnector==3.3.2"],
|
||||||
"codeowners": ["@timmo001"],
|
"codeowners": ["@timmo001"],
|
||||||
"zeroconf": ["_system-bridge._tcp.local."],
|
"zeroconf": ["_system-bridge._tcp.local."],
|
||||||
"after_dependencies": ["zeroconf"],
|
"after_dependencies": ["zeroconf"],
|
||||||
|
@ -2271,7 +2271,7 @@ swisshydrodata==0.1.0
|
|||||||
synology-srm==0.2.0
|
synology-srm==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.system_bridge
|
# homeassistant.components.system_bridge
|
||||||
systembridgeconnector==3.1.5
|
systembridgeconnector==3.3.2
|
||||||
|
|
||||||
# homeassistant.components.tailscale
|
# homeassistant.components.tailscale
|
||||||
tailscale==0.2.0
|
tailscale==0.2.0
|
||||||
|
@ -1519,7 +1519,7 @@ sunwatcher==0.2.1
|
|||||||
surepy==0.7.2
|
surepy==0.7.2
|
||||||
|
|
||||||
# homeassistant.components.system_bridge
|
# homeassistant.components.system_bridge
|
||||||
systembridgeconnector==3.1.5
|
systembridgeconnector==3.3.2
|
||||||
|
|
||||||
# homeassistant.components.tailscale
|
# homeassistant.components.tailscale
|
||||||
tailscale==0.2.0
|
tailscale==0.2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user