hass-core/tests/fixtures/abode_automation.json
shred86 d36259f067
Add Abode tests ()
* 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
2020-03-16 03:05:10 +01:00

38 lines
No EOL
939 B
JSON

{
"name": "Test Automation",
"enabled": "True",
"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"
}
}
}
]
}
}