Skip to content

Commit d98511c

Browse files
Revert "Add full atuomation example"
This reverts commit 866554e.
1 parent 866554e commit d98511c

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

README.md

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,16 @@ Installation via HACS is recommended, but a manual setup is supported.
4343
</details>
4444

4545
## Tips
46-
47-
To create a notification automation listing the entities use the state_attr, replacing the binary sensor with your own.
48-
I like to have the trigger only activate if a labelled sensor has been unavailable for 5 minutes to avoid any planned restarts falsely triggering the automation.
46+
To create a notification message listing the entities use the state_attr, replacing the binary sensor with your own.
4947

5048
```
51-
alias: Critical Sensors Unavailable
52-
description: ""
53-
triggers:
54-
- trigger: state
55-
entity_id:
56-
- binary_sensor.critical_sensor_notification
57-
to: "on"
58-
for:
59-
hours: 0
60-
minutes: 5
61-
seconds: 0
62-
conditions: []
63-
actions:
64-
- action: persistent_notification.create
65-
metadata: {}
66-
data:
67-
message: >-
68-
Critical sensors are unavailable {{
69-
state_attr('binary_sensor.critical_sensor_notification', 'entities') |
70-
join(', ') }}
71-
mode: single
49+
action: persistent_notification.create
50+
metadata: {}
51+
data:
52+
message: >-
53+
Critical sensors are unavailable {{
54+
state_attr('binary_sensor.critical_sensors_unavailable', 'entities') |
55+
join(', ') }}
7256
```
7357

7458
### Translations

0 commit comments

Comments
 (0)