# \[Feature Request\] Advanced flow trigger cards remembering last tag-values when not triggering

**URL:** <https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961>\
**Category:** Ideas & Suggestions\
**Tags:** tags, featurerequest, advancedflow\
**Created:** [October 6, 2022, 9:43am UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961 "2022-10-06T09:43:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tregota](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tregota/32/62015_2.png) [@tregota](https://community.homey.app/u/tregota)\
**Post date:** [October 6, 2022, 9:43am UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/1 "2022-10-06T09:43:12Z")

</div>

There has to be a better way to handle an advanced flow with multiple trigger-cards. just breaking when checking all tags won’t do. i don’t want to have to store the values myself. When the app stores the values as global variables, that works, but in all other cases it’s annoying.  
Can’t they just remember the values from their latest trigger?  
Has anyone solved this in a satisfying way?

Thanks

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 6, 2022, 3:46pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/2 "2022-10-06T15:46:02Z")

</div>

I can’t follow you…  
Can you create an example flow, and use real life descriptions ?

---

<div class="post-metadata">

**Author:** ![tregota](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tregota/32/62015_2.png) [@tregota](https://community.homey.app/u/tregota)\
**Post date:** [October 6, 2022, 4:49pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/3 "2022-10-06T16:49:05Z")

</div>

Hmm. say you’re monitoring two values. and triggering on changes in those values. the flow is the same. make sure both values are above a threshold. but i can’t check both since only the tags for the current trigger has values. (unless i save them)  
I can’t think of any problem that would occur from having the tag values remain until overwritten.  
But this might also be bothering only me.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 6, 2022, 7:24pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/4 "2022-10-06T19:24:30Z")

</div>

Something like:

> ![Screenshot 2022-10-06 at 21-19-26 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e03cf1d0e25795f0c1816e98ff49bc9b1d2a9add.png)

or

 ![Screenshot 2022-10-06 at 21-42-58 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0c396475b964dba60625d7c773ae74966ce0d913.png)

Flow exchanger file: ([HowTo](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981))

```auto
[TEF:FLOWS:H4sIAAAAAAACA71Wy27jNhT9FYGYRQuEAZ8Sqd2g065adDHZGYbBx6Uj1JZcmZ4mCPJP/YZ+Wa9s5SEnM6Om7awkkdTlPYf3nMs7Ekl9R8B5SJWSVFSyoiqKkhpZAdWCsRSMdzqKYV1LavLz4WYLGfrifbjGB7kgAUf30O67ntxfEKmZ1Jpb6jUrqQrRUR+9o1YL4SvmjVLlQ6zsYvfXn8XVNfTbbp+dy2O4/DCSyT3GzMcfNpe/bw573JM2+fIDfGoC/OB2zjebJjewfwh6mikmU0MQR+rFHWlwReLGIWJPXYyAKTJDXRUZlYlpI4I1tnKYyBDs/U/F1R9d8cn1+yL3zXqNwK8+XuEskDr3Bzjme0eUTV4oLinYlDBkxRGwVdSAislZWWpvhnU3pGYX5JbUBh8dbnDdbeG2jsec61nncHHEsAW3P/Sw2hy2TevaAKtw7do1RHKki4zJ4hcSsyDAdcmsACpEklQJzagvE4Ln3OFpGcYZ4FquPedCCWpd1FSVilOfHKclKKUNSMUrTpZIpgWVAscAUfKImYZIbQJGdahS8MYnYdiI15oT4gngrWsdple3XW5SE1xuunY/Qgs9uAyr51MjKBfGDzfEznAzDH7oio+//vJjvm7a9WVBKS3OSrQuvlssRj7qes5J1fULepfL749VNIvIE3A1AhevIt906yaMiNd5BBi6NjYjxi4PBzeL6OXISOi2O9e7jEqsMbMLsnoX+26Xu9+gfbd6qoo3s3ASkqk8S1ibSppyqFIUt6gcjaUGHOHArD2jQLN/w4GQIiphME8ZsCp5TJgnsmHQXWxAoFicb+CAAfqRdOhPomJUVT5SL7mm3AdAhNKjdz1xkGG7A4yL70cWlMAF2kWKmrX4d1WhVgUy6MuyxFIwCfwZC1JNWHC7Xf1VUzuRcyr8VXiYuV0hdeeiOAo9MBW0KQ0VIaCFKAhoxIAKrpJgTjpdGnjk6mQ7w1uDfYDMtJ/WbeGVRoCcPOX3GPNlCT0GeG1qDdn5zaO37h8+k9vsAXdoD1sPfZfQToZDmIV2akNnh/AfGtEZIUUPAdqMvWNzgLpYLE4/ofZmVE5dn5Aul8dim1Oqk/aixGv9ZVZvnvaXZ2X/5Q4zyxVmymboMLNa0VRf/BvoK0krZXSKhuTQkCzyaKNSNDEEKqwJSrrP6Wsm/aM8XrkcfVlizx3qhcimk/9QZrNAT2XGy/9LZs8I+azE5hTPmcRmNZkpRmW+3Z3mGerpfebNXex0o7m/X97/DRP4VqUGDAAA]

```

