Files
ad-nix/apps/rooms/living_room.yaml
2024-01-28 09:04:54 -06:00

87 lines
1.9 KiB
YAML

living_room:
module: room_control
class: RoomController
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
app: living_room
door: binary_sensor.front_contact
living_room_button:
module: button
class: Button
app: living_room
button: Living Room Button
ref_entity: light.living_room
living_room_motion:
module: motion
class: Motion
app: living_room
sensor: binary_sensor.living_room_motion_occupancy
ref_entity: light.living_room