Files
ad-nix/apps/rooms/bedroom.yaml
2023-11-24 23:18:42 -06:00

71 lines
1.6 KiB
YAML

bedroom:
module: room_control
class: RoomController
entity: light.bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'
states:
- time: 'sunrise - 03:00:00'
scene:
light.bedroom:
state: on
color_temp: 200
brightness_pct: 20
light.globe:
state: on
color_temp: 200
brightness_pct: 20
light.overhead:
state: off
- time: '06:00:00'
scene:
light.bedroom:
state: on
color_temp: 250
brightness_pct: 20
light.globe:
state: on
color_temp: 250
brightness_pct: 20
light.overhead:
state: on
color_temp: 250
brightness_pct: 15
- time: '12:00:00'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 30
light.globe:
state: on
color_temp: 325
brightness_pct: 30
light.overhead:
state: on
color_temp: 325
brightness_pct: 50
- time: 'sunset'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 50
light.globe:
state: on
color_temp: 325
brightness_pct: 50
light.overhead:
state: on
color_temp: 350
brightness_pct: 10
sleep: input_boolean.sleeping
bedroom_buttons:
module: button
class: ButtonController
app: bedroom
button:
- Bedroom Button 1
- Bedroom Button 2