core/homeassistant/components/mysensors
FidgetyRat 4cade4b736
Add OPENING & CLOSING state to MySensors cover (#47285)
* Added OPENING & CLOSING State Support

Added support for OPENING and CLOSING states using a combination of
the required V_ variables. Simplified the determination of the
cover's state by use of a new enumeration and single method allowing
the state to be used by all three HomeAssistant query methods.

* Fixes for HomeAssistant Style

Corrections to style to allow flake8, isort, and black to pass.

* Peer Review Changes

Added @unique to the main enumeration. Removed unnecessary parens from
door state logic. Reordered CLOSING and CLOSED in the enumeration.
2021-03-06 10:26:04 +01:00
..
translations [ci skip] Translation update 2021-03-01 00:09:01 +00:00
__init__.py Uniformize platform setup (#47101) 2021-03-02 21:43:59 +01:00
binary_sensor.py
climate.py
config_flow.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
const.py Use conn_made callback in MySensors (#47463) 2021-03-05 20:21:24 +01:00
cover.py Add OPENING & CLOSING state to MySensors cover (#47285) 2021-03-06 10:26:04 +01:00
device.py Add OPENING & CLOSING state to MySensors cover (#47285) 2021-03-06 10:26:04 +01:00
device_tracker.py
gateway.py Use conn_made callback in MySensors (#47463) 2021-03-05 20:21:24 +01:00
handler.py Use conn_made callback in MySensors (#47463) 2021-03-05 20:21:24 +01:00
helpers.py
light.py
manifest.json
notify.py
sensor.py
services.yaml
strings.json
switch.py