diff --git a/src/panels/lovelace/card-features/hui-alarm-modes-card-feature.ts b/src/panels/lovelace/card-features/hui-alarm-modes-card-feature.ts index 425f6b90e1..5419290f1d 100644 --- a/src/panels/lovelace/card-features/hui-alarm-modes-card-feature.ts +++ b/src/panels/lovelace/card-features/hui-alarm-modes-card-feature.ts @@ -96,7 +96,12 @@ class HuiAlarmModeCardFeature } private async _setMode(mode: AlarmMode) { - setProtectedAlarmControlPanelMode(this, this.hass!, this.stateObj!, mode); + await setProtectedAlarmControlPanelMode( + this, + this.hass!, + this.stateObj!, + mode + ); } protected render(): TemplateResult | null {