From 1836c7a358fca4aba4c9362488efbc4164ef3709 Mon Sep 17 00:00:00 2001 From: John Arild Berentsen Date: Sat, 22 Apr 2017 16:23:39 +0200 Subject: [PATCH] Zwave cover workaround for graber shades. (#7204) * wierd pylint complaint * Workaround for Graber csz1 shades * logging * Try direct * Try direct * Use workaround * Review changes and tests * test * reset test * Use Bright and Dim also as open and close is --- homeassistant/components/zwave/discovery_schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/zwave/discovery_schemas.py b/homeassistant/components/zwave/discovery_schemas.py index f6e56ce79c8..17c37556aea 100644 --- a/homeassistant/components/zwave/discovery_schemas.py +++ b/homeassistant/components/zwave/discovery_schemas.py @@ -81,12 +81,12 @@ DISCOVERY_SCHEMAS = [ }, 'open': { const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL], - const.DISC_LABEL: ['Open', 'Up'], + const.DISC_LABEL: ['Open', 'Up', 'Bright'], const.DISC_OPTIONAL: True, }, 'close': { const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL], - const.DISC_LABEL: ['Close', 'Down'], + const.DISC_LABEL: ['Close', 'Down', 'Dim'], const.DISC_OPTIONAL: True, }})}, {const.DISC_COMPONENT: 'cover', # Garage Door