42 lines
903 B
YAML
42 lines
903 B
YAML
bathroom:
|
|
module: room_control
|
|
class: RoomController
|
|
entity: light.bathroom
|
|
sensor: binary_sensor.bathroom_motion_occupancy
|
|
off_duration: '00:05:00'
|
|
delay: '00:20:00'
|
|
states:
|
|
- time: '05:00:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness_pct: 40
|
|
color_temp: 250
|
|
- time: '12:00:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness_pct: 70
|
|
color_temp: 300
|
|
- time: sunset
|
|
scene:
|
|
light.bathroom:
|
|
brightness_pct: 50
|
|
color_temp: 350
|
|
- time: '23:00:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness_pct: 20
|
|
color_temp: 350
|
|
sleep: input_boolean.sleeping
|
|
sleep_state:
|
|
off_duration: '00:02:00'
|
|
scene:
|
|
light.bathroom:
|
|
brightness: 1
|
|
color_temp: 250
|
|
|
|
bathroom_button:
|
|
module: button
|
|
class: ButtonController
|
|
app: bathroom
|
|
button: Bathroom Button
|