Goal
Move the Keenetic Hero 4G+ specialized panel from integration-owned frontend code to the canonical ha-contract-generated-ui generated subpanel architecture.
Architecture rule
ha-keenetic-hero-4g owns Home Assistant entities, telemetry semantics, diagnostics and future safe commands only.
ha-contract-generated-ui owns panel structure, route/navigation contract, Header/Back behavior, bottom tabs, Lovelace generation and shared visual language.
- Do not create another Keenetic UI repository.
Existing compatibility surface
The currently deployed integration registers /dashboard-keenetic and contains its own frontend bundle. Treat that implementation as a temporary compatibility source during migration; do not extend it with new UI features.
Target generated subpanel
Recommended route: /dashboard-keenetic (preserve the existing deep link if possible).
Parent: Infrastructure.
Recommended tabs:
Обзор
WAN/LTE
Трафик
Диагностика
Add a fifth Failover tab only if the amount of operational history justifies a dedicated section; otherwise keep failover summary/details within Overview/WAN-LTE.
Required semantic content
Overview priority:
- Internet availability / telemetry trust;
- active WAN;
- Ethernet state/quality;
- LTE reserve state/quality;
- last WAN switch/reason;
- switches today / LTE active time today.
Detailed views may use the existing Keenetic entity contract for LTE RF, modem/system data, ping/loss and traffic counters.
unknown / unavailable must never render as healthy.
Migration sequence
Source context
The generated subpanel shell/navigation contract landed in ha-contract-generated-ui in commit bd5d35b6f8eaf6304d2b15fd55177b8979c65cf0.
Related legacy Keenetic UI task: NikaSir/ha-keenetic-hero-4g#9.
Goal
Move the Keenetic Hero 4G+ specialized panel from integration-owned frontend code to the canonical
ha-contract-generated-uigenerated subpanel architecture.Architecture rule
ha-keenetic-hero-4gowns Home Assistant entities, telemetry semantics, diagnostics and future safe commands only.ha-contract-generated-uiowns panel structure, route/navigation contract, Header/Back behavior, bottom tabs, Lovelace generation and shared visual language.Existing compatibility surface
The currently deployed integration registers
/dashboard-keeneticand contains its own frontend bundle. Treat that implementation as a temporary compatibility source during migration; do not extend it with new UI features.Target generated subpanel
Recommended route:
/dashboard-keenetic(preserve the existing deep link if possible).Parent: Infrastructure.
Recommended tabs:
ОбзорWAN/LTEТрафикДиагностикаAdd a fifth
Failovertab only if the amount of operational history justifies a dedicated section; otherwise keep failover summary/details within Overview/WAN-LTE.Required semantic content
Overview priority:
Detailed views may use the existing Keenetic entity contract for LTE RF, modem/system data, ping/loss and traffic counters.
unknown/unavailablemust never render as healthy.Migration sequence
PanelManifestusingsubpanel.template: standard_v1and the central navigation contract./dashboard-keeneticownership cutover without simultaneous route registration by both integrations.ha-keenetic-hero-4gthrough a separate backend cleanup PR.Source context
The generated subpanel shell/navigation contract landed in
ha-contract-generated-uiin commitbd5d35b6f8eaf6304d2b15fd55177b8979c65cf0.Related legacy Keenetic UI task:
NikaSir/ha-keenetic-hero-4g#9.