ArjanKranenburg / virtual-devices

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

A virtual device changed state trigger... #18

Closed xAPPO closed 6 years ago

xAPPO commented 7 years ago

Would it be possible to create a trigger when any virtual device changed state ? The trigger would include tags that gave the device name, what changed and to what value (and maybe the old value).

I'm using virtual devices connected to my separate MQTT linked lighting system. I can create one card that updates any /many different virtual devices but the reverse is difficult without creating a flow for every light. If I had one card and was provided with the information of what changed to what it would save me many many flows.

Alternatively if I could drag all my different virtual devices into the 'if' trigger column and there was some identifier as to which one triggered passed to the 'then' column that would suffice too but I don't think that's possible currently.

A virtual sensor device would be nice too - especially as there's already a Homey 'sensor changed' trigger