76b67d3470
Large HA instances with many entities cause get_states to exceed the 12s WebSocket timeout. Now loads all states via /api/states HTTP endpoint first (much more reliable for large payloads), with WebSocket get_states as fallback. Also bumped WS send timeout from 12s to 60s for slow HA responses.