diff --git a/intern/docker_homeassistant/templates/config/configuration.yaml b/intern/docker_homeassistant/templates/config/configuration.yaml index 0ee6eb13d79150e496324a0ce71f312109806f7a..bc18e17a36945203ab766ac4f339ac5c3adfb8d0 100644 --- a/intern/docker_homeassistant/templates/config/configuration.yaml +++ b/intern/docker_homeassistant/templates/config/configuration.yaml @@ -311,3 +311,111 @@ automation ansible: - climate.treppenhaus_thermostat_1 - climate.vortragsraum_vorne mode: single + + # WLED rot + - alias: ANSIBLE_WLED_red + description: + trigger: + - type: turned_on + platform: device + device_id: 33915e12bd114226dcd4718e77a27779 + entity_id: binary_sensor.button_4 + condition: [] + action: + - service: light.turn_on + data: + rgb_color: + - 255 + - 0 + - 0 + efect: Solid + target: + area_id: + - hackcenter + - kuche + - lounge + - serverrack + - klo + mode: queued + max: 30 + + # WLED gruen + - alias: ANSIBLE_WLED_green + description: + trigger: + - type: turned_on + platform: device + device_id: 33915e12bd114226dcd4718e77a27779 + entity_id: binary_sensor.button_5 + condition: [] + action: + - service: light.turn_on + data: + rgb_color: + - 0 + - 255 + - 0 + efect: Solid + target: + area_id: + - hackcenter + - kuche + - lounge + - serverrack + - klo + mode: queued + max: 30 + + # WLED blue + - alias: ANSIBLE_WLED_blue + description: + trigger: + - type: turned_on + platform: device + device_id: 33915e12bd114226dcd4718e77a27779 + entity_id: binary_sensor.button_6 + condition: [] + action: + - service: light.turn_on + data: + rgb_color: + - 0 + - 0 + - 255 + efect: Solid + target: + area_id: + - hackcenter + - kuche + - lounge + - serverrack + - klo + mode: queued + max: 30 + + # WLED white + - alias: ANSIBLE_WLED_white + description: + trigger: + - type: turned_on + platform: device + device_id: 33915e12bd114226dcd4718e77a27779 + entity_id: binary_sensor.button_2 + condition: [] + action: + - service: light.turn_on + data: + rgb_color: + - 255 + - 255 + - 255 + efect: Solid + target: + area_id: + - hackcenter + - kuche + - lounge + - serverrack + - klo + mode: queued + max: 30