# Share Your Device! - Advanced Virtual Devices from Device Capabilities

**URL:** <https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676>\
**Category:** Apps\
**Tags:** app, tools, virtual-device, device-capabilities, avd\
**Created:** [September 10, 2022, 8:43am UTC](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676 "2022-09-10T08:43:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 14, 2022, 4:53pm UTC](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/6 "2022-09-14T16:53:09Z")

</div>

# Pushable Device Tile and Separate Device Status (Light/Dark)

This AVD has a Device Tile that you can click, but it flashes back to the state it was in.  
The Device Tile Status (light/dark) can be set through flowcards, independent of the pusing of the Device Tile.

In the Flow, you will See a Set Button to Yes and a Set button to no.  
Use them to make the device tile go light or dark.  
There is also a trigger that will send a notification when the Device Tile button is pushed.

TEF:

```auto
[tef:AVD,FLOWS:"H4sIAAAAAAACA9VUW3OiTBD9KxavCSvDdfCNaPASNURNovlqKzUwjY5BQBi8pfLfd0A3Jrt5SNU+fTyAds90nz59ul8lChsWQDdIYqkhdfS86xyfpqM9jg+PVnPgHDpTPL05xNeTndaZsGl/RmbhzuHbO+rcpqEznxlhJ+btJGul3nK30fx8ejEssrkdFlc70l972BqorcVuq6ymc3jcedzOcqse9gG5ynRG6dbzULpvxdObdnzo9HYqPWj5zWbIFgzPhuv7ca9F5w/hpLf3Wv22/6SO98Vyq3chuE0Ue2It3bXrZN7jCj3wvht6F/ZdPcIaUVwT2bOEQR7MRnTdTSdON3ppq+1er2Os57Bteu51jLptNvXcTL1v93azp+HNOu2m9xDWld59xrIxGc+iaHA7CvvD6wlJcbpeOz2zu94cnOTJWcVOEY7cxZqNl757rZNl2o5HzF2kzbu44w9jvDAXxs28Z80O+UgdWbNR/qTeWQMq/m2MjnffaTmOsrQH84EXelk8jpWDt2/6ty1L6RMEdxyWs6cp1BFf2YmyvHhStAIN8ofDy0adGlcX03qB3NSZO450KQVFzpNV2c9cary+XUpJxuYsJlGXigaHIdFAMakMKtZlPQAq24ZN5RBjSwVbQSEhIkgOnLN4XkaQIIZsvn/ekKiA5zIsJzGXGnERRZdSXKx8yG7DCey4yyCi4opyNg+r7xeOqySJgMRfeQrOk3cHOjuaZAUZ+XAjiMRXSvgCMgHZr+6hoTglrMcoZ3MzA8LBjZJtk2Tl/ZBEOZzdCwhegP5pHkNKMnGvSVLis4hxIaS/ziySrVMCSYt8cbQ9s5iygPDkA64Wy4kffUjBVmmS8dKgnmvss/xMo+jdcThPNXnvCWokprX8BK42YRHUxpzwIhf5aNmzb7VZnIu/HTZ4p/pN4CrKywFGSMUhyBCGWNZN25KxgbEcIsMEgghYmvU7iZMxqPV+1NoJzYMFiV6qMALDf68SE37d933bhEAmimLIeqiqMqGaIhPbpkAtUHw7ECi+j1cQxrMCKuCvkqYqik40TSaEhrKOKJIJGFRGVoBpaOq6jio+dpWw9tU7EbkWyQr2jWMXGt+cnbIcLmZuDtnzhmW8INExwLP/W5T8fKQcNsGChDWV0kC3ZN3XBZmKosi2pmLZDixbOBQFm7r0s6JMtLeUSPmDlTN9UlhJzx/ip2LvZSzlrFruR3MNCeoF999KeKREV78gZUViIvA3VomYDDjVXc7AMxe74FQkCarcJ9hFLuotBXGE+bcmLo8FfUtY5QQJACUeztO8Ua+TlP0gXKD7ESSreplM2DaEk5LkylGtQEkUX0FsSDdxktbEngOaFS+8kqRvadSktiZb2AwELaoh2zZgOUBYs00VE5X6n5SC8D9q5bNGxOb9rJPPFP5r50WBx8172kNlyVoQArINU1YNDcTsYRBjohkyUTEyiUaRpeNPJav/15LLjSDE//bz7Re+6DS1+AgAAA==":/tef]

```

## Create the AVD

- Create an AVD and Select the Template from the templates.
- Press use Template.

## Create the Flow script

- The Flowscreen will be opened after the devices is created.
- Only replace the user with yourself.
- Press Update Text (it should be copied into your clipboard now).
- Click on the link for the Playground, paste the text into the field and press Run.

* * *

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0f60a883364ce91f436e891412879b5b1dbe548.png)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c4bfc554946734d582ebca809451294dd593a1fe.png)

---

_[View the full topic](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676)._
