Open AYapejian opened 6 years ago
This will be great!
What syntax works to include an effect? { "entity_id":"light.hannahs_bedside" , "effect":"colorloop" } in a call service node doesn't.
To send data to a service set the data
property of the incoming payload:
msg.payload = { "data": { "entity_id": "light.entity123", "effect": "colorloop" } }
FYI: Node help tab should say as much
If the incoming message has a
payload
property withdomain
,service
ordata
set it will override any defaults(if any) set within the node configuration.
I'm not using the incoming message, I'm setting it in the data field of the api_service_call node. Looks like I may be missing some spaces. Thanks.
Seems like this has kind of been done with the new 'batch' node to make message sequences?
Batch service calls, something like below (needs fleshing out)