Scripts for creating iOS widgets to display Home Assistant sensors via the Scriptable app.
- Add script to Scriptable app (either copy/paste or save .js file to Scriptable folder in your iCloud drive).
- Replace
<HASS IP>
with the IP address of your Home Assistant instance (default ishomeassistant.local:8123
). - Replace
<YOUR Long-Lived Access Token at http://<HASS IP>/profile>
with an access token you generate in Home Assistant. - Modify script to get the state and/or attributes from sensor entity you're interested in.
- Add Scriptable widget in iOS and select your script.
Adapted from m33x: https://gist.github.com/m33x/62f6e8f6eab546e4b3a854695ea8c3a8
- Washer/Dryer Status
- Displays state and time remaining of LG ThinQ connected washer and dryer
- Shade Batteries
- Displays battery percentage of Smart Shades (3 Day Blinds)