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

Broadcast 2 different messages to google-mini, What's wrong with this automation?

$
0
0

@Foz-man wrote:

I’d like my google-mini to broadcast two messages, 10 seconds apart when my door sensor is open.

It works to broadcast the first message, but then nothing. Action seems to stop after the first tts service

Thanks in advance!

Here’s the action:

- id: '1578778801261'
  alias: Door open 30 Seconds
  description: ''
  trigger:
  - entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor
    for: 00:00:30
    from: 'on'
    platform: state
    to: 'off'
  condition: []
  action:
  - data:
      volume_level: 0.4
    entity_id: media_player.mini_speaker
    service: media_player.volume_set
  - data:
      message: Someone please close the front door!
    service: tts.google_translate_say
  - delay: 00:00:10
  - data:
      message: Seriously close the front door!
    service: tts.google_translate_say

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



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