Automation #1 – Get Notified When Leak Sensor is Tripped
alias: Binary - Leak Sensor Alert
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.water_leak_sensor_1
- binary_sensor.water_leak_sensor_2
- binary_sensor.water_leak_sensor_3
to: "on"
from: "off"
action:
- service: notify.telegram
data_template:
title: WATER LEAK
message: >-
{{ trigger.to_state.attributes.friendly_name }} has detected a leak. If
this is a critical sensor, then the water has been shut off. Please
investigate.
- service: notify.family_emergency
data_template:
title: WATER LEAK
message: >-
{{ trigger.to_state.attributes.friendly_name }} has detected a leak. If
this is a critical sensor, then the water has been shut off. Please
investigate.
- service: notify.google_assistant_sdk
data_template:
message: >-
{{ trigger.to_state.attributes.friendly_name }} has detected a leak. If
this is a critical sensor, then the water has been shut off. Please
investigate.
Automation Example #2 – Notify When Water Is Shut Off
alias: Water Main Shutoff - Notification
description: ""
trigger:
- platform: device
type: turned_off
entity_id: switch.water_shut_off_valve_state
domain: switch
condition: []
action:
- service: notify.telegram
data:
message: The water main has been shut-off, please investigate.
title: Alert
- service: notify.telegram
data:
title: WATER SHUT-OFF
message: The water main has been shut-off, please investigate.
- service: notify.family_emergency
data:
title: WATER SHUT-OFF
message: The water main has been shut-off, please investigate.
- service: notify.google_assistant_sdk
data:
title: WATER SHUT-OFF
message: The water main has been shut-off, please investigate.
mode: single
Automation Example #3 – Turn off Water When Leak Detected
alias: Binary Leak - Shut Off Water
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.water_leak_sensor_1
- binary_sensor.water_leak_sensor_2
- binary_sensor.water_leak_sensor_3
to: "on"
from: "off"
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.water_shut_off_valve_state
mode: single
Power Consumption Setup Sensor Code Example Power Sensor Example Refresh When On Automation Charging Station Automation To quickly import this Blueprint into your Home Assistant environment, just click the link below! Make sure to update your Home Assistant URL before completing the import. Notify when automation runs Hot Water Kettle Automation Automation to Notify when…
The updated NWS Alerts integration brings National Weather Service warnings straight into Home Assistant. I cover installing it, building the sensors, sending notifications and adding alerts to a dashboard, with YAML you can copy.
Video Transcript COMING SOON Links in Video Team Tracker Integration (GitHub) – https://tsh.li/TeamTracker Team Tracker Card (GitHub) – https://tsh.li/Ttcard Product Links (We use affiliate links, so if you purchase something it goes to help the channel) Indoor Govee Lights Govee Glide Lively (Wall Lights) – https://amzn.to/3T1XqeFGovee String Lights T1 – https://amzn.to/47L0e4rGovee Hexa Pro 10pk –…
Number 5: Open Window / Disable HVAC Blueprint: Window Open Climate Off Number 4: Closet / Pantry Light Blueprint: Door Control with Light Delay Automation: Turn off the Light after 15 minutes Optional Blueprint: YAMA (Yet Another Motion Automation) – Number 3: Humidity-Controlled Fan Blueprint: Humidity Controlled Fan with Baseline – Number 2: Motion-Based Lights…
Summary In this video, we introduce and review the Enbrighten permanent holiday lights. We explain why August is the perfect time to install holiday lights, highlighting the convenience of getting them up before the cold weather sets in. We cover the features of the Enbrighten lights, including RGB and white LEDs, support for up to…