I find it hard in Home Assistant to create a device & entities for something which is sending MQTT data. Home Assistant MQTT broker has the entity values.
A quick ‘create MQTT entity’ and ‘create MQTT device’ with specifying the topic/prefix would be amazing.
Similarly, grouping multiple entities as a ‘virtual device’ for cases like RESTful commands used.
Maybe I’m wrong.
But is your need really about discovery? Or maybe you simply want to create a device consisting of mqtt based entities?
Asking, because the latter can be achieved without discovery, simply by yaml configuration.
Discovery is useful for entities creation in automated way usually used by 3rd party apps, while they decide what topics they create and then passes this information to HA using discovery mqtt topics.
Tried suto discovery as well, but the registration process is not clear for me. (Looks very complicated) For now i managed to get topic values into helpers, but want to load them in a virtual device
tents of them. most my devices are wired through mqtt if possible.
Here is my package for Shelly PlugS.
Note that only one entity has a full device description. Others reference the device via its identifier