Add device action support to the lock integration (#27499)

* Add device action support to the lock integration

* Check that the enitity supports open service
This commit is contained in:
Erik Montnemery authored and Paulus Schoutsen committed 2019-10-17 17:20:10 -07:00
1 parent bd0403c65e
commit 6d083969c2
4 files changed
+321

No files matched your search

@@ -1,5 +1,10 @@
{
"device_automation": {
"action_type": {
"lock": "Lock {entity_name}",
"open": "Open {entity_name}",
"unlock": "Unlock {entity_name}"
},
"condition_type": {
"is_locked": "{entity_name} is locked",
"is_unlocked": "{entity_name} is unlocked"