mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Too much stuff at once, but who cares
This commit is contained in:
@@ -2,16 +2,16 @@ alias: Emmett Asleep
|
||||
id: automation_emmett_asleep
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
triggers:
|
||||
- trigger: state
|
||||
id: in_bed
|
||||
entity_id: input_boolean.emmett_in_bed
|
||||
to: "on"
|
||||
for: "00:20:00"
|
||||
- platform: homeassistant
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
|
||||
condition:
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id:
|
||||
- input_boolean.emmett_home
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
alias: Emmett Awake
|
||||
id: automation_emmett_awake
|
||||
mode: restart
|
||||
#description:
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.emmett_in_bed
|
||||
to: "off"
|
||||
for: "00:00:30"
|
||||
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.emmett_is_awake
|
||||
|
||||
- action: script.turn_on
|
||||
entity_id: script.emmett_travel_sensor
|
||||
@@ -16,7 +16,5 @@ condition:
|
||||
entity_id: binary_sensor.emmett_home
|
||||
state: "on"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.emmett_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.emmett_home
|
||||
|
||||
Reference in New Issue
Block a user