mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-24 18:06:21 +01:00
It is not correct to show warning about "unexpected event type" if EVENT_STATE_CHANGED have no new_state field. We should show this warning only if it is real unexpected event type. Run task_done() before continue, because we should tell the queue that the processing on the task is complete after get().