Indeed, currently you have to use the action « Retrieve the last state »
Single click = 1
Double click = 2
I admit this part could be improved in Gladys, because as it stands, the action « Condition on variables » isn’t « aware » of what it’s comparing and doesn’t provide a list of values
oh, if I had known that earlier, it would have saved me from sending myself lots of messages to figure out which numeric state of the button to use
Be careful, you’ll need to see if you should retrieve single click/double click or another state.
I recommend testing the two separately at first: if single click then message:single click if double click then message:double click
On my side, I have to test with a press for example:
Why do you need a single click or double click?
It depends on how your VMC (mechanical ventilation system) is triggered — for example, mine is connected directly to a switch. So when I click the button it’s enough to use the « invert outlets » function.
No need to fuss about clicking once or twice