diff --git a/custom_components/hive_local_thermostat/climate.py b/custom_components/hive_local_thermostat/climate.py index a9b123a..3d9ac63 100644 --- a/custom_components/hive_local_thermostat/climate.py +++ b/custom_components/hive_local_thermostat/climate.py @@ -223,7 +223,7 @@ async def async_set_hvac_mode(self, hvac_mode): LOGGER.debug("Sending to {self._topic}/set message {payload}") await mqtt_client.async_publish(self.hass, self._topic + "/set", payload) - sleep(0.5) + await sleep(0.5) if self.entity_description.model == MODEL_SLR2: payload = (