I can’t seem to get it to work.
This is, how I call the service from a script:
- service: |
notify.warn_{{target}}
data:
message: "TTS"
tts_text: "{{message}}"
This is the actual notify-service:
- platform: group
name: warn_sean
services:
- service: mobile_app_seanphone
data:
data:
group: hassio
# channel: Warning
channel: "alarm_stream"
# color: "#03A9F4"
color: "yellow"
importance: high
sticky: true
persistent: false
alert_once: false
ttl: 0
This is the error:
home_briefing: Error executing script. Invalid data for call_service at pos 1: extra keys not allowed @ data['tts_text']