I have a L1 lock, when we shut the door we pull the handle up to secure the door, and it automatically locks, in Smartthings, I was able to say, if mode is day and lock is locked, then unlock.
I have set up a dropdown helper to select between Day and Night mode, and have set that as my trigger, the automation run beautifully if I click the run automation link, but not automatically.
my code is …
alias: Unlock Doors in Day description: "" trigger: - type: not_opened platform: device device_id: 357e301dda06a6d9003bedbb331ed9c6 entity_id: binary_sensor.conexis_l1_the_current_status_of_the_door domain: binary_sensor condition: - condition: state entity_id: input_select.house_mode attribute: options state: day action: - device_id: 357e301dda06a6d9003bedbb331ed9c6 domain: lock entity_id: lock.conexis_l1 type: unlock mode: single
Any pointers would be amazing as I have been playing with this all day trying different things.