Garage Door Open TTS Announcer/Reminder Google_Translate_Say

I forked this from doughecka version that was using the older service google_say. As that version does not currently seem to be maintained, I hope this helps some people struggling to get that version working.

If anyone has any bugs/request let me know I will try to keep this blueprint updated.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

blueprint:
  name: Garage Door Open TTS Announcer v2
  domain: automation
  input:
    monitored_entity:
      name: Monitored Sensor
      description: Entity that causes announcement
      selector:
        entity:
          domain: cover
          device_class: garage
    speaker_target:
      name: Speaker
      description: Entity to announce event on
      selector:
        target:
          entity:
            domain: media_player
    announcement_message:
      name: Announcement message
      description: What to say when door is opened
    final_message:
      name: Final message
      description: What to say when door is closed
    cooldown:
      name: Announcement cooldown
      description: The minimum time needed in between announcements
      default: 10
      selector:
        number:
          min: 0.0
          max: 600.0
          unit_of_measurement: seconds
          mode: slider
          step: 1.0
  source_url: https://community.home-assistant.io/t/garage-door-open-tts-announcer-reminder-google-translate-say/365197
mode: single
trigger:
  platform: state
  entity_id: !input 'monitored_entity'
  from: 'closed'
  to: 'open'
action:
- alias: Repeat the sequence UNTIL the door is closed
  repeat:
    sequence:
    - service: tts.google_translate_say
      target: !input 'speaker_target'
      data:
        message: !input 'announcement_message'
    - wait_for_trigger:
      - platform: state
        entity_id: !input 'monitored_entity'
        to: 'closed'
        for: 10
      timeout:  !input 'cooldown'
    until:
    - condition: state
      entity_id: !input 'monitored_entity'
      state: 'closed'
- service: tts.google_translate_say
  target: !input 'speaker_target'
  data:
    message: !input 'final_message'
1 Like

Hi Caleb,

Thank you for your efforts in providing this blueprint. It’s my first attempt at using one.
My only question is how do I go about getting the entity I want listed in your monitor sensor selector?

At the moment nothing is showing so I assume I need to create a list of what I want shown there.
I just don’t know how to create the list and where to put it.

Regards
Jonathan

This will only show up sensors in the domain Cover which is what most garage door openers are listed as. After I recoded this because my father-law wanted to use it we realized that the original blueprint is to keep announcing that you have the garage door open so I will be making a new one that will work for more of what he is wanting to do. On that one I will most likely try to code it to use other sensors as well. I just need to figure out some other stuff for split options in the blueprint systems.

1 Like

Thank you so much for the blueprint, I tested and it’s working fine
Is there a way to set the volume for the target speaker before announcing the message?