mirror of
https://github.com/home-assistant/core.git
synced 2026-02-14 23:28:42 +00:00
When toggling an area, instead of forwarding individual toggle commands to each entity, check if any entity is currently on. If any is on, turn all entities off; otherwise turn all entities on. This provides a more intuitive toggle behavior for areas, similar to how light switches work in rooms with multiple lights. https://claude.ai/code/session_014GHmTAHzUNCVQz6jbtfRSm