Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secondaryinfo-entity-row causes severe load, leading to blocking the event loop #53

Open
nagyrobi opened this issue Mar 2, 2023 · 4 comments

Comments

@nagyrobi
Copy link

nagyrobi commented Mar 2, 2023

See: home-assistant/core#89047 (comment)

Had to remove the few secondaryinfo-entity-row entries rendering templates I had in Lovelace.

@nagyrobi
Copy link
Author

nagyrobi commented Mar 2, 2023

#47
#16

@ildar170975
Copy link

ildar170975 commented Mar 16, 2023

I am using this row only to display static labels, like:

- type: custom:secondaryinfo-entity-row
  entity: sun.sun
  secondary_info: Life is beautiful

or

- type: custom:secondaryinfo-entity-row
  entity: sun.sun
  secondary_info: <h style='color:red'>Life is beautiful</h>

As far as I understood, the possible reason could be using templates for the secondary_info option.
But in my case it is a static text.
Does it make a difference?

@bdraco
Copy link

bdraco commented Mar 20, 2023

It needs to subscribe to the template instead of polling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants