mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -1,69 +1,69 @@
|
||||
alias: HVAC Fan Off
|
||||
id: automation_hvac_fan_off
|
||||
description: "Purposefully disabled because it just re-circulates the upstairs air"
|
||||
# This shouldn't be used because it just re-circulates the air in the house.
|
||||
# Since there aren't any returns in the basement, the upstairs air recirculates itself
|
||||
# which accomplishes nothing
|
||||
# I'd need to get some kind of fresh air intake and a damper
|
||||
description:
|
||||
"Purposefully disabled because it just re-circulates the upstairs air"
|
||||
# This shouldn't be used because it just re-circulates the air in the house.
|
||||
# Since there aren't any returns in the basement, the upstairs air recirculates itself
|
||||
# which accomplishes nothing
|
||||
# I'd need to get some kind of fresh air intake and a damper
|
||||
|
||||
trigger:
|
||||
# Has the fan been running for ten minutes?
|
||||
- platform: state
|
||||
entity_id: switch.thermostat_fan_mode
|
||||
to: 'on'
|
||||
for: '00:10:00'
|
||||
to: "on"
|
||||
for: "00:10:00"
|
||||
# Did the system turn on?
|
||||
- platform: state
|
||||
entity_id: sensor.hvac_action
|
||||
from: 'idle'
|
||||
from: "idle"
|
||||
# Check the conditions every 5 minutes
|
||||
- platform: time_pattern
|
||||
minutes: '/5'
|
||||
minutes: "/5"
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.allow_fan
|
||||
to: 'off'
|
||||
to: "off"
|
||||
|
||||
condition:
|
||||
# Is the fan currently on?
|
||||
- condition: state
|
||||
entity_id: switch.thermostat_fan_mode
|
||||
state: 'on'
|
||||
state: "on"
|
||||
|
||||
- condition: or
|
||||
conditions:
|
||||
# Is it getting too warm outside?
|
||||
# Is it getting too warm outside?
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.thermostat_temperature
|
||||
above: 68
|
||||
- condition: state
|
||||
entity_id: binary_sensor.warmer_outside
|
||||
state: 'on'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.thermostat_temperature
|
||||
above: 68
|
||||
- condition: state
|
||||
entity_id: binary_sensor.warmer_outside
|
||||
state: "on"
|
||||
# Is it getting too cool outside?
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.thermostat_temperature
|
||||
below: 65
|
||||
- condition: state
|
||||
entity_id: binary_sensor.cooler_outside
|
||||
state: 'on'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.thermostat_temperature
|
||||
below: 65
|
||||
- condition: state
|
||||
entity_id: binary_sensor.cooler_outside
|
||||
state: "on"
|
||||
# Did the system turn on?
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: sensor.hvac_action
|
||||
state: 'idle'
|
||||
- condition: state
|
||||
entity_id: sensor.hvac_action
|
||||
state: "idle"
|
||||
action:
|
||||
- service: logbook.log
|
||||
- action: logbook.log
|
||||
data_template:
|
||||
name: HVAC Fan Off
|
||||
entity_id: automation.hvac_fan_off
|
||||
message: >
|
||||
Turned off HVAC fan
|
||||
|
||||
|
||||
- service: homeassistant.turn_off
|
||||
entity_id: switch.thermostat_fan_mode
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: switch.thermostat_fan_mode
|
||||
|
||||
Reference in New Issue
Block a user