Compare commits

...

4 Commits

Author SHA1 Message Date
github-actions[bot]
5914a49ae1 Update HA version badge to 2025.9.3 2025-09-20 02:08:45 +00:00
Carlo Costanzo
39d79f1ac4 Add Phyn Leak Detection Notification Automation
Implemented a persistent notification for critical leak detection alerts in phynplus.yaml. Added automation to dismiss the notification when the water valve is opened, ensuring users are informed and can take necessary actions. This enhances the overall functionality and user experience of the Phyn integration. #1531
2025-09-19 22:08:27 -04:00
github-actions[bot]
fdc6e62708 Update HA version badge to 2025.9.3 2025-09-20 01:46:39 +00:00
Carlo Costanzo
f3a217f2ad Update HA version to 2025.9.3 2025-09-19 21:46:09 -04:00
3 changed files with 37 additions and 9 deletions

View File

@@ -1 +1 @@
2025.8.3
2025.9.3

View File

@@ -36,6 +36,17 @@ automation:
icon1: 'sfsymbols:arrow.up.circle'
icon2: 'sfsymbols:clock'
level: 'critical'
- service: persistent_notification.create
data:
title: '🚨 Phyn Leak Detection Alert'
message: |
**CRITICAL**: Phyn has detected a potential leak and automatically shut off the main water supply.
**Action Required**: Please verify there are no leaks in the house before turning the water back on.
**Time**: {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
notification_id: 'phyn_leak_detection'
- alias: Turn Phyn Water On
id: 1f295bb8-8925-4b22-PHYN-9fe079b295a8
@@ -48,6 +59,10 @@ automation:
- service: homeassistant.turn_on
entity_id: valve.phyn_shutoff_valve
- service: persistent_notification.dismiss
data:
notification_id: 'phyn_leak_detection'
- service: script.notify_engine
data:
title: 'Phyn Leak Detection'
@@ -82,3 +97,16 @@ automation:
icon1: 'sfsymbols:arrow.up.circle'
icon2: 'sfsymbols:clock'
level: 'critical'
- alias: Dismiss Phyn Notification When Valve Opens
id: 3f295bb8-8925-4b22-PHYN-9fe079b295a8
trigger:
- platform: state
entity_id: valve.phyn_shutoff_valve
to: 'open'
action:
- service: persistent_notification.dismiss
data:
notification_id: 'phyn_leak_detection'

View File

@@ -1,16 +1,16 @@
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.8.3">
<title>2025.8.3</title>
<linearGradient id="NGrzt" x2="0" y2="100%">
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.9.3">
<title>2025.9.3</title>
<linearGradient id="fqxXk" x2="0" y2="100%">
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="aiKlj"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#aiKlj)">
<mask id="iXuXU"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#iXuXU)">
<rect width="615" height="200" fill="#08C" x="0"/>
<rect width="615" height="200" fill="url(#NGrzt)"/>
<rect width="615" height="200" fill="url(#fqxXk)"/>
</g>
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.8.3</text>
<text x="55" y="138" textLength="500">2025.8.3</text>
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.9.3</text>
<text x="55" y="138" textLength="500">2025.9.3</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 811 B