in apps.yaml you define settings for apps.
it might be helpfull to specify about what app you are using and where you have got it from.
and maybe, call the person who wrote that app?
I self solved the problem to create a virtual button to switch on and off my alarm
if you have installed System alarm, in Service panel you found two importand services:
alarm_control_panel.alarm_arm_home
alarm_control_panel.alarm_arm_away
so I created two input_boolean:
systemalarm_home:
name: System Alarm Home
initial: off
icon: mdi:alarm
systemalarm_away:
name: System Alarm Away
initial: off
icon: mdi:alarm
and two automation:
- alias: system alarm home on
trigger:
- platform: state
entity_id: input_boolean.systemalarm_home
to: 'on'
action:
service: alarm_control_panel.alarm_arm_home
data: {"entity_id":"alarm_control_panel.ha_alarm","code":"1234"}
- alias: system alarm away on
trigger:
- platform: state
entity_id: input_boolean.systemalarm_away
to: 'on'
action:
service: alarm_control_panel.alarm_arm_away
data: {"entity_id":"alarm_control_panel.ha_alarm","code":"1234"}