# Alarm setting overrides nightlights

**URL:** https://community.homey.app/t/alarm-setting-overrides-nightlights/131000
**Category:** Flows
**Tags:** advancedflow
**Created:** [February 18, 2025, 8:30pm UTC](https://community.homey.app/t/alarm-setting-overrides-nightlights/131000 "2025-02-18T20:30:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Tomas\_M\_Krogh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_m_krogh/32/122207_2.png) [@Tomas\_M\_Krogh](https://community.homey.app/u/Tomas_M_Krogh)
#### Post date: [February 18, 2025, 8:30pm UTC](https://community.homey.app/t/alarm-setting-overrides-nightlights/131000/1 "2025-02-18T20:30:37Z")

</div>

What have you guys done in your flows with an security/alarm setup?

E.g. I have several bathrooms, hallways and rooms where I have nightlights activated that are dimmed to 5% percent.

BUT… I would like to override these flows if I am away. Then if there is a sensor, camera or anything else that goes off… Then the house should welcome the intruder with a light and sound show they never emagined.

Just cant quite figure out what would be the best solution.

---

<div class="post-metadata">

### Author: ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)
#### Post date: [February 18, 2025, 9:30pm UTC](https://community.homey.app/t/alarm-setting-overrides-nightlights/131000/2 "2025-02-18T21:30:11Z")

</div>

There are 2 possibility’s  
Variable.  
Virtual switch.  
That’s what better feels for the situation so I used both.

---

<div class="post-metadata">

### Author: ![Tomas\_M\_Krogh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_m_krogh/32/122207_2.png) [@Tomas\_M\_Krogh](https://community.homey.app/u/Tomas_M_Krogh)
#### Post date: [February 21, 2025, 11:59am UTC](https://community.homey.app/t/alarm-setting-overrides-nightlights/131000/4 "2025-02-21T11:59:15Z")

</div>

I went with the function where I can dissable flows. So using a logic where presence is away then it will dissable flow and start the alarm flow instead.