> [@tregota](#):
>
> i can’t check both since only the tags for the current trigger has values.

Why shouldn’t it have a value? Or do you/something empty the tags after every change?

> [@tregota](#):
>
> having the tag values remain until overwritten.

This is default behaviour afaik.

Historical view:

 ![Screenshot from 2022-10-06 21-50-14](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7ec5a1362c91d126497d239375d2a021614dcbce.png)

---

<div class="post-metadata">

**Author:** ![tregota](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tregota/32/62015_2.png) [@tregota](https://community.homey.app/u/tregota)\
**Post date:** [October 7, 2022, 3:08pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/5 "2022-10-07T15:08:42Z")

</div>

While those solutions doesn’t take both values into account for both triggers, of course I know how to make workarounds.  
But I have realised that homey reboots and other circumstances would make the feature I have requested unreliable. Flows that doesn’t work until all possible triggers have triggered is kind of a bad idea 🙂  
Still, I’m sure there is some smart idea here somewhere.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 7, 2022, 3:32pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/6 "2022-10-07T15:32:12Z")

</div>

You still can’t clearify (to me) what your issue is …

---

<div class="post-metadata">

**Author:** ![tregota](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tregota/32/62015_2.png) [@tregota](https://community.homey.app/u/tregota)\
**Post date:** [October 7, 2022, 3:48pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/7 "2022-10-07T15:48:58Z")

</div>

Sorry, something like this except for values recieved from mqtt or something like that is what i meant

 ![example](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6827282671b986cbfa30f7b4e96d89eab256eafa.png)  
where one or both has to be greater than a threshold.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 7, 2022, 4:21pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/8 "2022-10-07T16:21:16Z")

</div>

Ah!  
Do you mean this is the issue:

Case: Homey is offline, or the connection between the power socket is down.  
 → The power changes  
 → Homey or connection returns online  
—\>The flow does not get triggered while the power value is changed in the “blindtime”?

---

<div class="post-metadata">

**Author:** ![tregota](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tregota/32/62015_2.png) [@tregota](https://community.homey.app/u/tregota)\
**Post date:** [October 7, 2022, 6:12pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/9 "2022-10-07T18:12:25Z")

</div>

Initially i wanted to be able to check tag values from both trigger cards. but since only one triggered it crashes.

 ![problem](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/69acdfe4c488f724df0c846771b6879a5ea341dc.png)  
I felt that it could have remembered the last known value for the other cards tags. but now I don’t think it’s such a good idea to base flows on that requirement.  
Sorry for being such a terrible explainer.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 7, 2022, 8:43pm UTC](https://community.homey.app/t/feature-request-advanced-flow-trigger-cards-remembering-last-tag-values-when-not-triggering/69961/10 "2022-10-07T20:43:47Z")

</div>

Ah, the test run got you…  
The Test functionality is a bit tricky…  
The [power] tag of the erroring card, is probably the local tag from the Jobbdator socket?  
That seems to be ignored in your test run.

You’d better look up the tag belonging to that socket instead of the local tag (which are found at “This flow”).  
Then it should work when you test the flow.

This is a screenvid (‘Power’ is ‘Current usage’ at my end)  
 ![Peek 2022-10-07 22-41](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6d333c7efca445b5d3f1d84a551385fb202627f.gif)

.  
Example of weird Test run behaviour:  
When I test a flow which starts a timer, the flow part where the trigger is “Timer is finished” does not run in a test run, while it works fine in normal use
