@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