I have found multiple documents describing the MQTT data types and units:
Many of the types listed in these documents don’t work. Where is the most up to date list of MQTT data types?
The tables show some units, but not all. How do I use other units? For example, reporting distance in feet, or volume in gallons?