Node Red | http data to entity

Hi,

after I was able to get some sensor data from blynk into node-red (see https://community.blynk.cc/t/blynk-node-red-not-getting-data-from-esp/51913), I’m now struggling with the creation of an entity via Node-Red / updating it’s attributes.

As you can see, I’m having several different sensors (latitude, longitude, speed and so on).
I’m trying to set up an entity called “Caravan Location” which should have latitude, longitude and speed as attributes.

Can anybody pls give me a hint on how to do this?
I’m able to create the entity and add one of the values as an attribute, but not more then one.

Thanks!

put the http requests in series with a change node after each setting msg.payload to what the request was, msg.payload => msg.latitude

then do each attribute in the sensor node
latitude = msg.latitude
longitude = msg.longitude
speed = msg.speed

Thanks, I did so but I don’t see the attributes to be published to HA:
image

Debug output from the sensors in series is:
image

Flow is:

What should be set for state in the entity node? If I set it to msg.payload I also get an error:

Thanks!

I set the change node to “move” instead of “set” and now it’s working.

Thanks for your support!