Replies: 2 comments
-
You could add it to the data field.
or build an input using a change/function node and pass it to the node https://zachowj.github.io/node-red-contrib-home-assistant-websocket/node/call-service.html#input |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, I didn't know that you could override things with data or message - that's pretty helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to create a subflow that does complex logic that should be reused for different entities. I want to configure the entity in the subflow properties. I can access the properties of the subflow in other places, but I'm not sure how to choose the entity of e.g. a "call-service-node" with env-variables.
The subflow property is called "id" and I tried
$env('id')
$id
, and{{env.id}}
but I always get:"Call-service error. not a valid value for dictionary value @ data['entity_id']"
Is it possible to choose the entity during runtime somehow, if so, how?
Beta Was this translation helpful? Give feedback.
All reactions