My alexa tts is working but i can’t get state change working correctly - where i have make a syntax error?
- id: poolpumpe_an_tts
alias: poolpumpe_an_tts
description: ''
trigger:
- platform: state
entity_id: switch.pool
from: 'off'
to: 'on'
#condition: []
action:
- data_template:
entity_id: media_player.buro
message: "Poolpumpe eingeschaltet"
service: media_player.alexa_tts
Thank you for links or/and helping!!!