-
-
Notifications
You must be signed in to change notification settings - Fork 623
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): add ZSE70 device file; Add additional templates to Zooz template file #7490
base: master
Are you sure you want to change the base?
Conversation
I'm at loss in seeing where the lint test is failing. |
You can run diff --git a/packages/config/config/devices/0x027a/zse70.json b/packages/config/config/devices/0x027a/zse70.json
index c54a9a7..6ca77d1 100644
--- a/packages/config/config/devices/0x027a/zse70.json
+++ b/packages/config/config/devices/0x027a/zse70.json
@@ -110,11 +110,11 @@
"minValue": 0,
"defaultValue": 2,
"options": [
- {
- "label": "Disable",
- "value": 0
- }
- ]
+ {
+ "label": "Disable",
+ "value": 0
+ }
+ ]
},
{
"#": "12",
@@ -144,7 +144,6 @@
"#": "18",
"$import": "templates/zooz_template.json#lux_report_frequency"
}
-
],
"metadata": {
"wakeup": "Press the Z-Wave button to wake the device up. The LED will start flashing.", $ yarn exec dprint check
from /workspaces/node-zwave-js/packages/config/config/devices/0x027a/zse70.json:
110 110| →→→"minValue":·0,
111 111| →→→"defaultValue":·2,
112 112| →→→"options":·[
113|-→→→{
114|-→→→→"label":·"Disable",
115|-→→→→"value":·0
116|-→→→}
117|-→→]
113 |+→→→→{
114 |+→→→→→"label":·"Disable",
115 |+→→→→→"value":·0
116 |+→→→→}
117 |+→→→]
118 118| →→},
119 119| →→{
120 120| →→→"#":·"12",
...
144 144| →→→"#":·"18",
145 145| →→→"$import":·"templates/zooz_template.json#lux_report_frequency"
146 146| →→}
147|-→→
147 148| →],
148 149| →"metadata":·{
149 150| →→"wakeup":·"Press·the·Z-Wave·button·to·wake·the·device·up.·The·LED·will·start·flashing.",
--
Found 1 not formatted file. |
Btw, I created a pull request for this already a few weeks ago. Hasn't been merged yet though. |
Add Zooz ZSE70