# Zone Name as variable?

**URL:** <https://community.homey.app/t/zone-name-as-variable/72779>\
**Category:** Questions & Help\
**Tags:** advancedflow\
**Created:** [November 28, 2022, 11:08am UTC](https://community.homey.app/t/zone-name-as-variable/72779 "2022-11-28T11:08:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Homey\_User\_T](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homey_user_t/32/65605_2.png) [@Homey\_User\_T](https://community.homey.app/u/Homey_User_T)\
**Post date:** [November 28, 2022, 11:08am UTC](https://community.homey.app/t/zone-name-as-variable/72779/1 "2022-11-28T11:08:57Z")

</div>

Does someone know whether it’s possible to set a zone name as a variable in an advanced flow and reuse it later in the same flow.

Easy example: “Zone LivingRoom became active” and “Zone Bedroom became active” both point to “Turn all light in zone $ZoneName” in order to avoid duplication in advanced flows

---

<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:** [November 28, 2022, 1:07pm UTC](https://community.homey.app/t/zone-name-as-variable/72779/2 "2022-11-28T13:07:05Z")

</div>

That’s not possible at the moment, as both the Tag doens’t exist and the flowcard to turn on all lights is just per zone and doesn’t accept an Tag for the Zone.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/df175230d3fffa4401ab8567a07e0ac3d6e029ab.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:** [November 29, 2022, 6:48pm UTC](https://community.homey.app/t/zone-name-as-variable/72779/3 "2022-11-29T18:48:37Z")

</div>

I’d like you to try this app:

> [@Dim all lights in a zone in an advanced flow](https://community.homey.app/t/dim-all-lights-in-a-zone-in-an-advanced-flow/72787/2):
>
> There’s lots of possibilities with the "[Device Capabilities" app](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198):  
> (it can be a bit technical, but the dev is very supportive)
> 
> > ![Screenshot_20221129-192338_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a583cc0a0df51a520009f94a3fbc7c0dc14362ac.jpeg)

> ![Screenshot_20221129-194533_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/84d6f5dc4c430a7d7fa9aa784f2122c881074388.jpeg)

Screenshots are just to show some possibilities
