mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-13 02:22:27 +00:00
Compare commits
4 Commits
daf608cbd6
...
5914a49ae1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5914a49ae1 | ||
|
|
39d79f1ac4 | ||
|
|
fdc6e62708 | ||
|
|
f3a217f2ad |
@@ -1 +1 @@
|
||||
2025.8.3
|
||||
2025.9.3
|
||||
@@ -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'
|
||||
|
||||
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user