I have a power meter reading with and ESP, and wanted to inject power readings to HA in the same way Tasmota integrations does.
Reading the mqtt documentation is not so clear how to do such.
Would someone point me out some guidelines/post how to deal in HA to have create a device with information published in the mqtt broker?
I was trying to replicate the behaviour of the Tasmota integration, just trying to replicate the Tasmota power readings (sonow POW for example) to try to have it discovered by the integration, but this didn’t work… So I think that I need to go deeper in the way HA handles the devices.
Thanks for your time
I put a link to a couple examples in that post.
You need to create a config message for each entity linked to the device basically.