The health model only knew "wu"/"wslink", so with an Ecowitt setup the active_protocol / integration_status fell back to "PWS/WU" even while Ecowitt data was flowing. - Replace _protocol_name() with _configured_protocol() which returns wu / wslink / ecowitt (legacy endpoint takes precedence; ecowitt-only -> ecowitt). - _refresh_summary: treat "ecowitt" as a real accepted protocol (active_protocol and online_<proto> now track it); the WU-vs-WSLink mismatch -> degraded check is scoped to the legacy pair so coexisting Ecowitt is never falsely degraded. - Add the "ecowitt" / "online_ecowitt" entity states to strings/en/cs. 310 passing, 100% coverage; ruff + basedpyright clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cs.json | ||
| en.json | ||