I am using the HACS integration for alarm.com. Recently HA has started to require a code to arm the alarm. (Yes, I can change the py file to not require this, but I like the idea of needing a code to disarm). When I try to arm the alam with an automation, I am trying to use the secrets.yaml to pull the code. When I try this, however, it throws an error that the yaml is incorrect.
service: alarm_control_panel.alarm_arm_home
data:
code: !secret alarm_code
target:
entity_id: alarm_control_panel.panel
Is this an issue with the HACS integration not being able to see the secrets file?
If I just enter the code in the automation, it works just fine.
service: alarm_control_panel.alarm_arm_home
data:
code: 1234
target:
entity_id: alarm_control_panel.panel