# Design Pattern: Simple State Machine (e.g. Time Of Day)

**URL:** <https://community.openhab.org/t/design-pattern-simple-state-machine-e-g-time-of-day/15407>\
**Category:** Tutorials & Examples\
**Tags:** jodatime, designpattern, time\
**Created:** [October 17, 2016, 9:09pm UTC](https://community.openhab.org/t/design-pattern-simple-state-machine-e-g-time-of-day/15407 "2016-10-17T21:09:34Z")\
**Posts on this page:** 1\
**Showing post:** 222

<div class="post-metadata">

**Author:** ![Dim](https://community.openhab.org/user_avatar/community.openhab.org/dim/32/4568_2.png) [@Dim](https://community.openhab.org/u/Dim)\
**Post date:** [November 23, 2018, 2:05am UTC](https://community.openhab.org/t/design-pattern-simple-state-machine-e-g-time-of-day/15407/222 "2018-11-23T02:05:04Z")

</div>

> [@rlkoshak](#):
>
> I have a vague recollection that you saw this problem. If so, do you remember if we found a work around?

(I think that) I found the thread: [Astro binding does not trigger: has no future executions anymore](https://community.openhab.org/t/astro-binding-does-not-trigger-has-no-future-executions-anymore/30403)

Trying to find the PR that fixed the issue… this is old though. @rkrisi is on OH 2.4.0 M6… this shouldn’t happen

and maybe: [Astro: Queue full Error at Midnight · Issue #3809 · eclipse-archived/smarthome · GitHub](https://github.com/eclipse/smarthome/issues/3809)

---

_[View the full topic](https://community.openhab.org/t/design-pattern-simple-state-machine-e-g-time-of-day/15407)._
