v1.2.1: Bug fixes, MAC auto-discovery, diagnostics
What's Changed
Bug Fixes
- EntityCategory.CONFIG Error - Changed to DIAGNOSTIC for feature flag binary sensors and session config sensors
- WebSocket Disconnection Handling - Added keep-alive pings (
ping_interval=20,ping_timeout=10) - WebSocket Authentication Validation - Now validates auth actually succeeded before continuing
- Config Flow Import Error - Fixed missing return after ImportError in password validation
- Callback Error Isolation - Wrapped callbacks in try/except to prevent WS disconnects
- Thermal Warning Null Check - Fixed edge case when CPU temp is exactly 0°C
- HTTP Session Management - Implemented connection pooling with session reuse
- Web-888 Device Detection - Stricter validation (requires BOTH offline and users fields)
- Config Drain Loop Timeout - Added 5-second overall timeout
- Satellite Sensor Availability - Fixed sensors showing unavailable when <12 satellites tracked
New Features
- MAC Address Auto-Discovery - Automatically discovers MAC/serial/DNA from WebSocket config_cb
- Sequence Errors sensor - Diagnostic counter from device stats
- Realtime Errors sensor - Diagnostic counter from device stats
- Total Session Hours sensor - Combined runtime of all active channels
- Preemptible Channels sensor - Count of channels that can be preempted
- Enhanced Channel Attributes -
session_time,session_seconds,preemptible
Documentation
- Complete rewrite of Sensor-Reference.md documenting all ~74 sensors
- Complete rewrite of Dashboard-Examples.md with comprehensive examples
- New ft8-monitoring.yaml example dashboard for FT8/WSPR monitoring
Full Changelog: v1.2.0...v1.2.1