Is possible to give a rule like this to a contact sensor:
If k001 is closed for <2 second and l001 is off then turn l001 on
The k001 is declared as HomeduinoContactSensor, and l001 sas HomeduinoSwitch.
I need this rule for momentary push buttons to turn on, or off a light (change the state of a homeduino switch) on every action.
Thank you