Writing multiple values with "call service" node - mixup

Hi!

I started to migrate all my stuff from RaspberryMatic to NodeRed in Homeassistant. In one logic, I modify all the variables for target temperatures when setting “Vacation” to true.

This is done with two “call service” nodes called at the same time when another boolean variable “vacation” changes. The two nodes look similar and like this:

The second node contains two other variables and the value of 20.

When these nodes are “triggered”, all Variables are set to 20, but most should be set to 15.

Do you have any idea what’s wrong here? Somehow, all the values and variables get mixed up.

Thanks!

Jorin

Here is the screenshot of the second node:

Export your entire flow and then paste it in here and mark it and click the </> icon in the editor.

Remove the “area” setting - that would be setting everything in the area to 20, whereas you only want to set the two listed entities. Similarly for the first one - you don’t need the area if you’re explicitly listing all of the entities, and doing so is setting more than you want.

If you fill out area and device and entity details, it’s finding all entities that in either the area list, or the device list, or the entity list - it’s not an “and”.

1 Like

Hi Michael,

thank you so much. This is actually a bit embarassing… But now it’s working.

Best,

Jorin

Hey we’ve all been there - the longer you look at your own problem the harder it is to see.