I'm trying to add a couple of buttons to a
MCP23017 GPIO expander connected to H801 LED controller, to control the different channels of LEDs. I'd like to use longpress actions to change the brightness, but as far as I'm aware, I can only intercept the interrupt events such as "event#MCPINT_D4=1" and use them in rules, and not define them as buttons and use "state=3" for easier programming?
If there's a way to program this behavior with just event and rules, I can't think of it... I do have IF statements and conditionals enabled if that helps :)