mirror of
https://github.com/home-assistant/core.git
synced 2026-02-24 11:57:05 +00: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().