mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 12:30:31 +00:00
Inverting states for opening/closing Homekit covers (#26872)
* Update cover.py * Update test_cover.py
This commit is contained in:
committed by
Paulus Schoutsen
parent
dc229ed569
commit
2ffbe5b99f
@@ -33,7 +33,7 @@ CURRENT_GARAGE_STATE_MAP = {
|
||||
|
||||
TARGET_GARAGE_STATE_MAP = {STATE_OPEN: 0, STATE_CLOSED: 1, STATE_STOPPED: 2}
|
||||
|
||||
CURRENT_WINDOW_STATE_MAP = {0: STATE_OPENING, 1: STATE_CLOSING, 2: STATE_STOPPED}
|
||||
CURRENT_WINDOW_STATE_MAP = {0: STATE_CLOSING, 1: STATE_OPENING, 2: STATE_STOPPED}
|
||||
|
||||
|
||||
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
|
||||
|
||||
Reference in New Issue
Block a user