OH3 Color/White Bulb Widget

I created a TripleToggle Python script which automatically creates and manages timers when needed. The timers are kept in an array, the key is the item name. This rule could serve as inspiration (see e.g. where the timers array is initialised, how it is automatically created and how the timers are reset when needed):