Minor fixes on Number
Now Number integration includes
device_class
unit_of_measurement
These are optional. The example (see simple_number.py
in the folder examples
) shows how to add values for those attributes. The Home Assistant documentation shows valid values. Which should match the Home Assistant developers documentation.