Custom formulas that return red, green, blue or white values between 0 and 255 need to return a fraction between 0 and 1 instead. ESPHome removes the long-deprecated scale from light.addressable_set, so an old result such as 128 is limited to full brightness rather than interpreted as approximately half.

Dividing the existing value by 255.0 preserves its meaning. The change affects formulas written as lambdas, not fixed YAML values, which already use fractions or percentages.