-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some tests for Koogeek LS1 (#22141)
- Loading branch information
Showing
3 changed files
with
390 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
244 changes: 244 additions & 0 deletions
244
tests/components/homekit_controller/specific_devices/koogeek_ls1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
[ | ||
{ | ||
"aid": 1, | ||
"services": [ | ||
{ | ||
"characteristics": [ | ||
{ | ||
"format": "string", | ||
"iid": 2, | ||
"maxLen": 64, | ||
"perms": [ | ||
"pr" | ||
], | ||
"type": "23", | ||
"value": "Koogeek-LS1-20833F" | ||
}, | ||
{ | ||
"format": "string", | ||
"iid": 3, | ||
"maxLen": 64, | ||
"perms": [ | ||
"pr" | ||
], | ||
"type": "20", | ||
"value": "Koogeek" | ||
}, | ||
{ | ||
"format": "string", | ||
"iid": 4, | ||
"maxLen": 64, | ||
"perms": [ | ||
"pr" | ||
], | ||
"type": "21", | ||
"value": "LS1" | ||
}, | ||
{ | ||
"format": "string", | ||
"iid": 5, | ||
"maxLen": 64, | ||
"perms": [ | ||
"pr" | ||
], | ||
"type": "30", | ||
"value": "AAAA011111111111" | ||
}, | ||
{ | ||
"format": "bool", | ||
"iid": 6, | ||
"perms": [ | ||
"pw" | ||
], | ||
"type": "14" | ||
}, | ||
{ | ||
"format": "string", | ||
"iid": 23, | ||
"perms": [ | ||
"pr" | ||
], | ||
"type": "52", | ||
"value": "2.2.15" | ||
} | ||
], | ||
"iid": 1, | ||
"type": "3E" | ||
}, | ||
{ | ||
"characteristics": [ | ||
{ | ||
"ev": false, | ||
"format": "bool", | ||
"iid": 8, | ||
"perms": [ | ||
"pr", | ||
"pw", | ||
"ev" | ||
], | ||
"type": "25", | ||
"value": false | ||
}, | ||
{ | ||
"ev": false, | ||
"format": "float", | ||
"iid": 9, | ||
"maxValue": 359, | ||
"minStep": 1, | ||
"minValue": 0, | ||
"perms": [ | ||
"pr", | ||
"pw", | ||
"ev" | ||
], | ||
"type": "13", | ||
"unit": "arcdegrees", | ||
"value": 44 | ||
}, | ||
{ | ||
"ev": false, | ||
"format": "float", | ||
"iid": 10, | ||
"maxValue": 100, | ||
"minStep": 1, | ||
"minValue": 0, | ||
"perms": [ | ||
"pr", | ||
"pw", | ||
"ev" | ||
], | ||
"type": "2F", | ||
"unit": "percentage", | ||
"value": 0 | ||
}, | ||
{ | ||
"ev": false, | ||
"format": "int", | ||
"iid": 11, | ||
"maxValue": 100, | ||
"minStep": 1, | ||
"minValue": 0, | ||
"perms": [ | ||
"pr", | ||
"pw", | ||
"ev" | ||
], | ||
"type": "8", | ||
"unit": "percentage", | ||
"value": 100 | ||
}, | ||
{ | ||
"format": "string", | ||
"iid": 12, | ||
"maxLen": 64, | ||
"perms": [ | ||
"pr" | ||
], | ||
"type": "23", | ||
"value": "Light Strip" | ||
} | ||
], | ||
"iid": 7, | ||
"primary": true, | ||
"type": "43" | ||
}, | ||
{ | ||
"characteristics": [ | ||
{ | ||
"description": "TIMER_SETTINGS", | ||
"format": "tlv8", | ||
"iid": 14, | ||
"perms": [ | ||
"pr", | ||
"pw" | ||
], | ||
"type": "4aaaf942-0dec-11e5-b939-0800200c9a66", | ||
"value": "AHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | ||
} | ||
], | ||
"iid": 13, | ||
"type": "4aaaf940-0dec-11e5-b939-0800200c9a66" | ||
}, | ||
{ | ||
"characteristics": [ | ||
{ | ||
"description": "FW Upgrade supported types", | ||
"format": "string", | ||
"iid": 16, | ||
"perms": [ | ||
"pr", | ||
"hd" | ||
], | ||
"type": "151909D2-3802-11E4-916C-0800200C9A66", | ||
"value": "url,data" | ||
}, | ||
{ | ||
"description": "FW Upgrade URL", | ||
"format": "string", | ||
"iid": 17, | ||
"maxLen": 256, | ||
"perms": [ | ||
"pw", | ||
"hd" | ||
], | ||
"type": "151909D1-3802-11E4-916C-0800200C9A66" | ||
}, | ||
{ | ||
"description": "FW Upgrade Status", | ||
"ev": false, | ||
"format": "int", | ||
"iid": 18, | ||
"perms": [ | ||
"pr", | ||
"ev", | ||
"hd" | ||
], | ||
"type": "151909D6-3802-11E4-916C-0800200C9A66", | ||
"value": 0 | ||
}, | ||
{ | ||
"description": "FW Upgrade Data", | ||
"format": "data", | ||
"iid": 19, | ||
"perms": [ | ||
"pw", | ||
"hd" | ||
], | ||
"type": "151909D7-3802-11E4-916C-0800200C9A66" | ||
} | ||
], | ||
"hidden": true, | ||
"iid": 15, | ||
"type": "151909D0-3802-11E4-916C-0800200C9A66" | ||
}, | ||
{ | ||
"characteristics": [ | ||
{ | ||
"description": "Timezone", | ||
"format": "int", | ||
"iid": 21, | ||
"perms": [ | ||
"pr", | ||
"pw" | ||
], | ||
"type": "151909D5-3802-11E4-916C-0800200C9A66", | ||
"value": 0 | ||
}, | ||
{ | ||
"description": "Time value since Epoch", | ||
"format": "int", | ||
"iid": 22, | ||
"perms": [ | ||
"pr", | ||
"pw" | ||
], | ||
"type": "151909D4-3802-11E4-916C-0800200C9A66", | ||
"value": 1550348623 | ||
} | ||
], | ||
"iid": 20, | ||
"type": "151909D3-3802-11E4-916C-0800200C9A66" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.