Skip to content

Commit b02edb0

Browse files
authored
Updated manual alarm with state specific settings
Code change is in home-assistant/core#9264 (review)
1 parent 2ddd821 commit b02edb0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/_components/alarm_control_panel.manual.markdown

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ This platform enables you to set manual alarms in Home Assistant.
1919
# Example configuration.yaml entry
2020
alarm_control_panel:
2121
- platform: manual
22+
name: Home Alarm
23+
code: 1234
24+
pending_time: 30
25+
armed_home:
26+
pending_time: 0
27+
triggered:
28+
pending_time: 20
29+
trigger_time: 4
2230
```
2331
2432
Configuration variables:
@@ -28,6 +36,10 @@ Configuration variables:
2836
- **pending_time** (*Optional*): The time in seconds of the pending time before arming the alarm. Default is 60 seconds.
2937
- **trigger_time** (*Optional*): The time in seconds of the trigger time in which the alarm is firing. Default is 120 seconds.
3038
- **disarm_after_trigger** (*Optional*): If true, the alarm will automatically disarm after it has been triggered instead of returning to the previous state.
39+
- **armed_home|armed_away|armed_night|triggered** (*Optional*): State specific settings
40+
- **pending_time**: State specific pending time override.
41+
42+
In the config example above, armed_home state will have no pending time and triggered state will have pending time of 20 second whereas armed_away state will have a default pending time of 30 seconds.
3143
3244
## {% linkable_title Examples %}
3345

0 commit comments

Comments
 (0)