mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Fix sync call in async context generic_thermostat (#34822)
This commit is contained in:
parent
5a93a6eec4
commit
942cd7caa5
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user