MQTT Hub/Gateway

Hello @HarriedeGroot
would it be possible to add additional states to exported capabilities?

Example:
I export meter_water and meter_gas and want to use it in HA for energy dashboard.
But these entities can only be added if they have attributes like:
device_class: gas
state_class: total_increasing

The Hub only seems to export friendly_name and unit, but nothing capability based.
Do you think this could be added to device._publishMessage()? I could add some cases if you want and create PR. Or is there a better way? An alternative could be to add attributes to for devices in app settings, but this would need more adjustments.

Edit:
I just added a template sensor to HA which inlo takes the value from the Mqtt sensor and added device_class and state_class.