Fix checks

This commit is contained in:
Andre Basche
2024-03-30 20:25:08 +01:00
parent a746584833
commit 54dd406ec2
7 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -232,7 +232,7 @@ class HonACClimateEntity(HonEntity, ClimateEntity):
self._device.sync_command("startProgram", "settings")
self._set_temperature_bound()
self._handle_coordinator_update(update=False)
self.coordinator.async_set_updated_data(None)
self.coordinator.async_set_updated_data({})
self._attr_preset_mode = preset_mode
await self._device.commands["startProgram"].send()
self.async_write_ha_state()
@@ -408,7 +408,7 @@ class HonClimateEntity(HonEntity, ClimateEntity):
self._device.sync_command(command, "settings")
self._set_temperature_bound()
self._attr_preset_mode = preset_mode
self.coordinator.async_set_updated_data(None)
self.coordinator.async_set_updated_data({})
await self._device.commands[command].send()
self.async_write_ha_state()