In order to tie the entity created by this to a device in HA, could the device: map be filled out as part of the MQTT discovery topic? It looks like the unique ID field is already being set, so it doesn't look like it would take much extra information to have it show up this way.
In order to tie the entity created by this to a device in HA, could the
device:
map be filled out as part of the MQTT discovery topic? It looks like the unique ID field is already being set, so it doesn't look like it would take much extra information to have it show up this way.https://www.home-assistant.io/integrations/sensor.mqtt/#device