question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auto refreshing of values raising exception

See original GitHub issue

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:

Last working release (if known):

Browser and Operating System: Windows 10 (Edge, Chrome, Firefox) + Android (Home Assistant APP)

Description of problem: Auto refresh of values doesn’t work (initial loading or f5 works). The lovelace entities are auto generated by https://github.com/thomasloven/lovelace-auto-entities

Javascript errors shown in the web inspector (if applicable):

Uncaught (in promise) TypeError: this._config.entities.forEach is not a function
    at HTMLElement.shouldUpdate (config-template-card.js:3290)
    at HTMLElement.performUpdate (config-template-card.js:2414)
    at HTMLElement._enqueueUpdate (config-template-card.js:2369)

Additional information:

Lovelace:

type: 'custom:auto-entities'
card:
  type: grid
  columns: 6
card_param: cards
filter:
  include:
    - entity_id: /sensor.server_/
      options:
        type: 'custom:config-template-card'
        entities: this.entity_id
        card:
          type: gauge
          entity: this.entity_id
          max: 100

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
iantrichcommented, Apr 29, 2021

Good news, I figured out how to replicate this. Will see what can be done. Bad news, my dev environment is all messed up.

0reactions
fangguishengcommented, Dec 1, 2022

Hello, have you solved this problem? I also met it. How can I solve it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception in CacheLoader Stops Refreshing #498 - GitHub
I figured out that if a CacheLoader 's load method throws an exception, the refresh time is reset (for lack of a better...
Read more >
Troubleshoot refresh scenarios - Power BI - Microsoft Learn
This article provides ways to troubleshoot issues with refreshing data within the Power BI service, for various data sources and conditions.
Read more >
c# - getting an exception when refreshing the configuration in ...
I have a windows service which reads the config settings from an external file which is located at a different path than the...
Read more >
Refreshing my C++ for fun and profit (Incomplete)
So, you should prefer {} over = except when using auto, when the opposite is true. What the hell… auto variables. Finally, instead...
Read more >
The exception was raised by the IDataReader interface.Issue ...
The exception was raised by the IDataReader interface.Issue with refresh on Services · 1.Mismatch between the data types of the keys used in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found