Announce through Google minis when Abode senses water

A while ago I read someone comment he was able to notify or voice through the Google speakers in the house when Abode water sensor sensed water and the specific sensor location through integration with Home Assistant. I’m having a hard time figuring out how to do this.

Any help?
Thank you,
Aaron

  1. Make an automation
  2. Have it fire on state change (sense water)
  3. Have it announce on the mini which sensor via trigger.to_state.attributes.friendly_name using tts.google_say

Here’s something I use for something else but you could cobble it together for your use.

- alias: Water Alert
  trigger:
    - platform: state
      entity_id: yoursensor_1, yoursensor_2
      from: 'dry'
      to: 'wet'
      for:
        seconds: 5
  action:
    - service: tts.google_say
      entity_id: media_player.google_mini
      data_template:
        message: "{{ trigger.to_state.attributes.friendly_name }} Is wet now"

Hi,
This is my automation:

alias: Alarma Agua Baño Social
description: Acción cuando se detecta una fuga de agua en el baño social
trigger:
  - platform: state
    entity_id:
      - binary_sensor.zigbee_water_sensor_bano_social_water_leak
    to: "on"
condition: []
action:
  - service: tts.google_translate_say
    data:
      message: >-
        ¡Alerta!, ¡Alerta! Sospecha de fuga de agua en el baño social, por favor
        revisar inmediatamente.
      language: es
      entity_id: media_player.altavoces_hogar
  - service: notify.my_telegram_acc
    data:
      title: ¡¡¡ALARMA DE FUGA DE AGUA!!!
      message: >-
        ¡Alerta! Sospecha de fuga de agua en baño social en {{
        states('sensor.date_hour') }}, por favor revisar
        inmediatamente.
mode: single

Having a single entity_id will only fire off on that entity. Having multiple will fire off on any of them. When you send your message to a google mini you can announce which one fired off the automation using {{ trigger.to_state.attributes.friendly_name }}

Does that help?

Here’s what my sensors look like. Will those recommendations work with what HA sees? It doesn’t show dry (or wet). Should I set it to No Response = True … I wonder? Or, do I need to bring them into HA a different way to be seen correctly?

Why not just get it wet and see what the state changes to? I don’t use water sensors so I’m not sure what they’d read, but I’d assume its along the lines of true/false, 1/0, yes/no or something along those lines.

As you may have figured out by now, the Abode integration binary_sensor water sensors are connectivity sensors, i.e. they only report whether the sensor is connected to your Abode system – not whether they detect water.

What you can do is set up an Abode CUE automation (that is, in the Abode app or website) based on the Water Alarm trigger that sends you a Notification. The notification itself isn’t important, but for the fact that it sends an abode_automation Event to Home Assistant when running any CUE automation. You can then use this as a trigger for a Home Assistant automation:

trigger:
  - platform: event
    event_type: abode_automation

There is also a maybe more direct abode_alarm event, but according to the docs this apparently is not fired for water alarms.