Would love to see this expanded to a more generic translation to be used on switch, contact, or button items.
My use case would be returning a long-press status from keypads to handle dimming - this could be accomplished by a while-loop in rules that changed dim % up or down as long as a button was being pressed.
Great idea!! Hope to one day use it at my house!