I want the name of my entry dependent from a MQTT message.
I want, as an example, name the entry “dec.23” and the value “100”.
The name “dec.23” depends of a message from the MQTT topic “xx/Date” with the value “dec.23”.
The value comes from the massage “xx/Value” and is, in this example “100”.
Then I don’t think it’s possible. You can change an entity’s status (whether name or attributes) but you can’t change an entity’s name or ID.
There may be a way in lovelace-ui for this to be done, but I’m not proficient in that yet
Thanks for your reply.
The point is, I collect data over a long period (hours, days, months) new data replaces the oldest data. So the labels (f.i. dates or time) changes every day or every hour. I don’t think thats possible with MQTT discovery.