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

View File

@@ -0,0 +1,70 @@
living_room:
module: room_control
class: RoomController
sensor: binary_sensor.living_room_motion_occupancy
off_duration: 00:30:00
entity: light.living_room
button: living_room
door: binary_sensor.door_front
scene:
- time: sunrise
scene:
light.living_room:
state: on
color_temp: 200
brightness_pct: 30
light.couch_corner:
state: on
color_temp: 200
brightness_pct: 7
- time: '09:00:00'
scene:
light.living_room:
state: on
color_temp: 250
brightness_pct: 50
light.couch_corner:
state: on
color_temp: 250
brightness_pct: 25
- time: '12:00:00'
scene:
light.living_room:
state: on
color_temp: 300
brightness_pct: 100
light.couch_corner:
state: on
color_temp: 450
brightness_pct: 50
- time: sunset
off_duration: 01:00:00
scene:
light.living_room:
state: on
color_temp: 350
brightness_pct: 70
light.couch_corner:
state: on
color_temp: 650
brightness_pct: 10
- elevation: -20
direction: setting
off_duration: 00:30:00
scene:
light.living_room:
state: on
color_temp: 350
brightness_pct: 50
light.couch_corner:
state: on
color_temp: 650
brightness_pct: 5
sleep: input_boolean.sleeping
sleep_state:
off_duration: '00:02:00'
scene:
light.living_room:
state: 'on'
color_name: 'red'
brightness_pct: 50