mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-13 02:22:27 +00:00
Compare commits
2 Commits
8bd32d811c
...
b0642e3871
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0642e3871 | ||
|
|
f509fc1739 |
@@ -330,6 +330,11 @@ automation:
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
minutes: '/45'
|
||||
- platform: state
|
||||
entity_id:
|
||||
- cover.large_garage_door
|
||||
- cover.small_garage_door
|
||||
to: 'open'
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
to: not_home
|
||||
@@ -370,8 +375,17 @@ automation:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Check Garage Doors:'
|
||||
value1: "Small: {{ states('cover.small_garage_door')}}"
|
||||
value2: "Large: {{ states('cover.large_garage_door')}}"
|
||||
value1: >
|
||||
{% set open = [] %}
|
||||
{% if is_state('cover.small_garage_door','open') %}{% set _ = open.append('Small garage door') %}{% endif %}
|
||||
{% if is_state('cover.large_garage_door','open') %}{% set _ = open.append('Large garage door') %}{% endif %}
|
||||
{% if open|length == 0 %}
|
||||
All garage doors are closed.
|
||||
{% elif open|length == 1 %}
|
||||
{{ open[0] }} is open.
|
||||
{% else %}
|
||||
{{ open|join(' and ') }} are open.
|
||||
{% endif %}
|
||||
who: "family"
|
||||
camera_entity: "camera.garagecam"
|
||||
group: 'information'
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.9.4">
|
||||
<title>2025.9.4</title>
|
||||
<linearGradient id="wTySA" x2="0" y2="100%">
|
||||
<linearGradient id="ATbZD" x2="0" y2="100%">
|
||||
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
||||
<stop offset="1" stop-opacity=".1"/>
|
||||
</linearGradient>
|
||||
<mask id="PCodJ"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
||||
<g mask="url(#PCodJ)">
|
||||
<mask id="ESXkm"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
||||
<g mask="url(#ESXkm)">
|
||||
<rect width="615" height="200" fill="#08C" x="0"/>
|
||||
<rect width="615" height="200" fill="url(#wTySA)"/>
|
||||
<rect width="615" height="200" fill="url(#ATbZD)"/>
|
||||
</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.9.4</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 811 B After Width: | Height: | Size: 811 B |
Reference in New Issue
Block a user