Files
ha-parental-controls/www
jessikitty 9224a3fd58 Auto-detect HA auth from parent frame — no manual token entry needed
When loaded as panel_iframe inside HA, the dashboard now automatically
grabs the session token from the parent frame. This means:
- No setup screen on new devices — just log into HA and it works
- Token refreshes automatically on reconnect (session tokens rotate)
- If auto-auth fails, retries with fresh token before showing error
- Falls back to localStorage/manual entry if not inside HA iframe
- Settings modal shows auto-auth status indicator
2026-05-18 00:12:00 +10:00
..