def extra_state_attributes(self) -> dict[str, Any]:
        """Return the state attributes of the climate entity."""
        attributes = super().extra_state_attributes
        if (
            hasattr(self._data_point, "temperature_offset")
            and (temperature_offset := self._data_point.temperature_offset) is not None
        ):
            attributes[ATTR_TEMPERATURE_OFFSET] = temperature_offset
        if (
            hasattr(self._data_point, "optimum_start_stop")
            and (optimum_start_stop := self._data_point.optimum_start_stop) is not None
        ):
            attributes[ATTR_OPTIMUM_START_STOP] = optimum_start_stop
        return attributes
Return the state attributes of the climate entity.
custom_components/homematicip_local/climate.py