Description
Do not report new issues related to this message, instead please comment on this issue with the logs that you see and the config for that component.
The problem
[00:00:00][W][component:204]: Component xxxxxx took a long time for an operation (x.xx s).
[00:00:00][W][component:205]: Components should block for at most 20-30ms.
These 2 log lines may show up in the most recent version of ESPHome due to the log level being changed from verbose
to warning
.
I made this change because changing the device log level to verbose just to see if these lines show up significantly slowed down the device due to all the extra logging it had to do.
Which version of ESPHome has the issue?
2023.7.0
Can I hide this message?
Yes you can hide the message, but it wont change the fact that the component is taking a long time.
logger:
logs:
component: ERROR
Is it expected?
For some components this is actually expected like displays which have a lot of drawing and pixel/data moving.
For the majority of sensors, it means that they are doing too much processing or waiting for responses instead of letting ESPHome get on with business until the data is ready.
Metadata
Metadata
Assignees
Labels
No labels