I want to send weather radar image to telegram. I work well from the developer tool but not from the yaml. I think it’s a syntax error but I can not find it.
- id: telegram_tormenta
alias: TELEGRAM tormenta cerca
trigger:- entity_id: sensor.tormenta
from: ‘off’
platform: state
to: ‘on’
action:- data_template:
message: rain {{states.sensor.llandoso_precip_probability.state}}%.
storm at {{states.sensor.llandoso_nearest_storm_distance.state}}
km .
title: ATENCION TORMENTA
service: notify.ha
→ data:
caption: “Rain radar”
url: https://api.sat24.com/animated/SP/rainTMC/1/W_dot_%20Europe%20Standard%20Time
service: telegram_bot.send_video
Get this error
Invalid config for [automation]: Service telegram_bot.send_video does not match format <domain>.<name> for dictionary value @ data[‘action’][1][‘service’]. Got None. (See /config/configuration.yaml, line 308). Please check the docs at Automation - Home Assistant