mirror of
https://github.com/home-assistant/core.git
synced 2026-07-10 18:41:25 +02:00
6ed68d8ced
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().