esphome/esphome
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
..
api Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
components Device class attribute for sensor component (#1525) 2021-02-15 12:49:02 -03:00
core fix esp8266 remote_transmitter using incorrect timings (#1465) 2021-02-01 11:59:27 -03:00
dashboard Add hyphen to supported name characters (#1223) 2020-07-30 00:02:34 +02:00
__init__.py Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
__main__.py Fixed logger broken by colorama (#1385) 2020-11-19 19:39:16 -03:00
automation.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
codegen.py Logger on_message trigger (#729) 2019-10-24 14:19:33 +02:00
config_helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
config_validation.py Add config validator location (#1490) 2021-02-06 12:09:15 -03:00
config.py Add config validator location (#1490) 2021-02-06 12:09:15 -03:00
const.py Device class attribute for sensor component (#1525) 2021-02-15 12:49:02 -03:00
core_config.py fix safe_mode (#1421) 2021-01-08 16:11:42 -03:00
core.py Add config validator location (#1490) 2021-02-06 12:09:15 -03:00
cpp_generator.py Add config validator location (#1490) 2021-02-06 12:09:15 -03:00
cpp_helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
cpp_types.py Logger on_message trigger (#729) 2019-10-24 14:19:33 +02:00
espota2.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
helpers.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
legacy.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
mqtt.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
pins.py Add pytest to CI (#1138) 2020-07-15 14:00:02 +02:00
platformio_api.py handle windows filenames (#1307) 2020-10-12 22:55:18 -03:00
py_compat.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
storage_json.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
util.py Try to fix serial ports listing (#1155) 2020-07-24 10:09:43 +02:00
voluptuous_schema.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
vscode.py Add support for command-line substitutions (#1014) 2020-06-21 15:33:01 -03:00
wizard.py Added "ESPHOME_NOGITIGNORE" env var to prevent .gitignore creation; moved env vars to consts (#1425) 2020-12-22 10:19:26 +13:00
writer.py Added "ESPHOME_NOGITIGNORE" env var to prevent .gitignore creation; moved env vars to consts (#1425) 2020-12-22 10:19:26 +13:00
yaml_util.py Add config validator location (#1490) 2021-02-06 12:09:15 -03:00
zeroconf.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00