From 759eff4af5d9bc1854f5835ecb3b17b5a368a802 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 16 Feb 2021 23:48:53 -0500 Subject: [PATCH] Add office configuration --- packages/battlestation.yaml | 89 +++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 packages/battlestation.yaml diff --git a/packages/battlestation.yaml b/packages/battlestation.yaml new file mode 100644 index 0000000..1f9bf61 --- /dev/null +++ b/packages/battlestation.yaml @@ -0,0 +1,89 @@ +scene: + - name: Work + entities: + light.shelf_lamp: + state: on + brightness: 255 + xy_color: [0.37, 0.372] + light.office_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.office_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.office_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.office_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.office_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]