Hello together,
I want to create an automation which triggers when a light changes to a specific color.
How to trigger automation with light color change? : r/homeassistant
For example here is my automation it is triggered but the condtion does not match:
id: ‘1707334537865’
alias: Wohnzimmer - WLED Weiß
description: ‘’
triggers:
- entity_id:
- light.wled_soundreactive
trigger: state
attribute: rgbw_color
conditions:- condition: state
entity_id: light.wled_soundreactive
attribute: rgbw_color
state:
- 130
- 90
- 0
- 255
actions:- target:
entity_id: light.wled_soundreactive
data:
rgbw_color: 255, 176, 0, 255
action: light.turn_on
mode: single
Here is the output from the trace:
Ausgeführt: 10. November 2024 um 11:25:37
Ergebnis:
result: false
state:
- 130
- 90
- 0
- 255
wanted_state: 255
So how do I get this working?
Thanks for your help.