Need help updating an old custom component

Good day,

I found code for an old, outdated custom component for a device that is the backbone of my entire automation project. I’ve attached a link to the git below. Could someone help me update it so it can be usable?

Thanks in advance.
-MO

Bumpy-BumpUp