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

UTC to local time for a sensor to tts automation

$
0
0

I recently created an automation to announce the time of an upcoming event. The upcoming time is in UTC so tts is just announcing it as such. How would I have tts read it back as my local time instead?

The script is below:

alias: Jewish calendar demo
description: ''
trigger:
  - platform: time
    at: '12:00:00'
condition: []
action:
  - service: tts.google_translate_say
    target:
      entity_id: media_player.entryway_wifi
    data:
      message: >-
        Good morning the value is {{
        states('sensor.jewish_calendar_upcoming_candle_lighting') }}
mode: single

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 102819

Trending Articles



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