mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
blue_room to boys_room
This commit is contained in:
@@ -20,17 +20,17 @@ trigger:
|
||||
- platform: state
|
||||
id: late_morning
|
||||
entity_id: binary_sensor.late_morning
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
condition:
|
||||
- condition: time
|
||||
after: '04:30:00'
|
||||
after: "04:30:00"
|
||||
- condition: time
|
||||
before: '10:00:00'
|
||||
before: "10:00:00"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: trigger
|
||||
@@ -39,57 +39,56 @@ condition:
|
||||
id: wake_clint
|
||||
- condition: state
|
||||
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
|
||||
state: 'off'
|
||||
for: '00:10:00'
|
||||
state: "off"
|
||||
for: "00:10:00"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_home
|
||||
state: 'off'
|
||||
- condition: and
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_is_awake
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_in_bed
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_home
|
||||
state: 'on'
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: 'off'
|
||||
- condition: and
|
||||
entity_id: input_boolean.kristy_home
|
||||
state: "off"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_is_awake
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_in_bed
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_home
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: 'on'
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_is_awake
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_in_bed
|
||||
state: 'off'
|
||||
entity_id: input_boolean.clint_home
|
||||
state: "off"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_is_awake
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_in_bed
|
||||
state: "off"
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
- action: input_boolean.turn_off
|
||||
entity_id:
|
||||
- input_boolean.bedtime
|
||||
- input_boolean.asleep
|
||||
- input_boolean.master_bedroom_asleep
|
||||
|
||||
- service: input_select.select_option
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
data:
|
||||
option: Auto
|
||||
|
||||
|
||||
Reference in New Issue
Block a user