Files
ad-nix/apps/rooms/bedroom.yaml
John Lancaster 5c20718f87 tuned
2023-11-24 14:56:26 -06:00

65 lines
1.5 KiB
YAML

bedroom:
module: room_control
class: RoomController
entity: light.bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'
button:
- Bedroom Button 1
- Bedroom Button 2
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