mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
101 lines
2.7 KiB
YAML
101 lines
2.7 KiB
YAML
alias: HVAC Fan On
|
|
id: automation_hvac_fan_on
|
|
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
|
|
|
|
triggers:
|
|
# Has the fan been off for ten minutes?
|
|
- trigger: state
|
|
entity_id: switch.thermostat_fan_mode
|
|
to: "off"
|
|
for: "00:10:00"
|
|
|
|
# Did the temp just switch to just right?
|
|
- trigger: state
|
|
entity_id: binary_sensor.temp_just_right
|
|
to: "on"
|
|
|
|
# Did it just become cooler inside or outside?
|
|
- trigger: state
|
|
entity_id: binary_sensor.cooler_outside
|
|
from: "off"
|
|
to: "on"
|
|
|
|
# Did it just become warmer inside or outside?
|
|
- trigger: state
|
|
entity_id: binary_sensor.warmer_outside
|
|
from: "off"
|
|
to: "on"
|
|
|
|
# Is it starting to get too warm inside?
|
|
- trigger: numeric_state
|
|
entity_id: sensor.thermostat_temperature
|
|
above: 80
|
|
|
|
# Is it starting to get too cool inside?
|
|
- trigger: numeric_state
|
|
entity_id: sensor.thermostat_temperature
|
|
below: 60
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.allow_fan
|
|
state: "on"
|
|
|
|
# Are the internal sensors above 67?
|
|
# This is mainly to ensure those sensors are working
|
|
- condition: numeric_state
|
|
entity_id: sensor.hvac_multisensor_return
|
|
above: 50
|
|
|
|
- condition: numeric_state
|
|
entity_id: sensor.hvac_multisensor_supply
|
|
above: 50
|
|
|
|
# Is the fan currently off?
|
|
- condition: state
|
|
entity_id: switch.thermostat_fan_mode
|
|
state: "off"
|
|
|
|
# Is the system currently idle?
|
|
- condition: state
|
|
entity_id: sensor.hvac_action
|
|
state: "idle"
|
|
|
|
# Is the home occupied?
|
|
- condition: state
|
|
entity_id: input_boolean.home_occupied
|
|
state: "on"
|
|
|
|
# Is the outside temp just right?
|
|
- condition: state
|
|
entity_id: binary_sensor.temp_just_right
|
|
state: "on"
|
|
|
|
# Is it getting too warm or too cold in the house?
|
|
- condition: or
|
|
conditions:
|
|
- condition: and
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.thermostat_temperature
|
|
above: 75
|
|
- condition: state
|
|
entity_id: binary_sensor.cooler_outside
|
|
state: "on"
|
|
- condition: and
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.thermostat_temperature
|
|
below: 65
|
|
- condition: state
|
|
entity_id: binary_sensor.warmer_outside
|
|
state: "on"
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
target:
|
|
entity_id: switch.thermostat_fan_mode
|