#Modify an Attribute of a Input_text. I prefer to use node red

1 messages · Page 1 of 1 (latest)

tired roost
#

I am trying to create/update an attribute of a Input_text inside of NodeRed. I can update the value but nothing deeper. Anyone have any suggestions.

I need to store a long string over 255 characters long. I am reading that the Attributes can store longer strings. Maybe someone has a better idea.

flat bloom
#

You can't add attributes to existing entities like that

#

You can use MQTT to create entities with whatever you want

tired roost
#

Do you have any suggestions for me. I need to store a string longer that 255 characters.

#

I received the data from a web hook in node red.

flat bloom
#

you can also use a template sensor

tired roost
#

So a template senson and the use the attributes?

flat bloom
#

I have no idea how to do it from Node Red unless you're able to find a way to generate a new entity with the content you want. Like MQTT

#

Yes, but you have to get whatever that data is into HA first

#

I suggest maybe not doing this with Node Red

#

you can use a webhook automation trigger in HA, also with a template sensor

#

that's what I suggest