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

39
apps/rooms/kitchen.yaml Executable file
View File

@@ -0,0 +1,39 @@
kitchen:
module: room_control
class: RoomController
entity: light.kitchen
sensor: binary_sensor.kitchen_motion_occupancy
off_duration: '00:10:00'
button: kitchen
scene:
- time: sunrise
scene:
light.kitchen:
state: on
color_temp: 200
brightness_pct: 10
- time: '12:00:00'
scene:
light.kitchen:
state: on
color_temp: 300
brightness_pct: 30
- time: sunset
scene:
light.kitchen:
state: on
color_temp: 450
brightness_pct: 40
- time: '22:00:00'
off_duration: '00:02:00'
scene:
light.kitchen:
state: on
color_temp: 650
brightness_pct: 10
sleep: input_boolean.sleeping
sleep_state:
scene:
light.kitchen:
state: on
brightness_pct: 1