mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Bunches of fixes nd changes
This commit is contained in:
@@ -14,7 +14,7 @@ condition:
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.have_custody
|
||||
state: "off"
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: person.kristy
|
||||
state: "home"
|
||||
|
||||
@@ -6,6 +6,15 @@ trigger:
|
||||
# I've moved
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_select.podein_kids
|
||||
# Kristy moved
|
||||
- input_select.kristy_status_dropdown
|
||||
- input_boolean.kristy_home
|
||||
# Custody changed
|
||||
- binary_sensor.have_custody
|
||||
# Sleeping status changed
|
||||
- input_boolean.ebin_is_awake
|
||||
- input_boolean.ebin_in_bed
|
||||
- input_select.ebin_status_dropdown
|
||||
- input_boolean.ebin_home
|
||||
condition:
|
||||
|
||||
@@ -6,7 +6,7 @@ trigger:
|
||||
from: "playing"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_asleep
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
|
||||
@@ -164,29 +164,6 @@ action:
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
|
||||
# - action: automation.trigger
|
||||
# target:
|
||||
# entity_id: automation.nursery_wled_changed
|
||||
|
||||
# - choose:
|
||||
# - conditions: "{{is_state('input_boolean.bridget_home','on')}}"
|
||||
# sequence:
|
||||
# - action: input_boolean.turn_on
|
||||
# data: {}
|
||||
# target:
|
||||
# entity_id: input_boolean.nursery_asleep
|
||||
|
||||
# - delay: "00:00:05"
|
||||
|
||||
# - choose:
|
||||
# - conditions: "{{is_state('media_player.ytube_music_player','on')}}"
|
||||
# sequence:
|
||||
# - action: media_player.turn_off
|
||||
# target:
|
||||
# entity_id: media_player.ytube_music_player
|
||||
|
||||
- delay: "00:25:00"
|
||||
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.emmett_home','on')}}"
|
||||
sequence:
|
||||
@@ -195,6 +172,8 @@ action:
|
||||
target:
|
||||
entity_id: input_boolean.boys_room_asleep
|
||||
|
||||
- delay: "00:25:00"
|
||||
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.boys_room_mode
|
||||
|
||||
@@ -125,7 +125,9 @@ action:
|
||||
state: "unavailable"
|
||||
sequence:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.emmett_in_bed
|
||||
entity_id:
|
||||
- input_boolean.emmett_in_bed
|
||||
- input_boolean.boys_room_asleep
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.emmett_is_awake
|
||||
|
||||
@@ -147,7 +149,9 @@ action:
|
||||
state: "unavailable"
|
||||
sequence:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.bridget_in_bed
|
||||
entity_id:
|
||||
- input_boolean.bridget_in_bed
|
||||
- input_boolean.girls_room_asleep
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.bridget_is_awake
|
||||
|
||||
|
||||
Reference in New Issue
Block a user