mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Add climate services required features (#35804)
This commit is contained in:
@@ -309,12 +309,12 @@ class DemoClimate(ClimateEntity):
|
||||
self._preset = preset_mode
|
||||
self.async_write_ha_state()
|
||||
|
||||
def turn_aux_heat_on(self):
|
||||
async def async_turn_aux_heat_on(self):
|
||||
"""Turn auxiliary heater on."""
|
||||
self._aux = True
|
||||
self.async_write_ha_state()
|
||||
|
||||
def turn_aux_heat_off(self):
|
||||
async def async_turn_aux_heat_off(self):
|
||||
"""Turn auxiliary heater off."""
|
||||
self._aux = False
|
||||
self.async_write_ha_state()
|
||||
|
||||
Reference in New Issue
Block a user