Skip to content

Commit 3435f5e

Browse files
authored
Update alert.markdown
There was an error in the example.
1 parent 08d0b6b commit 3435f5e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/_components/alert.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ binary_sensor:
8383
8484
alert:
8585
motion_battery:
86-
- name: Motion Battery is Low
87-
entity_id: binary_sensor.motion_battery_low
88-
repeat: 30
89-
notifiers:
90-
- ryans_phone
91-
- kristens_phone
86+
name: Motion Battery is Low
87+
entity_id: binary_sensor.motion_battery_low
88+
repeat: 30
89+
notifiers:
90+
- ryans_phone
91+
- kristens_phone
9292
```
9393

9494
This example will begin firing as soon as the entity `sensor.motion`'s `battery` attribute falls below 15. It will continue to fire until the battery attribute raises above 15 or the alert is acknowledged on the frontend.

0 commit comments

Comments
 (0)