Shortcut: Script, variables: Template rendered invalid entity IDs

when I go to “Developer tools → services” and Call code:

service: script.odkurz_pojedyncze_pomieszczenie
data: 
      room_id: '20'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8

it’s working fine.

But when I add shortcut to dahboard, and click them I got error

“Script, variables: Template rendered invalid entity IDs”

shortcuts:
  - name: Odkurz salon
    service: script.odkurz_pojedyncze_pomieszczenie
    data:
      room_id: '19'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8
    icon: mdi:sofa
  - name: Odkurz sypialnię
    service: script.odkurz_pojedyncze_pomieszczenie
    data:
      room_id: '20'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8
    icon: mdi:bed-empty
  - name: Odkurz kuchnię
    service: script.odkurz_pojedyncze_pomieszczenie
    data:
      room_id: '16'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8
    icon: mdi:silverware-fork-knife
  - name: Odkurz biuro
    service: script.odkurz_pojedyncze_pomieszczenie
    data:
      room_id: '18'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8
    icon: mdi:desktop-classic
  - name: Odkurz łazienkę
    service: script.odkurz_pojedyncze_pomieszczenie
    data:
      room_id: '17'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8
    icon: mdi:paper-roll
  - name: Odkurz przedpokój
    service: script.odkurz_pojedyncze_pomieszczenie
    data:
      room_id: '21'
      repeats_number: 1
      vacuum_cleaner: vacuum.roborock_s8
    icon: mdi:door-closed

Can you link to some documentation for that shortcuts: syntax? I don’t recognise that from anything related to Home Assistant nor the AppDaemon dashboard.

Shortcuts are used in vacuum-card

1 Like

solved when changed DATA to SERVICE_DATA

1 Like