AalianKhan / mushroom-strategy

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

2 Title cards in pre-built views #56

Closed AalianKhan closed 1 year ago

AalianKhan commented 1 year ago

Describe the bug
A clear and concise description of what the bug is. There are 2 title cards for the prebuilt views

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'any pre-built view'
  2. See error

Expected behavior
A clear and concise description of what you expected to happen. 1 title card to be shown

Screenshots
image

Additional context
Add any other context about the problem here.

AalianKhan commented 1 year ago

@DigiLive I can't seem to find out why is this happening. Mind taking a look

cdmicacc commented 1 year ago

Hello! It looks like this fix should be in v1.0.0, but I just upgraded to v1.0.0 (from 1.0.0-alpha-2) and I am now seeing two title cards on the pre-built views (I did not see two title cards in alpha-2).

image
AalianKhan commented 1 year ago

That's odd, can you check v1.0.1? try clearing the cache or use incognito mode.

cdmicacc commented 1 year ago

Unfortunately, I can't tell as that version doesn't work for me. I get a spinner followed by

Error loading the dashboard strategy:

Error: Timeout waiting for strategy element ll-strategy-mushroom-strategy to be registered

(Tried reinstalling from scratch, and tried going back to the default configuration)

If it helps, I am using Mushroom 3.1.0, mini-graph-card 0.11.0, and the current version of HomeAssistant:

Home Assistant 2023.9.3 Supervisor 2023.09.2 Operating System 10.5 Frontend 20230911.0 - latest

AalianKhan commented 1 year ago

Error loading the dashboard strategy:

Error: Timeout waiting for strategy element ll-strategy-mushroom-strategy to be registered

This error usually pops up when the component hasn't been installed properly and cache hasn't been cleared. Can you confirm with me that you cleared the cache? Using incognito automatically rebuilds the cache from scratch so that is another tool you can use to see if it's working properly.

cdmicacc commented 1 year ago

Ah, good to know, thanks. Yes, clearing the browser cache fixed that second issue, and updating to 1.0.1 seems to have fixed the two-title-cards issue.