Improve nest defense against broken event loop on shutdown (#46494)

This commit is contained in:
Allen Porter 2021-02-14 04:36:05 -08:00 committed by GitHub
parent dfa973f9ef
commit 10e88cd23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):
if DATA_SDM not in entry.data:
# Legacy API
return True
_LOGGER.debug("Stopping nest subscriber")
subscriber = hass.data[DOMAIN][DATA_SUBSCRIBER]
subscriber.stop_async()
unload_ok = all(

View File

@ -4,7 +4,7 @@
"config_flow": true,
"dependencies": ["ffmpeg", "http"],
"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"],
"quality_scale": "platinum",
"dhcp": [{"macaddress":"18B430*"}]

View File

@ -684,7 +684,7 @@ google-cloud-pubsub==2.1.0
google-cloud-texttospeech==0.4.0
# homeassistant.components.nest
google-nest-sdm==0.2.9
google-nest-sdm==0.2.10
# homeassistant.components.google_travel_time
googlemaps==2.5.1

View File

@ -369,7 +369,7 @@ google-api-python-client==1.6.4
google-cloud-pubsub==2.1.0
# homeassistant.components.nest
google-nest-sdm==0.2.9
google-nest-sdm==0.2.10
# homeassistant.components.gree
greeclimate==0.10.3