Skip to content
Snippets Groups Projects
Commit 7ada655d authored by jabertwo's avatar jabertwo
Browse files

homeassistant automatisierungen via ansible - part 3.1

parent 5fa69917
No related branches found
No related tags found
No related merge requests found
...@@ -314,12 +314,13 @@ automation ansible: ...@@ -314,12 +314,13 @@ automation ansible:
# WLED rot # WLED rot
- alias: ANSIBLE_WLED_red - alias: ANSIBLE_WLED_red
description: description: WLED rot
trigger: trigger:
- type: turned_on - type: turned_on
platform: device platform: device
device_id: 33915e12bd114226dcd4718e77a27779 device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_4 entity_id: binary_sensor.button_4
domain: binary_sensor
condition: [] condition: []
action: action:
- service: light.turn_on - service: light.turn_on
...@@ -328,25 +329,26 @@ automation ansible: ...@@ -328,25 +329,26 @@ automation ansible:
- 255 - 255
- 0 - 0
- 0 - 0
efect: Solid effect: Solid
target: target:
area_id: area_id:
- hackcenter - hackcenter
- kuche - kuche
- lounge - lounge
- serverrack - serverrack
- klo
mode: queued mode: queued
max: 30 max: 30
# WLED gruen # WLED gruen
- alias: ANSIBLE_WLED_green - alias: ANSIBLE_WLED_green
description: description: WLED gruen
trigger: trigger:
- type: turned_on - type: turned_on
platform: device platform: device
device_id: 33915e12bd114226dcd4718e77a27779 device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_5 entity_id: binary_sensor.button_5
domain: binary_sensor
condition: [] condition: []
action: action:
- service: light.turn_on - service: light.turn_on
...@@ -355,25 +357,25 @@ automation ansible: ...@@ -355,25 +357,25 @@ automation ansible:
- 0 - 0
- 255 - 255
- 0 - 0
efect: Solid effect: Solid
target: target:
area_id: area_id:
- hackcenter - hackcenter
- kuche - kuche
- lounge - lounge
- serverrack - serverrack
- klo
mode: queued mode: queued
max: 30 max: 30
# WLED blue # WLED blue
- alias: ANSIBLE_WLED_blue - alias: ANSIBLE_WLED_blue
description: description: wLED blau
trigger: trigger:
- type: turned_on - type: turned_on
platform: device platform: device
device_id: 33915e12bd114226dcd4718e77a27779 device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_6 entity_id: binary_sensor.button_6
domain: binary_sensor
condition: [] condition: []
action: action:
- service: light.turn_on - service: light.turn_on
...@@ -382,25 +384,25 @@ automation ansible: ...@@ -382,25 +384,25 @@ automation ansible:
- 0 - 0
- 0 - 0
- 255 - 255
efect: Solid effect: Solid
target: target:
area_id: area_id:
- hackcenter - hackcenter
- kuche - kuche
- lounge - lounge
- serverrack - serverrack
- klo
mode: queued mode: queued
max: 30 max: 30
# WLED white # WLED white
- alias: ANSIBLE_WLED_white - alias: ANSIBLE_WLED_white
description: description: WLED weiss
trigger: trigger:
- type: turned_on - type: turned_on
platform: device platform: device
device_id: 33915e12bd114226dcd4718e77a27779 device_id: 33915e12bd114226dcd4718e77a27779
entity_id: binary_sensor.button_2 entity_id: binary_sensor.button_2
domain: binary_sensors
condition: [] condition: []
action: action:
- service: light.turn_on - service: light.turn_on
...@@ -409,13 +411,34 @@ automation ansible: ...@@ -409,13 +411,34 @@ automation ansible:
- 255 - 255
- 255 - 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: target:
area_id: area_id:
- hackcenter - hackcenter
- kuche - kuche
- lounge - lounge
- serverrack - serverrack
- klo
mode: queued mode: queued
max: 30 max: 30
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