#Is there a way to announce a counter

1 messages · Page 1 of 1 (latest)

ruby phoenix
#

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
cunning sand
#

@ruby phoenix can i do math in this function? like: message: "The wale has been dropped {{ 20 + states('counter.whale_fall') }} times"

ruby phoenix
#

There's convenient documentation carefully linked from the topic there, and they can answer your questions on templates