40 lines
866 B
YAML
Executable File
40 lines
866 B
YAML
Executable File
kitchen:
|
|
module: room_control
|
|
class: RoomController
|
|
entity: light.kitchen
|
|
sensor: binary_sensor.kitchen_motion_occupancy
|
|
off_duration: '00:10:00'
|
|
button: kitchen
|
|
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_state:
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
brightness_pct: 1
|