I thought there was something out there to do this but can’t find it.
I’m trying to create an automation which sends me a notification who has unlocked the door.
I’ve created a helper which gives the number of each slot ( input_number.gate_lock_user_code )
I was hoping to use it in an automation but can’t seem to figure it out.
Is there anything out there that can do what I need?
I thought of using something simple like this, but if 3 was the last to unlock, it’s not changing to 3 so I imagine there would be no change so no notification.
alias: gate - Notify when gate lock code is 3
triggers:
- entity_id: input_number.gate_lock_user_code
to: "3"
trigger: state
actions:
- action: notify.mobile_app_blobfishs_iphone_12
data:
message: Paul's tag used to unlock the gate
mode: single
Presumably you’re using some automation to set the input_number? If so, trigger the notification there. If not, can you give us more information about how the input_number is set?