def __str__(self) -> str:
        """Return a string representation of the data."""
        return (
            f"{self.__class__.__name__}("
            f"entity_id={self.entity_id}, "
            f"context_id={self.context.id}, "
            f"sleep_time={self.sleep_time}, "
            f"force={self.force}, "
            f"max_length={self.max_length}, "
            f"which={self.which}, "
            f"initial_sleep={self.initial_sleep}"
            ")"
        )
Return a string representation of the data.
custom_components/adaptive_lighting/adaptation_utils.py