Hi,
I am trying to send notifications by SMS through Clickatell.
I have some questions on how to write the automation yaml script, and how to send to multiple phone numbers.
Here is what i put in the configuration.yaml:
`notify:
- platform: clickatell
name: Alarme
api_key: 1234567890azer
recipient: +3312345678t`
Here is the example code i found for the automations.yaml:
- id: alarm_armed_away
alias: '[Alarm] Away Mode Armed'
trigger:
platform: state
entity_id: alarm_control_panel.house
to: 'armed_away'
action:
service: notify.clickatell
data:
message: Alarm Away Mode Armed
but it is not correct with the new “triggers” syntax, and i am unable to find the correct syntax
I saw a previous post asking for multiple phone numbers in the “recipient” line, but with no answer. Does anybody found a way to do that ?