Files
ad-nix/apps/rooms/bedroom.yaml
2024-07-27 17:38:09 -05:00

83 lines
1.9 KiB
YAML

bedroom:
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.bedroom_motion_occupancy
ref_entity: light.bedroom
button:
- Bedroom Button 1
- Bedroom Button 2
# rich: DEBUG
states:
- time: 'sunrise - 03:00:00'
scene:
light.bedroom:
state: on
color_temp: 200
brightness: 50
light.globe:
state: on
color_temp: 200
brightness: 50
light.overhead:
state: off
- time: '06:00:00'
scene:
light.bedroom:
state: on
color_temp: 250
brightness: 50
light.globe:
state: on
color_temp: 250
brightness: 50
light.overhead:
state: on
color_temp: 250
brightness: 40
- time: '12:00:00'
scene:
light.bedroom:
state: on
color_temp: 325
brightness: 75
light.globe:
state: on
color_temp: 325
brightness: 75
light.overhead:
state: on
color_temp: 325
brightness: 50
- time: 'sunset'
scene:
light.bedroom:
state: on
color_temp: 325
brightness: 50
light.globe:
state: on
color_temp: 325
brightness: 50
light.overhead:
state: on
color_temp: 350
brightness: 65
- time: '01:00:00'
scene:
light.bedroom:
state: on
color_name: green
brightness: 50
light.globe:
state: on
color_name: blue
brightness: 50
light.overhead:
state: on
color_name: blueviolet
brightness: 255
sleep: input_boolean.sleeping