# How to change relay status when turn on/off

**URL:** <https://community.homey.app/t/how-to-change-relay-status-when-turn-on-off/43455>\
**Category:** Questions & Help\
**Created:** [February 22, 2021, 9:14am UTC](https://community.homey.app/t/how-to-change-relay-status-when-turn-on-off/43455 "2021-02-22T09:14:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [February 22, 2021, 8:38pm UTC](https://community.homey.app/t/how-to-change-relay-status-when-turn-on-off/43455/2 "2021-02-22T20:38:22Z")

</div>

I’m not sure I fully understand your question, but I think that if you create a virtual device with the [[App] Virtual Devices](https://community.homey.app/t/app-virtual-devices/1723) you can use flows to create the required behaviour for the virtual device.

---

_[View the full topic](https://community.homey.app/t/how-to-change-relay-status-when-turn-on-off/43455)._
