Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Automation With Template Condition Not Triggering

$
0
0

@jcarter293 wrote:

Hi All,

I’m using the bwalarm alarm and when I test the automation it works. My notifications for when the alarm gets triggered work but I can’t get this one to work.

Thanks for your input.

- id: 'sec_notification_2'
  alias: Security Panic Notification
  description: ''
  trigger:
  - entity_id: alarm_control_panel.house_alarm
    platform: state
    to: disarmed
  condition:
  - condition: template
    value_template: is_state_attr('alarm_control_panel.house_alarm', 'panic_mode',
      'ACTIVE')
  action:
  - data:
      message: Panic Code Triggered
    service: notify.mms

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles