Lost dimming in esphome/HA

Please read this and follow it How to help us help you - or How to ask a good question