@smi First you must get the shell commands to show up in the font end. Check your logs to debug. I needed to escape the double quotes.
The commands I posted above (#54) only replaces the AppDaemon part. You still need the basic automations to arm/disarm the alarm based on the state of sensor.alarm_keypad_alarm_level (either 255=armed and 0=disarmed).
I have these as:
- action:
- data:
entity_id: alarm_control_panel.ha_alarm
service: alarm_control_panel.alarm_arm_away
alias: Alarm to Armed
condition: []
id: '1513634400284'
trigger:
- above: '254'
entity_id: sensor.schlage_link_mini_keypad_rfid_alarm_level
platform: numeric_state
- action:
- data:
entity_id: alarm_control_panel.ha_alarm
service: alarm_control_panel.alarm_disarm
alias: Alarm to Home
condition: []
id: '1513671114417'
trigger:
- below: '1'
entity_id: sensor.schlage_link_mini_keypad_rfid_alarm_level
platform: numeric_state