I am using the Quick Tile trigger to perform some actions. I want to set a boolean variable to true when the tile is pressed and to set it to false when the same tile is pressed again. When the tile is pressed for the first time, it changes color to blue and the boolean variable is set to true. However, when the tile is pressed again, the color is changed to white but the trigger is not activated and hence I am unable to reset the boolean variable. I am using the Toggle On/Button Press option for the quick tile trigger.
Am I doing something wrong? Is there any other way to achieve the same?
Am I doing something wrong? Is there any other way to achieve the same?