Universal Remote

Hi everyone,
Since this is my first try at coding, please don’t be too hard with me.
I wanted to have a Universal Remote control to suit my needs, to be able to control all my AV devices, Set top box, TV, Home Cinema, an so on.
When i saw the work from Lucky Mallari and his alarm Keypad, this gave me some ideas, and it all started from there. Please try it, give me comments on how i could improve it.
Thanks to all.

Universal Remote.widget.json (9.7 KB)

All this work is based on Lucky Mallari Alarm Keypad.