I have 2 Eqiva Door Locks with ESP32 and Keyble with MQTT to HAS.
I use an Automation for automatic daily open and close the Door Lock.
It only works sometimes.
I also want to have on Saturday and Sunday another Time.
Currently it looks like this:
Is there and fault in my config? Maybe i have to use different ID´s for the Locks? Thanks for help.
LOCK 1:
alias: Auto Lock Haustüre
description: “”
trigger:
- platform: time
id: “21”
at: “20:45:00” - platform: time
at: “06:10:00”
id: “6”
condition: []
action: - choose:
- conditions:
- condition: trigger
id: “21”
sequence: - service: lock.lock
data: {}
target:
entity_id: lock.tuerschloss
- condition: trigger
- conditions:
- condition: trigger
id: “6”
sequence: - service: lock.unlock
data: {}
target:
entity_id: lock.tuerschloss
mode: single
- condition: trigger
- conditions:
LOCK 2:
alias: Auto Lock Schuppen
description: “”
trigger:
- platform: time
id: “21”
at: “20:40:00” - platform: time
at: “06:00:00”
id: “6”
condition: []
action: - choose:
- conditions:
- condition: trigger
id: “21”
sequence: - service: lock.lock
data: {}
target:
entity_id: lock.tuerschloss2
- condition: trigger
- conditions:
- condition: trigger
id: “6”
sequence: - service: lock.unlock
data: {}
target:
entity_id: lock.tuerschloss2
mode: single
- condition: trigger
- conditions: