Files
ad-nix/apps/rooms/bathroom.yaml
2024-04-29 23:41:19 -05:00

55 lines
1.1 KiB
YAML

bathroom:
module: room_control
class: RoomController
dependencies:
- rich_logging
# rich: DEBUG
off_duration: '00:05:00'
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
bathroom_button:
module: button
class: Button
dependencies:
- bathroom
# rich: DEBUG
app: bathroom
button: Bathroom Button
ref_entity: light.bathroom
bathroom_motion:
module: motion
class: Motion
dependencies:
- bathroom
# rich: DEBUG
app: bathroom
sensor: binary_sensor.bathroom_motion_occupancy
ref_entity: light.bathroom