Home Assistant Setup für die LUG
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2 KiB

- alias: Lampen auf angenehmes Licht
trigger:
platform: homeassistant
event: start
action:
- service: light.turn_on
data:
xy_color:
- 0.443
- 0.379
entity_id:
- light.0xec1bbdfffe9cc96e_light
- light.0xec1bbdfffe59b929_light
- alias: Lampen Rot
trigger:
- platform: state
entity_id: binary_sensor.button_red
to: "on"
action:
- service: light.turn_on
data:
entity_id:
- light.0xec1bbdfffe9cc96e_light
- light.0xec1bbdfffe59b929_light
rgb_color: [255, 0, 0]
- alias: Lampen Grün
trigger:
- platform: state
entity_id: binary_sensor.button_green
to: "on"
action:
- service: light.turn_on
data:
entity_id:
- light.0xec1bbdfffe9cc96e_light
- light.0xec1bbdfffe59b929_light
rgb_color: [0, 255, 0]
- alias: Lampen Gelb
trigger:
- platform: state
entity_id: binary_sensor.button_yellow
to: "on"
action:
- service: light.turn_on
data:
entity_id:
- light.0xec1bbdfffe9cc96e_light
- light.0xec1bbdfffe59b929_light
rgb_color: [255, 255, 0]