AC dimming over time works a little

Had to use float brightnessChangePerDimmingCycle. Dimming over large
time periods doesn’t work yet