Get the color of a light?

I’ve been searching for a way to do this for a while but have come up empty.
TLDR;
How do I get the currently set color of a Hue light in HA?

I have made many scenes that I like using apps such as iConnectHue but when I try to convert those over to HA I can never quite get the colors the same and it takes forever to trial and error my way through it.
There is probably a really easy way to get the color value and I’m just making it difficult.

Right now the only way I can think of to do this is to make a card that would display a single light that I would set using iConnectHue then show me the color value, brightness and color temperature.
But it feels like there should already be a simple way to do this.

Set the light to the colour you want.

Look in dev panel at it’s current brightness, color temp and color properties.

Write them down.

Use them wherever you want.

?

2 Likes

This works great!

1 Like

Yeah, using my example you should be able to grab exact colors the way you want! Let me know if you run into any issues.

I can’t believe I never noticed that…
Thanks

That script looks nice and does what I want. Thanks for taking the time to help me everyone.

1 Like