Fix tile alarm modes when wrong code entered (#21779)

This commit is contained in:
karwosts 2024-08-25 04:22:19 -07:00 committed by GitHub
parent 32cca9e30c
commit 7f9bf69a08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,12 @@ class HuiAlarmModeCardFeature
} }
private async _setMode(mode: AlarmMode) { private async _setMode(mode: AlarmMode) {
setProtectedAlarmControlPanelMode(this, this.hass!, this.stateObj!, mode); await setProtectedAlarmControlPanelMode(
this,
this.hass!,
this.stateObj!,
mode
);
} }
protected render(): TemplateResult | null { protected render(): TemplateResult | null {