mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Improve nest defense against broken event loop on shutdown (#46494)
This commit is contained in:
parent
dfa973f9ef
commit
10e88cd23d
@ -211,7 +211,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):
|
|||||||
if DATA_SDM not in entry.data:
|
if DATA_SDM not in entry.data:
|
||||||
# Legacy API
|
# Legacy API
|
||||||
return True
|
return True
|
||||||
|
_LOGGER.debug("Stopping nest subscriber")
|
||||||
subscriber = hass.data[DOMAIN][DATA_SUBSCRIBER]
|
subscriber = hass.data[DOMAIN][DATA_SUBSCRIBER]
|
||||||
subscriber.stop_async()
|
subscriber.stop_async()
|
||||||
unload_ok = all(
|
unload_ok = all(
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"dependencies": ["ffmpeg", "http"],
|
"dependencies": ["ffmpeg", "http"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/nest",
|
"documentation": "https://www.home-assistant.io/integrations/nest",
|
||||||
"requirements": ["python-nest==4.1.0", "google-nest-sdm==0.2.9"],
|
"requirements": ["python-nest==4.1.0", "google-nest-sdm==0.2.10"],
|
||||||
"codeowners": ["@allenporter"],
|
"codeowners": ["@allenporter"],
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
"dhcp": [{"macaddress":"18B430*"}]
|
"dhcp": [{"macaddress":"18B430*"}]
|
||||||
|
@ -684,7 +684,7 @@ google-cloud-pubsub==2.1.0
|
|||||||
google-cloud-texttospeech==0.4.0
|
google-cloud-texttospeech==0.4.0
|
||||||
|
|
||||||
# homeassistant.components.nest
|
# homeassistant.components.nest
|
||||||
google-nest-sdm==0.2.9
|
google-nest-sdm==0.2.10
|
||||||
|
|
||||||
# homeassistant.components.google_travel_time
|
# homeassistant.components.google_travel_time
|
||||||
googlemaps==2.5.1
|
googlemaps==2.5.1
|
||||||
|
@ -369,7 +369,7 @@ google-api-python-client==1.6.4
|
|||||||
google-cloud-pubsub==2.1.0
|
google-cloud-pubsub==2.1.0
|
||||||
|
|
||||||
# homeassistant.components.nest
|
# homeassistant.components.nest
|
||||||
google-nest-sdm==0.2.9
|
google-nest-sdm==0.2.10
|
||||||
|
|
||||||
# homeassistant.components.gree
|
# homeassistant.components.gree
|
||||||
greeclimate==0.10.3
|
greeclimate==0.10.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user