# Some cards in Tuya App (v0.2.18 test) did not work after Update to 10.1.4

**URL:** <https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440>\
**Category:** Apps\
**Tags:** zigbee, flow, homey-pro\
**Created:** [December 10, 2023, 4:40pm UTC](https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440 "2023-12-10T16:40:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DirkH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkh/32/78952_2.png) [@DirkH](https://community.homey.app/u/DirkH)\
**Post date:** [December 10, 2023, 4:40pm UTC](https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440/1 "2023-12-10T16:40:14Z")

</div>

After updating to 10.1.4 some flows on my Homey pro 2023 did not work, especially this one:  
[https://homey.app/f/4tszkN/](https://homey.app/f/4tszkN/)  
I do not know, if that happened because of the update or just because of taking my Homey off-line and have it started again in order to achieve the update or any other reason just as co-incidence. And I do not know, how many flows are affected.  
Being somehow helpless, I just replaced the _Then…_ card with the same card and saved the flow again and suddenly it worked again.  
Just to give you a hint for similar effects.  
If someone knows the reason or can tell me how I can check if any other flow is affected, please tell 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:** [December 10, 2023, 7:37pm UTC](https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440/2 "2023-12-10T19:37:01Z")

</div>

Has nothing to do with the app or flows, but with the used delay in your ‘Then’ card;  
If the delay of 60s was started,  
but not finished yet,  
and Homey is restarted during the countdown,  
then Homey “forgets” the delay (it forgets ALL delays) when it is restarted.  
The flow then no longer works, and lamp will not be turned off as a result.

A timer app like Chronograph does not suffer from this bug (Athom says it’s not a bug, while “Homey never has to be restarted”),  
as it counts down to the pre-calculated timestamp, and it continues with that after Homey is restarted.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [December 11, 2023, 7:54am UTC](https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440/3 "2023-12-11T07:54:25Z")

</div>

What didn’t work with the flow? What Peter explains, or something else?

---

<div class="post-metadata">

**Author:** ![DirkH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkh/32/78952_2.png) [@DirkH](https://community.homey.app/u/DirkH)\
**Post date:** [December 11, 2023, 9:20am UTC](https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440/4 "2023-12-11T09:20:41Z")

</div>

Thank you @Peter_Kawa ,  
yes that would be a good explanation.  
But does that mean that none of my flows with delay work properly and I have to change and save them - or better I have to switch every delay to Chronograph?  
I expected some issues, especially not to know the state of some flows. But this seems to be a real bug and not a feature.  
So Athom should fix the bug or stop using delays for new flows and tell everyone that they should amend their flows. What does it mean, “Homey never has to be restarted”. I do local backups and probably one day I will be able to do that without restart. But as the USB-C socket is the same I need to connect to a PC for backup, I have to unplug the Homey Pro and restart it.  
And local blackout is also something the device should be able to handle.

---

<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:** [December 12, 2023, 12:07am UTC](https://community.homey.app/t/some-cards-in-tuya-app-v0-2-18-test-did-not-work-after-update-to-10-1-4/97440/5 "2023-12-12T00:07:38Z")

</div>

I asked about it, at the time _advanced_ flow was introduced. Seems not important to Athom:

 ![Screenshot from 2023-12-12 00-55-02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/3/73a8f328f2f2bae7b435856438a4b07229562a59.png)

So, in my humble opinion, those delays are fine to use when the duration is one to a few seconds; the longer the delay time, the bigger the chance your flows don’t finish after a reboot.

When you back it up offline on a daily basis, I would replace all flow delays longer than 10s with Chronograph timers if I were you (or any other timer app with reboot surviving timers ).

> [@DirkH](#):
>
> And local blackout is also something the device should be able to handle.

Agreed. But Homey has it’s quirks
