LED brightness issue

I’m running into an odd issue trying to control the brightness of an RGB LED. The code seems to be working, and both the log and the device state show the correct brightness. However, when I go into the control for the LED, the actual brightness that is being set is much lower.

For example, currently I should have a green led at 50% brightness. This is what I see in the log:

[07:55:34][D][light:035]: 'Office New ESP RGB LED' Setting:
[07:55:34][D][light:050]:   Brightness: 50%
[07:55:34][D][light:054]:   Color brightness: 50%
[07:55:34][D][light:057]:   Red: 0%, Green: 100%, Blue: 0%
[07:55:34][D][light:084]:   Transition length: 0.1s

The state data is also correct:

Entity State Attributes
light.office_esp_rgb_led
Office ESP RGB LED
on effect_list: None, Tricolor Strobe, Tricolor Fade, Pulse, Pulse Fast
supported_color_modes: rgb
color_mode: rgb
brightness: 128
hs_color: 120, 100
rgb_color: 0, 128, 0
xy_color: 0.172, 0.747
effect: None
friendly_name: Office ESP RGB LED
supported_features: 44

However, this screen shot shows that the actual brightness is only at 25 - and that matches what I am seeing on the LED itself.

Does anyone have any ideas what might be going on? This is an issue a night, as the auto-dimming I have has a floor of 10% (since the LED can’t dim much more than that), but the actual brightness is around 7% when I do that which turns the LED off.

Just in case anyone else runs into this – I found the issue. If you set both brightness and color_brightness to the same value, the end result is half as bright as you would expect. Setting color_brightness to 100% fixed the issue.