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:
@@ -10,36 +10,35 @@ trigger:
|
||||
- input_boolean.marshall_is_awake
|
||||
- input_boolean.tess_is_awake
|
||||
- input_boolean.asleep
|
||||
to: 'off'
|
||||
to: "off"
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.marshall_is_awake
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: input_boolean.marshall_home
|
||||
state: 'on'
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_is_awake
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_home
|
||||
state: 'on'
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.marshall_is_awake
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.marshall_home
|
||||
state: "on"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_is_awake
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.tess_home
|
||||
state: "on"
|
||||
sequence:
|
||||
- service: input_boolean.turn_on
|
||||
- action: input_boolean.turn_on
|
||||
data:
|
||||
entity_id: input_boolean.teens_asleep
|
||||
|
||||
default:
|
||||
- service: input_boolean.turn_off
|
||||
- action: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.teens_asleep
|
||||
|
||||
|
||||
Reference in New Issue
Block a user