I am unfortunately getting a similar error. Everything seems to work fine with my front door lock if I remove the single quotes from input_boolean.allow_automation_execution and input_boolean.allow_automation_execution in my scripts.yaml:
# LOCK MANAGER SCRIPTS
system_cleanup:
sequence:
#- service: homekit.start If you use homekit, uncomment this statement
- service: input_boolean.turn_on
entity_id: input_boolean.system_ready
- service: input_boolean.turn_on
data:
entity_id: input_boolean.allow_automation_execution
customstartup:
sequence:
- service: input_boolean.turn_off
data:
entity_id: input_boolean.allow_automation_execution
However, my second (garage) lock is not functioning properly. I am getting the following errors in log:
Error while executing automation automation.garagesd_clear_code. Invalid data for call_service at pos 1: expected int for dictionary value @ data['code_slot']
AND
Error rendering data template: str: Invalid entity ID 'input_text.garagesd_pin_'
If I run ‘lock.set_usercode’ from services tab with the following data:
node_id: 12
code_slot: 1
usercode: 1234
It seems to work. Obviously doesn’t change the code in lovelace but if I check through the zwave panel I can see the code has changed.