mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 01:28:58 +00:00

replacing `states[trigger.to_state.domain][trigger.to_state.object_id]` with `states[trigger.to_state.entity_id]` for better readability and keeping the same function.