Zwave-js recently changed reporting low battery as an entity state to a notification. Refer to PR 7984. I’m trying to set up an automation to alert me when a device has a low battery. I assume I need to check trigger.event.data.event for “Low battery level.” I got that from line 87 in the docs of the PR. Is my assumption correct?
Did you figure this out? I’m trying to do the same thing.
No I haven’t figured it out. I have setup logging notifications from my battery powered devices and I’m waiting for a low battery notification. I didn’t know what else to do.
I just trigger off the battery level.
- platform: template
sensors:
al_zw_attic_door_batt_alert:
value_template: '{{ (states("sensor.attic_door_battery_level")|float < 10.0) and is_state("input_boolean.al_zw_attic_door_batt_alert_enable", "on") }}'
delay_on: "01:00:00"
That’s a good idea. Thanks