- status_monitor: add availability_managed set; _monitor_loop skips devices in this set so the LWT/availability topic is the sole online/offline source - device_manager: register device with status_monitor.set_availability_managed() so the monitor actually skips them (previously the monitor had no knowledge of DeviceManager.availability_managed) - mqtt_bridge: remove blanket 'reset all devices to offline' on bridge restart; this was causing a race condition where the cron reset state AFTER the bridge had already sent device_online events via retained MQTT messages; stale running session cleanup is kept (still needed) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bootstrap.py | ||
| device_manager.py | ||
| event_queue.py | ||
| service_manager.py | ||
| session_detector.py | ||