def set_proactively_adapting(self, context_id: str, entity_id: str) -> None:
        """Declare the adaptation with context_id as proactively adapting,
        and associate it to an entity_id.
        """  # noqa: D205
        self._proactively_adapting_contexts[context_id] = entity_id
Declare the adaptation with context_id as proactively adapting,
        and associate it to an entity_id.
        
custom_components/adaptive_lighting/switch.py