39 lines
882 B
YAML
39 lines
882 B
YAML
bathroom:
|
|
module: room_control
|
|
class: RoomController
|
|
loki_url: http://192.168.1.107:3100/loki/api/v1/push
|
|
off_duration: '00:05:00'
|
|
motion:
|
|
sensor: binary_sensor.bathroom_motion_occupancy
|
|
ref_entity: light.bathroom
|
|
button: Bathroom Button
|
|
# rich: DEBUG
|
|
states:
|
|
- time: '05:00:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness: 100
|
|
color_temp: 250
|
|
- time: '12:00:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness: 175
|
|
color_temp: 300
|
|
- time: sunset
|
|
scene:
|
|
light.bathroom:
|
|
brightness: 125
|
|
color_temp: 350
|
|
- time: '23:00:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness: 50
|
|
color_temp: 350
|
|
sleep: input_boolean.sleeping
|
|
sleep_state:
|
|
off_duration: '00:02:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness: 1
|
|
color_temp: 250
|