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

TTS to read state of an entity

$
0
0

@Alwyntn wrote:

Hi all,
Im trying to setup automation to read the today weather (sunny, rainy, etc) every morning. I got it to read “The weather for today is” then unable to read the states from the entity and would eventually like it to read the current temperature too. I assume once I got this figure out I can figure out the last part.

I’m new to HA, hope someone can point me to the right syntax.

- id: '1588920169520'
  alias: Test Weather Report
  trigger:
  - at: 08:00:00
    platform: time
  action:
  - data:
      volume_level: 0.2
    entity_id: media_player.bose_soundtouch
    service: media_player.volume_set
  - data:
      entity_id: media_player.bose_soundtouch
      message: The weather for today is {{ states(weather.test_home) }}
    service: tts.google_translate_say

1

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 106377

Trending Articles



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