getStoreValue usage in homey.flow.getActionCard issues

Hello,

Im a trying to make my own app to support Watts Vision API access.
Im new to homey apps, and a beginner in javascript but i got a lot working allready.

Now my question.

I am trying to change the thermostat’s mode in a flow action card.
But when i use getStoreValue in a getActionCard i allways get the the info of the last device that has been initialized.
But when i use a registerCapabilityListener the data i get via getStoreValue is the actual data from the device the registerCapabilityListener is triggerd.

For more information please contact me.

I hope there is anyone that can help me.

Sounds like you’re (unintentionally) using a global variable and/or the incorrect this context. If you put your app on Github I’ll have a look.