File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ You can use this to send notifications in your preferred method. An example aut
24
24
| ` battery_quantity ` | ` int ` | Battery quantity. |
25
25
| ` battery_level ` | ` float ` | Battery level % of the device. |
26
26
| ` previous_battery_level ` | ` float ` | Previous battery level % of the device. |
27
+ | ` battery_last_replaced ` | ` datetime ` | The date the battery was last replaced. |
27
28
| ` reminder ` | ` bool ` | Returns true if the event was raised by an action, false if it's from a device event. |
28
29
29
30
### Automation Example
@@ -98,6 +99,7 @@ An example automation below shows how to update the battery_replaced.
98
99
| `battery_quantity` | `int` | Battery quantity. |
99
100
| `battery_level` | `float` | Current battery level % of the device. |
100
101
| `previous_battery_level` | `float` | Previous battery level % of the device. |
102
+ | `battery_last_replaced` | `datetime` | The date the battery was last replaced. |
101
103
102
104
# ## Automation Example
103
105
@@ -137,6 +139,7 @@ The action can raise multiple events quickly so when using with an automation it
137
139
| `battery_last_reported` | `datetime` | The datetime the battery was last reported. |
138
140
| `battery_last_reported_days` | `int` | The number of days since the battery was last reported. |
139
141
| `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. |
140
143
141
144
# ## Automation Example
142
145
You can’t perform that action at this time.
0 commit comments