You could try getting Home Assistant to automatically detect devices by publishing a special config message to the discovery topic. I think it’d look something like:
You’d just have to go into the settings of Home assistant, look for Devices & Services, then MQTT and then configure. The messages need to be retained and each device must have a unique ID.
I was expecting (maybe incorrectly?) that HA would have tools to integrate an MQTT sensor without coding. Maybe I’ve misunderstood but I thought once I had the device set up in the MQTT broker, I’d then set up each sensor (entity?) in a similar fashion.