Files
ad-nix/apps/rooms.yaml
John Lancaster e13fadc5cf migration updates
2023-04-15 15:15:12 -05:00

219 lines
4.8 KiB
YAML
Executable File

bathroom:
module: basic_motion
class: MotionLight
entity: light.bathroom
sensor: binary_sensor.motion_bathroom
off_duration: '00:05:00'
button: button1
delay: '00:20:00'
scene:
- time: '05:00:00'
scene:
light.bathroom:
brightness_pct: 40
color_temp: 250
- time: '12:00:00'
scene:
light.bathroom:
brightness_pct: 70
color_temp: 300
- time: sunset
scene:
light.bathroom:
brightness_pct: 50
color_temp: 350
- time: '23:00:00'
scene:
light.bathroom:
brightness_pct: 20
color_temp: 350
sleep: input_boolean.sleeping
sleep_scene:
off_duration: '00:02:00'
light.bathroom:
brightness_pct: 10
color_temp: 250
closet:
module: basic_motion
class: MotionLight
entity: light.closet
sensor: binary_sensor.motion_closet
off_duration: '00:02:00'
scene:
- time: 'sunrise - 03:00:00'
scene:
light.closet:
brightness_pct: 10
color_temp: 200
- time: 'sunrise'
scene:
light.closet:
brightness_pct: 30
color_temp: 200
- time: '12:00:00'
scene:
light.closet:
brightness_pct: 70
color_temp: 300
- time: sunset
scene:
light.closet:
brightness_pct: 40
color_temp: 400
bedroom:
module: basic_motion
class: MotionLight
entity: light.bedroom
sensor: binary_sensor.motion_bedroom
off_duration: '00:05:00'
button:
- bedroom_switch
- bedroom_switch_2
scene:
- time: 'sunrise - 03:00:00'
scene:
light.bedroom:
state: on
color_temp: 550
brightness_pct: 20
light.overhead:
state: off
- time: '06:00:00'
scene:
light.bedroom:
state: on
color_temp: 550
brightness_pct: 20
light.overhead:
state: on
color_temp: 250
brightness_pct: 15
- time: '12:00:00'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 30
light.overhead:
state: on
color_temp: 325
brightness_pct: 70
- time: 'sunset'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 50
light.overhead:
state: on
color_temp: 350
brightness_pct: 10
sleep: input_boolean.sleeping
living_room:
module: basic_motion
class: MotionLight
entity: light.living_room
sensor: binary_sensor.motion_living_room
off_duration: '00:30:00'
button: living_room
door: binary_sensor.front_door
scene:
- time: sunrise
scene:
light.living_room:
state: on
color_temp: 200
brightness_pct: 30
light.corner_light:
state: on
color_temp: 200
brightness_pct: 7
- time: '09:00:00'
scene:
light.living_room:
state: on
color_temp: 250
brightness_pct: 50
light.corner_light:
state: on
color_temp: 250
brightness_pct: 25
- time: '12:00:00'
scene:
light.living_room:
state: on
color_temp: 300
brightness_pct: 100
light.corner_light:
state: on
color_temp: 450
brightness_pct: 50
- time: 'sunset'
off_duration: '01:00:00'
scene:
light.living_room:
state: on
color_temp: 350
brightness_pct: 70
light.corner_light:
state: on
color_temp: 650
brightness_pct: 10
sleep: input_boolean.sleeping
sleep_scene:
off_duration: '00:02:00'
light.living_room:
state: 'on'
color_name: 'red'
brightness_pct: 50
kitchen:
module: basic_motion
class: MotionLight
entity: light.kitchen
sensor: binary_sensor.motion_kitchen
off_duration: '00:10:00'
button: kitchen_switch
scene:
- time: sunrise
scene:
light.kitchen:
state: on
color_temp: 200
brightness_pct: 10
- time: '12:00:00'
scene:
light.kitchen:
state: on
color_temp: 300
brightness_pct: 30
- time: sunset
scene:
light.kitchen:
state: on
color_temp: 450
brightness_pct: 40
- time: '22:00:00'
off_duration: '00:02:00'
scene:
light.kitchen:
state: on
color_temp: 650
brightness_pct: 10
sleep: input_boolean.sleeping
sleep_scene:
light.kitchen:
state: on
brightness_pct: 1
# patio:
# module: patio
# class: PatioLight
# light: light.patio
# linked: light.living_room
# door: binary_sensor.back_door