Hello,
I’m using the Beta version and of the mobile app and trying to setup Siri Shortcuts using services. I have a need to pass an array that would result into a json similar to:
turn_back_on:
- switch.swb1_1
- switch.swb1_2
turn_on: []
time: 600
The service exports the three fields and I need to pass the data in them and it’s passed as:
For: turn_back_on
I pass [switch.swb1_1, switch.swb1_2]
For turn_on
I pass []
For time
I pass 600
The json that is generated by the app looks like, copied from the events log:
{
"turn_back_on": "[switch.swb1_1, switch.swb1_2]",
"turn_on": "[]",
"time": 600
}
which as you guessed it is incorrect.
Anybody has any work around got this?
Thank you