mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix tile alarm modes when wrong code entered (#21779)
This commit is contained in:
parent
32cca9e30c
commit
7f9bf69a08
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user