-
-
Notifications
You must be signed in to change notification settings - Fork 586
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Same for the other new parameters. |
||||||
"$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 commentThe 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.
Suggested change
Same for params 26/27 |
||||||
}, | ||||||
{ | ||||||
"#": "3", | ||||||
"$if": "firmwareVersion <= 1.1", | ||||||
|
@@ -86,6 +93,13 @@ | |||||
"$import": "templates/zooz_template.json#zen16_switch_type_v2", | ||||||
"label": "Switch 2: Type" | ||||||
}, | ||||||
{ | ||||||
"#": "26", | ||||||
"$if": "firmwareVersion >= 1.2", | ||||||
"$import": "templates/zooz_template.json#zen16_switch_invert_v2", | ||||||
"label": "Switch 2: Invert Value", | ||||||
"description": "Invert the reported values for your selected switch type in Sw2 terminals (select the same value as you chose for parameter 3 to invert the values for open and closed circuit)." | ||||||
}, | ||||||
{ | ||||||
"#": "4", | ||||||
"$if": "firmwareVersion <= 1.1", | ||||||
|
@@ -98,6 +112,13 @@ | |||||
"$import": "templates/zooz_template.json#zen16_switch_type_v2", | ||||||
"label": "Switch 3: Type" | ||||||
}, | ||||||
{ | ||||||
"#": "27", | ||||||
"$if": "firmwareVersion >= 1.2", | ||||||
"$import": "templates/zooz_template.json#zen16_switch_invert_v2", | ||||||
"label": "Switch 3: Invert Value", | ||||||
"description": "Invert the reported values for your selected switch type in Sw3 terminals (select the same value as you chose for parameter 4 to invert the values for open and closed circuit)." | ||||||
}, | ||||||
{ | ||||||
"#": "5", | ||||||
"label": "LED Indicator", | ||||||
|
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.