We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51d0ee1 commit 808c66dCopy full SHA for 808c66d
capabilities.json
@@ -522,5 +522,25 @@
522
"amberpiano10217.deviceinfo",
523
"amberpiano10217.deviceEui",
524
"amberpiano10217.groupAdd",
525
- "amberpiano10217.groupInfo"
+ "amberpiano10217.groupInfo",
526
+ "custom.airPurifierOperationMode",
527
+ "rboyapps.lockOneTouchLock",
528
+ "rboyapps.lockAutolock",
529
+ "rboyapps.lockTamper",
530
+ "rboyapps.lockAudio",
531
+ "rboyapps.lockExtended",
532
+ "rboyapps.lockKeypad",
533
+ "rboyapps.lockTamperSensitivity",
534
+ "eventflute36860.ledBarSwitchOn",
535
+ "eventflute36860.ledBarSwitchOff",
536
+ "eventflute36860.defaultLevelLocal",
537
+ "eventflute36860.notificationSingle",
538
+ "eventflute36860.notificationAll",
539
+ "eventflute36860.localControl",
540
+ "eventflute36860.remoteControl",
541
+ "eventflute36860.log",
542
+ "legendabsolute60149.colorChangeTimer",
543
+ "legendabsolute60149.colorChanging",
544
+ "legendabsolute60149.hueSteps",
545
+ "legendabsolute60149.colorChangeMode1"
546
]
validate.py
@@ -0,0 +1,15 @@
1
+import json
2
+
3
+def validate_no_duplicates(file_path):
4
+ with open(file_path, 'r') as f:
5
+ capabilities = json.load(f)
6
7
+ duplicates = set([capability for capability in capabilities if capabilities.count(capability) > 1])
8
9
+ if duplicates:
10
+ print(f"Duplicate capabilities found: {duplicates}")
11
+ else:
12
+ print("No duplicates found.")
13
14
+if __name__ == '__main__':
15
+ validate_no_duplicates('capabilities.json')
0 commit comments