odoo_mqtt/iot_bridge/core
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 refactor(phase2.2): Refactor main.py - Extract bootstrap and service_manager 2026-02-18 22:43:00 +01:00
bootstrap.py refactor(phase2.3): Migrate to Pydantic V2 and modernize config management 2026-02-18 22:53:36 +01:00
device_manager.py fix(device-availability): fix timeout monitor and bridge-restart race conditions 2026-03-19 19:11:03 +01:00
event_queue.py docs: complete phase 4.4 public API docstrings 2026-02-19 19:27:32 +01:00
service_manager.py feat: parser_config als Wire-Format durchgehend (Phase 3 komplett) 2026-03-11 13:05:54 +01:00
session_detector.py docs: complete phase 4.4 public API docstrings 2026-02-19 19:27:32 +01:00