Fix sync call in async context generic_thermostat (#34822)
This commit is contained in:
1 parent
5a93a6eec4
commit
942cd7caa5
1 file changed
+1
-1
@@ -325,7 +325,7 @@ class GenericThermostat(ClimateEntity, RestoreEntity):
|
||||
_LOGGER.error("Unrecognized hvac mode: %s", hvac_mode)
|
||||
return
|
||||
# Ensure we update the current operation after changing the mode
|
||||
self.schedule_update_ha_state()
|
||||
self.async_write_ha_state()
|
||||
|
||||
async def async_set_temperature(self, **kwargs):
|
||||
"""Set new target temperature."""
|
||||
|
||||
Reference in new issue
Block a user