Skip to content

Minor fixes on Number

Compare
Choose a tag to compare
@alexbarcelo alexbarcelo released this 03 Jul 08:13
· 5 commits to main since this release

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.