#Is there a way to announce a counter
1 messages · Page 1 of 1 (latest)
Yes, use #templates-archived - for example:
- service: tts.cloud_say
target:
entity_id: media_player.petunia
data:
message: "The whale has been dropped {{ states('counter.whale_fall') }} times"
``` If you need further help see that channel
@ruby phoenix can i do math in this function? like: message: "The wale has been dropped {{ 20 + states('counter.whale_fall') }} times"
You can do all sorts - see the #templates-archived channel
There's convenient documentation carefully linked from the topic there, and they can answer your questions on templates