this post was submitted on 14 Jul 2023
2 points (66.7% liked)
homeassistant
12055 readers
36 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The easiest is to create a scene - those are natively exposed in widgets. If you want something that will toggle the light, I’d use an input_boolean in a scene, and an automation that would watch for it changing to on. The automation would toggle the light, then turn the input_boolean off so the scene will do something again.