most apps switched to controller model

This commit is contained in:
John Lancaster
2023-04-18 10:11:39 -05:00
parent 35a4a3fd0e
commit e5d3b31e4b
6 changed files with 211 additions and 105 deletions

51
apps/bathroom.yaml Normal file
View File

@@ -0,0 +1,51 @@
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:
- kitchen
bathroom_daylight:
module: controller
class: ControllerDaylight
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