Add Abode tests (#32562)
* Add tests for several devices * Update coveragerc * Code review changes and minor clean up * More code review changes * Update manifest and minor test updates * Add test for locks and covers * Add tests for switch on and off * Add more complete test for alarms * Fix for camera test * Patch abodepy.mode for tests * Add test for unknown alarm state and minor cleanup * Update to make tests more robust * More specific tests * Update quality scale to silver * Remove integration quality scale
This commit is contained in:
1 parent
d62bb9ed47
commit
d36259f067
18 files changed
+1904
-9
No files matched your search
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "Test Automation",
|
||||
"enabled": "False",
|
||||
"version": 2,
|
||||
"id": "47fae27488f74f55b964a81a066c3a01",
|
||||
"subType": "",
|
||||
"actions": [
|
||||
{
|
||||
"directive": {
|
||||
"trait": "panel.traits.panelMode",
|
||||
"name": "panel.directives.arm",
|
||||
"state": {
|
||||
"panelMode": "AWAY"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"conditions": {},
|
||||
"triggers": {
|
||||
"operator": "OR",
|
||||
"expressions": [
|
||||
{
|
||||
"mobileDevices": [
|
||||
"89381",
|
||||
"658"
|
||||
],
|
||||
"property": {
|
||||
"trait": "mobile.traits.location",
|
||||
"name": "location",
|
||||
"rule": {
|
||||
"location": "31675",
|
||||
"equalTo": "LAST_OUT"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user