I use the following rule to switch on an Elro plug with an Intertechno remote and put it on a sleep timer:
“if sw-br-1 is turned on then turn on plug-c for 2 hours”
There is no actual device behind “sw-br-1”, its just want to use an unused button an the remote.
When I want to do it the next time it won’t work because sw-br-1 ist still on and I have to switch it off first, before I can start the sleep timer again.
So can I somehow react on just “remote button X ha been pressed”?
I would also like to implement a function to prolong the sleep timer by repeated button presses. How can I do that?