Some downstreams, like homeassistant, can use various metadata to make the sensor information more user-friendly.
We add a way to inform (or to pass) such information in some way, including:
- device_class (power, energy, voltage, current, ..)
- state_class (total_increasing, measurement)
- precision