mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
alias: Boys Room Into Bed
|
||||
id: automation_boys_room_into_bed
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to: "on"
|
||||
for: "00:00:10"
|
||||
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.home_occupied
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.emmett_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
# - condition: state
|
||||
# entity_id: input_boolean.nursery_light_cycle
|
||||
# state: "off"
|
||||
- condition: state
|
||||
entity_id: input_select.boys_room_mode
|
||||
state: "Nightlight"
|
||||
- condition: state
|
||||
entity_id: light.boys_room_hue
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
- action: light.turn_on
|
||||
data:
|
||||
entity_id:
|
||||
- light.accent
|
||||
Reference in New Issue
Block a user