# Rule for lights on bug?

**URL:** <https://forums.wyze.com/t/rule-for-lights-on-bug/136830>\
**Category:** Power & Lighting\
**Tags:** android\
**Created:** [October 17, 2020, 3:13am UTC](https://forums.wyze.com/t/rule-for-lights-on-bug/136830 "2020-10-17T03:13:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DKnight](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@DKnight](https://forums.wyze.com/u/DKnight)\
**Post date:** [October 17, 2020, 3:13am UTC](https://forums.wyze.com/t/rule-for-lights-on-bug/136830/1 "2020-10-17T03:13:43Z")

</div>

So, I found a strange little quirk on a rule I have set up. I have my light set to come on when I unlock my door between 9pm and 5 am every day. Worked fine with no issue. However, since it was getting dark earlier I wanted to change it to come on from 8pm to 5 am. I set the rule up, but it stopped working. If I set the time back to 9pm it works, 8pm nothing. I even tried setting up a new rule for the lights incase there was a hiccup or something in the rule. Same issue, 8pm nothing, 9pm works fine. Anyone have any thoughts?

---

<div class="post-metadata">

**Author:** ![StopICU33](https://sea2.discourse-cdn.com/wyze/user_avatar/forums.wyze.com/stopicu33/32/121370_2.png) [@StopICU33](https://forums.wyze.com/u/StopICU33)\
**Post date:** [October 17, 2020, 3:22am UTC](https://forums.wyze.com/t/rule-for-lights-on-bug/136830/2 "2020-10-17T03:22:12Z")

</div>

@DKnight Welcome to the Wyze community! This has been an issue I’ve seen in the past. What worked for me may be worth a try. Set the time a minute or two before like 7:58 PM and see if that helps.

---

<div class="post-metadata">

**Author:** ![DKnight](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@DKnight](https://forums.wyze.com/u/DKnight)\
**Post date:** [October 17, 2020, 7:51am UTC](https://forums.wyze.com/t/rule-for-lights-on-bug/136830/3 "2020-10-17T07:51:42Z")

</div>

Sure enough that seems to have worked. Strange little bug. I hope Wyze can figure out what the issue is. Thanks for the input.

---

<div class="post-metadata">

**Author:** ![StopICU33](https://sea2.discourse-cdn.com/wyze/user_avatar/forums.wyze.com/stopicu33/32/121370_2.png) [@StopICU33](https://forums.wyze.com/u/StopICU33)\
**Post date:** [October 17, 2020, 3:41pm UTC](https://forums.wyze.com/t/rule-for-lights-on-bug/136830/4 "2020-10-17T15:41:05Z")

</div>

You’re welcome glad to help. 🙂
