homeassistant/components/geniushub/climate.py
def preset_modes(self) -> Optional[List[str]]:
        """Return a list of available preset modes."""
        if "occupied" in self._zone.data:  # if has a movement sensor
            return [PRESET_ACTIVITY, PRESET_BOOST]
        return [PRESET_BOOST]
Return a list of available preset modes.
Return a list of available preset modes.
Return a list of available preset modes .
def preset_modes(self) -> Optional[List[str]]:
        if "occupied" in self._zone.data:  
            return [PRESET_ACTIVITY, PRESET_BOOST]
        return [PRESET_BOOST]
def preset_modes ( self ) -> Optional [ List [ str ] ] : if "occupied" in self . _zone . data : return [ PRESET_ACTIVITY , PRESET_BOOST ] return [ PRESET_BOOST ]
Return a list of available preset modes.
Return a list of available preset modes .
"""Return a list of available preset modes.""" # if has a movement sensor
self