async def _async_update_at_interval_action(self, now=None) -> None:  # noqa: ARG002
        """Update the attributes and maybe adapt the lights."""
        await self._update_attrs_and_maybe_adapt_lights(
            context=self.create_context("interval"),
            transition=self._transition,
            force=False,
        )
Update the attributes and maybe adapt the lights.
custom_components/adaptive_lighting/switch.py