#iOS widget to control a switch?

1 messages · Page 1 of 1 (latest)

pastel marten
#

Is there a way to create an iOS widget to toggle on/off a switch?

I read somewhere that an action is required, but I can't find where to create one.
The doc says to go to the "Actions section" in the configuration page, but I can't find it there.

real wing
#

The easy way is currently in development, what you can do today is create a script that does that, then use the “Script widget” to access it from Home Screen

pastel marten
#

Is there anything I need to do to get the script into the widget?
When I add the script widget, there are no scripts to choose from, even though I have scripts in HA (and visible in/synced to the app).