ArjanKranenburg / virtual-devices

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

V2 and VD085: no event for light temperature #88

Closed thomahawk72 closed 5 years ago

thomahawk72 commented 5 years ago

Creating a flow. Add card to When.. Expect to find trigger for changed temperature, hue, color when VD device class light has been added with these features. I only find dim value, on/off and changed..

ArjanKranenburg commented 5 years ago

Thanks for reporting! However, except for the changed-card, cards are added by Homey based on their capabilities. I intentionally don't want to deviate from that, since then all VD will have that card, even if they don't have those capabilities. Your best shot would be to request this feature at Athom.

thomahawk72 commented 5 years ago

Thanks for your quick reply. If I understand you correctly, the capability of "changed temperature" is already a part of the card, but Homey has not, yet, exposed this capability in the card?

thomahawk72 commented 5 years ago

To be precise, what I talk about are the events in the IF-card for a specific VD device. What I am missing is the ability to catch changes in color temperature, which is missing here: 20190125_130356

ArjanKranenburg commented 5 years ago

The capability name is 'light_mode' and according to this reference there is indeed no flow-card: https://developer.athom.com/docs/apps-reference If you see a good use for it, then request it here: https://github.com/athombv/homey-apps-sdk-issues/issues

What you also can do is use the card 'Pressed / changed' and then in the And-part use a logic card to check if the 'light mode' card has a specific value.

thomahawk72 commented 5 years ago

Ok, understand :)