esphome/esphome/components/api
Jim Ekman 7708b81ef5
Support fan speed levels (#1541)
* Add fan speed percentage support to the API

* Add float fan speed percentage

* Add percentage support to automation and configuration

* Update Tuya fan

* Fix pylint warning

* Update API to use speed levels instead of percentage

* Use speed levels

* Fix type warnings

* MQTT component now converts between speed levels and enums

* Webserver now supports speed_level

* Update prometheus

* Remove low/medium/high settings from speed fan

* Remove unused enum

* Configurable speed levels for speed fan

* Remove unused import

* Rename speed_level->speed and speed_levels->speed_count

* Rename supported_speed_levels -> supported_speed_count in API and FanTraits

Field id stays the same in the protocol, so the change is not breaking for aioesphome.
2021-03-17 10:40:02 -03:00
..
__init__.py add-black (#1593) 2021-03-07 16:03:16 -03:00
api.proto Support fan speed levels (#1541) 2021-03-17 10:40:02 -03:00
api_connection.cpp Support fan speed levels (#1541) 2021-03-17 10:40: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 Support fan speed levels (#1541) 2021-03-17 10:40:02 -03:00
api_pb2.h Support fan speed levels (#1541) 2021-03-17 10:40: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