99 lines
2.1 KiB
YAML
99 lines
2.1 KiB
YAML
living_room:
|
|
module: room_control
|
|
class: RoomController
|
|
dependencies:
|
|
- rich_logging
|
|
# rich: DEBUG
|
|
off_duration: 00:30:00
|
|
states:
|
|
- time: sunrise
|
|
scene:
|
|
light.living_room:
|
|
state: on
|
|
color_temp: 200
|
|
brightness: 75
|
|
light.couch_corner:
|
|
state: on
|
|
color_temp: 200
|
|
brightness: 20
|
|
- time: '09:00:00'
|
|
scene:
|
|
light.living_room:
|
|
state: on
|
|
color_temp: 250
|
|
brightness: 130
|
|
light.couch_corner:
|
|
state: on
|
|
color_temp: 250
|
|
brightness: 65
|
|
- time: '12:00:00'
|
|
scene:
|
|
light.living_room:
|
|
state: on
|
|
color_temp: 300
|
|
brightness: 255
|
|
light.couch_corner:
|
|
state: on
|
|
color_temp: 450
|
|
brightness: 125
|
|
- time: sunset
|
|
off_duration: 01:00:00
|
|
scene:
|
|
light.living_room:
|
|
state: on
|
|
color_temp: 350
|
|
brightness: 175
|
|
light.couch_corner:
|
|
state: on
|
|
color_temp: 650
|
|
brightness: 25
|
|
- elevation: -20
|
|
direction: setting
|
|
off_duration: 00:30:00
|
|
scene:
|
|
light.living_room:
|
|
state: on
|
|
color_temp: 350
|
|
brightness: 125
|
|
light.couch_corner:
|
|
state: on
|
|
color_temp: 650
|
|
brightness: 5
|
|
sleep: input_boolean.sleeping
|
|
sleep_state:
|
|
# off_duration: '00:02:00'
|
|
scene:
|
|
light.living_room:
|
|
state: 'on'
|
|
rgb_color: [255, 0, 0]
|
|
brightness: 25
|
|
|
|
front_door:
|
|
module: door
|
|
class: Door
|
|
dependencies:
|
|
- living_room
|
|
# rich: DEBUG
|
|
app: living_room
|
|
door: binary_sensor.front_contact
|
|
|
|
living_room_button:
|
|
module: button
|
|
class: Button
|
|
dependencies:
|
|
- living_room
|
|
# rich: DEBUG
|
|
app: living_room
|
|
button: Living Room Button
|
|
ref_entity: light.living_room
|
|
|
|
living_room_motion:
|
|
module: motion
|
|
class: Motion
|
|
dependencies:
|
|
- living_room
|
|
# rich: DEBUG
|
|
app: living_room
|
|
sensor: binary_sensor.living_room_motion_occupancy
|
|
ref_entity: light.living_room
|