#frontend-archived
1 messages ยท Page 53 of 1
something incorrect here? - icon: mdi:lightbulb-on-outline title: Lights # Optional unique id for direct access /lovelace/${id} id: lights theme: oliv cards: - type: custom:monster-card card: type: entities title: Your lights filter: include: - domain: light exclude: - entity_id: "light.gateway_light_*" - entity_id: "light.*_blue_led" when im trying to open the tab card is empty until i refresh page
When using state-icon in lovelace, any way to overwrite the "default" icon thats used for that entity?
@sudden lion is it a static or template icon?
For example for lights i would like to use another mdi when using them in a floorplan lovelace card to make the bulbs more visible
Does not look very nice so would like to change to outline type instead
@sudden lion yo can use tamplate sensor and set varios icons for it
i know, but then i would need to duplicate all lights in this example to be templatesensors just for use in this lovelace card
Would be nice to be able to specify icon_on and icon_off or similar when "styling" the entity
You could make custom ui for it
i have updated to ha 73, i see there were changes on filters , filters on domains dont work anymore?, have to list all entities ?, im asking because it was working fine before the update .
correct, we removed it
There custom cards adding some of that functionality. Pretty lightweight
HI guys, loving lovelace, just a question: Is it possible to add "top page" sensors, badge style?
Not currently
I see, then a possibility for a 100% width card?
the panel: true works, but then I cant add any more cards to that view
With the monster-card is it possible to get all sensors that start with "zone" AND state is "on". i.e.: entity-id: "sensor.zone_*" AND state: "on"?
I get all zones and all entitys with state "on". i.e.: union set vs what I want is intersect set.
@north spear any links to where i can find custom cards to replace the functionality of wild cards?
@hardy zealot yes there is. Is all depends how you group objects and lists inside filter
@vapid field try https://github.com/custom-cards/monster-card
Do you have an example. I'm new to all the intricacies of configuring stuff.
include:
- entity_id: sensor.elkm1_zone_*
- state: 'Violated'
Remove - from state and you will get AND with entity_id
include:
- entity_id: sensor.elkm1_zone_*
state: 'Violated'
~yaml
YAML is the mark up language used by Home Assistant. Consistent indenting (two spaces per level) is key - read more at https://home-assistant.io/docs/configuration/yaml/
๐
๐
https://gettaurus.org/docs/YAMLTutorial/ was very helpful. I get it now! Love how the site shows both YAML and JSON so you can see how something converts.
Super appreciate the help!
@hardy zealot any valid json is valid yaml
I personally like for live testing http://yaml-online-parser.appspot.com
I asked some hours ago about top age panels. If anyone is interested, you can achieve the effect with panel: true and combining type: vertical-stack and type: horizontal-stack
Hi, trying the example of Lovelace to show in my hass. But do get:
Could not find ui-lovelace.yaml in your config dir.
It is in my config dir and has been created within Atom by adding a file to the config dir.
Working in the Windows environment
When you saved the file, make sure you put name as "ui-lovelace.yaml", including the quotes
So that your editor doesn't decide to add an extension
porbably wrong premissions on the file (if it exist)
or that
@keen salmon Can you show an example config of that?
ok will try the quotes
views:
- name: Home
panel: true
tab_icon: mdi:home-assistant
cards:- type: vertical-stack
cards:
xxxxxxxxxxxxxx- type: horizontal-stack
cards:
xxxxxxxxx
- type: horizontal-stack
- type: vertical-stack
something like this
@keen salmon that is very smart ๐
(hoped to see some screenshots of a grid panel)
impressive!
@wheat current Can I ask you how to tweak the rights? Have no idea. Tried @half osprey 's comment, but " can't be saved... So I even removed the file in the Windows folder. Added it through Windows again. So file is there with correct name, but rights seems to be the issue.
Even restarted Hass to make sure it would see it...
@keen salmon nice one. @storm lion maybe cook up some example with that for panel: true
@cedar coyote how did you install hass?
as homeassistant user
Then that user needs access to that file
@half osprey , is there a way to emulate the "domain" filter , avoiding the need to list all ids in a filter?
@calm rock only with custom card
ok, tks
List all IDs yoursel and you can easily specify order, override name etc etc
Yeah. Going entity filter card with idโs listed gives you flexibility in entity order and naming
@calm rock you're the guy from Reddit with the beautiful pictures?
@neon canyonloob , no im afraid that may be other gus .
Can we hide the UI menu etc in some of the lovelace views?
Like a kiosk mode for a specfic view/panel
@wheat current I see on the ui_lovelace.yaml file that root root has the right.
Can I just chown homeassistant /../ui_lovelace.yaml ?? Is that enough to get it going?
We need to move the Lovelace docs to the main website. We have docs in various places and some are getting out of date, we need to consolidate https://www.home-assistant.io/lovelace
Please contribute to the docs. Anyone can do it, there are edit buttons on each page
We won't be publishing updates to Lovelace unless we get our docs in order. Adding new cards or new options now would only contribute to the lacking docs.
https://www.home-assistant.io/lovelace/glance/ is an example how card docs should at least look
@cedar coyote yes, but it looks like samba or whatever you use to access that dir on Windows is misconfigured
I think you are right. Had issues before with that config dir. Where can I find correct steps for this to fix? Samba re install??
@half osprey Should the docs be based on this: https://github.com/ciotlosm/docs-lovelace ?
I think you guys have just outgrown the #frontend-archived channelโฆ
@sudden lion yep
that would be the easiest
Is there any "easy" way to write docs or do i have to edit page on github and use the editor on github?
@half osprey - I take it the dev docs has the currently correct syntax to cross reference against?
I've just done minor changes before to docs so ive just edited online on github
Nope, the card reference was not kept up to date and it was deleted in favor of the external docs, but still some old outdated examples remained
@sudden lion that's fine, online edits welcome
@sudden lion you want to start at the top or the bottom? I'll start from the other direction
we can add the pictures later too
Just an example and the options is a good start
If you are running the website locally, run bundle exec rake isolate[non-existing] and it will temporarily remove component and blog pages, making the website generation go super fast
yep !
ok cool
ill get them done
@storm lion ill try and take the first run at them and you can help fix it afterwards if i mess up ๐ ?
@sudden lion - no problem, I started at the bottom already with weather.... race ya ๐
then you'll win ๐
How can i do all my edits for different pages in 1 patch instead of 1 patch for each page?
the only way I know of would be to git clone the repo and then push them all
kk
aha
smart
it will even update your existing PR if you already have one open
There is even an upload file button if you want to do images
just using the raw from @north spear fantastic docs ๐
done weather, plant, vertical stacks, just starting picture
Ok, i did the others
are you referencing views somewhere so I can link to it?
Jack, had a few comments.
We should not include external images. Either remove the image for now, or add it to https://github.com/home-assistant/home-assistant.github.io/tree/current/source/images/lovelace
Yeah just seen that, apologies @half osprey - I'll upload them now ๐
Tiding them up and going to upload images now
No worries, that's how we learn
Thanks you ๐
also the links need to be pointing at the Home Assistant way of converting markdow to pages -> ie /lovelace/glance/
will update when I sort out the images, just so I know what's the advantages of doing it that way?
Well for 1 it's not nice to host images on other sites. they pay for our docs hosting
And 2nd, they could change the image to something inappropriate
no sorry, not images, I appreciate that - the links
oh, well we use a different system for rendering the pages
So on Github it will work but not when it is rendered
Anyone got an example of using "State-image" on picture-glance? Trying to change the default on/off icons for lights etc
makes total sense, thanks ๐
How do i link to the pictures in the editor once i've uploaded the picture? like this:

