mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
renames, fixes , and other fun schtuff
This commit is contained in:
@@ -5,7 +5,7 @@ mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to: "on"
|
||||
for: "00:10:00"
|
||||
- platform: state
|
||||
@@ -22,14 +22,14 @@ condition:
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id:
|
||||
- input_boolean.white_bed_occupied
|
||||
- binary_sensor.white_bed_occupied
|
||||
state: "on"
|
||||
for: "00:10:00"
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_in_bed
|
||||
state: "off"
|
||||
#- condition: state
|
||||
# entity_id: input_boolean.white_bed_occupied
|
||||
# entity_id: binary_sensor.white_bed_occupied
|
||||
# state: 'on'
|
||||
# for:
|
||||
# minutes: 5
|
||||
|
||||
@@ -4,7 +4,7 @@ mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to: "on"
|
||||
for: "00:05:00"
|
||||
- platform: state
|
||||
@@ -31,7 +31,7 @@ condition:
|
||||
for:
|
||||
minutes: 5
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "on"
|
||||
for:
|
||||
minutes: 5
|
||||
|
||||
@@ -16,7 +16,7 @@ trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.black_bed_occupied
|
||||
- input_boolean.white_bed_occupied
|
||||
- binary_sensor.white_bed_occupied
|
||||
to: "off"
|
||||
for: "00:05:00"
|
||||
|
||||
@@ -67,10 +67,10 @@ condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "unavailable"
|
||||
- condition: or
|
||||
conditions:
|
||||
@@ -96,10 +96,10 @@ condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "unavailable"
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
@@ -140,10 +140,10 @@ action:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "unavailable"
|
||||
sequence:
|
||||
- service: input_boolean.turn_off
|
||||
@@ -170,10 +170,10 @@ action:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "unavailable"
|
||||
sequence:
|
||||
- service: input_boolean.turn_off
|
||||
@@ -194,10 +194,10 @@ action:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
state: "unavailable"
|
||||
- condition: not
|
||||
conditions:
|
||||
|
||||
@@ -8,7 +8,7 @@ trigger:
|
||||
for: "00:00:03"
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to: "off"
|
||||
for: "00:00:03"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ trigger:
|
||||
to: "off"
|
||||
for: "00:00:03"
|
||||
- platform: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to: "off"
|
||||
for: "00:00:03"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ trigger:
|
||||
to: "on"
|
||||
for: "00:00:30"
|
||||
- platform: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to: "on"
|
||||
for: "00:00:30"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ condition:
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id:
|
||||
- input_boolean.white_bed_occupied
|
||||
- binary_sensor.white_bed_occupied
|
||||
- binary_sensor.black_bed_occupied
|
||||
state:
|
||||
- "off"
|
||||
|
||||
@@ -11,7 +11,7 @@ trigger:
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
- trigger: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
from: "on"
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
|
||||
@@ -69,7 +69,7 @@ triggers:
|
||||
condition:
|
||||
- alias: "Only turn the fans on if it's warm enough outside"
|
||||
condition: template
|
||||
value_template: "{{ (states('sensor.lacrosse_tx141thbv2_0_temperature') | float(default=0) > 60.0) or is_state('group.ceiling_fans','on') }}"
|
||||
value_template: "{{ (states('sensor.front_yard_thermostat_temperature') | float(default=0) > 60.0) or is_state('group.ceiling_fans','on') }}"
|
||||
|
||||
action:
|
||||
- alias: "Calculate fan speeds"
|
||||
@@ -82,7 +82,7 @@ action:
|
||||
# name: Automatic Fan Speeds
|
||||
# entity_id: automation.automatic_fan_speeds
|
||||
# message: >
|
||||
# Outdoor Air Temp: {{states('sensor.lacrosse_tx141thbv2_0_temperature') | float(default=0)}}
|
||||
# Outdoor Air Temp: {{states('sensor.front_yard_thermostat_temperature') | float(default=0)}}
|
||||
# Nursery Air Temp: {{states('sensor.nursery_multisensor_air_temperature') | float(default=0)}}
|
||||
# Nursery Min Temp: {{states('input_number.nursery_fan_min_temp') | float(default=0)}}
|
||||
# Nursery High Temp: {{states('input_number.nursery_fan_high_temp') | float(default=0)}}
|
||||
|
||||
Reference in New Issue
Block a user