Files
ad-nix/apps/bathroom.yaml
2023-04-23 21:56:35 -05:00

52 lines
946 B
YAML

bathroom:
module: controller
class: ControllerRoomLights
entities:
- light.bathroom
bathroom_motion:
module: controller
class: ControllerMotion
room: bathroom
off_duration: 00:03:00
entities:
- binary_sensor.motion_bathroom
bathroom_button:
module: controller
class: ControllerButton
room: bathroom
buttons:
- bathroom
bathroom_daylight:
module: controller
class: ControllerDaylight
enable: input_boolean.enable_bathroom
room: bathroom
entities:
- light.bathroom
latitude: 30.150380
longitude: -97.4487
periods:
- time: '04:00:00am'
brightness: 40
color_temp: 350
- elevation: 0
direction: rising
brightness: 150
color_temp: 200
- time: noon
brightness: 255
color_temp: 300
- elevation: 0
direction: setting
brightness: 125
color_temp: 325
- time: '10:30:00pm'
brightness: 40
color_temp: 350