Files
ad-nix/apps/rooms/bedroom.yaml
John Lancaster 117c7b3471 late night scene
2023-11-25 01:34:44 -06:00

91 lines
2.0 KiB
YAML

bedroom:
module: room_control
class: RoomController
off_duration: '00:05:00'
states:
- time: 'sunrise - 03:00:00'
scene:
light.bedroom:
state: on
color_temp: 200
brightness_pct: 20
light.globe:
state: on
color_temp: 200
brightness_pct: 20
light.overhead:
state: off
- time: '06:00:00'
scene:
light.bedroom:
state: on
color_temp: 250
brightness_pct: 20
light.globe:
state: on
color_temp: 250
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.globe:
state: on
color_temp: 325
brightness_pct: 30
light.overhead:
state: on
color_temp: 325
brightness_pct: 50
- time: 'sunset'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 50
light.globe:
state: on
color_temp: 325
brightness_pct: 50
light.overhead:
state: on
color_temp: 350
brightness_pct: 10
- time: '01:00:00'
scene:
light.bedroom:
state: on
color_name: green
brightness_pct: 50
light.globe:
state: on
color_name: blue
brightness_pct: 50
light.overhead:
state: on
color_name: blueviolet
brightness_pct: 30
sleep: input_boolean.sleeping
bedroom_buttons:
module: button
class: ButtonController
app: bedroom
button:
- Bedroom Button 1
- Bedroom Button 2
bedroom_motion:
module: motion
class: Motion
app: bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'
ref_entity: light.bedroom