Skip to content

Commit 5cc658a

Browse files
Add attribute documentation
1 parent 2b6bc72 commit 5cc658a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Periodic Min/Max Helpers for Home Assistant
1010

1111
The helpers record the minimum or maximum of a sensor until manually reset via the reset action. The value is maintained through HA restarts.
1212

13+
An attribute `last_modified` is available to check when the min or max was really changed, this attribute does not update on HA restarts giving you an accurate indication on when the new min or max was hit. This can be useful for using as a trigger on an automation or for comparing via a template for a daily update.
14+
1315
## Example use cases
1416

1517
- Record the maximum temperature today, resetting at midnight via an automation.

0 commit comments

Comments
 (0)