Skip to content

Commit

Permalink
Fix #1017
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjack committed Aug 24, 2024
1 parent 7809178 commit 8882668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/adaptive_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8882668

Please sign in to comment.