mirror of
https://github.com/elisspace/core.git
synced 2026-09-20 01:31:36 +00:00
* Add support for device conditions * Lint * Update test case * Make and+or conditions async, adjust tests * Cleanup tests * Remove non callback versions of conditions, correct typing * Correct typing * Update light/strings.json * Address review comments * Make device automation lists simple lists, not dicts * Add device_automation/const.py * Use IS_ON/IS_OFF everywhere for conditions
13 lines
230 B
JSON
13 lines
230 B
JSON
{
|
|
"device_automation": {
|
|
"condition_type": {
|
|
"is_on": "{name} is on",
|
|
"is_off": "{name} is off"
|
|
},
|
|
"trigger_type": {
|
|
"turn_on": "{name} turned on",
|
|
"turn_off": "{name} turned off"
|
|
}
|
|
}
|
|
}
|