# Set variable to alerting device

**URL:** <https://community.homey.app/t/set-variable-to-alerting-device/129895>\
**Category:** Flows\
**Created:** [February 6, 2025, 11:29am UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895 "2025-02-06T11:29:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HansMax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hansmax/32/88406_2.png) [@HansMax](https://community.homey.app/u/HansMax)\
**Post date:** [February 6, 2025, 11:29am UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895/1 "2025-02-06T11:29:06Z")

</div>

Hey. I have about 50 different Smoke Sensors. I want to send a push notification if one of those sensors sends an alert. In the push notification the name of the sensor should be displayed.  
I can ofc create about 50 flows, but is there an easier way to catch the name of the sensor that sends the alarm?

---

<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:** [February 6, 2025, 11:47am UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895/2 "2025-02-06T11:47:59Z")

</div>

Done

 ![Screenshot_20250206_074710_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/3/839ec4bd1a9c74a265667145761c906b2505c77a.jpeg)

---

<div class="post-metadata">

**Author:** ![HansMax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hansmax/32/88406_2.png) [@HansMax](https://community.homey.app/u/HansMax)\
**Post date:** [February 6, 2025, 12:54pm UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895/3 "2025-02-06T12:54:57Z")

</div>

ok, now add a second device in the “When…” statement. If Device 1 sends the alarm, the message should be “Device 1 Alarm”, if Device 2 sends alarm “Device 2 Alarm”.

Edit… there is “Any device” when… i need to check if thats working, i didnt saw that.

Edit2: Its working - thanks a lot!

---

<div class="post-metadata">

**Author:** ![ricercar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricercar/32/101928_2.png) [@ricercar](https://community.homey.app/u/ricercar)\
**Post date:** [February 6, 2025, 5:30pm UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895/4 "2025-02-06T17:30:32Z")

</div>

I must be in need of changing my glasses but I haven’t been able to find this “When” card in my Homey 2023 device  
Could you please enlighten me ?

---

<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:** [February 6, 2025, 5:33pm UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895/5 "2025-02-06T17:33:29Z")

</div>

When…  
Open your root or any other zone  
Scroll down…

 ![Screenshot_20250206_133233_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d741d57c50cc8d7f35408512dbc8fb1dccf012ff.jpeg)

---

<div class="post-metadata">

**Author:** ![ricercar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricercar/32/101928_2.png) [@ricercar](https://community.homey.app/u/ricercar)\
**Post date:** [February 6, 2025, 6:28pm UTC](https://community.homey.app/t/set-variable-to-alerting-device/129895/6 "2025-02-06T18:28:55Z")

</div>

“Thou will scroll till the end every time” 😳
