Fix sync call in async context generic_thermostat (#34822)

This commit is contained in:
Franck Nijhof authored and Paulus Schoutsen committed 2020-04-28 22:23:53 -07:00
1 parent bf424caf4a
commit e8314e1d86
1 file changed
+1 -1
@@ -325,7 +325,7 @@ class GenericThermostat(ClimateDevice, 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."""