I’m running Home Assistant 2021.9.6 and iOS 15 with Scriptable App 1.6.6 and everything is working smoothly.
I can imagine two things:
A) If it never worked, I guess you misconfigured/forgot to edit the widget code (which is required)
B) If it worked in the past and now simply stopped working, I guess the HASS REST API or your access token is not responding/working correctly.
Things to check:
-
Long-Lived Access Tokens: Visit https://–{HASS IP}–/profile and scroll down, mine was created 31 weeks ago
Simple Home Assistant (HASS) iOS Widget via Scriptable App · GitHub -
REST API: Visit https://–{HASS IP}–/api/states in your browser, you should see a “401: Unauthorized”
Simple Home Assistant (HASS) iOS Widget via Scriptable App · GitHub -
Sensor Names: Check that you have configured the right sensors
Simple Home Assistant (HASS) iOS Widget via Scriptable App · GitHub -
Image URLs: Make sure the image files are correctly configured
Simple Home Assistant (HASS) iOS Widget via Scriptable App · GitHub
Simple Home Assistant (HASS) iOS Widget via Scriptable App · GitHub
Simple Home Assistant (HASS) iOS Widget via Scriptable App · GitHub
If you have access to a Mac, you can also test and debug the widget on your computer using this:
Download: Scriptable for Mac
If you are into it, you can also poke the REST API via CLI (or have a look here for an less-techi solution)
curl --insecure -H 'Authorization: Bearer *--{Your HASS Long-Lived Access Token here}--*' -H 'content-type: application/json' https://*--{HASS IP}--*/api/states
it should return a long list/string of sensors and their states.