Skip to content
Snippets Groups Projects
Commit 5d107078 authored by jabertwo's avatar jabertwo
Browse files

rework buttonboard

parent f8929ee1
No related branches found
No related tags found
No related merge requests found
......@@ -453,15 +453,14 @@ automation ansible:
option: Red static
mode: restart
# WLED rot
- alias: ANSIBLE_WLED_red
description: WLED rot
# WLED rot lounge
- alias: ANSIBLE_WLED_lounge_red
description: WLED rot in der lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_4
entity_id: binary_sensor.button_5
domain: binary_sensor
condition: []
action:
......@@ -474,24 +473,51 @@ automation ansible:
effect: Solid
target:
area_id:
- hackcenter
- kuche
- lounge
- serverrack
mode: queued
max: 30
# WLED rot im hackcenter
- alias: ANSIBLE_WLED_hackcenter_red
description: WLED rot im hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_2
domain: binary_sensor
condition: []
action:
- service: light.turn_on
data:
rgb_color:
- 255
- 0
- 0
effect: Solid
target:
area_id:
- hackcenter
- eingang
mode: queued
max: 30
# WLED gruen
- alias: ANSIBLE_WLED_green
description: WLED gruen
# WLED gruen lounge
- alias: ANSIBLE_WLED_lounge_green
description: WLED gruen in der lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_5
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 2
condition: []
action:
- service: light.turn_on
......@@ -503,23 +529,55 @@ automation ansible:
effect: Solid
target:
area_id:
- hackcenter
- kuche
- lounge
- serverrack
mode: queued
max: 30
# WLED gruen hackcenter
- alias: ANSIBLE_WLED_hackcenter_green
description: WLED gruen im hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_2
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 2
condition: []
action:
- service: light.turn_on
data:
rgb_color:
- 0
- 255
- 0
effect: Solid
target:
area_id:
- hackcenter
- eingang
mode: queued
max: 30
# WLED blue
- alias: ANSIBLE_WLED_blue
description: wLED blau
# WLED blue lounge
- alias: ANSIBLE_WLED_lounge_blue
description: wLED blau in der lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_6
entity_id: binary_sensor.button_5
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 4
condition: []
action:
- service: light.turn_on
......@@ -531,23 +589,55 @@ automation ansible:
effect: Solid
target:
area_id:
- hackcenter
- kuche
- lounge
- serverrack
- eingang
mode: queued
max: 30
# WLED white
- alias: ANSIBLE_WLED_white
description: WLED weiss
# WLED blue hackcenter
- alias: ANSIBLE_WLED_hackcenter_blue
description: wLED blau im hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_2
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 4
condition: []
action:
- service: light.turn_on
data:
rgb_color:
- 0
- 0
- 255
effect: Solid
target:
area_id:
- hackcenter
- eingang
mode: queued
max: 30
# WLED white lounge
- alias: ANSIBLE_WLED_lounge_white
description: WLED weiss in der lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_5
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 6
condition: []
action:
- service: light.turn_on
......@@ -559,45 +649,92 @@ automation ansible:
effect: Solid
target:
area_id:
- hackcenter
- kuche
- lounge
- serverrack
- eingang
mode: queued
max: 30
# WLED white hackcenter
- alias: ANSIBLE_WLED_hackcenter_white
description: WLED weiss im hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_2
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 6
condition: []
action:
- service: light.turn_on
data:
rgb_color:
- 255
- 255
- 255
effect: Solid
target:
area_id:
- hackcenter
- eingang
mode: queued
max: 30
# WLED off
- alias: ANSIBLE_WLED_off
description: WLED aus
# WLED off lounge
- alias: ANSIBLE_WLED_lounge_off
description: WLED aus in der lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_3
entity_id: binary_sensor.button_5
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 6
condition: []
action:
- service: light.turn_off
target:
area_id:
- hackcenter
- kuche
- lounge
- serverrack
mode: queued
max: 30
# WLED off hackcenter
- alias: ANSIBLE_WLED_hackcenter_off
description: WLED aus im hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_3
domain: binary_sensor
condition: []
action:
- service: light.turn_off
target:
area_id:
- hackcenter
- eingang
mode: queued
max: 30
# WLED default
- alias: "ANSIBLE_WLED_default"
description: WLED Default effect
# WLED default Lounge
- alias: "ANSIBLE_WLED_lougne_default"
description: WLED Default effect in der Lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_1
entity_id: binary_sensor.button_4
domain: binary_sensor
for:
hours: 0
......@@ -609,30 +746,56 @@ automation ansible:
data: {}
target:
area_id:
- hackcenter
- kuche
- lounge
- serverriack
- eingang
- service: select.select_option
data:
option: default
target:
entity_id:
- select.icicles_preset
- select.kueche_preset
- select.lightsaber01_preset
- select.lightsaber02_preset
- select.loetecke_preset
- select.loungedecke_preset
- select.rack_preset
- select.schild_preset
- select.theke_preset
- select.trocknerschlauch_preset
- select.warpcubes_preset
- select.loungetisch_preset
- select.matrix01_preset
- select.vorhang_preset
mode: single
# WLED default hackcenter
- alias: "ANSIBLE_WLED_hackcenter_default"
description: WLED Default effect im hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_1
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
condition: []
action:
- service: light.turn_on
data: {}
target:
area_id:
- hackcenter
- eingang
- service: select.select_option
data:
option: default
target:
entity_id:
- select.icicles_preset
- select.lightsaber01_preset
- select.lightsaber02_preset
- select.loetecke_preset
- select.schild_preset
- select.trocknerschlauch_preset
- select.lampan_preset
- select.clock_preset
- service: light.turn_on
......@@ -645,14 +808,15 @@ automation ansible:
device_id: d1d266daf7d11e675319fdae0226a197
mode: single
# WLED meteor
- alias: "ANSIBLE_WLED_Meteor"
description: WLED Meteor effect
# WLED meteor lounge
- alias: "ANSIBLE_WLED_Lounge_Meteor"
description: WLED Meteor effect in der Lounge
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_1
entity_id: binary_sensor.button_5
domain: binary_sensor
for:
hours: 0
......@@ -664,30 +828,57 @@ automation ansible:
data: {}
target:
area_id:
- hackcenter
- kuche
- lounge
- serverrack
- eingang
- service: select.select_option
data:
option: Meteor
target:
entity_id:
- select.icicles_preset
- select.kueche_preset
- select.lightsaber01_preset
- select.lightsaber02_preset
- select.loetecke_preset
- select.loungedecke_preset
- select.rack_preset
- select.schild_preset
- select.theke_preset
- select.trocknerschlauch_preset
- select.warpcubes_preset
- select.loungetisch_preset
- select.matrix01_preset
- select.vorhang_preset
mode: single
# WLED meteor Hackcenter
- alias: "ANSIBLE_WLED_Hackcenter_Meteor"
description: WLED Meteor effect im Hackcenter
trigger:
- type: turned_on
platform: device
device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_1
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 10
condition: []
action:
- service: light.turn_on
data: {}
target:
area_id:
- hackcenter
- eingang
- service: select.select_option
data:
option: Meteor
target:
entity_id:
- select.icicles_preset
- select.lightsaber01_preset
- select.lightsaber02_preset
- select.loetecke_preset
- select.schild_preset
- select.trocknerschlauch_preset
- select.lampan_preset
- select.clock_preset
- service: light.turn_on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment