v0.1.3 — Fix slow-reload race
Fixed
The card sometimes rendered as 'Configuration error' on hard reloads (especially Firefox / mobile / slow connections). HA recently changed where hui-error-card stores the original user-provided card config, defeating the existing self-healing logic.
Root cause: the error card's _config no longer holds the original {type: 'custom:escl-scan-card', title: ...} — that now lives on the parent <hui-card> element's _elementConfig.
New heal logic:
- Sources the original config from the correct location
- Falls back to older HA layouts
- Last-resort: parses the missing tag from the error message to build a default card
- MutationObserver catches error cards appearing after the initial retry window
- Wider staggered retry schedule
Reproduced and verified across a stress-test of consecutive hard reloads.