Frontend: [Beta] Which card would you like to add to your "Home" view? on browser refresh

Created on 5 Aug 2020  路  20Comments  路  Source: home-assistant/frontend

Checklist

  • [x] I have updated to the latest available Home Assistant version.
  • [x] I have cleared the cache of my browser.
  • [x] I have tried a different browser to see if it is related to my browser.

The problem

If i refresh the browser with CTRL-F5 or close the browser and open it again, LL asks me which card i would like to add.
I'm using yaml mode.
Auswahl_375

Expected behavior

Steps to reproduce

CTRL-F5

Environment

  • Home Assistant release with the issue: 0.114.0b0
  • Last working Home Assistant release (if known): 0.113.3
  • Browser and browser version: FF, Chrome an iOS
  • Operating system: Ubuntu 18.04

State of relevant entities


Problem-relevant configuration

lovelace:
  mode: yaml

Javascript errors shown in your browser console/inspector


Additional information

bug lovelace

Most helpful comment

Just for the record - the only good reason to have card-tools installed is because another card tells you to.
None of my cards do, and if you find one that does, you should really let the maintainer know that there are better ways to get that functionality nowadays.
I'll gladly help with the transition.

All 20 comments

Is this all the time? Or when you do a certain step? When are your refreshing? Does it matter?

Hard to see some system in it.
I would say 3 of 10 refreshes, but always on a new opened browser window.

I can also reproduce this in my play HA, which is not in yaml mode.
In a generated and a contolled dashboard.

Same with storage mode for me and it _always_ does it..

I receive it too on my main dashboard (yaml mode), and on my two tablets running FK with generated dashboards (storage mode)

ok... it's Thomas Loven's card-tools causing this issue
@thomasloven I'll open an issue...
Maybe not the sole cause. On a new VM I just added card-tools to it's not doing it..

@VDRainer Can you disable card-tools, then clear the cache and see if the issue is gone?

Yeah, removing card-tools from the resources and the issue is gone. :+1:

Then this should be followed up in the issue @DavidFW1960 opened in that repo :+1:

Just for the record - the only good reason to have card-tools installed is because another card tells you to.
None of my cards do, and if you find one that does, you should really let the maintainer know that there are better ways to get that functionality nowadays.
I'll gladly help with the transition.

Just for the record - the only ~good~ reason to have card-tools installed is because another card tells you to.
None of my cards do, and if you find one that does, you should really let the maintainer know that there are better ways to get that functionality nowadays.

Thanks for that.... I'll have to check my cards now and see if I do need it. I did originally - I think for your cards...

Just for the record - the only ~good~ reason to have card-tools installed is because another card tells you to.
None of my cards do, and if you find one that does, you should really let the maintainer know that there are better ways to get that functionality nowadays.
I'll gladly help with the transition.

What does this mean? Are you suggesting that card-tools is no longer a useful utility?

It's useful for card developers. But the end user should never even have to know about it.

@thomasloven to close out on your feedback "the end user should never even have to know about it"...they do have install it though - correct? Or can I somehow reference it in my code without any dependency on the user?

The user does NOT have to install it.
How to use it is described at the very top of the readme.

However - it can (but shouldn't) still be used the "old" way too, where it has to be installed as a separate plugin.

@MizterB I see you have committed to Iantrich's secondary-info-entity-row and this is the only card I still use requiring card-tools. For some reason Ian is ignoring this issue on that card and in any case typically doesn't address issues for months anyway. Is there any way you can fix this card?

@MizterB I see you have committed to Iantrich's secondary-info-entity-row and this is the only card I still use requiring card-tools. For some reason Ian is ignoring this issue on that card and in any case typically doesn't address issues for months anyway. Is there any way you can fix this card?

馃槀 that's his card, not mine. Nicely done. And David, seriously don't appreciate the negativity.

that's his card, not mine

oops.. my mistake.

the only ~good~ reason to have card-tools installed is because another card tells you to.
None of my cards do,

Yikes. The only reason I installed it was because a couple of your cards needed it ages ago. Time to re-read the requirements of all my custom cards and check if I actually need it any more.

@DavidFW1960 this attitude is not an acceptable attitude in our community. This is a formal warning.

Was this page helpful?
0 / 5 - 0 ratings