You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strict PEP 695 typing (type MultiWanConfigEntry = ConfigEntry[MultiWanData]) via entry.runtime_data and WanLinkState(TypedDict) in DataUpdateCoordinator[MultiWanRuntimeState].
Standardized EntityDescription dataclasses (SensorEntityDescription, BinarySensorEntityDescription, ButtonEntityDescription) across all platforms (sensor, binary_sensor, button).
Complete config_flow.py supporting user, options_flow, reconfigure, and reauth flows with port-range overlap validation and translated exception routing (ConfigEntryAuthFailed, ConfigEntryNotReady, ServiceValidationError, UpdateFailed).
Transient Failure Tolerance: _async_update_data tracks consecutive failures (_consecutive_failures < 3) and preserves the last valid state before raising UpdateFailed, keeping entities available during brief network blips.
Non-Blocking Action Execution (mode: restart Safe): Button presses and multi_wan_speedtest.run_speedtest service calls schedule speed tests in a debounced background task protected by asyncio.shield(...) and per-WAN asyncio.Lock().
Socket Reuse & Thread Isolation: Immediate TIME_WAIT port reuse via SO_REUSEADDR and SO_REUSEPORT inside thread-isolated source-port binding.
100% Dynamic Gateway Discovery (Zero Hardcode):
Dynamically discovers the gateway router in the Home Assistant Device Registry and links the unified Multi WAN Speedtest device via via_device_id.