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
This commit is contained in:
parent
e01c36c906
commit
79c6467797
1 changed files with 2 additions and 2 deletions
|
@ -81,12 +81,12 @@ DISCOVERY_SCHEMAS = [
|
||||||
},
|
},
|
||||||
'open': {
|
'open': {
|
||||||
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL],
|
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL],
|
||||||
const.DISC_LABEL: ['Open', 'Up'],
|
const.DISC_LABEL: ['Open', 'Up', 'Bright'],
|
||||||
const.DISC_OPTIONAL: True,
|
const.DISC_OPTIONAL: True,
|
||||||
},
|
},
|
||||||
'close': {
|
'close': {
|
||||||
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL],
|
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_OPTIONAL: True,
|
||||||
}})},
|
}})},
|
||||||
{const.DISC_COMPONENT: 'cover', # Garage Door
|
{const.DISC_COMPONENT: 'cover', # Garage Door
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue