# Homey freezes on double presence status

**URL:** <https://community.homey.app/t/homey-freezes-on-double-presence-status/3734>\
**Category:** Questions & Help\
**Created:** [November 6, 2018, 8:07am UTC](https://community.homey.app/t/homey-freezes-on-double-presence-status/3734 "2018-11-06T08:07:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/louis/32/4986_2.png) [@Louis](https://community.homey.app/u/Louis)\
**Post date:** [November 6, 2018, 8:07am UTC](https://community.homey.app/t/homey-freezes-on-double-presence-status/3734/1 "2018-11-06T08:07:35Z")

</div>

Ive made two flows, one for sleepmode and one for awake. Sleepmode turns off the lights etc.  
Both modes also set a user status like sleeping or awake.  
By using a KAKU switch you can switch between these modes.  
But when Ive pressed the awakeswitch and the flow is started and by accident I would press it again, then all devices stop working and Homey is completely frozen.  
At that point I can only reset Homey to get things working again.

I have multiple questions:  
Should I make a flow that checks if someone is already sleeping and when the sleepmode is activated it should return a beep and do nothing instead? I couldn’t get this to work because of the limited options while combining these two in the flow editor.

Homey 2.0 has built in modes from what Ive seen in the latest blog. Maybee from there on this isnt’t even an issue anymore since double modes can’t occur anymore?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 6, 2018, 8:36am UTC](https://community.homey.app/t/homey-freezes-on-double-presence-status/3734/2 "2018-11-06T08:36:59Z")

</div>

Have you tried to do it with one flow?  
Use the switch as the trigger, put the awake status in the And column then put awake actions in the Then plus the sleep in the Else. The last thing of the Then and Else sections toggle the Sleep status.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Somhorst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_somhorst/32/184_2.png) [@Jeroen\_Somhorst](https://community.homey.app/u/Jeroen_Somhorst)\
**Post date:** [November 6, 2018, 8:44am UTC](https://community.homey.app/t/homey-freezes-on-double-presence-status/3734/3 "2018-11-06T08:44:28Z")

</div>

could you provide us with screenshots of your flows?

---

<div class="post-metadata">

**Author:** ![Louis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/louis/32/4986_2.png) [@Louis](https://community.homey.app/u/Louis)\
**Post date:** [November 6, 2018, 8:49am UTC](https://community.homey.app/t/homey-freezes-on-double-presence-status/3734/4 "2018-11-06T08:49:23Z")

</div>

Hi Adrian, thx. Ill give that a try.  
I never really used (or noticed) the “else” option.  
Now I get it why things get quickly more complicated without using it. For every other situation Ive created a new flow.  
At he moment Im using 8 flows to get this sort of working. I might need to simplify things 😁
