mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
Too much stuff at once, but who cares
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
alias: Bridget Awake
|
||||
id: automation_bridget_awake
|
||||
mode: restart
|
||||
#description:
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.bridget_in_bed
|
||||
to: "off"
|
||||
for: "00:05:00"
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.bridget_is_awake
|
||||
|
||||
- action: script.turn_on
|
||||
entity_id: script.bridget_travel_sensor
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.nursery_occupied
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id:
|
||||
- input_boolean.bridget_in_bed
|
||||
|
||||
- action: input_boolean.turn_on
|
||||
entity_id:
|
||||
- input_boolean.bridget_is_awake
|
||||
@@ -18,7 +18,5 @@ condition:
|
||||
entity_id: binary_sensor.bridget_home
|
||||
state: "on"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.bridget_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.bridget_home
|
||||
|
||||
@@ -6,6 +6,7 @@ mode: restart
|
||||
trigger:
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_home
|
||||
|
||||
Reference in New Issue
Block a user