Doen anyone know why my tap_action just echos whats written inside the brackets and not what the template returns?
btw: it works fine in devtools
type: button
show_name: true
show_icon: true
tap_action:
action: perform-action
perform_action: tts.speak
target:
entity_id: tts.home_assistant_cloud
data:
cache: false
media_player_entity_id: media_player.nestaudio1262
message: >-
{{
state_attr('sensor.saalfeld_wetterbericht_2', 'data') | replace('*', '') |
replace('#', '')
}}
name: Wetterbericht
icon: mdi:play
icon_height: 48px
show_state: false