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

Notify when alarm is triggered

$
0
0

@Francois_Rousseau wrote:

Hi,

I’m trying to get notification when alarm is triggered. I am running HassOS 3.5 with an Envisalink module. I’ve successfully send an IOS notification based on a binary sensor state change but I cannot figure where the issue is in the following code in automation.yaml (getting: Invalid config for [automation]: [platform] is an invalid option for [automation] error) :

alias: AlarmTriggered
trigger:
platform: state
entity_id: alarm_control_panel.home_alarm
to: ‘triggered’
action:
service: notify.ios_iphone_franck
data_template:
title: “Alarm is on”
message: “Alarm, Alarm, Alarm”

What am I doing wrong? Do I need to do anything else

Tks

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95480

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>