1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-31 10:10:56 +00:00
marecabo f95be6a0df
Device class attribute for sensor component (#1525)
* Add constants for sensor device_class

* Add device_class attribute to sensor component

* Add device_class attribute to sensor class

* Add device_class to mhz19 temperature sensor

* Add device_class to sensor in api component

* Add test for device_class of sensor

* Rename DEVICE_CLASS_NONE to DEVICE_CLASS_EMPTY for consistency

* Make optional attributes of sensor component truly optional
2021-02-15 12:49:02 -03:00
2020-12-13 16:24:26 -03:00
2020-10-27 12:41:57 +13:00
2018-09-25 10:30:45 +02:00
2020-12-13 16:24:26 -03:00
2021-02-10 09:20:31 -03:00
2019-02-14 13:49:22 +01:00
2020-07-24 10:35:07 +02:00

ESPHome Build Status Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.

Description
No description provided
Readme Multiple Licenses 296 MiB
Languages
C++ 70.1%
Python 29.6%
C 0.1%