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