# Extra decimals for sensor in virtual device

**URL:** <https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499>\
**Category:** Questions & Help\
**Tags:** homey-pro, advancedflow\
**Created:** [May 7, 2024, 7:11pm UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499 "2024-05-07T19:11:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Technoking](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Technoking](https://community.homey.app/u/Technoking)\
**Post date:** [May 7, 2024, 7:11pm UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/1 "2024-05-07T19:11:21Z")

</div>

Hi,

I’m using an advanced flow to collect the waterpressure variable via an API to my heathpump. I then push that to the virtual device via the category ‘sensor’. It works but my only problem is that it gives the presure in integers, whereas the API/flow gives a double with two decimals. Is there a way I can alter my virtual device to a double with integers as well?

---

<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:** [May 7, 2024, 10:37pm UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/2 "2024-05-07T22:37:09Z")

</div>

Consider using the newer [advanced virtual device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198). It’s a virtual device on steroids so to speak  
It is very flexible !

> ![Screenshot_20240508-003258_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6bb68a31f684f294a637306b5d0ae45d5701f8f.jpeg)

You even don’t need flows to reflect a value from a device

---

<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:** [May 8, 2024, 9:06am UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/3 "2024-05-08T09:06:21Z")

</div>

> First of all, welcome to the Homey Community!
> 
> To make sure you are aware of the forum rules, please read the _ **Welcome to the forum!** _ post [here](https://community.homey.app/t/welcome-to-the-forum/31).

> Please ask in the appropriate topic, as linked in the App store or use the search to centralize questions about a specific App of device/brand.
> 
> e.g. [[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)  
> e.g. [[APP][Pro] Virtual Devices - Virtual Devices to simulate 1 or more real devices](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723)

Can you please tell which app you use for the virtual device so that I’m able to move your question into the right topic?

---

<div class="post-metadata">

**Author:** ![Technoking](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Technoking](https://community.homey.app/u/Technoking)\
**Post date:** [May 8, 2024, 11:35am UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/4 "2024-05-08T11:35:23Z")

</div>

thanks I will investigate this!

---

<div class="post-metadata">

**Author:** ![Technoking](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Technoking](https://community.homey.app/u/Technoking)\
**Post date:** [May 8, 2024, 11:49am UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/5 "2024-05-08T11:49:12Z")

</div>

well, going to try out the device capabilities app now to get it done

---

<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:** [May 9, 2024, 10:13am UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/6 "2024-05-09T10:13:49Z")

</div>

Ok. If you have questions about the Device Capabilities resp. the Advanced Virtual Devices, please use the appropriate topic.  
Therefore this topic is closed.

---

<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:** [May 9, 2024, 10:13am UTC](https://community.homey.app/t/extra-decimals-for-sensor-in-virtual-device/109499/7 "2024-05-09T10:13:54Z")

</div>

Closed on May 9, 2024, 10:13am UTC


