I want HA to change my Blue Iris profile based on alarm status. I have 3 basic scenarios:
HA Alarm Disarmed → BI Profile Disarmed
HA Armed Home → BI Profile Armed Home
HA Armed Away → BI Profile Armed Away
I know I can create 3 automations that trigger based on the alarm status, like this:
- id: '1640757348755'
alias: Blue Iris Profile Change
description: ''
trigger:
- platform: state
entity_id: alarm_control_panel.home_alarm
to: Armed night
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.blueiris_profile_armed_home
mode: single
Can I create one automation that just sets the BI profile based on what state the HA alarm is in?