Add Cover to Z-Wave.Me integration (#68233)

* Cover integration

* isort fix

* Update homeassistant/components/zwave_me/cover.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update cover.py

* Update cover.py

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* coveragerc for cover

* Fix position range

* Clean up

Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Poltorak Serguei 2022-03-20 16:50:16 +03:00 committed by GitHub
parent 994ea04c85
commit 972afc5cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 78 additions and 3 deletions

View file

@ -12,6 +12,7 @@ class ZWaveMePlatform(StrEnum):
BINARY_SENSOR = "sensorBinary"
BUTTON = "toggleButton"
CLIMATE = "thermostat"
COVER = "motor"
LOCK = "doorlock"
NUMBER = "switchMultilevel"
SWITCH = "switchBinary"
@ -25,6 +26,7 @@ PLATFORMS = [
Platform.BINARY_SENSOR,
Platform.BUTTON,
Platform.CLIMATE,
Platform.COVER,
Platform.LIGHT,
Platform.LOCK,
Platform.NUMBER,