# Prevent Toggle

**URL:** <https://community.homey.app/t/prevent-toggle/107972>\
**Category:** Flows\
**Created:** [April 10, 2024, 9:57am UTC](https://community.homey.app/t/prevent-toggle/107972 "2024-04-10T09:57:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mazar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mazar/32/29838_2.png) [@Mazar](https://community.homey.app/u/Mazar)\
**Post date:** [April 10, 2024, 9:57am UTC](https://community.homey.app/t/prevent-toggle/107972/1 "2024-04-10T09:57:00Z")

</div>

Hi,

I have a group set up for the six lights in my living room, all of which are connected to my Hue bridge. Currently, when I press the toggle button for the group, the lights turn on or off collectively. However, I would like to prevent this direct action and instead, use a flow within the Hue app to control the living room lights. Is it possible to configure it this way?

---

<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:** [April 10, 2024, 10:11am UTC](https://community.homey.app/t/prevent-toggle/107972/2 "2024-04-10T10:11:54Z")

</div>

Of course, just do it 😇

make the flow as you want and add a new _Then…_ card as Home-\>living room-\> swich on (or off) all lights(or devices, if you have difficulties to identfy all switches as _lights_)

 ![switch all living room lights](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/0/c030de4250fe1890b6055862addf7963d6941774.jpeg)  
(Sorry my homey is configured as German and it needs a reboot to change the language).  
Hope that helps 😀

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [April 10, 2024, 10:15am UTC](https://community.homey.app/t/prevent-toggle/107972/3 "2024-04-10T10:15:08Z")

</div>

Not with Group as you have it now, I assume the group is on if any device is on?

If you want to control the living room lights with both the original Philips Hue app and Homey, you will need to take the lights out of the group or change the settings of the group.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fb8454967078b4d6eb6c70f6eadb0b416ca20104.png)

---

<div class="post-metadata">

**Author:** ![Mazar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mazar/32/29838_2.png) [@Mazar](https://community.homey.app/u/Mazar)\
**Post date:** [April 10, 2024, 10:30am UTC](https://community.homey.app/t/prevent-toggle/107972/4 "2024-04-10T10:30:41Z")

</div>

> [@DirkH](#):
>
> make the flow as you want and add a new _Then…_ card as Home-\>living room-\> swich on (or off) all lights(or devices, if you have difficulties to identfy all switches as _lights_)

Yes, switching on or off the lights is not the problem, but I want to prevent the toggle button from the group, because pressing the toggle is already switching on or off, but this is not as smooth as the hue app is doing this.

Maybe I will try a flow like this later

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/0924e742592497b1859bfd990a5594aa9c230523.png)

---

<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:** [April 10, 2024, 11:48am UTC](https://community.homey.app/t/prevent-toggle/107972/5 "2024-04-10T11:48:55Z")

</div>

I’m a little bit confused, because I don’t understand your intention.  
Are you using the Group app to reduce the number of flow cards in flows, but don’t want to use the on/off function of the Group device tile? Or what?

---

<div class="post-metadata">

**Author:** ![Mazar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mazar/32/29838_2.png) [@Mazar](https://community.homey.app/u/Mazar)\
**Post date:** [April 10, 2024, 12:20pm UTC](https://community.homey.app/t/prevent-toggle/107972/6 "2024-04-10T12:20:46Z")

</div>

I have 6 bulbs in my living room and I am using the group app for dimming and color, also for switching off and on the lights. If I simply use the toggle button from the group device the lights turning on directly.  
If I use a flow with the hue app card for switching on a room, its with a smooth animation and its synchronized.

In the past I had a group only for the color temp and dimm level and a virtual button which triggered a flow to turn on or off the lights over the hue app.

Now I want this all in one device, so the toggle button from the group device should be like a virtual button with no function. But the default case is that pressing the button will toggle on or off the lights.

Sorry I dont know how I should describe this better 😃

---

<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:** [April 10, 2024, 1:23pm UTC](https://community.homey.app/t/prevent-toggle/107972/7 "2024-04-10T13:23:56Z")

</div>

> [@Mazar](#):
>
> Maybe I will try a flow like this later
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/0924e742592497b1859bfd990a5594aa9c230523.png)

Hi Mazar,  
I did not test, but I guess this will not work as intended as the _ **Wohnzimmer Hauptlicht** _ should be already switched off at that moment.  
If it works it is fine. If not you can add a subgroup in your living room _ **Wohnzimmer Nebenlichter** _ which contains all lights but the _ **Wohnzimmer Hauptlicht** _.  
When you switch off the _ **Nebenlichter** _ your _ **Hauptlicht** _ will not be affected, and if you want to get it switched off smoothly, you can use a flow very similar to your proposal.  
I am not really sure, if that is your intention, but I hope that helps.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [April 10, 2024, 6:06pm UTC](https://community.homey.app/t/prevent-toggle/107972/8 "2024-04-10T18:06:56Z")

</div>

> [@Rrrr](#):
>
> both the original Philips Hue app and Homey

I guess I misunderstood you.

Please specify if you want to simultaneously use:

- the original **Philips** app on your phone or the
- Philips hue app created by Athom (current version V5.9.3) that has flow cards in Homey

… with the group app on Homey.

---

<div class="post-metadata">

**Author:** ![Mazar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mazar/32/29838_2.png) [@Mazar](https://community.homey.app/u/Mazar)\
**Post date:** [April 11, 2024, 9:39am UTC](https://community.homey.app/t/prevent-toggle/107972/9 "2024-04-11T09:39:57Z")

</div>

Ah yes sorry for the confusion it’s about the hue app from athom

I want to prevent the toggle action from the group device button and trigger a flow instead which siwtchs on the lights with a hue flow card

---

<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:** [April 11, 2024, 1:30pm UTC](https://community.homey.app/t/prevent-toggle/107972/10 "2024-04-11T13:30:29Z")

</div>

I guess it’s not possible with a \< group \> device and/or via flow. As this is a basic function of the \< group \> device, you might better ask in the \< group \> topic: [[APP][Pro] \< group \> (3.2.4 - Stable)](https://community.homey.app/t/app-pro-group-3-2-4-stable/3168)

Another option could be to create an _Advanced Virtual Device_ (AVD) with the Device Capabilities app. For more information please take a look at the appropriate topics:  
[[APP][Pro] Device Capabilities - Enhance the capabilities of devices](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287)  
[[APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198)
