homeassistant/components/overkiz/climate_entities/somfy_thermostat.py
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
        """Set new target hvac mode."""
        if hvac_mode == HVACMode.AUTO:
            await self.executor.async_execute_command(OverkizCommand.EXIT_DEROGATION)
            await self.executor.async_execute_command(OverkizCommand.REFRESH_STATE)
        else:
            await self.async_set_preset_mode(PRESET_NONE)
Set new target hvac mode.
Set new target hvac mode.
Set new target hvac mode .
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
        if hvac_mode == HVACMode.AUTO:
            await self.executor.async_execute_command(OverkizCommand.EXIT_DEROGATION)
            await self.executor.async_execute_command(OverkizCommand.REFRESH_STATE)
        else:
            await self.async_set_preset_mode(PRESET_NONE)
async def async_set_hvac_mode ( self , hvac_mode : HVACMode ) -> None : if hvac_mode == HVACMode . AUTO : await self . executor . async_execute_command ( OverkizCommand . EXIT_DEROGATION ) await self . executor . async_execute_command ( OverkizCommand . REFRESH_STATE ) else : await self . async_set_preset_mode ( PRESET_NONE )
Set new target hvac mode.
Set new target hvac mode .
"""Set new target hvac mode."""
self
hvac_mode
HVACMode