ArjanKranenburg / virtual-devices

Homey-app to add Virtual Devices that can trigger your flows.
Other
25 stars 17 forks source link

Feature request: pressing virtual button - mode is on, no trigger #147

Open Rrrr4321 opened 3 years ago

Rrrr4321 commented 3 years ago

Great work guys, I am using virtual devices everywhere to shorten my flows.

There is a great benefit having the custom trigger cards (mode is on/off). I made a quick overview.

My request is that I would be able to define what pressing a VD mode button would mean:

  1. Regular on/off (current default): this always triggers flows, even those with trigger cards Mode is on/off
  2. Custom Mode is on/off, no trigger (requested, action cards 9, 11): this would allow me to press a button and trigger the effect later

Thanks for the great work.

Rrrr4321 commented 3 years ago

Additional remark:

I just noticed that you may have changed the way VD works. I cannot anymore find the card for "Turn mode on" and have updated my table and made that area red. If this is correct, I should remove 5,6,7,8. Please confirm. image

ArjanKranenburg commented 3 years ago

Hi @Rrrr4321, Looks like you've done quite some investigation. Thanks for that.

To answer your last question first: yes, the mode_action_on and mode_action_off action cards are deprecated. That means you cannot create new ones, but existing cards in your flows should still work.

The reason to deprecate is that there is no (intended) difference with the action cards provided by Homey based on the class/capability.

As for the table, it is hard to decipher, but I think I got it now. E.g. for line 2: If a flow results in an Action Card to turn the VD on, you want it to fire the (new) custom trigger card 'VD Mode is on', such that other flows will be triggered.

I have no idea if this is possible (you never know with Homey) or when I will have time to work on this, but at least now I understand the request.

Rrrr4321 commented 3 years ago

Great, I look forward to it already. VD devices and buttons are great enablers for powerful flows. image