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.

entities can not be a string.

See original GitHub issue

The docs state that the entities option can be string or list.

Using a string works in the UI, however it fails when using the “Unused entities page”.

That script assumes that entities is a list, and not a string.

This will work in the ui, but not in the unused entities page

- type: custom:mini-graph-card
  entities: sensor.somesensor

This will work everywhere

- type: custom:mini-graph-card
  entities: 
    - sensor.somesensor

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bratanoncommented, Feb 10, 2019

Please let me know if I can help you test this or anything else.

Also, Im on the SHG discrod if you wanna get in touch quick.

0reactions
kalkihcommented, Feb 10, 2019

Great idea, I guess I could throw in a couple of check when setting the config, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

linq to entities can not convert int to string - Stack Overflow
so I tried to convert the dbset to list before the where statement as I found in another post LINQ to Entities does...
Read more >
Relationships - EF Core | Microsoft Learn
Dependent entity: This is the entity that contains the foreign key properties. ... Do not depend on the join type being Dictionary<string, ...
Read more >
Fixing the JPA error "java.lang.String cannot be cast to [Ljava ...
Another way to fix this error is by mapping the result set to an entity. This way, we can decide how to map...
Read more >
Entity Inheritance - The Java EE 6 Tutorial
Entities may inherit from superclasses that contain persistent state and mapping information but are not entities. That is, the superclass is not decorated...
Read more >
Entities, Properties, and Keys - App Engine - Google Cloud
Entities of the same kind do not need to have the same properties, and an entity's ... Your application can specify its own...
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