# Virtual device shows null value

**URL:** <https://community.homey.app/t/virtual-device-shows-null-value/16068>\
**Category:** Questions & Help\
**Created:** [July 26, 2019, 6:28pm UTC](https://community.homey.app/t/virtual-device-shows-null-value/16068 "2019-07-26T18:28:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FcAalst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fcaalst/32/13463_2.png) [@FcAalst](https://community.homey.app/u/FcAalst)\
**Post date:** [July 26, 2019, 6:28pm UTC](https://community.homey.app/t/virtual-device-shows-null-value/16068/1 "2019-07-26T18:28:44Z")

</div>

Hi,

after I originally backed the kickstarter project for homey and sold my homey because of the frustrations which came with it (in the early beginning), I decided to give Homey another go and bought a new one.

So at the moment I’m working on creating my Homey Dash and installed a plugwise smile today.  
I want to be able to show multiple values on my dashboard (actually all the values plugwise provides).

The values are available in my flow, but when I want to assign this value to a virtual device it shows NULL.

The actual values are showing up in simple log but I can’t assign them properly to my virtual device.  
What can I do to get this working? Am I doing something wrong or ain’t it the way to go?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![FcAalst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fcaalst/32/13463_2.png) [@FcAalst](https://community.homey.app/u/FcAalst)\
**Post date:** [July 26, 2019, 6:42pm UTC](https://community.homey.app/t/virtual-device-shows-null-value/16068/3 "2019-07-26T18:42:28Z")

</div>

Trying with some testdata at the moment.

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

---

<div class="post-metadata">

**Author:** ![ArnoP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnop/32/13709_2.png) [@ArnoP](https://community.homey.app/u/ArnoP)\
**Post date:** [July 26, 2019, 7:01pm UTC](https://community.homey.app/t/virtual-device-shows-null-value/16068/4 "2019-07-26T19:01:03Z")

</div>

You should use measure\_temperature instead of “Temperatuur” in the last card (TestVD - Thuis). That is the way that Homey works. See [this](https://arjankranenburg.github.io/virtual-devices/sensor) page for more information.

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [July 26, 2019, 7:02pm UTC](https://community.homey.app/t/virtual-device-shows-null-value/16068/5 "2019-07-26T19:02:14Z")

</div>

You need to use the capability ID (which you can find [here](https://developer.athom.com/docs/apps-reference))

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/62ad5a4e43b785e3cc84124a785a78c1e1d42ed5.jpeg)

What’s very important is with which capability the device was created, I assume you choose a thermostate type, but which capabilities did you choose after that?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/5cf749f20aa96ed4a50b1e8eb065ad75d01ddfc7.png)

It will only work if you selected the appropriate capability and set that one in a flow.

---

<div class="post-metadata">

**Author:** ![FcAalst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fcaalst/32/13463_2.png) [@FcAalst](https://community.homey.app/u/FcAalst)\
**Post date:** [July 29, 2019, 7:41am UTC](https://community.homey.app/t/virtual-device-shows-null-value/16068/6 "2019-07-29T07:41:19Z")

</div>

Thanks, it indeed works like you stated!
