Brightness limit for Esphome monochromatic_pwm light

Hi I wanted to ask you, how to set max brightnes limit in the code for monichromatic light in ESPhome. When I turn the lights on after reboot, It goes 100% brightness, but my lights are not able to work at 100% for long.
So I need to set the limit. Does anyone knows how to do that ?

I think this may be the option…

  • max_power ( Optional , float): Only for float outputs. Sets the maximum output value of this output platform. Must be in range from min_power to 1. Defaults to 1.
1 Like

Thank you so much.