Hello,
I have a problem again.
I would like to read out my “xiaomi flower sensor” via Bluetooth with the help of a Zero-W.
These values should then be sent to HA via MQTT.
So far, a lot of things work but unfortunately I can’t manage to create the entities.
For example, when I read out the MQTT data with Node-Red, I get all the information I want.
However, I cannot create the sensor in configuration.yaml so that I can use the data.
Does anyone have a tip or an idea how the configguration.yaml must look so that I can use the data?
Many thanks in advance.
Save the file and then execute Configuration > Server Controls > Check Configuration.
If it does not report any errors, execute Configuration > Server Controls > Reload manually configured MQTT entities
Initially the sensor’s value will be unknown however as soon as your Node-Red flow publishes a new payload, the sensor will display information that will look something like this in Developer Tools > States:
Fantastic, that helped, I have no idea what I have tried so far without success.
I was probably too impatient afterwards and didn’t wait long enough for new data to arrive.
Now, of course, I have another question:
However, it is not so urgent and is more cosmetic in nature.
Can I also create a Lovelace Card in this way? All the data is supplied under Attributes.
Thank you very much for your competent and quick help.