diff --git a/intern/docker_homeassistant/templates/config/configuration.yaml b/intern/docker_homeassistant/templates/config/configuration.yaml index bc18e17a36945203ab766ac4f339ac5c3adfb8d0..642453639d3e8cd30e2551122ffb4c3eb2a1dc1f 100644 --- a/intern/docker_homeassistant/templates/config/configuration.yaml +++ b/intern/docker_homeassistant/templates/config/configuration.yaml @@ -314,12 +314,13 @@ automation ansible: # WLED rot - alias: ANSIBLE_WLED_red - description: + description: WLED rot trigger: - type: turned_on platform: device device_id: 33915e12bd114226dcd4718e77a27779 entity_id: binary_sensor.button_4 + domain: binary_sensor condition: [] action: - service: light.turn_on @@ -328,25 +329,26 @@ automation ansible: - 255 - 0 - 0 - efect: Solid + effect: Solid target: area_id: - hackcenter - kuche - lounge - serverrack - - klo mode: queued max: 30 + # WLED gruen - alias: ANSIBLE_WLED_green - description: + description: WLED gruen trigger: - type: turned_on platform: device device_id: 33915e12bd114226dcd4718e77a27779 entity_id: binary_sensor.button_5 + domain: binary_sensor condition: [] action: - service: light.turn_on @@ -355,25 +357,25 @@ automation ansible: - 0 - 255 - 0 - efect: Solid + effect: Solid target: area_id: - hackcenter - kuche - lounge - serverrack - - klo mode: queued max: 30 # WLED blue - alias: ANSIBLE_WLED_blue - description: + description: wLED blau trigger: - type: turned_on platform: device device_id: 33915e12bd114226dcd4718e77a27779 entity_id: binary_sensor.button_6 + domain: binary_sensor condition: [] action: - service: light.turn_on @@ -382,25 +384,25 @@ automation ansible: - 0 - 0 - 255 - efect: Solid + effect: Solid target: area_id: - hackcenter - kuche - lounge - serverrack - - klo mode: queued max: 30 # WLED white - alias: ANSIBLE_WLED_white - description: + description: WLED weiss trigger: - type: turned_on platform: device device_id: 33915e12bd114226dcd4718e77a27779 entity_id: binary_sensor.button_2 + domain: binary_sensors condition: [] action: - service: light.turn_on @@ -409,13 +411,34 @@ automation ansible: - 255 - 255 - 255 - efect: Solid + effect: Solid + target: + area_id: + - hackcenter + - kuche + - lounge + - serverrack + mode: queued + max: 30 + + + # WLED off + - alias: ANSIBLE_WLED_off + description: WLED aus + 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 - kuche - lounge - serverrack - - klo mode: queued max: 30