2
How do I control my zigbee light from an iOS widget?
(lemmy.world)
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
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.