custom_components/renault/climate.py
async def async_set_hvac_mode(self, hvac_mode) -> None:
        """Set new target hvac mode."""
        LOGGER.debug("%s: Setting hvac mode to %s", self.name, hvac_mode)
        if hvac_mode == HVAC_MODE_OFF:
            await self.vehicle.send_cancel_ac()
        elif hvac_mode == HVAC_MODE_HEAT_COOL:
            await self.vehicle.send_ac_start(self.vehicle.hvac_target_temperature)
Set new target hvac mode.
Set new target hvac mode.
Set new target hvac mode .
async def async_set_hvac_mode(self, hvac_mode) -> None:
        LOGGER.debug("%s: Setting hvac mode to %s", self.name, hvac_mode)
        if hvac_mode == HVAC_MODE_OFF:
            await self.vehicle.send_cancel_ac()
        elif hvac_mode == HVAC_MODE_HEAT_COOL:
            await self.vehicle.send_ac_start(self.vehicle.hvac_target_temperature)
async def async_set_hvac_mode ( self , hvac_mode ) -> None : LOGGER . debug ( "%s: Setting hvac mode to %s" , self . name , hvac_mode ) if hvac_mode == HVAC_MODE_OFF : await self . vehicle . send_cancel_ac ( ) elif hvac_mode == HVAC_MODE_HEAT_COOL : await self . vehicle . send_ac_start ( self . vehicle . hvac_target_temperature )
Set new target hvac mode.
Set new target hvac mode .
"""Set new target hvac mode."""
self
hvac_mode