# \[Bug\]\[Homey(cloud)\] "When variable has changed" trigger, also triggers if variable got updated with the same value

**URL:** <https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384>\
**Category:** Questions & Help\
**Tags:** homey, homey-service, logic\
**Created:** [June 3, 2022, 7:12pm UTC](https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384 "2022-06-03T19:12:44Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [June 3, 2022, 7:12pm UTC](https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384/1 "2022-06-03T19:12:44Z")

</div>

(On Homey Pro this is not occurring)

Hi all,

@ Homey (beta / cloud):  
After creating some flows to trigger on weather changes, I think I found a little bug.

This flow saves the weather type to a created text variable, every 15 minutes, regardless if it has changed or not:

.  
This flow gets triggered by a change of the created variable, but,  
it also triggers when the var got updated with the same value.  
The 2nd trigger situation shouldn’t happen, while the value did not change:

.  
Can anyone reproduce this?  
(It also occurs with numeric variables)

~Peter

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [June 3, 2022, 7:50pm UTC](https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384/2 "2022-06-03T19:50:32Z")

</div>

Same here on Homey Beta

---

<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:** [June 3, 2022, 8:14pm UTC](https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384/3 "2022-06-03T20:14:47Z")

</div>

Check, I’ll inform Athom about this issue.

---

<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:** [June 10, 2022, 12:10am UTC](https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384/4 "2022-06-10T00:10:51Z")

</div>

Added to the list 😉

 ![Screenshot from 2022-06-10 02-05-29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e1f26e01708f49cf0d73b1cc33ca94015f54b6dc.png)

---

<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:** [June 18, 2022, 11:14pm UTC](https://community.homey.app/t/bug-homey-cloud-when-variable-has-changed-trigger-also-triggers-if-variable-got-updated-with-the-same-value/64384/5 "2022-06-18T23:14:03Z")

</div>

In English: The code is fixed, but when it gets implemented is unkown.

 ![Screenshot_20220616-123307_Gmail](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ecec205367cbc1fa1249f7e68943f5ee0d2285b7.jpeg)
