Skip to content

Commit 11373b4

Browse files
Add battery_last_replaced to event docs
1 parent f96151e commit 11373b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ You can use this to send notifications in your preferred method. An example aut
2424
| `battery_quantity` | `int` | Battery quantity. |
2525
| `battery_level` | `float` | Battery level % of the device. |
2626
| `previous_battery_level` | `float` | Previous battery level % of the device. |
27+
| `battery_last_replaced` | `datetime` | The date the battery was last replaced. |
2728
| `reminder` | `bool` | Returns true if the event was raised by an action, false if it's from a device event. |
2829

2930
### Automation Example
@@ -98,6 +99,7 @@ An example automation below shows how to update the battery_replaced.
9899
| `battery_quantity` | `int` | Battery quantity. |
99100
| `battery_level` | `float` | Current battery level % of the device. |
100101
| `previous_battery_level` | `float` | Previous battery level % of the device. |
102+
| `battery_last_replaced` | `datetime` | The date the battery was last replaced. |
101103

102104
### Automation Example
103105

@@ -137,6 +139,7 @@ The action can raise multiple events quickly so when using with an automation it
137139
| `battery_last_reported` | `datetime` | The datetime the battery was last reported. |
138140
| `battery_last_reported_days` | `int` | The number of days since the battery was last reported. |
139141
| `battery_last_reported_level` | `float` | The level of the battery when it was last reported. |
142+
| `battery_last_replaced` | `datetime` | The date the battery was last replaced. |
140143

141144
### Automation Example
142145

0 commit comments

Comments
 (0)