Ideas
Users should be able to control everything manual as if there is no automation
Avoid sending toggle events. Prefer exact events like turn on light <id>.
When clicking switches, send exactly what user wants to do, every input should be context-free.