Comments (18)
Load times should be shorter now.
(Monstercard did have a measureable delay, but that doesn't really matter, I'm just nitpicking)
from lovelace-auto-entities.
I have the same issue. I'm on v1.1 until the auto hide bug is resolved, but on Chrome on my Android phone, the auto-entities cards almost freeze the whole site trying to scroll through them. No issues on Chrome on Windows.
from lovelace-auto-entities.
This is probably a duplicate of #32
from lovelace-auto-entities.
Looks like this issue is resolved with 1.3 (or 1.2).
Was switching from 1.1 because 1.2 had another issue (cards not showing up).
from lovelace-auto-entities.
It still seems a little bit slower than monster card. Monster card was just there. Auto entities pops up and takes around a second or two.
from lovelace-auto-entities.
To those who switched to auto entities.
I noticed something strange, while comparing monster and auto.
I deletet monster card within hacs. HACS successfully deleted the folder in the www/community folder. After that it isn't available in the HACS store any more.
The thing is even after restarting my home assistant instance the "monster card" cards still work.
I double checked it, the .js file isn't there any more but it still works.
@kmlucy could you pls try to reproduce this. You could move the folder somewhere else and try if lovelace still accepts the cards.
Looks like it's saved somewhere else too. Unfortunately we can't open an issue in the monster card repo any more.
from lovelace-auto-entities.
I see the load time, but it's minor enough to not be a nuisance with my cards, probably less than one second.
I can't replicate the behavior you are seeing, but it sounds like it may be a cache issue to me.
from lovelace-auto-entities.
Monster Card had no delay.
Thanks for trying it out.
I already tried deleting the cache of my browser. Did not help. Is there a way to delete the cache of Home Assistant?
from lovelace-auto-entities.
Unfortunaltely I have to tell that in my experience auto entities is much slower than monster card. I can't tell why. Maybe it's too much to go through all the automations (see example in first post).I have around 200 automations.
Monstercard did not load, it was just there. When I click the view with the automations now (auto entities) it first loads for seconds (3-4s).
Could you try my view?
- title: Automations
icon: mdi:home-automation
id: automations
cards:
- type: custom:auto-entities
show_empty: false
card:
type: entities
title: 'Off'
filter:
include:
- entity_id: "automation.*"
state: "off"
- type: custom:auto-entities
show_empty: false
card:
type: entities
title: 'On'
filter:
include:
- entity_id: "automation.*"
state: "on"
from lovelace-auto-entities.
With the latest release on hacs it's pretty much instant for me on a page with 20 auto-entities cards and approximately 200 entities, so I don't know what to say...
I had some trouble with the release tagging, so it is possible (but unlikely) that you got an in-between version if you're using hacs. In that case, reinstalling might help.
from lovelace-auto-entities.
Did reinstall it, thanks. Will keep an I on it. Now it almost loaded instantly.
Still weird that monster cards worked instantly for me and you measured a noticeable delay there.
from lovelace-auto-entities.
@thomasloven do you have an idea why my monster cards still work, although I deinstalled monster card. I even checked that the folder is deleted in the www/community folder.
from lovelace-auto-entities.
I can think of three options.
- You forgot a reference to it somewhere in your
resources
section. - You didn't really clear your cache (this is harder than you'd think). To make sure, try it in incognito browsing mode.
- Some other plugin you're using is actually including monster-card via a CDN of some kind. I don't know of anyone actually doing this, but it is possible.
from lovelace-auto-entities.
Yes, I have the monster card reference still in my resources section.
The thing is this points to a folder that didn't exist any more. The monster card file isn't in that folder any more.
I commented "in" the resources section of monster card again to try it out and even with our incognito mode, the monster card isn't available any more.
Custom element doesn't exist.
This is what I expected from the beginning.
Still had it working on another PC. After clearing my cache like this:
Push F12 to open dev console. Right click refresh button. Select bottom option to clear cache and do a hard reload.
It now also has this "not exist" warning. Did not know that the Browser saves the .js file in it's cache.
Thanks for clearing that up for me!
from lovelace-auto-entities.
Is this resolved then?
from lovelace-auto-entities.
Well, not really.
For me still monster card worked instantly and auto entities takes a moment to load.
Would like to leave it open to see if other users that switch from monster to auto have this too.
from lovelace-auto-entities.
Hello everyone,
currently i run into a similar problem. I use a browser-mod popup to control my lights in detail.
Within the popup i use auto-entities to populate a grid layout. Because i want to style the grid-layout i need to nest everything within a custom:mod-card.
With this configuration i get a visible delay until the items in the grid layout appear (about 2 seconds), after i open the popup.
When i remove the custom:mod-card everything is instantly loaded without any delay.
- type: custom:mod-card
view_layout:
grid-area: "szenen"
card_mod:
style:
#apply styles here
card:
type: custom:auto-entities
card:
type: grid
square: false
columns: 4
card_param: cards
filter:
include:
- domain: scene
entity_id: "*wohnzimmer*"
options:
type: "custom:button-card"
template: hue_scene_circle
Is this behaviour reproducible?
from lovelace-auto-entities.
This shows immediately after F5:
type: custom:mod-card
card_mod:
style: |
ha-card {background-color: lightgreen}
card:
type: custom:auto-entities
card:
type: grid
square: false
columns: 4
card_param: cards
filter:
include:
- domain: light
options:
type: custom:button-card
Suggest to test with as minimal amount of code as you can. Start with removing a "layout-card" code & revise your filter to smth easier.
from lovelace-auto-entities.
Related Issues (20)
- allow a way to configure entity properties in card configuration like secondary_info HOT 2
- [duplicate of #347] Sorting by "area" causes auto-entities to not show any results. Sorting by anything else works. HOT 1
- Custom element doesnt exist only on certain situations HOT 3
- Options: secondary_info doesn't work with template filter HOT 1
- Unable to expand card size to both full width and height HOT 4
- FR: add update_interval HOT 1
- Alter state: "unknown" to 0 HOT 1
- Timeout waiting for strategy element ll-strategy-dashboard-auto-entities to be registered HOT 9
- predbat.plan_html exceed maximum size of 16384 bytes HOT 1
- Possible to use with multiple-entity-row? HOT 2
- How to use with grouping cards like grid/stacks
- Add new column, or use template AND secondary info? HOT 1
- Filter uses or instead of and HOT 5
- Area filter not working as intended? HOT 1
- Add possibility to expand nested groups recursivly
- Excluding multiple entities that have certain words in them
- No last changed info for "change device type of a switch" helper HOT 1
- multiple integrations for a device - not each integration identifier works HOT 1
- can not use sensor or gauge card HOT 1
- Can custom styles used in auto-entities? HOT 1
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-auto-entities.