90 lines
2.0 KiB
YAML
90 lines
2.0 KiB
YAML
scene:
|
|
- name: Work
|
|
entities:
|
|
light.shelf_lamp:
|
|
state: on
|
|
brightness: 255
|
|
xy_color: [0.37, 0.372]
|
|
light.bedroom_lamp:
|
|
state: on
|
|
brightness: 255
|
|
xy_color: [0.37, 0.372]
|
|
light.wall_strip:
|
|
state: on
|
|
brightness: 255
|
|
xy_color: [0.195, 0.68]
|
|
- name: Gaming Lights
|
|
entities:
|
|
light.shelf_lamp:
|
|
state: on
|
|
brightness: 255
|
|
rgb_color: [255, 61, 18]
|
|
light.bedroom_lamp:
|
|
state: on
|
|
brightness: 255
|
|
rgb_color: [255, 59, 191]
|
|
light.wall_strip:
|
|
state: on
|
|
brightness: 255
|
|
rgb_color: [81, 255, 136]
|
|
- name: Dark Mode
|
|
entities:
|
|
light.shelf_lamp:
|
|
state: on
|
|
brightness: 1
|
|
rgb_color: [255, 118, 23]
|
|
light.bedroom_lamp:
|
|
state: on
|
|
brightness: 1
|
|
rgb_color: [255, 118, 23]
|
|
light.wall_strip:
|
|
state: on
|
|
brightness: 1
|
|
rgb_color: [255, 118, 23]
|
|
- name: Trans Office
|
|
entities:
|
|
light.shelf_lamp:
|
|
state: on
|
|
rgb_color: [247, 168, 184]
|
|
brightness: 246
|
|
light.bedroom_lamp:
|
|
state: on
|
|
rgb_color: [255, 255, 255]
|
|
brightness: 255
|
|
light.wall_strip:
|
|
state: on
|
|
rgb_color: [85, 205, 252]
|
|
brightness: 251
|
|
- name: Red Alert
|
|
entities:
|
|
light.shelf_lamp:
|
|
state: on
|
|
brightness: 255
|
|
rgb_color: [255, 0, 0]
|
|
light.bedroom_lamp:
|
|
state: on
|
|
brightness: 255
|
|
rgb_color: [255, 0, 0]
|
|
light.wall_strip:
|
|
state: on
|
|
brightness: 255
|
|
rgb_color: [255, 0, 0]
|
|
automation:
|
|
- alias: Turn on work lights
|
|
action:
|
|
- service: scene.turn_on
|
|
data:
|
|
entity_id: scene.work
|
|
trigger:
|
|
platform: time
|
|
at: "08:30:00"
|
|
condition:
|
|
condition: state
|
|
entity_id: binary_sensor.workday_sensor
|
|
state: "on"
|
|
binary_sensor:
|
|
- platform: workday
|
|
country: US
|
|
workdays: [mon, tue, wed, thu, fri]
|
|
excludes: [sat, sun, holiday]
|