你好,

当触发警报时,我正在尝试收到通知。我正在使用Envisalink模块运行哈索座3.5。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) :

别名:kangertriggered.
扳机:
平台:状态
entity_id:armar_control_panel.home_alarm.
到:'触发'
行动:
服务:notify.ios_iphone_franck.
data_template:
标题:“警报正在开启”
消息:“报警,报警,警报”

我究竟做错了什么?我需要做任何其他事情吗?

TKS

欢迎来到论坛。请阅读这一点,如何帮助我们帮助您 - 或者如何提出一个好问题特别注意点11。然后编辑您的帖子并格式化您的粘贴代码。它确实有助于缩进在yaml中很重要。

并且给出了错误op,几乎肯定是问题所在。虽然我认为这不是说太多,因为大多数问题都与缩进无论如何:stuck_out_tongue:

嗨,我想在我的警报上设置这个。什么是正确的配置?
我得到了错误。:皱眉: