Gauge Widget Setup on iPhone (Home Assistant + Govee)
I need help with setting up a gauge widget on iPhone.
I have Govee lights and I use a script to turn them on or off based on a counter:
0→ lights off100→ lights on
I want to create a gauge widget that:
- shows the current light status
- runs the script when clicked
Script Logic
If counter value is higher than 0.1
lights off
set counter to 0
else
lights on
set counter to 100
Notes
- Light usage is based on actions made in the Govee app
- The gauge can show:
- On / Off, or
0or1(if needed)
