I have this in my package as well, btw this works just great
backdoor_action:
friendly_name: 'Back Door Action'
value_template: >
{% if is_state('sensor.lock_back_door_deadbolt_alarm_type', '22') %}
Manual Unlock
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '21') %}
Manual Lock
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '19') %}
Keypad Unlock
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '18') %}
Keypad Lock
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '25') %}
Wireless Unlock
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '24') %}
Wireless Lock
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '9') %}
Lock Jammed
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_type', '161') %}
Tamper Alarm
{% else %}
HA Controlled
{% endif %}
backdoor_code:
friendly_name: 'Back Door Code'
value_template: >
{% if is_state('sensor.lock_back_door_deadbolt_alarm_type', '19') or is_state('sensor.lock_back_door_deadbolt_alarm_type', '18') %}
{% if is_state('sensor.lock_back_door_deadbolt_alarm_level', '1') %}
{{ states.input_text.door_keypad_1_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '2') %}
{{ states.input_text.door_keypad_2_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '3') %}
{{ states.input_text.door_keypad_3_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '4') %}
{{ states.input_text.door_keypad_4_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '5') %}
{{ states.input_text.door_keypad_5_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '6') %}
{{ states.input_text.door_keypad_6_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '7') %}
{{ states.input_text.door_keypad_7_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '8') %}
{{ states.input_text.door_keypad_8_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '9') %}
{{ states.input_text.door_keypad_9_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '10') %}
{{ states.input_text.door_keypad_10_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '11') %}
{{ states.input_text.door_keypad_11_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '12') %}
{{ states.input_text.door_keypad_12_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '13') %}
{{ states.input_text.door_keypad_13_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '14') %}
{{ states.input_text.door_keypad_14_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '15') %}
{{ states.input_text.door_keypad_15_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '16') %}
{{ states.input_text.door_keypad_16_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '17') %}
{{ states.input_text.door_keypad_17_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '18') %}
{{ states.input_text.door_keypad_18_name.state }}
{% else %}
Unknown
{% endif %}
{% else %}
n/a
{% endif %}
frontdoor_action:
friendly_name: 'Front Door Action'
value_template: >
{% if is_state('sensor.lock_front_door_deadbolt_alarm_type', '22') %}
Manual Unlock
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '21') %}
Manual Lock
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '19') %}
Keypad Unlock
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '18') %}
Keypad Lock
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '25') %}
Wireless Unlock
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '24') %}
Wireless Lock
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '9') %}
Lock Jammed
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_type', '161') %}
Tamper Alarm
{% else %}
HA Controlled
{% endif %}
frontdoor_code:
friendly_name: 'Front Door Code'
value_template: >
{% if is_state('sensor.lock_front_door_deadbolt_alarm_type', '19') or is_state('sensor.lock_front_door_deadbolt_alarm_type', '18') %}
{% if is_state('sensor.lock_front_door_deadbolt_alarm_level', '1') %}
{{ states.input_text.door_keypad_1_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '2') %}
{{ states.input_text.door_keypad_2_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '3') %}
{{ states.input_text.door_keypad_3_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '4') %}
{{ states.input_text.door_keypad_4_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '5') %}
{{ states.input_text.door_keypad_5_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '6') %}
{{ states.input_text.door_keypad_6_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '7') %}
{{ states.input_text.door_keypad_7_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '8') %}
{{ states.input_text.door_keypad_8_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '9') %}
{{ states.input_text.door_keypad_9_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '10') %}
{{ states.input_text.door_keypad_10_name.state }}
{% elif is_state('sensor.lock_back_door_deadbolt_alarm_level', '11') %}
{{ states.input_text.door_keypad_11_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '12') %}
{{ states.input_text.door_keypad_12_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '13') %}
{{ states.input_text.door_keypad_13_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '14') %}
{{ states.input_text.door_keypad_14_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '15') %}
{{ states.input_text.door_keypad_15_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '16') %}
{{ states.input_text.door_keypad_16_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '17') %}
{{ states.input_text.door_keypad_17_name.state }}
{% elif is_state('sensor.lock_front_door_deadbolt_alarm_level', '18') %}
{{ states.input_text.door_keypad_18_name.state }}
{% else %}
Unknown
{% endif %}
{% else %}
n/a
{% endif %}
garagedoor_action:
friendly_name: 'Garage Door Action'
value_template: >
{% if is_state('sensor.lock_garage_door_lock_alarm_type', '22') %}
Manual Unlock
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '21') %}
Manual Lock
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '19') %}
Keypad Unlock
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '18') %}
Keypad Lock
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '25') %}
Wireless Unlock
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '24') %}
Wireless Lock
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '9') %}
Lock Jammed
{% elif is_state('sensor.lock_garage_door_lock_alarm_type', '161') %}
Tamper Alarm
{% else %}
HA Controlled
{% endif %}
garagedoor_code:
friendly_name: 'Garage Door Code'
value_template: >
{% if is_state('sensor.lock_garage_door_lock_alarm_type', '19') or is_state('sensor.lock_garage_door_lock_alarm_type', '18') %}
{% if is_state('sensor.lock_garage_door_lock_alarm_level', '1') %}
{{ states.input_text.door_keypad_1_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '2') %}
{{ states.input_text.door_keypad_2_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '3') %}
{{ states.input_text.door_keypad_3_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '4') %}
{{ states.input_text.door_keypad_4_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '5') %}
{{ states.input_text.door_keypad_5_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '6') %}
{{ states.input_text.door_keypad_6_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '7') %}
{{ states.input_text.door_keypad_7_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '8') %}
{{ states.input_text.door_keypad_8_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '9') %}
{{ states.input_text.door_keypad_9_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '10') %}
{{ states.input_text.door_keypad_10_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '11') %}
{{ states.input_text.door_keypad_11_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '12') %}
{{ states.input_text.door_keypad_12_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '13') %}
{{ states.input_text.door_keypad_13_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '14') %}
{{ states.input_text.door_keypad_14_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '15') %}
{{ states.input_text.door_keypad_15_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '16') %}
{{ states.input_text.door_keypad_16_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '17') %}
{{ states.input_text.door_keypad_17_name.state }}
{% elif is_state('sensor.lock_garage_door_lock_alarm_level', '18') %}
{{ states.input_text.door_keypad_18_name.state }}
{% else %}
Unknown
{% endif %}
{% else %}
n/a
{% endif %}