Compare commits
2 Commits
5a19fdb941
...
3b162d0767
Author | SHA1 | Date | |
---|---|---|---|
3b162d0767 | |||
981cdcdbd4 |
@ -3,6 +3,17 @@
|
||||
trigger:
|
||||
- platform: time
|
||||
at: input_datetime.sleep_mode
|
||||
- platform: state
|
||||
entity_id:
|
||||
- group.guests
|
||||
to: not_home
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.guests
|
||||
state: not_home
|
||||
- condition: time
|
||||
before: input_datetime.day_mode
|
||||
after: input_datetime.sleep_mode
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.sleep_mode
|
||||
|
@ -7,4 +7,11 @@ vacuum_rooms:
|
||||
- input_boolean.vacuum_kitchen
|
||||
- input_boolean.vacuum_hallway
|
||||
- input_boolean.vacuum_bedroom
|
||||
- input_boolean.vacuum_bathroom
|
||||
- input_boolean.vacuum_bathroom
|
||||
|
||||
guests:
|
||||
entities:
|
||||
- person.mariusz_ablewicz
|
||||
- person.andrzej_legowski
|
||||
- person.matka
|
||||
- person.piotr_madej
|
@ -3,8 +3,10 @@
|
||||
- id: sleep_on_{{ light.entityId }}
|
||||
alias: '[Sleep-On] {{ light.name }}'
|
||||
trigger:
|
||||
- platform: time
|
||||
at: input_datetime.sleep_mode
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.sleep_mode
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: {{ light.entityId }}
|
||||
|
Loading…
Reference in New Issue
Block a user