added room_control as submodule

This commit is contained in:
root
2023-07-30 13:51:46 -05:00
parent c119765a38
commit 82d8136e97
10 changed files with 243 additions and 631 deletions

27
apps/rooms/closet.yaml Normal file
View File

@@ -0,0 +1,27 @@
closet:
module: room_control
class: RoomController
entity: light.closet
sensor: binary_sensor.closet_motion_occupancy
off_duration: '00:02:00'
scene:
- time: 'sunrise - 03:00:00'
scene:
light.closet:
brightness_pct: 10
color_temp: 200
- time: 'sunrise'
scene:
light.closet:
brightness_pct: 30
color_temp: 200
- time: '12:00:00'
scene:
light.closet:
brightness_pct: 70
color_temp: 300
- time: sunset
scene:
light.closet:
brightness_pct: 40
color_temp: 400