mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +00:00
HA frontend change for alarm panel vacation mode (#8326)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
8f85132d48
commit
df1ca1fd96
@ -10,6 +10,7 @@ export const callAlarmAction = (
|
||||
| "arm_away"
|
||||
| "arm_home"
|
||||
| "arm_night"
|
||||
| "arm_vacation"
|
||||
| "arm_custom_bypass"
|
||||
| "disarm",
|
||||
code?: string
|
||||
|
@ -28,7 +28,8 @@ const ICONS = {
|
||||
armed_away: "hass:shield-lock",
|
||||
armed_custom_bypass: "hass:security",
|
||||
armed_home: "hass:shield-home",
|
||||
armed_night: "hass:shield-home",
|
||||
armed_night: "hass:shield-sun",
|
||||
armed_vacation: "hass:shield-lock",
|
||||
disarmed: "hass:shield-check",
|
||||
pending: "hass:shield-outline",
|
||||
triggered: "hass:bell-ring",
|
||||
|
@ -58,7 +58,13 @@ export class HuiAlarmPanelCardEditor
|
||||
return html``;
|
||||
}
|
||||
|
||||
const states = ["arm_home", "arm_away", "arm_night", "arm_custom_bypass"];
|
||||
const states = [
|
||||
"arm_home",
|
||||
"arm_away",
|
||||
"arm_night",
|
||||
"arm_vacation",
|
||||
"arm_custom_bypass",
|
||||
];
|
||||
|
||||
return html`
|
||||
<div class="card-config">
|
||||
|
Loading…
x
Reference in New Issue
Block a user