Add climate services required features (#35804)
This commit is contained in:
parent
9907e95c34
commit
1593bdf2e9
3 changed files with 21 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue