Skip to content

v0.1.12

Choose a tag to compare

@IhsenBouallegue IhsenBouallegue released this 22 May 22:27
· 12 commits to main since this release
  • fix: reconnect on iPad PWA resume. Adds visibilitychange/pageshow lifecycle handlers (suspendReconnectUntil + 5min suspend timer + bfcache reconnect) and a 30s ping/15s timeout heartbeat in the connection manager. iOS Safari suspension kills WS without firing close, so home-assistant-js-websocket's built-in reconnect never triggered. Ports HA frontend's pattern. (bug #003)
  • fix: narrow EntityView.attributes to exclude resolved keys (device_class, unit_of_measurement, friendly_name, icon). Consumers must read the top-level deviceClass/unitOfMeasurement/friendlyName/icon. (bug #013)
  • feat: export getConnectionState() for UI indicators.