# How to add existing flow to a device?

**URL:** <https://community.homey.app/t/how-to-add-existing-flow-to-a-device/75188>\
**Category:** Questions & Help\
**Created:** [January 16, 2023, 9:16pm UTC](https://community.homey.app/t/how-to-add-existing-flow-to-a-device/75188 "2023-01-16T21:16:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 16, 2023, 11:26pm UTC](https://community.homey.app/t/how-to-add-existing-flow-to-a-device/75188/4 "2023-01-16T23:26:31Z")

</div>

When you replace a device with a similar one, you can replace it in your flows with this neat script:

> [@\[HOW-TO\]\[Pro\]\[Cloud\] - Tool to FIX (advanced) flows after removing and re-adding devices](https://community.homey.app/t/how-to-pro-cloud-tool-to-fix-advanced-flows-after-removing-and-re-adding-devices/65018):
>
> rotating_lightwarning Use at own risk! warning rotating_light Hi, So I just go a new house and wanted to make my Zigbee network a bit better by removing an re-adding my devices so I get a stable network. But the issue with this is you have to fix all your flows. (Ofcourse [Flow Checker App for Homey | Homey](https://homey.app/a/com.athom.flowchecker/) can indicate the broken flows) I made a small script which can help with fixing the flows. So what do you need: Device ID you would like to update - You can get this via t…

Hint: When you use zone activity in your flows, instead of the sensor flowcards, you can change, add, remove sensors without having to repair your flows.  
Motion- and contact sensors can activate zones.

> **[Using Zone Activity](https://support.homey.app/hc/en-us/articles/360026209853-Using-Zone-Activity-)**
>
> Zone Activity enables Homey users to view and respond to activity in their homes. For example, when someone enters the Hallway Zone, a motion sensor or door/contact sensor can detect this, making t...

---

_[View the full topic](https://community.homey.app/t/how-to-add-existing-flow-to-a-device/75188)._
