mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 21:37:07 +00:00
Fix a bug with Ambient PWS reconnection (#24540)
This commit is contained in:
parent
6b3c740dc3
commit
c629f24f07
@ -327,7 +327,7 @@ class AmbientStation:
|
||||
"""Define a handler to fire when the websocket is connected."""
|
||||
_LOGGER.info('Connected to websocket')
|
||||
_LOGGER.debug('Watchdog starting')
|
||||
if self._watchdog_listener:
|
||||
if self._watchdog_listener is not None:
|
||||
self._watchdog_listener()
|
||||
self._watchdog_listener = async_call_later(
|
||||
self._hass, DEFAULT_WATCHDOG_SECONDS, _ws_reconnect)
|
||||
|
@ -4,7 +4,7 @@
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/components/ambient_station",
|
||||
"requirements": [
|
||||
"aioambient==0.3.0"
|
||||
"aioambient==0.3.1"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": [
|
||||
|
@ -114,7 +114,7 @@ adguardhome==0.2.1
|
||||
afsapi==0.0.4
|
||||
|
||||
# homeassistant.components.ambient_station
|
||||
aioambient==0.3.0
|
||||
aioambient==0.3.1
|
||||
|
||||
# homeassistant.components.asuswrt
|
||||
aioasuswrt==1.1.21
|
||||
|
@ -39,7 +39,7 @@ YesssSMS==0.2.3
|
||||
adguardhome==0.2.1
|
||||
|
||||
# homeassistant.components.ambient_station
|
||||
aioambient==0.3.0
|
||||
aioambient==0.3.1
|
||||
|
||||
# homeassistant.components.automatic
|
||||
aioautomatic==0.6.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user