-
-
Notifications
You must be signed in to change notification settings - Fork 505
/
late_night_helper.yaml
executable file
·50 lines (46 loc) · 1.14 KB
/
late_night_helper.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
###################################
## Late Night lights Section
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
###################################
- alias: 'Late Night Helper'
id: acacc9b4-b66d-46d2-bf6d-47b75afddb57
trigger:
- platform: state
entity_id: group.family
to: 'home'
condition:
condition: and
conditions:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: group.bed
state: 'off'
action:
- service: light.turn_on
entity_id:
- light.living_room_slider
- light.foyer_door
- light.fridge
- light.M1_front_right
- light.S1
- light.S4
- service: light.turn_on
entity_id:
- light.outdoor_bathroom
data:
brightness: 10
- service: switch.turn_on
entity_id:
- group.kitchen_Accents
- delay: '00:05:00'
- service: light.turn_off
entity_id:
- light.S1
- light.S4
- light.foyer_door
- light.fridge
- light.living_room_slider
- light.M1_front_right