Skip to content

Comexio v0.8.0

Choose a tag to compare

@kayl-codes kayl-codes released this 16 Jun 01:15
· 42 commits to master since this release

downloads

This release introduces a proper reconfigure flow for connection credentials, replaces the polling interval slider with a curated dropdown, and adds automatic offline extension detection.

🚀 New Features & Enhancements

  • Reconfigure Flow: Host, username, admin password, API user/pass are now editable via ⋮ → Reconfigure — no re-setup needed. Blank password fields keep the existing value; a login test runs before saving.
  • Polling Interval Dropdown: Free-range slider replaced by a curated list: 1 / 5 / 10 / 15 / 30 / 45 / 60 / 120 / 300 / 600 / 1440 min.
  • Offline Extension Detection: Extension modules that go offline are detected automatically on every coordinator poll — their entities and sub-device are removed from HA until the module comes back online.
  • Diagnostic Sensor — Offline Extensions: New sensor on the hub device shows the count of currently offline extensions and lists them via the extensions state attribute.
  • Orphaned Statistics Repair on Startup: Detection now runs immediately after entity cleanup instead of waiting up to 15 min for the next scheduled poll.

✨ Improvements & Fixes

  • Options flow cleanup: Credential fields removed from the options form — connection details live exclusively in config_entry.data and are managed via the new reconfigure flow.
  • Coordinator credential source: Credentials now read directly from entry.data, preventing stale options values from overriding a reconfigure.
  • Recorder stability: state_class returns None for sensors of offline extensions, preventing recorder unit-mismatch warnings when a module goes offline with an incomplete $ioTypes map.
  • Transition logging: Coordinator now logs which extensions went offline or came back online on each state change.
  • async_migrate_entity_ids() extracted as a shared coordinator helper (used by both the repair flow and the migration button).

📖 Documentation

  • New CONFIGURATION.md: Bilingual (EN + DE) guide with all UI screenshots and field descriptions — covers setup, settings, reconfigure, WebIO sync, and repair flow.
  • README: Updated configuration section with reconfigure tip, options note, and link to the new guide.

⚠️ Requirements & Notes

  • Full HA restart required after updating (new translation keys for the reconfigure step and polling dropdown).
  • Existing entries: Credentials stored in config_entry.options from the old options flow are cleaned up automatically the first time you save via Reconfigure.