Comments (25)
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.
https://developers.home-assistant.io/blog/2020/10/02/lazyMoreInfo
from lovelace-xiaomi-vacuum-map-card.
@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.
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.
Came here to post the same :)
from lovelace-xiaomi-vacuum-map-card.
I'm closing the issue as update to HA 0.115.3 did resolve the problem.
from lovelace-xiaomi-vacuum-map-card.
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.
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.
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.
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.
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.
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.
This seems to be a very weird behavior...
from lovelace-xiaomi-vacuum-map-card.
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.
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.
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.
Didn't help here either.
from lovelace-xiaomi-vacuum-map-card.
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.
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.
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.
I have the same issue.
from lovelace-xiaomi-vacuum-map-card.
@iantrich Thanks for clarification
from lovelace-xiaomi-vacuum-map-card.
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.
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.
same problem for me :(
from lovelace-xiaomi-vacuum-map-card.
Related Issues (20)
- The card makes the whole UI lag and freeze on all devices
- Using deprecated supported features values which will be removed in HA Core 2025.1. HOT 1
- rooms display mistake in iphone (homeassistant app or ios safari) HOT 2
- Having trouble Installing the map card, specifying the resource url HOT 2
- Valetudo segment cleaning doesn't work HOT 18
- Predefined "Tile list entry options" HOT 1
- vacuum_clean_segment for default(xiaomiMiio) uses vacuum.send_command instead of documented xiaomi_miio.vacuum_clean_segment HOT 9
- Map-based controls do not work HOT 5
- Feature Request: Flipped Card Layout
- Translation of rooms not working HOT 4
- `undefined is not an object (evaluating 'i.id.toString')` when using `template: vacuum_goto_predefined` HOT 4
- More and more "Rooms" entries in the dropdown list when creating a new "Xiaomi Vacuum Map Card" after change Roborock App Maps HOT 5
- Tile internal_variable is not taken into consideration HOT 1
- Dreame L20 Ultra cannot reach Position HOT 8
- Map doesn't render properly HOT 3
- HA2024.7+: Clicking "Generate Rooms Config" doesn't do anything, and Selection is always empty HOT 15
- `attribute` not working correctly HOT 6
- Please support a image besides camera view HOT 8
- Roborock s7 + vacuum_platform: send_coomand -> REPEAT ROOM not working (unless using a service call schema) HOT 1
- Add lawn_mower entity HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-xiaomi-vacuum-map-card.