Is there a simple solution to gradually increase the brightness of a light while holding a button, and stop dimming as soon as I release? I'm harkening back to my game dev days where we'd do this with linear interpolation. I'm hoping someone has a node or flow out there that'll handle all the maths so I don't have to reinvent the wheel. Thanks!
Home Assistant user.