2019-10-12 19:53:15 +00:00
|
|
|
{
|
2020-04-16 18:52:27 +00:00
|
|
|
"title": "Lock",
|
2019-10-12 19:53:15 +00:00
|
|
|
"device_automation": {
|
2019-10-18 00:20:10 +00:00
|
|
|
"action_type": {
|
|
|
|
"lock": "Lock {entity_name}",
|
|
|
|
"open": "Open {entity_name}",
|
|
|
|
"unlock": "Unlock {entity_name}"
|
|
|
|
},
|
2019-10-12 19:53:15 +00:00
|
|
|
"condition_type": {
|
|
|
|
"is_locked": "{entity_name} is locked",
|
|
|
|
"is_unlocked": "{entity_name} is unlocked"
|
2019-11-07 11:26:59 +00:00
|
|
|
},
|
|
|
|
"trigger_type": {
|
|
|
|
"locked": "{entity_name} locked",
|
|
|
|
"unlocked": "{entity_name} unlocked"
|
2019-10-12 19:53:15 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"state": {
|
|
|
|
"_": {
|
|
|
|
"locked": "[%key:common::state::locked%]",
|
|
|
|
"unlocked": "[%key:common::state::unlocked%]"
|
|
|
|
}
|
2019-10-12 19:53:15 +00:00
|
|
|
}
|
|
|
|
}
|