Skip to content

Commit

Permalink
Fix sleep warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Aug 17, 2024
1 parent c06ac45 commit 466ccea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hive_local_thermostat/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit 466ccea

Please sign in to comment.