apps.yaml 2.49 KB
Newer Older
1
---
Rob Connolly's avatar
Rob Connolly committed
2
3
4
5
6
7
#kids_toothbrush_charger:
#  module: charging
#  class: PeriodicCharger
#  switch: switch.kids_toothbrush_charger
#  charge_time: 16h
#  charge_interval: 5d
8

Rob Connolly's avatar
Rob Connolly committed
9
10
11
12
13
14
#adults_toothbrush_charger:
#  module: charging
#  class: PeriodicCharger
#  switch: switch.adults_toothbrush_charger
#  charge_time: 16h
#  charge_interval: 5d
15

16
17
18
19
20
21
22
23
24
25
26
toilet_motion_lights:
  module: motion_lights
  class: BrightnessControlledMotionLight
  motion_sensor: binary_sensor.toilet_motion
  light: light.toilet
  timeout: 120
  bedroom_doors:
    - !secret bed1_door_entity
    - !secret bed2_door_entity
  other_doors:
    - binary_sensor.kitchen_hall_door_contact
Rob Connolly's avatar
Rob Connolly committed
27

Rob Connolly's avatar
Rob Connolly committed
28
29
30
31
32
33
34
35
36
shed_motion_light:
  module: motion_lights
  class: MotionLight
  motion_sensor: binary_sensor.motion_sensor_5_1
  light: light.shed_lights
  timeout: 120
  constrain_start_time: sunset
  constrain_end_time: sunrise

37
38
39
hall_night_light:
  module: door_trigger_light
  class: DoorTriggeredLight
40
41
42
  doors:
    - !secret bed1_door_entity
    - !secret bed2_door_entity
43
44
45
  light: light.hallway
  post_close_time: 10
  brightness: 1
Rob Connolly's avatar
Rob Connolly committed
46
47
  constrain_start_time: '19:30:00'
  constrain_end_time: sunrise
48

49
50
51
52
53
54
55
56
57
58
hall_cupboard_light:
  module: door_trigger_light
  class: DoorTriggeredLight
  doors:
    - binary_sensor.hot_water_cupboard_door
    - binary_sensor.hall_cupboard_door
  light: light.hallway
  post_close_time: 10
  brightness: 100

Rob Connolly's avatar
Rob Connolly committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
occupancy_simulator:
  class: OccuSim
  module: occusim
  log: '1'
  notify: '1'
  enable: input_boolean.vacation_mode,on
  test: '0'
  dump_times: '1'
  reset_time: '02:00:00'

  # evening routine
  step_evening_name: Evening
  step_evening_start: !secret evening_start_time
  step_evening_on_1: script.downlights_bright

  step_movie1_name: Movie Scene
  step_movie1_start: !secret movie1_start_time
  step_movie1_end: !secret movie1_end_time
  step_movie1_on_1: scene.movie

  step_movie2_name: Movie Scene Pause
  step_movie2_relative: Movie Scene
  step_movie2_start_offset: !secret movie2_start_offset
  step_movie2_end_offset: !secret movie2_end_offset
  step_movie2_on_1: script.downlights_bright

  step_movie3_name: Movie Scene Play
  step_movie3_relative: Movie Scene Pause
  step_movie3_start_offset: !secret movie3_start_offset
  step_movie3_end_offset: !secret movie3_end_offset
  step_movie3_on_1: scene.movie

  step_bedtime_name: Bedtime
  step_bedtime_start: !secret bedtime_start_time
  step_bedtime_end: !secret bedtime_end_time
  step_bedtime_off_1: light.kitchen_downlights
  step_bedtime_off_2: light.living_room_spots
  step_bedtime_off_3: light.dining_room_spots