# Conditional Switch Turn on - OH3

**URL:** <https://community.openhab.org/t/conditional-switch-turn-on-oh3/126478>\
**Category:** Scripts & Rules\
**Created:** [September 13, 2021, 8:11pm UTC](https://community.openhab.org/t/conditional-switch-turn-on-oh3/126478 "2021-09-13T20:11:49Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![ubeaut](https://community.openhab.org/user_avatar/community.openhab.org/ubeaut/32/119014_2.png) [@ubeaut](https://community.openhab.org/u/ubeaut)\
**Post date:** [September 15, 2021, 10:08pm UTC](https://community.openhab.org/t/conditional-switch-turn-on-oh3/126478/20 "2021-09-15T22:08:27Z")

</div>

Look at his:

> [@\[SOLVED\] Rules with timers or virtual/dummy switches](https://community.openhab.org/t/solved-rules-with-timers-or-virtual-dummy-switches/126333/3):
>
> If you are not a programmer and just want to point and click then virtual dummy switch should work. The issue you are having with z-wave is the metadata timer is reset every time z-wave updates. To get around that problem you use a virtual switch which will not be affected by the z-wave updates. You would need a rule to turn the virtual switch on when the z-wave was set to on. The another rule to turn turn the z-wave off when the virtual switch was turned off. The metadata timer is set in th…

It uses virtual switch because the real item gets updated and resets the timer.

---

_[View the full topic](https://community.openhab.org/t/conditional-switch-turn-on-oh3/126478)._
