Hello everyone,
I am quite new to HA and am trying out a few things. Next is getting some Node-Red flows up and running.
I am struggling a bit with the syntax as it is now different from the yaml syntax.
So, I am trying something simle:
If an entity changes its state, I would like a notification to my phone with some information.
I have an events:state node for each entity. Then I would normally go directly to a call:service node.
I was thinking about adding a function node in between, but not sure if I really need it or not.
The idea is:
If entity state changes Then send notification with entitiy_id and new state.
I would have thought that this would work with
{
"message": [
"{{entity_id}}",
"{{payload}}"
]
}
But clearly I am mistaken. Could someone help me out? I am also not sure what is Node-Red syntax, what is JSON and what is then sepcific to HA.
Thank you
Alex