# getStoreValue usage in homey.flow.getActionCard issues

**URL:** <https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489>\
**Category:** Developers\
**Created:** [December 26, 2024, 2:37pm UTC](https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489 "2024-12-26T14:37:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lampje](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@Lampje](https://community.homey.app/u/Lampje)\
**Post date:** [December 26, 2024, 2:37pm UTC](https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489/1 "2024-12-26T14:37:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [December 26, 2024, 4:28pm UTC](https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489/2 "2024-12-26T16:28:48Z")

</div>

> [@Lampje](#):
>
> But when i use getStoreValue in a getActionCard i allways get the the info of the last device that has been initialized.

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.

---

<div class="post-metadata">

**Author:** ![Borssie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/borssie/32/120230_2.png) [@Borssie](https://community.homey.app/u/Borssie)\
**Post date:** [January 18, 2026, 9:08pm UTC](https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489/3 "2026-01-18T21:08:47Z")

</div>

Any news on this? 🙏🏼😊

Referring to @Lampje about if you ever have the Watts Vision app made working?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 19, 2026, 5:24am UTC](https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489/4 "2026-01-19T05:24:50Z")

</div>

Any news on what?

---

<div class="post-metadata">

**Author:** ![Borssie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/borssie/32/120230_2.png) [@Borssie](https://community.homey.app/u/Borssie)\
**Post date:** [January 19, 2026, 6:23am UTC](https://community.homey.app/t/getstorevalue-usage-in-homey-flow-getactioncard-issues/125489/5 "2026-01-19T06:23:40Z")

</div>

Corrected my reply 😉
