mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Bunches of fixes nd changes
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
id: set_house_to_early_afternoon
|
||||
alias: Set House to Early Afternoon
|
||||
mode: single
|
||||
# Testing if this will update, save, and push just fine
|
||||
|
||||
# platform: tod
|
||||
# name: Early Afternoon
|
||||
# after: '12:00'
|
||||
# before: '15:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
@@ -19,10 +23,6 @@ condition:
|
||||
state: Early Afternoon
|
||||
|
||||
action:
|
||||
# - action: homeassistant.turn_on
|
||||
# entity_id:
|
||||
# - input_boolean.clint_needs_pm_meds
|
||||
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.time_of_day
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_early_evening
|
||||
alias: Set House to Early Evening
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Early Evening
|
||||
# after: '17:00'
|
||||
# before: '19:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.early_evening
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_early_morning
|
||||
alias: Set House to Early Morning
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Early Morning
|
||||
# after: '04:00'
|
||||
# before: '06:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.early_morning
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_evening
|
||||
alias: Set House to Evening
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Evening
|
||||
# after: '19:00'
|
||||
# before: '22:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.evening
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_late_afternoon
|
||||
alias: Set House to Late Afternoon
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Late Afternoon
|
||||
# after: '15:00'
|
||||
# before: '17:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.late_afternoon
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_late_evening
|
||||
alias: Set House to Late Evening
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Late Evening
|
||||
# after: '22:00'
|
||||
# before: '00:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.late_evening
|
||||
@@ -53,7 +58,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_in_bed
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_in_bed
|
||||
@@ -64,13 +69,4 @@ action:
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.ebin_is_awake
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: media_player.girls_room_hub
|
||||
state: "playing"
|
||||
sequence:
|
||||
- action: media_player.turn_off
|
||||
entity_id: media_player.girls_room_hub
|
||||
|
||||
- delay: "00:00:30"
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_late_morning
|
||||
alias: Set House to Late Morning
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Late Morning
|
||||
# after: '09:00'
|
||||
# before: '12:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.late_morning
|
||||
@@ -66,7 +71,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_in_bed
|
||||
entity_id: input_boolean.kristy_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_in_bed
|
||||
@@ -79,7 +84,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.marshall_in_bed
|
||||
entity_id: input_boolean.marshall_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.marshall_in_bed
|
||||
@@ -92,7 +97,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_in_bed
|
||||
entity_id: input_boolean.tess_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_in_bed
|
||||
@@ -105,7 +110,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_in_bed
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_in_bed
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_morning
|
||||
alias: Set House to Morning
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Morning
|
||||
# after: '06:00'
|
||||
# before: '09:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.morning
|
||||
@@ -24,6 +29,9 @@ action:
|
||||
option: Morning
|
||||
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.nursery_asleep
|
||||
entity_id: input_boolean.boys_room_asleep
|
||||
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
|
||||
- delay: "00:00:30"
|
||||
|
||||
@@ -2,6 +2,11 @@ id: set_house_to_night
|
||||
alias: Set House to Night
|
||||
mode: single
|
||||
|
||||
# platform: tod
|
||||
# name: Night
|
||||
# after: '00:00'
|
||||
# before: '04:00'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.night
|
||||
@@ -41,7 +46,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_in_bed
|
||||
entity_id: input_boolean.tess_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_in_bed
|
||||
|
||||
Reference in New Issue
Block a user