#Got it.

1 messages · Page 1 of 1 (latest)

soft horizon
#

Go look at the options the light lists under effect_list

frosty mauveBOT
soft horizon
#

That's what's supported for that light entity

vast wadi
#

I only see 'entity' and 'state' for that bulb, and only on and off. Does that mean it doesn't support it?

#

It's got RGB_COLOR in the state_attributes yaml.

soft horizon
#

Are you using a mobile?

#

Attributes are hidden by default on mobile

vast wadi
#

Ah. I don't have the effects_list attribute for that light.

soft horizon
#

Then you have no effects that HA can use

vast wadi
#

If I have a script that uses the API to change colors, how can I add it as an effect that HA can use?

soft horizon
#

You can't, not really, you'd have to call the script... and how you do that depends on whether that's a script for HA, or a shell script, Python script, etc

vast wadi
#

Say it's a python script. Since the device is added via tuya integration I was wondering if I could fork and add this script

frosty mauveBOT
soft horizon
#

You can't add it to the effect for the light entity, but you can (possibly) call the script