Support for zwave light transitions (#6868)
* Support for zwave light transitions * Dimming duration is optional * Updated supported_features to show transition
This commit is contained in:
parent
01e581aced
commit
06e1c21b1f
4 changed files with 132 additions and 27 deletions
|
@ -121,6 +121,13 @@ DISCOVERY_SCHEMAS = [
|
|||
const.DISC_GENRE: const.GENRE_USER,
|
||||
const.DISC_TYPE: const.TYPE_BYTE,
|
||||
},
|
||||
'dimming_duration': {
|
||||
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL],
|
||||
const.DISC_GENRE: const.GENRE_SYSTEM,
|
||||
const.DISC_TYPE: const.TYPE_BYTE,
|
||||
const.DISC_LABEL: 'Dimming Duration',
|
||||
const.DISC_OPTIONAL: True,
|
||||
},
|
||||
'color': {
|
||||
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_COLOR],
|
||||
const.DISC_GENRE: const.GENRE_USER,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue