Files
ad-nix/apps/rooms/closet.yaml
2024-06-11 23:04:34 -05:00

41 lines
885 B
YAML

closet:
module: room_control
class: RoomController
loki_url: http://192.168.1.107:3100/loki/api/v1/push
dependencies:
- rich_logging
# rich: DEBUG
off_duration: '00:02:00'
states:
- time: 'sunrise - 03:00:00'
scene:
light.closet:
brightness: 25
color_temp: 200
- time: 'sunrise'
scene:
light.closet:
brightness: 75
color_temp: 200
- time: '12:00:00'
scene:
light.closet:
brightness: 175
color_temp: 300
- time: sunset
scene:
light.closet:
brightness: 100
color_temp: 400
closet_motion:
module: room_control
class: Motion
loki_url: http://192.168.1.107:3100/loki/api/v1/push
dependencies:
- closet
# rich: DEBUG
app: closet
sensor: binary_sensor.closet_motion_occupancy
ref_entity: light.closet