I have a single Schlage z-wave lock, when I type “schlage” in the device filters I see a bunch of items, notably the zwave and lock items, but a lot of related sensors.
zwave.schlage_be469_touchscreen_deadbolt_2
lock.schlage_be469_touchscreen_deadbolt_locked_2
The zwave.schlage_be469_touchscreen_deadbolt_2
entity has a battery_level attribute. I’m trying to use IFTTT to send me a notification when the battery level drops. I have hard-coded “1” in for the IFTTT value but eventually, I want to replace that with the actual battery level. But so far, the automation isn’t firing at all (or at least IFTTT isn’t getting anything). What am I doing wrong?
- alias: Front Door Low Battery
trigger:
platform: numeric_state
entity_id: zwave.schlage_be469_touchscreen_deadbolt_locked_2
value_template: '{{ states.zwave.schlage_be469_touchscreen_deadbolt_2.attributes.battery_level }}'
below: 99
action:
- service: ifttt.trigger
data: {"event": "FrontDoorLowBatteryDetected","value": "1"}