43 lines
944 B
YAML
Executable File
43 lines
944 B
YAML
Executable File
kitchen:
|
|
module: room_control
|
|
class: RoomController
|
|
loki_url: http://192.168.1.107:3100/loki/api/v1/push
|
|
off_duration: '00:10:00'
|
|
motion:
|
|
sensor: binary_sensor.kitchen_motion_occupancy
|
|
ref_entity: light.kitchen
|
|
button: Kitchen Button
|
|
# rich: DEBUG
|
|
sleep: input_boolean.sleeping
|
|
sleep_state:
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
brightness: 1
|
|
states:
|
|
- time: sunrise
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 200
|
|
brightness: 25
|
|
- time: '12:00:00'
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 300
|
|
brightness: 75
|
|
- time: sunset
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 450
|
|
brightness: 100
|
|
- time: '22:00:00'
|
|
off_duration: '00:02:00'
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 650
|
|
brightness: 25
|