nielsfaber / scheduler-card

HA Lovelace card for control of scheduler entities
GNU General Public License v3.0
926 stars 117 forks source link

Arbitrary schedules not executing #817

Closed Strauman closed 6 months ago

Strauman commented 6 months ago

Checklist

Card Version

v3.2.13

Component Version

No response

Bug description

The schedule doesn't run. Python error message from log is attached below.

Steps to reproduce

I can't find a way to perfectly reproduce, other than make script or automation execution with a schedule and try a few times.

Additional info

Logger: homeassistant.util.logging
Source: util/logging.py:98
First occurred: May 6, 2024 at 20:00:00 (5 occurrences)
Last logged: 08:50:00

Exception in async_timer_finished when dispatching 'scheduler_timer_finished': ('51cfe8',) Traceback (most recent call last): File "/config/custom_components/scheduler/switch.py", line 278, in async_timer_finished await self._action_handler.async_queue_actions( File "/config/custom_components/scheduler/actions.py", line 260, in async_queue_actions for queue in self._queues.values(): RuntimeError: dictionary changed size during iteration
Exception in async_timer_finished when dispatching 'scheduler_timer_finished': ('e75392',) Traceback (most recent call last): File "/config/custom_components/scheduler/switch.py", line 278, in async_timer_finished await self._action_handler.async_queue_actions( File "/config/custom_components/scheduler/actions.py", line 260, in async_queue_actions for queue in self._queues.values(): RuntimeError: dictionary changed size during iteration
Exception in async_timer_finished when dispatching 'scheduler_timer_finished': ('901a7f',) Traceback (most recent call last): File "/config/custom_components/scheduler/switch.py", line 278, in async_timer_finished await self._action_handler.async_queue_actions( File "/config/custom_components/scheduler/actions.py", line 260, in async_queue_actions for queue in self._queues.values(): RuntimeError: dictionary changed size during iteration
Exception in async_timer_finished when dispatching 'scheduler_timer_finished': ('931cda',) Traceback (most recent call last): File "/config/custom_components/scheduler/switch.py", line 278, in async_timer_finished await self._action_handler.async_queue_actions( File "/config/custom_components/scheduler/actions.py", line 260, in async_queue_actions for queue in self._queues.values(): RuntimeError: dictionary changed size during iteration
Strauman commented 6 months ago

I see it's fixed in the component update