mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-21 04:33:38 +00:00
Remove 'Good Morning' and 'School Mode' input booleans, and delete associated automation files since the Kiddos are into College now. #EmptyNest Close #948 - Last day of School Countdown (#1526)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user