-
-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(config): parameter update for Zooz Zen16 v2.0 #6569
base: master
Are you sure you want to change the base?
Conversation
@@ -909,6 +909,78 @@ | |||
{ | |||
"label": "Garage door (momentary mode for Z-Wave control)", | |||
"value": 3 | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a new template, since those input types are only available in revision 2 (firmware 2.0+) of the switch.
@@ -74,6 +74,13 @@ | |||
"$import": "templates/zooz_template.json#zen16_switch_type_v2", | |||
"label": "Switch 1: Type" | |||
}, | |||
{ | |||
"#": "25", | |||
"$if": "firmwareVersion >= 1.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"$if": "firmwareVersion >= 1.2", | |
"$if": "firmwareVersion >= 2.0", |
Same for the other new parameters.
"$if": "firmwareVersion >= 1.2", | ||
"$import": "templates/zooz_template.json#zen16_switch_invert_v2", | ||
"label": "Switch 1: Invert Value", | ||
"description": "Invert the reported values for your selected switch type in Sw1 terminals (select the same value as you chose for parameter 2 to invert the values for open and closed circuit)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We try to keep descriptions as short as possible and avoid repeating the label in other words. Only use this if necessary to add additional information, e.g.
"description": "Invert the reported values for your selected switch type in Sw1 terminals (select the same value as you chose for parameter 2 to invert the values for open and closed circuit)." | |
"description": "Select the same value as in parameter 2 to invert the values for open and closed circuit." |
Same for params 26/27
adds parameters available to the Zooz Zen16 v2.0 from Zooz's Documentation relating to the switch inputs which are missing from the current config files.