def current_cover_tilt_position(self) -> int | None:
        """Return current tilt position of cover."""
        if self._data_point.is_valid:
            return self._data_point.current_tilt_position
        if self.is_restored and self._restored_state:
            return self._restored_state.attributes.get(ATTR_CURRENT_TILT_POSITION)
        return None
Return current tilt position of cover.
custom_components/homematicip_local/cover.py