1
0

Compare commits

..

2 Commits

3 changed files with 23 additions and 3 deletions

View File

@ -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

View File

@ -8,3 +8,10 @@ vacuum_rooms:
- input_boolean.vacuum_hallway
- input_boolean.vacuum_bedroom
- input_boolean.vacuum_bathroom
guests:
entities:
- person.mariusz_ablewicz
- person.andrzej_legowski
- person.matka
- person.piotr_madej

View File

@ -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 }}