65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
bedroom:
|
|
module: room_control
|
|
class: RoomController
|
|
entity: light.bedroom
|
|
sensor: binary_sensor.bedroom_motion_occupancy
|
|
off_duration: '00:05:00'
|
|
button:
|
|
- bedroom
|
|
- bedroom2
|
|
scene:
|
|
- 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: 70
|
|
- 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
|
|
sleep: input_boolean.sleeping |