Just about to upload short toogle and widget one

Moderator: Martin
Can you explain a little more please? And prehaps shows a demo?Desmanto wrote:You have improved! The font is easier to read and the touch location also helps to know where you have clicked.
Dealing with old devices sometimes makes us headache. So, some need that extra hack, by setting the priority first before connecting.
For flow with multiple triggers, when you have two triggers which need to branch out individually, you have to make sure only one branch is executed per run. You can split them using expression, and check the trigger. You have that error when you first try it out. Probably it is because the second branch failed to execute. And if you don't put expression to ensure only single branch; you might encounter flow halting, when there is an element in the other branch which can halt the flow (input dialog, confirmation dialog, debug dialog, http request, speech output, etc). See : Confirmation dialog: halts other branches in the flow?
Code: Select all
trigger == "Bluetooth State: On"
Code: Select all
trigger == "Bluetooth Device Connected: Your device name"
works like a charm!Desmanto wrote:Put the expression before them.andCode: Select all
trigger == "Bluetooth State: On"
Change the trigger name exactly as you see in the trigger name. You can uncheck the Default name, and copy the text from there. I went as far as creating a flow to copy this whenever I uncheck-check the default name.Code: Select all
trigger == "Bluetooth Device Connected: Your device name"
The example just like in my System Set Flow, from FEP & AES thread
I have multiple triggers, all are related but not necessary must be executed at the same time. The expression make sure only one branch can be executed at one time.
If you have only two triggers, you can actually use single expression only. But I always make it as a habit to put different expression for each branch. Since a flow can also executed manually, called from other flow, from widget click or notification tap.