fix(poller): F1 — the poller factory re-reads entry.options at call time (audit-sanctioned option), so the next built poller targets the NEW address after a zeroconf IP change; the stale live-read comment in config_flow points at the actual mechanism; TestIpChangeSelfHealF1 drives an IP change and pins the next poller host (t32)
This commit is contained in:
1 parent
c1a82a2fa5
commit
8f40b6435c
3 files changed
+91
-2
No files matched your search
@@ -363,7 +363,8 @@ class NvidiaShieldConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
if options != entry.options:
|
||||
# t29 G3a: the deprecated update+schedule-reload combo is
|
||||
# gone (2026.12 error) — the entry updates ONLY here; the
|
||||
# manager reads the host options live on the next cycle.
|
||||
# self-heal rides on the t32 F1 poller factory, which
|
||||
# re-reads entry.options at call time (no reload).
|
||||
self.hass.config_entries.async_update_entry(
|
||||
entry, options=options
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user