# How to get virtual device to show text from variable?

**URL:** <https://community.homey.app/t/how-to-get-virtual-device-to-show-text-from-variable/120685>\
**Category:** Questions & Help\
**Created:** [November 16, 2024, 4:11pm UTC](https://community.homey.app/t/how-to-get-virtual-device-to-show-text-from-variable/120685 "2024-11-16T16:11:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 16, 2024, 11:31pm UTC](https://community.homey.app/t/how-to-get-virtual-device-to-show-text-from-variable/120685/2 "2024-11-16T23:31:59Z")

</div>

Use an [Advanced virtual device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) instead.  
You can set the device status to anything you like.

When you use a Better Logic string-variable instead of the build-in variable, it shows the value without needing additional flows to set the status:

Example, I created a Better Logic variable called `Wind_angle`  
AVD settings:

> ![1000037668](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/1/11ac81081191a5d0b85e2590308948401996bd32.jpeg)

Next, select Textfield 1, which I called WindAngle, as Status Indicator:

> ![1000037673](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f96f7674d31b930e183e5c0c295e6ad805190efb.jpeg)

> ![1000037670](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/f/1ffbc8e46133cf76d4403158867605d66783a923.jpeg)

So, as soon as the value of the variable changes, it’s new value is shown as status indicator right away.

---

_[View the full topic](https://community.homey.app/t/how-to-get-virtual-device-to-show-text-from-variable/120685)._
