diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index c908418c..98a8d8e1 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -2490,7 +2490,7 @@ async def significant_change( # Ensure HASS is correctly updating your light's state with # light.turn_on calls if any problems arise. This # can happen e.g. using zigbee2mqtt with 'report: false' in device settings. - await async_update_entity(hass, light) + await async_update_entity(self.hass, light) refreshed_state = self.hass.states.get(light) assert refreshed_state is not None