# \[APP\]\[Pro\] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator

**URL:** <https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198>\
**Category:** Apps\
**Tags:** app, tools, virtual-device, device-capabilities, avd\
**Created:** [August 30, 2022, 7:24pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198 "2022-08-30T19:24:40Z")\
**Posts on this page:** 20\
**Page:** 31

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 25, 2024, 10:00am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/609 "2024-09-25T10:00:24Z")

</div>

When I chose a field of an AVD with a percentage as “Status Indicator” of the tile, it appears with a 100 times larger value. So it seems there is a conversion going on.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/78e525e6883e659ed0e78657db506615da934b43.jpeg)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/c/5c8a38004bebcd27b7f9fe55d3dd4170a8b70971.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [September 26, 2024, 5:35am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/610 "2024-09-26T05:35:12Z")

</div>

@Rmb  
Show the field configuration?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 26, 2024, 7:47am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/611 "2024-09-26T07:47:35Z")

</div>

![IMG_3566](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e18ad23f66b228e30a85e8a2844183dc1108f8ca.jpeg)  
 ![IMG_3567](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e658ca8f5a883cd38b63f4f17dfe9f43eb0cc127.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [September 26, 2024, 1:15pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/612 "2024-09-26T13:15:03Z")

</div>

@Rmb  
If you remove the percentage symbol in the Unit, what happends than?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 26, 2024, 6:13pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/613 "2024-09-26T18:13:12Z")

</div>

When I remove the percentage sign from the unit field, it shows every where as 5.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [September 26, 2024, 6:43pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/614 "2024-09-26T18:43:53Z")

</div>

@Rmb  
Hahah, than i guess athom has made the calculation based on the percentage symbol.

Either change the Unit or use 0.05 i guess.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 26, 2024, 7:17pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/615 "2024-09-26T19:17:04Z")

</div>

Change the unit. When I enter 0,05% it will show up as 5%. So using the percentage sign the value in the Status Indicator is always 100 bigger. Maybe I can fake something by using the BLL format and just display it 100 bigger. Hoping it will not show up as 100 x 100 bigger.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/70ade86c6dc9a4b7406c1c2ca528be76aa2b98b9.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f2110150db3bb21935276226e9fc4843f116fc6.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6ca3003584a536e70d3024d571bba40226e0c7d5.jpeg)

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 26, 2024, 7:33pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/616 "2024-09-26T19:33:36Z")

</div>

As an alternative/work-around, you may want to consider using a text field based sensor as a status indicator. Whenever your percentage value changes, you then trigger a flow that combines the percentage value and percentage sign in a BLL text variable. That variable can then be used as a basis for the text field based sensor value and hence the status indicator. That way you’ll see both 5% as status indicator as well as on the sensors tab.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 27, 2024, 9:32am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/617 "2024-09-27T09:32:53Z")

</div>

I think it is a Athom bug/definition thing… See picture below. Selected 0.9% is displayed as 90%. See also [Lamellas - run down and then tilt - #27 by robertklep](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/27)  
Athom has fallen into their own trap.  
It has to do that a parameter which defines a percentage is always between 0 and 1.

 ![IMG_3574](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c75eead3cd5f332772242e07190ee73856285f1d.jpeg)

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 27, 2024, 12:29pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/618 "2024-09-27T12:29:54Z")

</div>

That work around is OK. Just had to find the right BLL expression.

(When trying another solution I managed to massign a text field in de AVD the value $value.toString() but did not succeed in adding another text to this string.)

 ![IMG_3575](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b7551ed2bfa2cf74240909af6786e0d7a45fedcb.jpeg)

 ![IMG_3576](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d246e1152fec761cc291aa8fc43b2d4d2f2184e2.jpeg)

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 27, 2024, 7:47pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/619 "2024-09-27T19:47:22Z")

</div>

Just to verify:

- Your AVD is configured with a text field, which you select as status indicator
- This text field is based on a BLL variable (via the reflect option)
- You update/create the value of that text variable via a flow.

Here is an example of one of mine climate AVDs. The status indicator shows the average temperature and average humidity.

![IMG_1521](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9eb3761f4fc7444ae6d1fba6841fa9ca06a2ca73.jpeg)

The status indicator is based on a text field (called ‘Status’), which in turn reflects a BLL variable (‘bllKlimaatStatus’):

 ![IMG_1522](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/50dee9f438bc43958e273986ef41dfc3bda37dc3.jpeg)

As part of a flow I update the BLL variable to any text I want. In this case it combines the average temperature value (which is a variable in itself) with the degrees Celsius sign as well as the rounded average humidity value (again another variable) with the percentage sign.

 ![IMG_5236](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/23c99e48b1ce915be0576232ab19302ddff26094.jpeg)

So you can combine variables, tags and text characters to create any status indicator text.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 27, 2024, 8:27pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/620 "2024-09-27T20:27:19Z")

</div>

I built your solution, but did just not reflect a BLL variable but filled the text field with a BLL expression, consisting of a number transferred to text and added the % sign.

But I also made a solution without the extra flow, just using a BLL expression to transform the reflected number to a string. But that one was not successfull (yet). To be precise:

```auto
 $value.toString() Works, to reflect a number in a text field
 $value.toString().concat(“%”) Did not work, I have check for smart quotes😀

```

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [September 27, 2024, 8:40pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/621 "2024-09-27T20:40:13Z")

</div>

> [@Rmb](#):
>
> `$value.toString.concat(“%”)`

Try

`$value.toString().concat("%")`

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 27, 2024, 8:43pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/622 "2024-09-27T20:43:38Z")

</div>

The problem was caused by smart quotes.  
This works without an flow:

 ![IMG_3579](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/1/315367a294b67f5d9bdbb7743f84a428812685ac.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [September 28, 2024, 7:34am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/623 "2024-09-28T07:34:06Z")

</div>

> [@Rmb](#):
>
> The problem was caused by smart quotes.

Well, perhaps also.  
But you also didnt have parentheses after the toString 😉

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 28, 2024, 7:50am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/624 "2024-09-28T07:50:38Z")

</div>

I learned my lessons, I should have copy/paste the code to prevent typing error on typing error.😁

---

<div class="post-metadata">

**Author:** ![orda1](https://avatars.discourse-cdn.com/v4/letter/o/cab0a1/32.png) [@orda1](https://community.homey.app/u/orda1)\
**Post date:** [October 17, 2024, 7:23am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/625 "2024-10-17T07:23:51Z")

</div>

Can you add a prefixed list with “economy, normal, comfort, custom”?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 17, 2024, 4:48pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/626 "2024-10-17T16:48:51Z")

</div>

> [@orda1](#):
>
> “economy, normal, comfort, custom”

> [@\[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/2):
>
> How to request a custom picker? Goto the topic for it: [Request custom picker for Advanced Virtual Devices from the Device Capabilities App - Homey Community Forum](https://community.homey.app/t/request-custom-picker-for-advanced-virtual-devices-from-the-device-capabilities-app/79440/3)

---

<div class="post-metadata">

**Author:** ![johbiraus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johbiraus/32/78856_2.png) [@johbiraus](https://community.homey.app/u/johbiraus)\
**Post date:** [October 20, 2024, 4:59am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/627 "2024-10-20T04:59:21Z")

</div>

Hi,

Am I the only one that struggles with getting AVD’s to sync with Google Home? Right now I use quite a few “normal” virtual buttons with corresponding flows that shows up. But if I can just use AVD’s instead, I could skip the whole flow part. However, none of the AVD’s I’ve made syncs with Google Home regardless of which class I set them as.

Am I doing something wrong, or is this a common problem? Can it be solved?

---

<div class="post-metadata">

**Author:** ![Marius\_Stensrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_stensrod/32/56540_2.png) [@Marius\_Stensrod](https://community.homey.app/u/Marius_Stensrod)\
**Post date:** [October 20, 2024, 6:23am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/628 "2024-10-20T06:23:16Z")

</div>

> [@johbiraus](#):
>
> Am I doing something wrong,

How do the setting page and flows for the AVD from DeviceCapabilities look like?

[Previous page](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198.md?page=30)

[Next page](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198.md?page=32)
