nielsfaber / scheduler-component

Custom component for HA that enables the creation of scheduler entities
GNU General Public License v3.0
631 stars 41 forks source link

After some time condition re-evaluation stops #259

Closed 2m closed 1 year ago

2m commented 1 year ago

Checklist

Expected behavior

When the variable in the conditions change, the action of the current timeslot to be applied.

Actual behavior

Actual behaviour is generally the same as expected. But after some idle time, I see that it stops re-evaluating the changed conditions.

I have turned on more verbose logging with

logger:
  default: warning
  logs:
    custom_components.scheduler: debug

And when it stops re-evaluating changed conditions, I see that it does not print anything to the log, when the condition changes.

Steps to Reproduce

Not yet sure how to put it consistently to this broken state. However I noticed that after it stops re-evaluating, if I disable and re-enable schedule again, then it starts re-evaluating again.

I have one input_boolean which is used in all 6 of the schedules. Three schedules are activated when the boolean is True, and other three when the boolean is False.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days