You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump version to v1.1.10 — guard the options-flow reload (#361)
Reported by Richardmarkink: changing a setting saved the change, then failed the
form with a bare "Unknown error", leaving the user to retry a save that had
already applied.
The options flow reloads the integration after saving. That reload was unguarded,
and async_reload() raises OperationNotAllowed when the entry is in a
non-recoverable state such as FAILED_UNLOAD — which is what happens when a poll is
wedged on an unresponsive gateway and holds the connection past the unload
timeout. The exception propagated straight to the UI.
The reload is a convenience, not part of saving: async_update_entry() has already
persisted the settings before it runs. It is now wrapped, and a failure logs a
warning stating the settings are saved and will apply after a manual reload or
restart.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments