hass-core/homeassistant/components/esphome
Otto Winter 5727beed8e
Add ESPHome Cover position/tilt support (#22858)
## Description:

Add ESPHome cover position and tilt support.

The aioesphomeapi also received a small refactor for these changes and those are part of this PR (constants were refactored into enums and optimistic was renamed to assumed_state). If possible, I'd like to include those in this PR because:

 1. It's mostly just very simple changes
 2. Because of the new position change the dev branch would be in a non-working state for a while until the split PR is merged (unless I write some temporary glue logic, but I'd prefer to avoid that)

## Checklist:
  - [x] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
  - [x] There is no commented out code in this PR.

If the code communicates with devices, web services, or third-party tools:
  - [x] [_The manifest file_][manifest-docs] has all fields filled out correctly ([example][ex-manifest]).
  - [x] New dependencies have been added to `requirements` in the manifest ([example][ex-requir]).
  - [x] New or updated dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`.

[ex-manifest]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/mobile_app/manifest.json
[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/mobile_app/manifest.json#L5
[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard/__init__.py#L23
[manifest-docs]: https://developers.home-assistant.io/docs/en/development_checklist.html#_the-manifest-file_
2019-04-08 15:44:24 +02:00
..
.translations Update translations 2019-03-31 20:01:23 -07:00
__init__.py Add ESPHome Cover position/tilt support (#22858) 2019-04-08 15:44:24 +02:00
binary_sensor.py Use relative imports inside integrations (#22235) 2019-03-20 22:56:46 -07:00
camera.py Add ESPHome Camera (#22107) 2019-03-16 23:36:31 -07:00
config_flow.py Fix ESPHome nodes being auto-added without user confirmation (#21444) 2019-02-26 12:35:25 -08:00
cover.py Add ESPHome Cover position/tilt support (#22858) 2019-04-08 15:44:24 +02:00
fan.py Add ESPHome Cover position/tilt support (#22858) 2019-04-08 15:44:24 +02:00
light.py Use relative imports inside integrations (#22235) 2019-03-20 22:56:46 -07:00
manifest.json Add ESPHome Cover position/tilt support (#22858) 2019-04-08 15:44:24 +02:00
sensor.py Use relative imports inside integrations (#22235) 2019-03-20 22:56:46 -07:00
strings.json Fix ESPHome nodes being auto-added without user confirmation (#21444) 2019-02-26 12:35:25 -08:00
switch.py Add ESPHome Cover position/tilt support (#22858) 2019-04-08 15:44:24 +02:00