Fix nest to stop doing asyncio in a property (#42312)
This upgrades to the latest vesion of python-google-nest-sdm that had bug fixes to stop doing asyncio in a property.pull/42322/head
parent
5db1474099
commit
5e9de88f4b
|
@ -6,7 +6,7 @@
|
||||||
"documentation": "https://www.home-assistant.io/integrations/nest",
|
"documentation": "https://www.home-assistant.io/integrations/nest",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"python-nest==4.1.0",
|
"python-nest==4.1.0",
|
||||||
"google-nest-sdm==0.1.6"
|
"google-nest-sdm==0.1.9"
|
||||||
],
|
],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
"@awarecan",
|
"@awarecan",
|
||||||
|
|
|
@ -32,7 +32,7 @@ async def async_setup_sdm_entry(
|
||||||
"""Set up the sensors."""
|
"""Set up the sensors."""
|
||||||
|
|
||||||
subscriber = hass.data[DOMAIN][entry.entry_id]
|
subscriber = hass.data[DOMAIN][entry.entry_id]
|
||||||
device_manager = await subscriber.async_device_manager
|
device_manager = await subscriber.async_get_device_manager()
|
||||||
|
|
||||||
# Fetch initial data so we have data when entities subscribe.
|
# Fetch initial data so we have data when entities subscribe.
|
||||||
|
|
||||||
|
|
|
@ -681,7 +681,7 @@ google-cloud-pubsub==0.39.1
|
||||||
google-cloud-texttospeech==0.4.0
|
google-cloud-texttospeech==0.4.0
|
||||||
|
|
||||||
# homeassistant.components.nest
|
# homeassistant.components.nest
|
||||||
google-nest-sdm==0.1.6
|
google-nest-sdm==0.1.9
|
||||||
|
|
||||||
# homeassistant.components.google_travel_time
|
# homeassistant.components.google_travel_time
|
||||||
googlemaps==2.5.1
|
googlemaps==2.5.1
|
||||||
|
|
|
@ -349,7 +349,7 @@ google-api-python-client==1.6.4
|
||||||
google-cloud-pubsub==0.39.1
|
google-cloud-pubsub==0.39.1
|
||||||
|
|
||||||
# homeassistant.components.nest
|
# homeassistant.components.nest
|
||||||
google-nest-sdm==0.1.6
|
google-nest-sdm==0.1.9
|
||||||
|
|
||||||
# homeassistant.components.gree
|
# homeassistant.components.gree
|
||||||
greeclimate==0.9.0
|
greeclimate==0.9.0
|
||||||
|
|
|
@ -79,8 +79,7 @@ class FakeSubscriber(GoogleNestSubscriber):
|
||||||
"""Return the fake device manager."""
|
"""Return the fake device manager."""
|
||||||
return self._device_manager
|
return self._device_manager
|
||||||
|
|
||||||
@property
|
async def async_get_device_manager(self) -> DeviceManager:
|
||||||
async def async_device_manager(self) -> DeviceManager:
|
|
||||||
"""Return the fake device manager."""
|
"""Return the fake device manager."""
|
||||||
return self._device_manager
|
return self._device_manager
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue