# How to know the tag value?

**URL:** <https://community.homey.app/t/how-to-know-the-tag-value/35103>\
**Category:** Flows\
**Created:** [September 26, 2020, 7:37pm UTC](https://community.homey.app/t/how-to-know-the-tag-value/35103 "2020-09-26T19:37:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Berre13](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berre13/32/17214_2.png) [@Berre13](https://community.homey.app/u/Berre13)\
**Post date:** [September 26, 2020, 7:37pm UTC](https://community.homey.app/t/how-to-know-the-tag-value/35103/1 "2020-09-26T19:37:00Z")

</div>

Hello,

I have a Robb 2 switch buttons (with a 1 and a 0) . In a flow, when i use the tag button with value 1 or 0 it doesn’t work.  
My question how do you know the value of the tag when you push on a switch ?

THanks  
Bernard

---

<div class="post-metadata">

**Author:** ![Berre13](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berre13/32/17214_2.png) [@Berre13](https://community.homey.app/u/Berre13)\
**Post date:** [September 26, 2020, 7:38pm UTC](https://community.homey.app/t/how-to-know-the-tag-value/35103/2 "2020-09-26T19:38:36Z")

</div>

to be clear in the Logic part of the flow, when i select “Button is exaclty” = ??? how to know if it is 0, 1, Yes , No … or what else

---

<div class="post-metadata">

**Author:** ![Robert\_Zwetsloot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_zwetsloot/32/12399_2.png) [@Robert\_Zwetsloot](https://community.homey.app/u/Robert_Zwetsloot)\
**Post date:** [September 26, 2020, 10:19pm UTC](https://community.homey.app/t/how-to-know-the-tag-value/35103/3 "2020-09-26T22:19:13Z")

</div>

Make a flow which sends the tag value (button) to the timeline via Simplelog or another app, or let Homet speak out the value.  
If button 1 is pressed then…  
Then you can read the value of the button you have pressed.

---

<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:** [September 27, 2020, 5:00am UTC](https://community.homey.app/t/how-to-know-the-tag-value/35103/4 "2020-09-27T05:00:58Z")

</div>

I’m not sure what you want to know exactly or how you want to set up your flow, but all current device values of your devices (off/on, dimming level, volume, temperature, etc.) can also be found in [Developer](https://developer.athom.com/tools/devices).

---

<div class="post-metadata">

**Author:** ![Berre13](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berre13/32/17214_2.png) [@Berre13](https://community.homey.app/u/Berre13)\
**Post date:** [September 27, 2020, 9:40am UTC](https://community.homey.app/t/how-to-know-the-tag-value/35103/5 "2020-09-27T09:40:53Z")

</div>

Thanks Robert !  
it works … the problem is that whatelse I push (0 or 1 button) the return code is “Group1” … so there is no distinction between the two buttons on that switch, it’s a pity
