Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95468

Why now() doesn't work?

$
0
0

@tj1aih wrote:

I make a automation to say time hourly. but it doesn’t work.

data:
  entity_id: media_player.android
  message: 'The time is {{ now().hour}}'
service: tts.baidu_say

the media player will say “'The time is now hour”,it looks like the template is not rendered correctly

thank you for your time.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>