2
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 year ago

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.

this post was submitted on 14 Jul 2023
2 points (66.7% liked)

homeassistant

11835 readers
15 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