diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index c57c0857817..60b6ca3c7c9 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -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) diff --git a/homeassistant/components/xs1/manifest.json b/homeassistant/components/xs1/manifest.json index e997953f7ac..164f571fade 100644 --- a/homeassistant/components/xs1/manifest.json +++ b/homeassistant/components/xs1/manifest.json @@ -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": [] } diff --git a/requirements_all.txt b/requirements_all.txt index 3bdc94ba2ba..20b8299c1a4 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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