AalianKhan / mushroom-strategy

A strategy to automatically generate a dashboard using mushroom cards
MIT License
392 stars 38 forks source link

mini-graph-card the entity option was removed #42

Closed floco closed 1 year ago

floco commented 1 year ago

Describe the bug
mini-graph-card shows the entity option was removed

Versions

To Reproduce
Steps to reproduce the behavior:

  1. Go to one room with a mini-graph-card
  2. See error

Expected behavior
graph displayed

Screenshots
image

Additional context
Happening with minimal config too

strategy:
  type: custom:mushroom-strategy
views: []
floco commented 1 year ago

Not sure where the extra "entity:" comes from. Couldn't find how to remove it in the strategy code. However I removed the code generating the error in the mini-graph-card and that worked.

DigiLive commented 1 year ago

This error message is actually removed from mini-graph-card since v0.11.0, so shouldn't be reported in the console anymore.

It was last seen in release v0.10.0 of mini-graph-card. Maybe you've had a caching issue?

floco commented 1 year ago

Thanks @DigiLive, great catch, you were right. I removed mini-graph-card entirely, cleared everything. And now working perfectly. Thanks again for your help :-)