Files
ad-nix/apps/rooms/living_room.yaml
John Lancaster 00a7fd5048 toggle stuff
2023-11-25 22:06:43 -06:00

87 lines
1.9 KiB
YAML

living_room:
module: room_control
class: RoomController
ref_entity: light.living_room
off_duration: 00:30:00
states:
- 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: 10
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
living_room_motion:
module: motion
class: Motion
app: living_room
sensor: binary_sensor.living_room_motion_occupancy
ref_entity: light.living_room