def preset_modes(self) -> list[str]:
        """Return a list of available preset modes incl. hmip profiles."""
        preset_modes = []
        for profile in self._data_point.profiles:
            if profile in SUPPORTED_HA_PRESET_MODES:
                preset_modes.append(profile.value)
            if str(profile).startswith(PROFILE_PREFIX):
                preset_modes.append(profile.value)
        return preset_modes
Return a list of available preset modes incl. hmip profiles.
custom_components/homematicip_local/climate.py