?`
I prefer this:
<p class='img'>
<img src='/images/lovelace/lovelace_mediaplayer.png' alt='Screenshot of the media player control card'>
Screenshot of the media player control card.
</p>
Gotcha
Alt text is nice for the visually impaired
Yep
Just a sanity check, does this look good @half osprey https://github.com/sjabby/home-assistant.github.io/blob/patch-3/source/_lovelace/entity-filter.markdown
figured that when looking at the other docs on how it was done
Base on next or current?
current
hm, so.. Can you customise entities on a picture-glance card? it sounds like you can change the icon or only have them appear if they are "On"
But Im not sure how, and my ham-fisted attempts arnt getting me anywhere ๐
@sudden lion nice! did a few minor tweaks myself to your PR, ok to merge when build passes
phew ๐ First PR with more then just a few line changes in the documentation. Nice to learn this stuff
Fixes were adding new lines around code blocks, fixing links in website format
I'm looking over your commits now to make sure i learn
oh and converting one absolute url to a relative one for <home-assistant.io>
maybe hold on merging if i need to do more cards
@storm lion Have you done the others or should i do more?
@sudden lion we can always do multiple PRs
Better to have most stubs be updated
on what list? the ha website or in the repo? ๐
repo
Ill do picture-elements.markdown and picture-entity.markdown then as well
@sudden lion merged!
picture-elements card just blowing my mind! SO AWESOME!
@storm lion merging your prs
thanks @half osprey ๐ - have the images come through? got myself in a bit of a muddle with them
i know the feeling jack ๐
Each PR is always related to a branch in your repo
at the top of the PR you can see your base branch
keep tying myself up in knots with this thing - at least it's not just me @sudden lion
the head branch is where you want your commits to be merged to, for docs of existing version, current is the place
If you would document something for the beta or dev version, it would target next
And once we cut a beta, that branch is called rc
right, that makes sense, thanks for the patient guidance
+1
Teach a man to fish, yadiyada ๐
Alright, it's midnight here and I am still jetlagged, going to sleep
good night buddy ๐
Nighty!
thanks for the work on the docs ๐
no problem, thanks for fixing the work on the docs ๐
plus you did say we wouldn't get any new toys till they were updated... see the motivation that generated
haha
Talking about toys, you see we merged the map card? https://twitter.com/jeradmeisner/status/1015659190067458048
Either have a whole tab be a map using the panel: true option or just as one of the cards
can the one card use navigation_path?
I like the idea of everything being on the "home screen" and then having a click through if you want more info
It looks so good though
Are you talking about the map ?
yeah
I was actually just talking about that in #devs_frontend-archived if we should allow the same elements as picture-elements, but on a map
and instead of % you specify latitude/longitude
So you can show the number of things on your shopping list on top of the grocery store or something
so logo's for the shops and stuff could be on it
Ah yes, web links with latitude/longitude
Now that's something you could hack together using customize right now
true..see I have mine set up so that when my phone is near my supermarkets wifi tasker tells HA that I'm at the shop - ha then sends me a notification using pushover to a link to the project in todoist, whichin turn opens the app
it's the long way around, but hey, I want HA at the heart of my automations
oh nice
I like that
I want to hear more stories like that. It's important that we hear about use cases so that we can come up with ideas to improve those or enhance
I don't want to be sitting in my ivory tower throwing solutions down for the people
I love the reddit bi-weekly thread, some clever ideas in there
I sometimes pick up on those
Lovelace UI is online btw https://www.home-assistant.io/lovelace/entity-filter/
the best thing about Home Assistant is it's versatility, secondly in my opinion the community, but the versatility means that you can do anything, and there's a bunch of different ways of doing the same things, and you and the other devs just keep giving us more ways ๐
oh markdown docs is broken, let me fix. was missing a backtick
Damn, nice work @storm lion and @sudden lion. You guys are fast
Wow....lot of action today.
Thats what she says ๐ฆ
@half osprey how do i edit the sidebar and include more pages? Was thinking of adding pages for views under a new section like "Lovelace UI" and "Cards"
Sorry, updated link, should have been current
And then add static pages to https://github.com/home-assistant/home-assistant.github.io/tree/next/source/lovelace
Found it
Note, the cards are in the folder that starts with underscore _lovelace, normal pages in lovelace
they both end up in home-assistant.io/lovelace/
How would you like me to add views?
Next up is to start thinking where to link to the Lovelace docs
Add it as a static page
Just 1 single page?
icon, panel and theme options
yeah 1 page is enough
Right, think I've done picture card, hopefully got it right(ish) now I've had some training ๐
oh
I'm off to bed now guys ๐
i also did all of those ๐ฆ
nvm, good practice ๐
<div class='section'>
<h1 class="title delta">Views</h1>
<ul class='divided'>
<li><a href='/lovelace/views/'>Views</a></li>
</ul>
</div>
?
ahh - ditch mine then @half osprey when you get to it please
@sudden lion Just add another <li> under Introduction
No need for a second block with just 1 link
Makes sense, can expand later if needed
https://www.home-assistant.io/lovelace let's also think about our introduction. We can do better, and include a nice screenshot or video
Maybe embed the video by Jack
Damn @storm lion already 1500 views for your Lovelace video !
Soon a lot more as I just added it to the lovelace index
And now I really should go to bed
Possible to define button size in "picture-elements" card? on default its thin and wide
https://i.imgur.com/AeCAuod.gif
Can i link to "How it works" https://www.home-assistant.io/lovelace on this page?
how does that work
just as an example
I know, it's amazing how much lovelace is drawing people (rightly so)
@upper jungle the style option is just CSS, you can define height and width as you like
Thanks for linking to me again @half osprey - was thinking of doing another shortly with some of the new options on show
@sudden lion ah we messed up the headers. All headers should be done with {% linkable_title How it works %}
Then they get internal links
@upper jungle btw your gif looks cool !
thanks
How would the link look once generated ?
@upper jungle so add something like this:
style:
width: 10px
height: 10px;
border-radius: 50%;
nvm, found an example
@half osprey thanks trying now
@upper jungle please share another gif when you're ready, I would love to share that on the Home Assistant social media
will do
As it's something completely different from what we've shown before
@upper jungle you should use one script with parameters instead of 100 scripts
@upper jungle posted a message that is more than 15 lines. It is now available at: https://hastebin.com/itadivadig
@half osprey adding width and height messes button location, and border-radius has no effect
https://github.com/home-assistant/home-assistant.github.io/pull/5680 @half osprey if you want to get the rest added before sleeping ๐
maybe in customize.yaml?
@upper jungle add overflow: hidden and display: block
@sjabby#0267 you got merge conflicts
๐ฎ
Pr approved but I'm off. Someone else can merge if build succeeds
@half osprey its halfway there: https://imgur.com/a/9dZ8Sqp
45 min after saying he was going to bed...
make height=width and border -radius 50%
Sorry buddy, let me close mine
Hmm well I closed mine now ... ๐
Just need to wait until someone reviews it again
wow i learnt so much today, this was cool
Me too, great here isn't it ๐
Ill go over and do some touchups, but important stuff should be there now
Great work @sudden lion
You too mate
hey just found this channel in HA - anyone getting a 404 not found error on lovelace?
What url?
it was working fine until a day or two ago
I also see in the HA logs "WARNING: Overwriting Component Lovelace"
@half osprey can't make it working
image: /local/tv_rc.png
elements:
- type: service-button
title: ''
style:
top: 11%
left: 50%
display: block
overflow: hidden
width: 27px
height: 27px
border-radius: 50%
service: script.tv_off```
"border-radius": 50%
@quick beacon there is "border-radius": 50% one line before last, also tried without ""
yeah, it's not perfect...
Anyone know how to make Custom UI Tiles (https://github.com/c727/home-assistant-tiles) wotk woth Lovelace HA 0.73?
With Lovelace, you already have that functionality. You just need to combine a few cards - stack cards with picture-entity should do the trick
quick question - is ui-lovelace.yaml still the correct filename to use?
quick answer: read the docs
that filename seems to work fine here at least
@quick beacon thanks for the pro tip - clearly having errors as lovelace isn't loading that's why I'm asking
@dim harness thanks for the response - trying to narrow down what could be causing my issue, my ui-lovelace.yaml is basically an empty shell at this point...
Yeah pretty strange, seems you are the only one where Lovelace doesn't start and provides no error message
yeah it's very bizarre as no one seems to have the same error - I think it has something to do with lighttpd
I had to stop the lighttpd service to issue a cert renewal with certbot, since then it stopped working now that i'm thinking of it
I spun lighttpd back up but no dice
scratch that looks like pihole is running on port 80
Anyway to stop Lovelace from stretching out images? I'm using card-picture, trying to show a row of 32px icons and they are being stretch out to probably 5x normal size.
FYI just figured out the error, you can't add an iframe for lovelace or it screws up
# lovelace:
# title: 'Lovelace'
# icon: 'mdi:view-quilt'
# url: 'https://hassbian.local:8123/lovelace/'
Hello, I've been working to build a "fullscreen floorplan" interface in Lovelace. Does anyone know if there's a way to have it auto-rotate 90 deg when on a mobile device (or certain designated devices)? If not that, make different default tabs by device?
not sure, but could you share a picture of what you have so far? I'm looking for inspiration
Light positions are a WIP, but this is where I'm at so far... https://pasteboard.co/HtrFJVd.jpg
@brittle ingot please stop posting those false information in the forums... Iframes work fine and you should really read the docs how to configure the cards...
@quick beacon I did read the docs actually thank you. I didn't post false information as soon as I add an iframe that points to/Lovelace I get 404 errors. I'll post my own experiences thanks
Do want you want..
I think we need to start building a lovelace gallery to capture all the awesome creations for more inspiration....great job so far on everything from all the new features and the docs its coming along really well
@frosty pelican I second the lovelace gallery idea
Maybe a Reddit thread is the best way of doing that?
In my experience the forums the place for technical questions but Reddit seems to get more responses to show and tell
๐ฆ
I missed one day and I see I caused pain for people. Apologies @half osprey for never getting to moving docs to right place
Never got around to it. What would people prefer (besides deleting my docs from master)? Should I also point branches to official docs?
they've all moved now buddy, doesn't matter and me and @sudden lion learnt a lot along the way ๐
Thanks a lot for the help. When I get home this evening I will clean stuff up
๐
Is there any entity attributes card?
@storm lion did you move to official docs Migration script section and info about Unused entities?
If those and changelog get moved I can delete the docs Alltogether
We havent moved those sections, i can get it done shortly after finishing breakfast ๐
Thanks @sudden lion I am still away from the computer so can only assist with limited things I can do on my mobile
@sudden lion i can give you access to my repo so you can delete sections that are already moved
๐
Your github user is sjabby?
https://www.home-assistant.io/lovelace/lovelace_custom_card.md gives 404 on docs
It is a url on the mainpage /lovelace
ill take a look, balloob did that one i think ๐
@north spear https://github.com/home-assistant/home-assistant.github.io/pull/5683 Once that is merged and i've verified the docs live i will clean up on your repo.
Nice. I think if we cleanup master branch should be enough
@sudden lion i donโt think the โhackโ for making it default should make it in the official docs
There is already the ui method there
Also maybe add the changelog, if that was meant to be the same format with what I originally created
I agree, was debating with myself if that should be there or not. Fixed it
Should the Option blocks use the {% configuration %} format?
Added changelog into same pr
@split granite i checked a few other pages and it didnt use that tag so i didnt use it.
The older docs don't, as it's a relatively new thing (like 6 months or so)
Hence my question to the wider audience - is it time that we started pushing towards it, or is Lovelace a special case, or are we just ignoring it ๐
๐ ill get it update on all the pages
I don't actually know the answer BTW
It's more a "we say we should do X, but we've not been enforcing it since forever"
That's a thing that only the Powers That Be can really answer
https://www.home-assistant.io/components/calendar.caldav/#configuration-variables Does the setup show like this then?
Yup
Once Dale and co are around later, we can ask for the official view ๐
Lets move to #devs_documentation-archived
It's too early for the US to be awake ๐
you snooze, you loose
Thats why @wheat current is a winner!
Just woke up ๐
every time you reload overview frontend the page will scroll down to the bottom, any way to reload and page display on top
or is supose to act like that
Hello, does anybody found something strange in lovelace with picture-elements between desktop and mobile version?
They are totally different...
(Copy paste fail ๐ - folks can ignore the last two lines)
how are the heights calculated for items in a horizontal stack?
Hi All
I just updated HA to 0.73.0 but it looks like ui-lovelace wasn't updated.
How can I update ui-lovelace to 0.73.0 as well?
Thanks!
Clear browser cache. Why do you say lovelace is not 0.73.0? What are you checking?
@north spear I've got an error message which doesn't exist in 0.73.0
Clearing browser cache fixed the issue. Thank you @north spear
@stoic ermine posted a message that is more than 15 lines. It is now available at: https://hastebin.com/uvajovefub
@stoic ermine check original docs here https://github.com/ciotlosm/custom-lovelace/tree/master/monster-card
I've read it and it all seems to match my config.
I'm afraid it has something to do with the 'resources:` but I can't find it
@stoic ermine resources should be in your lovelace file
the yaml part
the actual resources are the js files. they should be in your /www directory
@mortal cape that's what I did.
The js files are in <config>/www/custom-ui and the ui-lovelace.yaml starts with:
resources:
- url: /local/custom-ui/monster-card.js
type: js
I've used this example:
https://github.com/arsaboo/homeassistant-config/blob/master/ui-lovelace.yaml
@stoic ermine ok that looks good. What happens with the card?
I've also tried putting the js file in www dir and setting the resources path to /local/monster-card.js but the result was the same
Verified permissions as well.
Only in browser, can't find anything related in logs
Which browser..
Chrome
Try other browsers
Same in FF
Do you have a frontend version specified in your configuration yaml
Add ?latest to your url and refresh
Sorry @half osprey I think I've missed you here.
If I understand correctly. I don't specify any version in the frontend config
Adding ?latest makes no difference
I just added monster-card. Only way it would work for me was to restart hass.
Clearing cache is enough. As far as I know restarting hass has no effect at all on Lovelace
where to start with Lovelace ?
In the docs
Yes
Ummmm still not clear
In that case you'll have to wait until our documentation and lovelace is more polished ๐
Reatart was done.. still no change :/
@stoic ermine I guess the only thing left is the js file? Have you double checked the contents?
@mortal cape you were right. the file content got corrupted during wget somehow!
Moreover, when the file was in custom-ui it didn't work, when I moved it to www and restarted HA everything worked.
I've been dropping these js files into /www without a subdirectory. I'll try one.
Sounds good, please update if it's indeed a bug or I missed something
And thank you ๐
hey guys
im playing around with lovelace
but im getting this error for my camera card\
unknown card type encountered
this is my code for it - type: camera-preview entity: camera.world_time
@granite prawn the cards have seen changes from .72 to .73 Here are the current cards (unless I'm behind again) https://github.com/ciotlosm/docs-lovelace
@mortal cape thanks a ton, ill go through them ๐
that was a quick fix, changed it to picture-entity
thanks mate
@granite prawn camera-preview is gone and picture....you got it lol
haha, yes some reading helped ๐
how do i hide the control button
i used to hide them using control: hidden
but that doesnt seem to work for LL
the bar along the bottom?
not finding it. I know I've seen it referenced because I saw when it was added
what did you do?
i added the same line control: hidden and then restarted HASS
okay, that didnt solve the issue :/
Docs moved to official location: https://home-assistant.io/lovelace
@granite prawn https://www.home-assistant.io/lovelace/entities/ show_header_toggle
can't reach?
my bad, found it and fixed it
thanks ๐
so im trying out the Picture Glance Card
and im loving it
but when i add the temperature and humidity entities to it, it shows the symbols and not the actual values
Lovelace basic yaml results with โUNNAMED VIEWโ tabs - ignoring title / icon code lines... any idea whatโs wrong with my setup?
@north spear any clue how to display the humidity and temp on the picture glance card?
Thanks @north spear
@granite prawn use status text pr state-badge not icon
Ah
On picture glance you canโt
ahh okay ๐ฆ
Use picture elements instead
that would be wicked nice
i prefer the clean look of the glace
since its for my single room
but i will try and mess around with elements too
for glance, i understand that the image has to be a url, does that mean we cant use a local image?
ahh cool
That means /config/www
No problem
@half osprey im a noob, could you please help me understand what you meant a bit better please
also, thanks a ton for HA, though im sure you have heard it a trillion times
i understand that, ubnt must be keeping you busy
also thank them for making such awesome gear
i got the ac pro and love it tons
good ๐
background images for view are also possbile now https://github.com/home-assistant/home-assistant.github.io/pull/5682/files
not sure if I submit this again to the current branch...
@quick beacon Because of me?
no, not everything is your fault ๐
haah ๐
Has anybody been able to successfully make Lovelace the default UI? I'm trying to use the hack that is in the docs, and it keeps giving me this error: "https://hassio.local:8123/local/lovelace.html:2:112 Uncaught TypeError: Cannot read property 'shadowRoot' of null"
you can make it default from info since today
@wary sable that hack some some problem. I'll have to check it, the only downside if you don't use it is when you click Overview
rest should work with official way of making it default interface
@wary sable which browser are you using ?
@north spear that's exactly what's possible now
in 0.73.1 ?
yup
it has newest ui with my pr
I'm behind
np you couldn't know. it is stated nowhere as this is actually more or less unofficial yet
I was away only for the weekend and I miss things
i'll take the hack off the docs to stop confusing people
Yeah, it loads by default when I navigate to /, but I was hoping to get it to load from the overview button. I'm running Chrome on MacOs and Android
@wary sable are you running 0.73.1 ?
Not yet. I am updating as we speak. Currently on .73
Scratch that - looks like .73.1 isn't available for hassio yet
@wary sable I'll try to find a temporary fix until 0.73.1 is out
@north spear Thank you!
ok, i'll skip trying to build that then
@wary sable seem there won't be long until hassio has 0.73.1. Not really worth investing more in a fix for a hack that you have to remove soon after
Cool! So how does it function in 0.73.1?
you go to dev-info and click the "set lovelace default" and you're done
๐
overview will take you to lovelace
@north spear great! That is exactly what I'm looking for. Thanks for the help!
Will making Lovelace default work with the iOS app?
on the
page. It's per device, I believe
Hi @quick beacon yesterday you said I can use one script instead of 100, can you point me in right direction? currently I have script for every IR command
I have no idea why, but even after upgrading to 73.1 my 'Home Assistant' pin on my Android desktop still takes me to https://my.page/states. This is after deleting the old pin, navigating to https://my.page/lovelace/home and repinning. All other redirects work as expected (https://my.page/ or going to 'Overview')
@fair spoke that's a bug
we have /states hardcoded
Pull request welcome
probably should be updated to /?homescreen=1
Ok, just making sure I wasn't crazy. Thanks for clarifying
#15368 ๐
๐
TY, much faster than me sir
btw, gauge card fixed for FF
hmm
I think we should be putting in docs query string suggestion for custom cards .. something like v=1 and suggest people increment it when they update the card
what do you think @storm lion @sudden lion ?
nice Marius ๐
no more force clear cache
versioning would be nice
adding repo strings to my custom_compoment stuff to ease of any faulity compoments
so that dont get reported to ha
I agree @north spear
Makes sense to include versioning
That's why for the frontend, all files have a hash of the file contents added to the filename
so you get something like app-abcdfgh.js
yep, but if you have custom components that don't build... you end up with some caching
so suggesting people do v=X would teach people to easier update all their platfroms (including mobile phones) with new version without too much trouble
not a fan of adding another step in there, but helps when you can tell people "hey, try to update v=3 in your custom resource string"
instead of having them try to find how to clear cache in an IOS for native app
atleast you would have some clue as to how old their card is
should make it simpler for the card dev to fix the issue if there is one present
I am using 0.73 and monstercard to filter some entities, they still show up as unused entities in the menu top-right, is that correct behavior?
@vapid field yes, monster-card does something different from what lovelace does with entities
so they don't count towards being used
I'll have to check if there is a way to collect all monster card instance filters and reverse them and then intersect that with current unused entities functionality
should get you a shorter list and maybe allow you to filter extra stuff as well
but if you want to take advantage of unused entities and can use entity-filter instead of monster-card you could save yourself some time
@north spear i see ๐ no, i love the wildcard, need monstercard ๐
ok
@fair plume entity-filter changed structure, see docs here: https://www.home-assistant.io/lovelace/entity-filter/
list them all
we should create an auto response for people looking for entity filter โฆ
ok, is there a way to enumerate entities with a template?
nvm, it looks like it's in the states object
@north spear should we link the monster card at the entity-filter docs ?
up to you, don't want to add more rogue links ๐
Problem with nut sensor, looks like the "." in the resource name causes problem. If I try to add "sensor." as a prefix to entity I get Invalid entity ID at position and a number pointing to the number in the entities list. Any one else getting this?
does ui-lovelace.yaml support templating?
@fair plume yes, through custom cards. There is a nice example on the dev docs on how to achieve a basic template
no jinja2?
I meant in the config file
oh...
can we get something like this implemented? https://github.com/sstur/jinja-js
not sure why you would want jinja over template literal https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
Is there an event fired when an automation triggered?
- type: entity-filter
entities: >
{% for state in states.climate %}
- {{ state.entity_id }}
{% endfor % }}
state: 'COOL'
card:
title: Units set to COOL
this is a lot less code to write
cool, I'll try that
Because jinja2 is not another thing to learn?
@dapper rain wrong channel, but yes there is an call_service event when it trigger, and as baloob said the state is updated for automation.youname
If you really want to use jinja to create your config drop this:
- type: entity-filter
entities:
{% for state in states.climate -%}
- {{ state.entity_id }}
{% endfor %}
state: 'COOL'
card:
title: Units set to COOL
in
and it will give you your config with entities
@fair plume also how often do your climate entities change?
Hello, im trying to the this new lovelace but i get this error:
frontend_latest/ Uncaught TypeError: Cannot read property 'length' of undefined
@polar kelp Javascript is actually my forte. I just prefer the quickest and shortest way of doing things which in my case probably would have been Jinja2 (aside from that many people here know Jinja2), so I figured it would make sense to have it the functionality. Anyhow, I respect the decisions of the maintainers (and also have a lot of gratitude to them for making such an amazing platform).
@fair plume you can filter using state (and attributes) using monster-card. Shouldn't be more lines
@half osprey the idea is that we want to see at a glance what's on and what's off, they change whenever we turn them on or off
@fair plume we already can filter by state with the entity filter card
No templating needed.
yeah, just looking for shortcuts... I want all climate devices shown
but it's okay, by now I could've copy pasted everything a bunch of times
https://github.com/custom-cards/monster-card
- type: custom:monster-card
card:
type: glance
title: Monster
filter:
include:
- domain: climate
Shortcuts backfire. How to sort your entities? How to override name?
that's doable with optionals, point is, it's extra work when I don't need the extra functionality, but again, that's just my 2 cents. I like home assistant anyway, it's the best home automation platform by far.
You must be kidding if copy pasting some entity IDs is more work than writing the correct filter syntax
24 climate devices, ~200 lights and switches
and more to be added
going up to about 50 climate devices
lol, 2 per zone, we have a geothermal heating system, and a mitsubishi hvac split unit system
I see
I would go for picture elements in that case, show it on floorplan. Picking anything in a list of over 15 is cumbersome
^I also thought about how to manage this. Groups or light.group maybe
If you have 200 bulbs I don't think you care about the state of every single light
btw: I also noticed that the UI get's laggy (loading time) if you have 100+ entities in one card
@vapid field you'd be surprised...
each light bulb costs electricity
we want to see what's on to make sure only necessary lights are on
anyhow, how long should it take me to set up a floorplan for 5 floors?
I would think it would take at least an order of magnitude longer than creating a good list
Well you are comparing one time setup versus a more inconvenient (and probably slower) experience for managing
Yeah, thing is I got a lot on my plate... anyhow...
if my case is not the standard, I'll figure it out
if anyone up for some random testing
you can find it here https://github.com/ciotlosm/custom-lovelace/tree/master/entity-attributes-card
@north spear
working here. my gauges broke though
cannot read property of 'map' of undefined
which domain has door_state as attribute?
so the state is "closed" and the attribute is also "closed"?
...strange
it isn't a true "cover" in that I can't set the garage door to 30% or whatever like other covers
I don't have a true cover so I don't know how they work, but I assume blinds and garage doors have a range?
these are the demo covers https://imgur.com/a/4bNYYGi
The "Check the docs" link on https://www.home-assistant.io/lovelace/ is broken. Not sure where the page is.
@quick beacon got 73.1 installed. The background option! Nice.
I had it configured before upgrading and had forgotten about it. ๐
@tender wasp did the work, I only added 2lines code to enable the background ^^
thanks @tender wasp!
@mortal cape What background option?
Nice thanks
Love the background change.. https://i.imgur.com/1oOyREP.jpg
hey, are state images working on picture-glance elements?
not sure what I have wrong here
image: !secret bedroom_off
state_image:
"on": !secret bedroom_pic
title: Bedroom
entities:
- binary_sensor.bedroom_occupancy
- sensor.bedroom_multisensor_luminance
- sensor.bedroom_bee_temperature
- light.swirl_lamp
- switch.bedfan
- switch.masterbath```
What controls the scale of the background image in a 'picture elements card'?
@past falcon if you want to use state_images you need to also define an entity config value which is used to determine which state image to show
so, would I simply add something to look like this...
image: !secret bedroom_off
entity: group.bedroom
state_image:
"on": !secret bedroom_pic
title: Bedroom
entities:
- binary_sensor.bedroom_occupancy
- sensor.bedroom_multisensor_luminance
- etc```
@amber ginkgo it's just an img tag with 100% width so the image should fill the width of the view and take whatever height it needs
@past falcon yep. The state image will be chosen based on the state of group.bedroom
excellent! thanks!
no problem
@tender wasp Thanks. I created an image that was 1280 x 800 to suit my tablet but it's too big. When I made it smaller, lovelace scales it back up.
Oh okay. Yeah the image will always fill the width of the main view area and then take up as much vertical space as it needs to maintain aspect ratio. If you need it smaller you can always edit it to add some white (or transparent) padding around the borders
@tender wasp. Ok, got it. The header on lovelace is quite chunky consuming about 10% real estate. Any way to make that smaller?
Not currently, but there may be in the future
Ok. I added 400 px to width and that sorted it. Thanks for your help.
Ok, another one. Docs mention "style options" (for icons) but I can't find any further reference. Anyone got a link?
style options just takes a list of css properties (like top: 20% or width: 40px)
Thanks, I'll have a tootoo with that and see what I can break. css not my forte.
The elements are absolutely positioned relative to the main image so you can define things like top: 10% to position the element 10% down from the top
Found a GitHub doc that helps but adjusting width and height of entity icon does not change anything. Top, left and color work.
You can try --iron-icon-width and --iron-icon-height they default to 24px so set them higher to make the icons bigger
Freak'n awesome, thank you. You need to define both but setting them at 48px looks great! Any way to control the actual icon?
No unfortunately not. Maybe later on. I have seen some requests for icon customization in other cards too
I mean you can customize the icon in the backend but not using lovelace on a per-card basis
@mortal cape iโll have a look at gauge. Was this because you updated gauge card too?
Ok, last one. I tried navigation to /lovelace/0 but icon hover says 'undefined'. Does that need to be globally defined somewhere?
@north spear what was weird was when I removed the attribute card, the gauges returned
No shouldn't be anything special. Just make sure the element type is navigation
@mortal cape i will have a look today
Yep, type is 'navigation'. path: lovelace/0
should be navigation_path: /lovelace/0
That was it! Thanks. Docs date so fast around here ๐
No problem These: https://www.home-assistant.io/lovelace should be up-to-date
๐
https://www.home-assistant.io/lovelace_custom_card.md seems to be down or moved? A link in https://www.home-assistant.io/lovelace is pointing there
@subtle rune I think that is supposed to go to the same page as the link further down the page under "custom cards"
Also, a question: I haven't been able to test yet, but could you use state_filter with a template to decide to show every state that is not something? Maybe like filtering everyone that is not home, but not having to write out every zone you have in the filter. If so or not so - wouldn't it be nice to be able to do this without templating?
exclude: 'home'```
@subtle rune look up monster card Lovelace @north spear has got a custom card to do just that
I like that it's called Monster card because it's a monster ๐
I thought it's best to contrast with Lovelace ๐
Does the weather-forecast card only work with the yahoo weather component? Currently I'm using dark sky.
@placid geyser should work with any weather component. Is darksky weather or just multiple sensors ?
@north spear It's weather.dark_sky.
When I add
- type: weather-forecast
entity: weather.dark_sky```
I get `mapping values are not allowed here in "/home/hass/.homeassistant/ui-lovelace.yaml", line 74, column 17` which corresponds to `entity: weather.dark_sky`.
That means invalid yaml
probably a space error ?
Make sure you use an editor with a fixed width font
@half osprey thanks. that must have been it. Very wired as I use that editor all the time. It was probably me rather than the editor. All working now. Cheers.
btw, how good is it that Lovelace shows the YAML parse errors in the UI ?!
IMO it makes debugging config errors much faster.
And the bright red is hard to miss. ๐
time for me to try out lovelace.. I feel like I'm jumping down a rabbit hole
Is weather underground supported (wunderground)?
for custom cards, is there an easy way to open the "more info" box when you have the entity name?
trying to set a custom name for a glance item (in current stable) my config matches the example but the entity is now shown.
@high canyon do you have a config sample? Which docs did you use?
@north spear https://www.home-assistant.io/lovelace/glance/ These docs, might be a while on the config sample, forgot I had a work call now :p
that should work (last sample)
@candid rapids if it's not in the docs unfortunately I can't help much. Maybe some better devs can point you in the right direction
title: Location
entities:
- entity: device_tracker.mexs_phone
name: "Martin"
- device_tracker.mariannes_phone
oh ignore me...
I am on 0.72.1
ashamed face
@north spear - that attributes card is exaclty what I wanted ๐ .... now if it looked like a glance card ๐
easy to do I think
and btw, now you can use the new entities card custom row to include that inside
:))
I'll show example later today
oww, good point ๐ going to be perfect for my vacuum and climate
@candid rapids yep, just fire hass-more-info event with as detail { entityId: 'light.kitchen' }
how do I fire off an event?
I was looking at the code for the real cards and I think it was this.fire
Search the web for mdn dispatch event
oh okay, just a normal event?
ok thanks!
Home Assistant is just events and custom elements. No magic
Use the platform as the Polymer team used to say
gotcha, cool
Really digging this thread https://www.reddit.com/r/homeassistant/comments/8x5e80/some_lovelace_love/
extremely interesting the different approached to views
yep!
@north spear How are you sensing your oil levels?
Ah okay, I was going to say! haha
๐
Looks cool though ๐
Hahaha, nice
Sax is cool, but 10h of it?
Hopefully it is on repeat, 10 hours isn't enough
๐ demo platform
useful for examples
See config, maybe it inspires you to embed other custom cards: https://github.com/ciotlosm/custom-lovelace/blob/master/entity-attributes-card/README.md
https://www.home-assistant.io/lovelace/history-graph/ it would be nice if you could rename the keys like in the glance config
and optionally hide the key
nice choice of youtube vid
๐
almost as good as taking the hobbits to isengard
:))
guys im trying to show media.player entity on top of picture-elements card but entity not have icon and if i set it using media_player.samsung_tv: icon: mdi:television-classic the icon not showing up anyway
setting icon with using customize.yaml
ok get why if no picture for show or chanel it just have transparent icon
monster-card got a new update: Now you can show the card based on a random entity state. Useful when you want certain cards to show on the interface based on sun or maybe a random http sensor. A valid use case would be to show systems tab when your ISP ping sensor is down.
- type: custom:monster-card
card:
type: glance
filter:
include:
- domain: climate
when:
entity: device_tracker.demo_paulus
state: not_home
actually that might be nice addition for a number of cards... I don't really care about my internal cctv cameras unless I'm out the house, then I use them to spy on the cats/possible burglars
very clever indeed... now to think of use cases for it
This could have already been achieved by wrapping the monster card in an entity filter card right?
Example config https://github.com/home-assistant/ui-schema/issues/82
need to try it now.. trying to figure out how a card in a card would look..
@half osprey I tried this:
- type: entity-filter
show_empty: false
entities:
- device_tracker.demo_paulus
state_filter:
- not_home
card:
type: custom:monster-card
card:
type: glance
filter:
include:
- domain: climate
But I get the same error as the issue at the moment
Yeah, the PR https://github.com/home-assistant/home-assistant-polymer/pull/1431 fixes that
complicated clever type of filtering
that is pretty clever! this whole ui overhaul thing has really brought me back into the ui (not sure if that's good or bad) but back to thinking about fire tablet 7's attached to walls in key places now ๐
here's one for you @north spear - for your big number custom card, can you have a green zone in the middle graduating to two red zones either side.. Thinking ideal temperature as a use case..
green with two red can't be done
Not even with CSS gradients ?
for temperature I usually go from blue (cold), green (ok), amber (mildly warm), red (very hot)
It can be done, but not in current implementation
I like that, can blue be called as a severity object?
hmmmmmm
wait a minute
might work red green red
testing now
doesn't work, doubling red messed up on sorting
how about red -> green -> almost red
adding blue as an option would fine - I can't think of many other situations where you need the target area in the middle...
@storm lion that already exists, use "normal" instead of any of the other
Thanks, I'll add it to the documentation ๐
what determines if it displays as a gauge or not?
@wheat current at the moment colors are fixed
@storm lion not sure what you are asking
so on your example picture, the far right is changing the whole cards color, and the far left is displaying it more like a gauge, what determines that?
https://user-images.githubusercontent.com/7738048/42441033-f4336a04-836f-11e8-906c-6e3ab7f636c2.gif
looking at the code it looks like when you use severity it can then only do the whole background of the card, are you planning on adding defining "zones"to the gauge view too?
again thinking of temperature, want green to be in the middle with the gauge straight up and then blue as the gauge swings left and red as it swings right
that was just an example showing how bignumber can sit together with gauge in horizontal stack
didn't think it would be confusing ๐
I'll think on how to improve severity to allow this
lol, simple minds and all ๐
this is my ideal scenario - https://i.imgur.com/l81oA6p.jpg
maybe with better color graduation
that is different type of gauge, where you have fixed colors on gauge and a needle moves
ok buddy, thanks anyway ๐
also getting "n.setconfig is not a function" with the big number card
make sure you're not again on a different branch with older Lovelace
and force a refresh / cache
nope, both of those are fine... I'll have a play
the logs show https://website.duckdns.org/static/custom-elements-es5-adapter.js:13:615 Uncaught TypeError: Class constructor BigNumberCard cannot be invoked without 'new'
are you sure you downloaded the "raw" bignumber ?
yup, will try it again just to check
and make sure you add ?v=2 or something at the end in resources to avoid caching
got ?v=1
increment once
will do
nope, didn't do it
will try dropping in monster card.. find out if it's something to do with that card or all custom cards
are you having javascript: latest in your config?
I see es5 adapter stuff
I haven't built the custom cards for older browsers
but maybe I am wrong about how this work ๐
hmm that might be it, I had it set for es5
does it work now ?
hmm, well lost my view:home one sec something doesn't like something
working now! ๐
thanks for your help, must have been the es5
is it possible to bypass login page with some url which be contain password? like ?api_password=YOUR_PASSWORD
er.. wrong channel @serene sierra this is lovelace only
the loss of front end was monster card trying to include every entity... whoops
with great power, comes great responsibility
Hey is there a way to create a link to the camera pull up when I use a camera component in a picture-glance? For example on a normal camera entity on the OG front-end if you click the image you get a closeup (and mine goes real-time). I want to be able to access that if possible. Is it possible currently?
@past falcon that functionality was just recently merged. Will be in a future release
currently though you can just add it as an entity and then a little camera icon will appeat on the glance row that can take you to the image
Always interesting of use cases people come up with
I'm being asked for a filter on monster-card with comparison "<" for attributes state filter to get a card that shows any sensor with low battery
I have to agree that would be a card I'd use ๐
that's really interesting.. So I want my battery cards to be on the settings page.. but low battery on the front page as an extra warning would be a great idea
@north spear - what's wrong with this?
- type: custom:monster-card
card:
type: entities
title: Door and Window Status
filter:
include:
- attributes:
device_class: window
no idea, what error do you get ?
no error, just wont load the view. as soon as I comment it out works a treat
- scratch that - would help if I check the logs..
nothing in the general logs, is there a specific lovelace log somewhere?
yeah, that's where I checked, nothing in there about it, I'll try and investigate, thanks for your patience buddy
Maybe device class with that value doesnโt exist on any entity
seems its not from that card, was actually the other card in the the stack - doesn't seem to like include and exclude fighting one another
- type: custom:monster-card
card:
type: entities
title: Battery Status
filter:
include:
- entity_id: "*battery*"
exclude:
- entity_id: "battery_presence_sensor_lara_car"
it's the exclude part of that that's causing the problem
exclude is not a valid entity_id
tried all of these:
- entity_id: "sensor.battery_presence_sensor_lara_car"
- entity_id: "*lara_car"
- entity_id: "*lara_car*"
ok, let me test it out
Thanks mate
sorry
No need to be sorry! You built something awesome for us, we are and should be thanking you
let me know if it works now fine
the problem was on exclusion branch, due to a refactoring
I had to refactor to avoid global function conflict between custom cards
I should start working on a dev branch soon
Speaking of monster-card. I get `n.setConfig is not a function. (In 'n.setCOnfig(t)', 'n.setConfig' is undefied)^ on IOS 11.2.
javascript: latest in your frontend?
hm... no. Just a minute. Restarting.
empty cache, refresh, try in incognito etc.. fixed that for me
That was the problem. THanks
@north spear - I'll add a note to your docs on that if you want?
Sure in a frequently asked questions section
So iOS has a bug with latest. Automation and script editor crash
lol, new use for monster card that I feel should go in the docs ๐
- type: custom:monster-card
card:
type: entities
title: Things that are probably broken
filter:
include:
- state: "unknown"
I haven't had time to research yet so left it on es5
ahh, well it seemed to fix it for him
(since January๐ค)
what can we say, your a busy man
Yes but now automation editor is broken
if he's running custom cards I bet he's doing it in yaml ๐
@half osprey hardly any use on mobile for editors
Many flows on hassio use dialogs which are broken
Broken?
Hmm
Like hassio hostname change
What about config entries?
i guess if you had a big ipad pro and keyboard you might want to use it
Config entries use custom dialogs
Gtg, son needs a bath
Not the browser โconfirmโ
Browser confirm doesn't work? That's weirs
My "things that are probably broken" list is very long... ๐ข
@storm lion that is a great example of monster card ๐ I am loving all these dynamic capabilities that we get with Lovelace. I think another good example is using entity-filter on leak sensors and smoke detectors
leak sensor and smoke detector you should do a fixed list with entity-filter
that you must know which are the devices ๐
yup thats what I did ๐
why not by device_class?
monster card I am using because I like to list all my automations and scripts on a single view
I like the idea of setting everything up by device class on a monster card as then as my setup expands the front ed will automatically grow
yea or if you like to name things by the room they are in using something like "kitchen*" is really useful
btw, would a card that shows unused entities and takes in consideration monster card be useful ?
yes, extremely
if something isn't in a card of some sort then it needs to be "hidden" is my opinion, sits well with the crazy in me
at the rate of speed the docs are changing I think a "last updated on <date/time>" stamp at the bottom would be highly useful to know if the page changed since you last viewed it
@north spear you're running what version of iOS , latest?
11.4
Btw I would say that current unused entities are not so useful. We need to show entity id
I've also had ideas for a live card editor
that would be cool, to allow changing type real time for those that use entities list ๐
We can convert json into object and load into card
Use createCardElement and should be easy
Maybe that should be a custom card, textarea and output of it below
sounds doable
I've updated FAQ https://github.com/ciotlosm/custom-lovelace#faq
Not sure if some might be generic enough to get into Lovelace official docs
I had more pop to mind ๐
but for official docs those are probably worth it
not related to loading custom js ,but to the platform itself
@half osprey don't you have problems using "current" branch on CLI ?
my git doesn't like the word, it feels like it's a reserved word
Hey guys, does someone know how the new filter work ? Since the latest update this code doesn't work anymore
entities:
- '*light*'
# Filter criteria. They are all optional.
state_filter:
- 'on'
show_empty: false
# This config will be passed to the card rendering the filter results
card:
title: Lights that are on
so I have to list all the lights?
either that or use a custom component
It was really nice to list all the entities from a specific domain, so when I edit things it stay always up to date
I'll look into custom component, thanks!
yes I really like the idea behind the monster-card, I'm just having a hard time to install it lol
can it be in the future as a hassio plug in or something ?
I just thought I didn't need it as much as the time to install it, but now the entity filter is broken then I have to try
Is it possible to show value of a sensor (temperature or humidity) on a picture-glance card vs just the icon?
hi guys, is it possible to hide the main switch of a card? Before was possible to use "control: hidden"
@worn rain use picture-elements instead of picture-glance for that
@tough knoll show_header_toggle: false
@tough knoll yes, it's in the docs: https://www.home-assistant.io/lovelace/entities/#show_header_toggle
@north spear okay thanks!
picture-glance if more for toggle entities and binary sensors
@north spear Thanks a lot!
https://github.com/ciotlosm/custom-lovelace/issues/7 anyone else interested in this?
Can you use camera_image with picture element?
not sure, I know you can with picture-entity and picture-glance
but not sure how it works with picture-elements
Okay thanks
maybe someone with more knowledge can help out
I didnโt see it in the docs of picture-element vs picture-glance where it is specifically called out as a option. The glance card would work great with the values too..
@worn rain are you wanting to set the main background picture to a camera_image?
@tender wasp I think that would be awesome for picture-elements.....why create a floorplan when you have a live feed ๐
@frosty pelican Camera feeds are not always flattering ๐
@raven nacelle that is a very valid point ๐
Yeah that's not currently possible, but I guess it would be easy enough to do. There's an open PR to add images as elements to a picture-elements card, but maybe this can be done later if people really want it
yea and I am still not really sure if my UI will stay this way every day im moving things around to find that sweet spot....i dont think I am the only one either lol
I would like to ask another question: is it possible to have badge or the only way is to use glance card? Thanks
No badges
Hi all, is it possible to filter device tracker ids, by source type ? with any of the actual cards?
if it has an attribute for that you can use the custom monster card https://github.com/ciotlosm/custom-lovelace/tree/master/monster-card
@wheat current , thanks will read it.
Wrong link, updated my answer
I've just added filtering by friendly_name or title to monster-card on dev branch if someone feels brave enough to test it out @mortal cape @raven nacelle
https://github.com/ciotlosm/custom-lovelace/tree/dev/monster-card see part about "Filter entities by friendly_name or title, supports wildcards (*kitchen*). Case insensitive"
@north spear Regarding #23. Why is entities.sort() needed?
@wheat current , monster attributes filter seams not to be working , probably a modifications not yet published?
@calm rock try downloading latest from repo using "raw" and make sure you increment ?v=X in your resources part of ui-lovelace.yaml
ok, tks
@polar kelp I've added it for consistency. Entities showed up a bit of random. At least with that they get sorted by domain and then by entity_id
you have to take into account that conditions are a bit more complex, as you have combination of AND / OR depending on how you write your includes
How about moving it into _getEntities. Do you think that would work? Then sorting should be in order of inclued list, and then by name?
Of course, I only have my use case, and don't know much about javascript.
you can try it out on your side and see how it behaves
just move it around and increment v=X so you don't get cached version and see result
after you tested and have something consistent happy to discuss options
it is lower priority for me at the moment considering all other requests ๐
Sure. I was just hoping for some background so I know if it would be worth any effort at all, of if it will be struck down due to something I never thought of...
the background was to have entities in a more predictable way
especially as a sort will always get them by domain if you have more and if you have one domain, then by entity_id
@tender wasp I like the picture-glance card but since it canโt show the values for sensors like temp/humidity I was pointed to the picture-element card. I have a cam over my sonโs crib would be awesome to see the temp and humidity on top like in a picture-glance. Same for a BloomSky weather station
Hi guys, I'm using a security camera with picture-glance and would like to be able to click on the image to get a live stream of the camera - is that possible?