homeassistant/components/overkiz/climate_entities/somfy_thermostat.py
def target_temperature(self) -> float | None:
        """Return the temperature we try to reach."""
        if self.hvac_mode == HVACMode.AUTO:
            if self.preset_mode == PRESET_NONE:
                return None
            return cast(
                float,
                self.executor.select_state(TARGET_TEMP_TO_OVERKIZ[self.preset_mode]),
            )
        return cast(
            float,
            self.executor.select_state(OverkizState.CORE_DEROGATED_TARGET_TEMPERATURE),
        )
Return the temperature we try to reach.
Return the temperature we try to reach.
Return the temperature we try to reach .
def target_temperature(self) -> float | None:
        if self.hvac_mode == HVACMode.AUTO:
            if self.preset_mode == PRESET_NONE:
                return None
            return cast(
                float,
                self.executor.select_state(TARGET_TEMP_TO_OVERKIZ[self.preset_mode]),
            )
        return cast(
            float,
            self.executor.select_state(OverkizState.CORE_DEROGATED_TARGET_TEMPERATURE),
        )
def target_temperature ( self ) -> float | None : if self . hvac_mode == HVACMode . AUTO : if self . preset_mode == PRESET_NONE : return None return cast ( float , self . executor . select_state ( TARGET_TEMP_TO_OVERKIZ [ self . preset_mode ] ) , ) return cast ( float , self . executor . select_state ( OverkizState . CORE_DEROGATED_TARGET_TEMPERATURE ) , )
Return the temperature we try to reach.
Return the temperature we try to reach .
"""Return the temperature we try to reach."""
self