# Toggle lights of a house

**URL:** <https://community.homey.app/t/toggle-lights-of-a-house/71856>\
**Category:** Flows\
**Created:** [November 7, 2022, 5:15pm UTC](https://community.homey.app/t/toggle-lights-of-a-house/71856 "2022-11-07T17:15:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [November 7, 2022, 5:15pm UTC](https://community.homey.app/t/toggle-lights-of-a-house/71856/1 "2022-11-07T17:15:05Z")

</div>

Hello, I would like to toggle all the lights with a flow but in the zone/house there is only on or off device (lights).  
Is it possible?

---

<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 7, 2022, 5:48pm UTC](https://community.homey.app/t/toggle-lights-of-a-house/71856/2 "2022-11-07T17:48:55Z")

</div>

> [@Skal](#):
>
> I would like to toggle all the lights with a flow but in the zone/house there is only on or off device (lights).

Look here: [Homey Pro - the world’s most advanced smart home hub.](https://homey.app/en-us/homey-pro/)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c4c442742086c59eb1ae8954b961ae87d8f2076.png)  
With Live Test…  
Copy - Past the Code from the HomeyScript in their Example in your own HomeyScript.

---

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [November 7, 2022, 8:04pm UTC](https://community.homey.app/t/toggle-lights-of-a-house/71856/4 "2022-11-07T20:04:24Z")

</div>

Thank you 🙂
