Hello everyone!
This is my very first HA project. I really had a hard time trying to precisely control the non-linear brightness bar on my IKEA KAJPLATS smart bulbs (it’s extremely steep between 90%-100%).
Therefore, I vibe-coded this custom integration to remap the brightness bar evenly using the CIE L* perceptual standard. It creates a proxy light entity with a LUT, and it can be used on any light bulb if you feel its dimming curve is poorly calibrated.
You don’t need fancy hardware—just the ambient light sensor on your cell phone (or a professional lux meter if you have one). The guided UI wizard will help you finish the calibration process in about 3 minutes.
It’s currently a prototype, so any PRs or feedback are greatly appreciated!