Skip to content

Commit 7aa55d4

Browse files
Move condition in example docs
1 parent b315547 commit 7aa55d4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/community.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Raise a persistent notification when a battery is low, dismiss when it's not low
103103
104104
Battery Threshold events are only raised when the device has a Battery+ entity or a [Battery Low Template](./index.md/#battery-low-template) is added to the Battery Notes configuration.
105105
106-
The condition will cause a notification immediately when any device has a low battery. Set this to true if you have implemented an automation to schedule the check_battery_low action and only want notifications at specific times.
106+
The template condition within the low condition will cause a notification immediately when any device has a low battery. Set this to true if you have implemented an automation to schedule the check_battery_low action and only want notifications at specific times.
107107
108108
```yaml
109109
alias: Battery Low Notification
@@ -131,6 +131,8 @@ actions:
131131
- condition: trigger
132132
id:
133133
- low
134+
- condition: template
135+
value_template: "{{ trigger.event.data.reminder == true}}"
134136
sequence:
135137
- action: persistent_notification.create
136138
data:

0 commit comments

Comments
 (0)