Coder Social home page Coder Social logo

Comments (25)

iantrich avatar iantrich commented on September 13, 2024 2

You're using some elements that are only loading via dialogues, lazy loading of those elements was added in 0.115. 0.115.3 will revert and a new method for loading them as needed by custom card devs is in the works.
home-assistant/frontend#7098

from lovelace-xiaomi-vacuum-map-card.

iantrich avatar iantrich commented on September 13, 2024 2

https://developers.home-assistant.io/blog/2020/10/02/lazyMoreInfo

from lovelace-xiaomi-vacuum-map-card.

PiotrMachowski avatar PiotrMachowski commented on September 13, 2024 2

@iantrich Thanks, I have seen it, I have added a quickfix on master, but I will create a new release when it will be confirmed to work for this card.

from lovelace-xiaomi-vacuum-map-card.

PiotrMachowski avatar PiotrMachowski commented on September 13, 2024 2

I have fixed this issue in v1.1.12

@iantrich
I think this approach is more universal, as it works even for older versions of HA:

if (typeof loadCardHelpers !== "undefined") {
    loadCardHelpers().then(helpers => {
        if (typeof helpers.importMoreInfoControl !== "undefined") {
            helpers.importMoreInfoControl("light");
        }
    });
}

from lovelace-xiaomi-vacuum-map-card.

markrennie71 avatar markrennie71 commented on September 13, 2024 1

Came here to post the same :)

from lovelace-xiaomi-vacuum-map-card.

fi-sch avatar fi-sch commented on September 13, 2024 1

I'm closing the issue as update to HA 0.115.3 did resolve the problem.

from lovelace-xiaomi-vacuum-map-card.

ipetrovits avatar ipetrovits commented on September 13, 2024

Hi, I also have this issue but only on mobile (chrome for android and android companion app both) but on desktop (chrome for windows) the drop-down works correctly.
I'm on latest docker release of HA.

from lovelace-xiaomi-vacuum-map-card.

TheRealBadRobot avatar TheRealBadRobot commented on September 13, 2024

I have same issue but I use custom lovelace theme. If i use the default theme the card is working properly.

from lovelace-xiaomi-vacuum-map-card.

rospogrigio avatar rospogrigio commented on September 13, 2024

I have the same issue, but I also noticed something that can be of help.
In the same page of this card, I also have put the badge representing the vacuum entity. Now, if I click over it (so that the entity details page appear), then this card immediately gets displayed correctly.
The same behavior happens on the mobile app.
Don't know if it's a bug of the card, or of HA 0.115.2 instead.

from lovelace-xiaomi-vacuum-map-card.

markrennie71 avatar markrennie71 commented on September 13, 2024

I have same issue but I use custom lovelace theme. If i use the default theme the card is working properly.

I just tested this, and default theme and all is good, well spotted 👍

from lovelace-xiaomi-vacuum-map-card.

markrennie71 avatar markrennie71 commented on September 13, 2024

If I change the page I have for the card in panel mode and pick ANY theme and save, the card works again, until I move off it or refresh. Shame I cannot pick the default HA theme for a page

from lovelace-xiaomi-vacuum-map-card.

TheRealBadRobot avatar TheRealBadRobot commented on September 13, 2024

If I change the page I have for the card in panel mode and pick ANY theme and save, the card works again, until I move off it or refresh. Shame I cannot pick the default HA theme for a page

It's confirmed.

from lovelace-xiaomi-vacuum-map-card.

PiotrMachowski avatar PiotrMachowski commented on September 13, 2024

This seems to be a very weird behavior...

from lovelace-xiaomi-vacuum-map-card.

rospogrigio avatar rospogrigio commented on September 13, 2024

This seems to be a very weird behavior...

I agree. And I say it again, I'm wondering if it's a HA issue rather than an issue of this card. Maybe you can ask to some HA maintainer?

from lovelace-xiaomi-vacuum-map-card.

TheRealBadRobot avatar TheRealBadRobot commented on September 13, 2024

I added the "theme: Backend-selected" to the card config. The card works again.
Sorry, after refreshing the siuation is same like previously.

from lovelace-xiaomi-vacuum-map-card.

rospogrigio avatar rospogrigio commented on September 13, 2024

I added the "theme: Backend-selected" to the card config. The card works again.

Did not work for me 😢

from lovelace-xiaomi-vacuum-map-card.

fi-sch avatar fi-sch commented on September 13, 2024

Didn't help here either.

from lovelace-xiaomi-vacuum-map-card.

philw07 avatar philw07 commented on September 13, 2024

For me the card is working when I go from the dashboard to my profile and (without changing anything) back to the dashboard. After reloading however it's broken again.

from lovelace-xiaomi-vacuum-map-card.

ipetrovits avatar ipetrovits commented on September 13, 2024

I think if something forces to re-render the card, then it works OK, but initially it loads wrong.
I was playing with it, and if I go to edit mode then back, for me the card reloads correctly. Same when editing theme but changing nothing. Changing to panel mode does the same.
If I close the app/browser totally and reopen HA, it's loading badly again.
(not using any theme btw)

from lovelace-xiaomi-vacuum-map-card.

ioannispelelis avatar ioannispelelis commented on September 13, 2024

Same problem here
But when if i change the theme to any other theme it works after first load of the vacuum map card... but as soon as i refresh again it fails again the dropdown is broken. (even with the default theme)

from lovelace-xiaomi-vacuum-map-card.

Maximus97 avatar Maximus97 commented on September 13, 2024

I have the same issue.

from lovelace-xiaomi-vacuum-map-card.

PiotrMachowski avatar PiotrMachowski commented on September 13, 2024

@iantrich Thanks for clarification

from lovelace-xiaomi-vacuum-map-card.

damyanor avatar damyanor commented on September 13, 2024

The issue is back on HA 0.116.0. As BearWithTie said, the issue vanishes when you switch to profile and back to dashboard. And then come back after page refresh.

from lovelace-xiaomi-vacuum-map-card.

fi-sch avatar fi-sch commented on September 13, 2024

Seems to be broken for me as well (on 0.116.2).

EDIT: And quick fix did not work for me :(

from lovelace-xiaomi-vacuum-map-card.

matata86 avatar matata86 commented on September 13, 2024

same problem for me :(

from lovelace-xiaomi-vacuum-map-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.