#slide-confirm-card problem

1 messages · Page 1 of 1 (latest)

rocky storm
#

Hello,

For some reason, calling shell_command.xyz does not work in slide-confirm-card:
it says "<X> Unlocked" on the screen, but does not actually execute the command to unlock a door.

type: custom:slide-confirm-card
sliders:
  - name: Entry Door
    icon: mdi:door
    textUnconfirmed: Slide to Unlock
    textConfirmed: Door Unlocked!
    iconUnconfirmed: mdi:lock
    iconConfirmed: mdi:lock-open
    confirm_action:
      action: call-service
      service: shell_command.unlock_entry_door
  - name: Appartment Door
    icon: mdi:door
    textUnconfirmed: Slide to Unlock
    textConfirmed: Door Unlocked!
    iconUnconfirmed: mdi:lock
    iconConfirmed: mdi:lock-open
    confirm_action:
      action: call-service
      service: shell_command.unlock_appartment_door

but, using the same service in a button - works. Any ideas?