Commit graph

12 commits

Author SHA1 Message Date
p4p3r
9d79c4f617
Add On/Off as target values for zwave_js cover stop action ()
* Add On/Off as target values for stop cover

Certain ZWave Cover devices use On/Off instead of the more common
Open/Close and Up/Down targets for movement.
Adding On/Off to the targets used to stop the cover during movement.
Fixes issue 

* Add test for updated zwave_js stop cover logic
2021-07-16 15:48:35 +02:00
Raman Gupta
9cbf88d944
Switch to using entry.async_on_remove () 2021-07-13 10:31:49 +02:00
Raman Gupta
b91696c139
Switch to using entity class attributes where possible in zwave_js ()
* Switch to using entity class attributes where possible in zwave_js

* fix

* revert docstring

* remove unused init

* Revert some changes based on feedback in 

* switch to class atributes
2021-06-01 10:26:22 +02:00
Franck Nijhof
255e13930c
Define CoverEntity entity attributes as class variables ()
* Define CoverEntity entity attributes as class variables

* Fix supported features
2021-05-29 14:35:02 +02:00
Dror Eiger
0556c35e24
Set zwave_js cover device_class for shutters and blinds ()
* Set device_class for shutters and blinds

* Add missing. imports

* Add tests for device class setting

* Clean up

* Avoid storing the node in an unused variable

* Fix entity name

* Extend qubino shutter discovery

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-16 08:26:16 +02:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type () 2021-04-29 12:28:14 +02:00
Marc Mueller
dcca29ef68
Update typing 14 () 2021-03-18 15:08:35 +01:00
kpine
dfa973f9ef
Add barrier covers to zwave_js integration () 2021-02-14 13:24:29 +01:00
Marcel van der Veldt
242ff045b9
Handle missing value in all platforms of zwave_js () 2021-02-06 14:02:03 +01:00
Nathan Spencer
92886cafe9
Fix zwave_js cover control for Up/Down and Open/Close ()
* Fix issue with control of cover when the target value is Up/Down instead of Open/Close

* Adjust open/close/stop cover control to account for no Open/Up or Close/Down targets

* Revert back to using values of 0/99 to close/open a cover since it is supported by all covers

* Replace RELEASE_BUTTON with False and remove unused PRESS_BUTTON in zwave_js cover
2021-02-05 10:48:47 +01:00
Chris
a8cf377ed7
Add stop_cover service for zwave_js () 2021-02-01 16:46:36 +01:00
Chris
198b875a6f
Add cover platform to zwave js () 2021-01-22 11:51:39 -05:00