Don't clear action on expected error (#9428)

This commit is contained in:
Joakim Sørensen 2021-06-16 11:13:30 +02:00 committed by GitHub
parent e02e61384e
commit 446a9b5c02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,8 +158,8 @@ class DialogSupervisorUpdate extends LitElement {
} catch (err) { } catch (err) {
if (this.hass.connection.connected && !ignoreSupervisorError(err)) { if (this.hass.connection.connected && !ignoreSupervisorError(err)) {
this._error = extractApiErrorMessage(err); this._error = extractApiErrorMessage(err);
this._action = null;
} }
this._action = null;
return; return;
} }