With the above changes, I see all the LEDs light up red for a fraction of a second before going white. This is the opposite of what I expect to happen!
When I open up the web console, I can confirm that the color is set to white: “Keeping current color mode White for call without color mode”, and this is not a color channel misconfiguration.
What does the documentation say about using RGB % values in regards to brightness? Ya know, the Docs are a super helpful place to find answers and learn this stuff.
You also need to read the part that explains what light.addressable_set: is for and what the difference is between light.addressable and light.turn_on/turn_off.
These are used for 2 specific purposes and they do 2 different things.
Please read the first code snippet closely, particularly around on_boot. With only the light.addressable_set and no light.turn_on, things behave even more poorly.
I’m aware of the excellent documentation and have read it closely but unfortunately I don’t see how it resolves my issue.
This is the part I was trying to get you to find but, you missed this big information box somehow. 50% Red only sets the % Red, not the brightness. You have to configure the brightness in addition to the color.
800 segfaults due to the light not being initialized yet, which makes sense to me given the docs. priority: 0 doesn’t seem to help either. I don’t have anything else in my config affecting this light, so I don’t think this is it.
when range_to and range_from are left blank, they default to all LEDs in the strip
Oh, I did miss that! That’s going to be helpful in a moment, but in this case it shouldn’t matter. I should just be seeing red at full brightness.
what seems to have solved the problem is the following, particularly the transition_length: 0s, and the very small initial color value. It seems like the transition from the first command was overriding the second
The reason I do it this unusually way is because this is not my real problem, but a simplification of what I’m trying to do. Here’s where I’ve finally ended up:
This turns the color LEDs “on”, but then stops anything from being shown on them: