mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-16 10:34:40 +00:00
Compare commits
2 Commits
bf202e770b
...
ee0c57ad6c
Author | SHA1 | Date | |
---|---|---|---|
|
ee0c57ad6c | ||
|
7a45a6007b |
@@ -1 +1 @@
|
|||||||
2025.7.4
|
2025.8.0
|
@@ -1,28 +0,0 @@
|
|||||||
###################################
|
|
||||||
# @CCOSTAN
|
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
## Start Up Section
|
|
||||||
## Video Explanation can be found here :
|
|
||||||
## https://www.vcloudinfo.com/2019/06/how-to-use-template-conditions-in-home-assistant.html
|
|
||||||
###################################
|
|
||||||
|
|
||||||
- alias: Check if it's summer vacation on startup.
|
|
||||||
id: 65f91ec6-b9ad-45de-9ffa-023598980019
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
- platform: homeassistant
|
|
||||||
event: start
|
|
||||||
- platform: time_pattern
|
|
||||||
hours: '/12'
|
|
||||||
|
|
||||||
condition:
|
|
||||||
- condition: template
|
|
||||||
value_template: >
|
|
||||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
|
||||||
{%- if month == 4 or month == 5 or month == 6 or month == 7 -%}
|
|
||||||
true
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
action:
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.school_mode
|
|
@@ -1,44 +0,0 @@
|
|||||||
######################################################################
|
|
||||||
## Weekday Morning Routines for the Wife and Kiddos.
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
- alias: 'Good Morning Routine'
|
|
||||||
id: 1432bac8-311b-4618-8f8f-19dd848791b6
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_boolean.good_morning
|
|
||||||
to: 'on'
|
|
||||||
from: 'off'
|
|
||||||
- platform: state
|
|
||||||
entity_id:
|
|
||||||
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
|
||||||
to: 'off'
|
|
||||||
for: '00:05:00'
|
|
||||||
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: home
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.school_mode
|
|
||||||
state: 'on'
|
|
||||||
- condition: time
|
|
||||||
after: '05:30:00'
|
|
||||||
before: '08:00:00'
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
|
|
||||||
action:
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id:
|
|
||||||
- light.s1
|
|
||||||
- light.s4
|
|
||||||
- service: switch.turn_on
|
|
||||||
entity_id: group.kitchen_accents
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.good_morning
|
|
@@ -3,11 +3,6 @@ guest_mode:
|
|||||||
icon: mdi:account-alert
|
icon: mdi:account-alert
|
||||||
initial: off
|
initial: off
|
||||||
|
|
||||||
school_mode:
|
|
||||||
name: School Mode
|
|
||||||
icon: mdi:school
|
|
||||||
initial: on
|
|
||||||
|
|
||||||
alert_mode:
|
alert_mode:
|
||||||
name: Alert Mode
|
name: Alert Mode
|
||||||
icon: mdi:alert-octagram
|
icon: mdi:alert-octagram
|
||||||
|
@@ -2,11 +2,6 @@
|
|||||||
good_night:
|
good_night:
|
||||||
name: Good Night
|
name: Good Night
|
||||||
initial: off
|
initial: off
|
||||||
|
|
||||||
good_morning:
|
|
||||||
name: Good Morning
|
|
||||||
initial: off
|
|
||||||
|
|
||||||
meal_time:
|
meal_time:
|
||||||
name: Meal Time
|
name: Meal Time
|
||||||
initial: off
|
initial: off
|
||||||
|
@@ -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.7.4">
|
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.8.0">
|
||||||
<title>2025.7.4</title>
|
<title>2025.8.0</title>
|
||||||
<linearGradient id="hHeYW" x2="0" y2="100%">
|
<linearGradient id="TuDdy" x2="0" y2="100%">
|
||||||
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
||||||
<stop offset="1" stop-opacity=".1"/>
|
<stop offset="1" stop-opacity=".1"/>
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
<mask id="nVOdf"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
<mask id="vZuEg"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
||||||
<g mask="url(#nVOdf)">
|
<g mask="url(#vZuEg)">
|
||||||
<rect width="615" height="200" fill="#08C" x="0"/>
|
<rect width="615" height="200" fill="#08C" x="0"/>
|
||||||
<rect width="615" height="200" fill="url(#hHeYW)"/>
|
<rect width="615" height="200" fill="url(#TuDdy)"/>
|
||||||
</g>
|
</g>
|
||||||
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
|
<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.7.4</text>
|
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.8.0</text>
|
||||||
<text x="55" y="138" textLength="500">2025.7.4</text>
|
<text x="55" y="138" textLength="500">2025.8.0</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 811 B After Width: | Height: | Size: 811 B |
Reference in New Issue
Block a user