I have a strange problem, this script works always
script:
unlock_14a_office_door:
sequence:
- service: lock.unlock
data:
entity_id: lock.14a_office_door
but when I press service lock.lock, with correct entity_id is not working.
Same in lovelace this is working (it will unlock the lock, or lock when the command is lock)
cards:
- type: entity-button
name: Apri portone ufficio 14a
entity: script.unlock_14a_office_door
while this is not working (it will NOT unlock the lock, or NOT lock when the command is lock)
cards:
- type: entity-button
name: Apri portone ufficio 14a
entity: lock.14a_office_door