Skip to content

Commit 7bbf401

Browse files
Add tips
1 parent 49c472a commit 7bbf401

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,25 @@ _If you want to show your support please_
2424

2525
![Reset Action](https://raw.githubusercontent.com/andrew-codechimp/ha-periodic-min-max/main/images/action-reset.png "Reset Action")
2626

27+
## Tips
28+
29+
If you have many sensors you want to reset daily, create a label called daily reset, add the label to each sensor you want resetting, then create one automation that resets all sensors with that label at midnight.
30+
31+
```
32+
alias: Periodic Reset Daily at Midnight
33+
description: ""
34+
triggers:
35+
- trigger: time
36+
at: "00:00:00"
37+
conditions: []
38+
actions:
39+
- action: periodic_min_max.reset
40+
target:
41+
label_id: daily_reset
42+
data: {}
43+
mode: single
44+
```
45+
2746
## Installation
2847

2948
### HACS

0 commit comments

Comments
 (0)