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.
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 }}
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: