odoo_mqtt/iot_bridge/utils
matthias.lotz 0bce1e1bed fix(device-availability): fix timeout monitor and bridge-restart race conditions
- 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)
2026-03-19 19:11:03 +01:00
..
__init__.py chore: Apply code quality tools (black, isort, ruff) 2026-02-18 22:20:25 +01:00
logging.py docs: complete phase 4.4 public API docstrings 2026-02-19 19:27:32 +01:00
status_monitor.py fix(device-availability): fix timeout monitor and bridge-restart race conditions 2026-03-19 19:11:03 +01:00