Do not raise ConfigEntryNotReady when dongle is not yet visible #7
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/no-setup-backoff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the dongle is not in the bluetooth cache at setup (car away, e.g. after an HA restart or proxy reconnect),
async_setup_entryraisedConfigEntryNotReady. HA's setup backoff grows to 600s, so the first connection after the car returned could take several minutes (seen 2026-10-13 14:08 to 14:41).The coordinator already handles
api._ble_device is None(xs_poll, returns{}) and the advertisement callback triggers a refresh as soon as the dongle shows up. So setup now continues with a debug log instead of raising.Verified on the HA host (deployed 2026-10-15 12:12): loaded clean, entry set up while the dongle was away, zero
Could not find OBDBLE device/ ConfigEntryNotReady lines. Arrival-to-first-value delay is still pending the next return home. No test suite in the repo; only py_compile.Rollback: restore the previous
__init__.py.🤖 Generated with Claude Code