I am new to HA, so bear with me.
I am trying to set up my first automation. I have it successfully running (whenever Tautulli detects at least 1 person is watching Plex, turn on the light bulb). Works great. I am trying to have it change the colour, but no matter what I try, I get “Message malformed: extra keys not allowed @ data[‘rgb_color’]”.
Here is my current automation, non-working (works fine if I remove the -rgb_color portion).
alias: Turn on Light when Plex is On
description: ""
trigger:
- type: value
platform: device
device_id: 591ad2a7bd2c148b5725039c85d5135a
entity_id: d7595b757975228693efc88cdd6a7081
domain: sensor
above: 0
below: 99
condition: []
action:
- type: turn_on
device_id: 25c6d89b2370f2f12d4f22e5394f6a1b
entity_id: 8941d13694ff30e66c07424ae330d978
domain: light
brightness_pct: 25
rgb_color:
- 255
- 0
- 0
mode: single
My state attributes for this bulb are as follows if that helps…
min_color_temp_kelvin: 2500
max_color_temp_kelvin: 9000
min_mireds: 111
max_mireds: 400
supported_color_modes:
- brightness
- color_temp
- hs
friendly_name: Plex Colour Bulb
supported_features: 32
color_mode: hs
brightness: 64
hs_color:
- 241
- 85
rgb_color:
- 41
- 38
- 255
xy_color:
- 0.146
- 0.054
Thanks in advance!