Compare commits

...

2 Commits

5 changed files with 94 additions and 34 deletions

View File

@@ -40,31 +40,3 @@
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.back_landscaping entity_id: switch.back_landscaping
# Set thermostats to eco mode when everyone is away
- alias: 'Set Thermostats to Eco When Away'
id: 1e2d3c4b-eco-thermostat-away
mode: single
trigger:
- platform: state
entity_id: group.family
to: 'not_home'
condition:
- condition: state
entity_id: group.family
state: 'not_home'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: climate.set_preset_mode
data:
entity_id:
- climate.downstairs
- climate.upstairs
preset_mode: 'eco'
- service: script.notify_engine
data:
title: "Thermostat Eco Mode Triggered"
value1: "DEBUG: Everyone is gone and the Automation was triggered."
who: "carlo"

View File

@@ -179,4 +179,92 @@ automation:
data: data:
entity_id: climate.downstairs entity_id: climate.downstairs
temperature: 76 temperature: 76
- alias: 'Set Downstairs Thermostat to 79 During Daylight'
id: set_downstairs_thermostat_79_daylight
mode: single
trigger:
- platform: state
entity_id: sun.sun
to: 'above_horizon'
- platform: numeric_state
entity_id: climate.downstairs
attribute: temperature
below: 78
condition:
- condition: state
entity_id: sun.sun
state: 'above_horizon'
- condition: template
value_template: "{{ state_attr('climate.downstairs', 'temperature') < 79 }}"
action:
- service: climate.set_temperature
data:
entity_id: climate.downstairs
temperature: 80
# Set thermostats to eco mode when everyone is away
- alias: 'Set Thermostats to Eco When Away'
id: 1e2d3c4b-eco-thermostat-away
mode: single
trigger:
- platform: state
entity_id: group.family
to: 'not_home'
condition:
- condition: state
entity_id: group.family
state: 'not_home'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: climate.set_preset_mode
data:
entity_id:
- climate.downstairs
- climate.upstairs
preset_mode: 'eco'
# Automation: Set Thermostats Back to Cool Mode
- alias: 'Set Thermostats to Cool When Home'
id: 1e2d3c4b-cool-thermostat-home
mode: single
trigger:
- platform: state
entity_id: group.family
to: 'home'
- platform: state
entity_id: person.justin
to: 'home'
condition:
- condition: or
conditions:
- condition: state
entity_id: group.family
state: 'home'
- condition: state
entity_id: person.justin
state: 'home'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- choose:
- conditions:
- condition: state
entity_id: group.family
state: 'home'
sequence:
- service: climate.set_preset_mode
data:
entity_id: climate.downstairs
preset_mode: 'cool'
- conditions:
- condition: state
entity_id: person.justin
state: 'home'
sequence:
- service: climate.set_preset_mode
data:
entity_id: climate.upstairs
preset_mode: 'cool'

View File

@@ -3,7 +3,6 @@
# @CCOSTAN # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
#------------------------------------------- #-------------------------------------------
input_select: input_select:
log_level: log_level:
name: Log Level name: Log Level
@@ -34,4 +33,3 @@ automation:
- service: logger.set_level - service: logger.set_level
data: data:
homeassistant.components: "{{ states.input_select.log_level.state }}" homeassistant.components: "{{ states.input_select.log_level.state }}"

View File

@@ -89,3 +89,5 @@ exclude:
- switch.bear_stone - switch.bear_stone
- switch.alarm_panel_1_screensaver - switch.alarm_panel_1_screensaver
event_types:
- alexa_smart_home

View File

@@ -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.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.7.4">
<title>2025.7.4</title> <title>2025.7.4</title>
<linearGradient id="hpNis" x2="0" y2="100%"> <linearGradient id="RtEhu" 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="udMgF"><rect width="615" height="200" rx="30" fill="#FFF"/></mask> <mask id="gpTdA"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#udMgF)"> <g mask="url(#gpTdA)">
<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(#hpNis)"/> <rect width="615" height="200" fill="url(#RtEhu)"/>
</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.7.4</text>

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 811 B