esphome/esphome/components/api
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
..
__init__.py Adds new homeassistant.tag_scanned action (#1281) 2020-09-16 12:29:20 +02:00
api.proto Device class attribute for sensor component (#1525) 2021-02-15 12:49:02 -03:00
api_connection.cpp Device class attribute for sensor component (#1525) 2021-02-15 12:49:02 -03:00
api_connection.h test disable no delay (#1026) 2020-04-30 23:00:57 -03:00
api_options.proto Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
api_pb2.cpp Device class attribute for sensor component (#1525) 2021-02-15 12:49:02 -03:00
api_pb2.h Device class attribute for sensor component (#1525) 2021-02-15 12:49:02 -03:00
api_pb2_service.cpp test disable no delay (#1026) 2020-04-30 23:00:57 -03:00
api_pb2_service.h Add climate dry fan (#845) 2019-11-16 16:34:11 +01:00
api_server.cpp Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
api_server.h Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
custom_api_device.h Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
homeassistant_service.h lint 2020-05-24 23:27:28 -03:00
list_entities.cpp Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
list_entities.h Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
proto.cpp Add encode_uint32 method (#1427) 2021-01-10 17:53:12 +13:00
proto.h test disable no delay (#1026) 2020-04-30 23:00:57 -03:00
subscribe_state.cpp Add missing state attribute (#851) 2019-11-12 18:58:26 +01:00
subscribe_state.h Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
user_services.cpp Move native API enums to new namespace (#825) 2019-11-02 19:35:45 +01:00
user_services.h Move native API enums to new namespace (#825) 2019-11-02 19:35:45 +01:00
util.cpp Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00
util.h Create Protobuf Plugin for automatically generating native API stubs (#633) 2019-06-18 19:31:22 +02:00