Upgrade XS1 component to xs1-api-client v3.0.0 (#36500)

This commit is contained in:
Markus Ressel 2020-06-07 23:18:47 +02:00 committed by GitHub
parent 56c69d9a25
commit 233284056a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -119,5 +119,5 @@ class XS1ThermostatEntity(XS1DeviceEntity, ClimateEntity):
async def async_update(self):
"""Also update the sensor when available."""
await super().async_update()
if self.sensor is None:
if self.sensor is not None:
await self.hass.async_add_executor_job(self.sensor.update)

View file

@ -2,6 +2,6 @@
"domain": "xs1",
"name": "EZcontrol XS1",
"documentation": "https://www.home-assistant.io/integrations/xs1",
"requirements": ["xs1-api-client==2.3.5"],
"requirements": ["xs1-api-client==3.0.0"],
"codeowners": []
}

View file

@ -2224,7 +2224,7 @@ xknx==0.11.3
xmltodict==0.12.0
# homeassistant.components.xs1
xs1-api-client==2.3.5
xs1-api-client==3.0.0
# homeassistant.components.yandex_transport
ya_ma==0.3.8