{ "title": "Lock", "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" }, "trigger_type": { "locked": "{entity_name} locked", "unlocked": "{entity_name} unlocked" } }, "entity_component": { "_": { "name": "[%key:component::lock::title%]", "state": { "jammed": "Jammed", "locked": "[%key:common::state::locked%]", "locking": "Locking", "unlocked": "[%key:common::state::unlocked%]", "unlocking": "Unlocking" }, "state_attributes": { "code_format": { "name": "[%key:component::alarm_control_panel::entity_component::_::state_attributes::code_format::name%]" }, "changed_by": { "name": "[%key:component::alarm_control_panel::entity_component::_::state_attributes::changed_by::name%]" } } } } }