#frontend-archived
1 messages Β· Page 99 of 1
Well, I see π
@elder pendant there are 2 advantages in my mind:
- sharing on github
- custom updater
Also, at this case, I've already done all the hard work. Switching to the UI editor buys me nothing for now
so should I take all my old configuration files and simply remove any grouping or customization from it?
That may change in a few months
for #2 I still have a ui-lovelace.yaml file that just has my resources in it
Other than that, the old structures would work right?
@mental crystal keep everything as is and just bring up lovelace in auto mode and then select take control and you'll have everything there and ready to edit in lovelace
Couldn't you just go into raw edit and copy everything into a file to share it via github?
Nobody? C'mon guys, someone must have done a view with a root vertical-stack that required setting the width to more than 1/3 of the page...
Panel mode π
any idea why lovelace keeps blowing up my picture-entities to massive sizes?
Hahaha, good to know @split granite, give me a tip on how to unhide my badges in that mode π
i've tried resizing the actual pictures to make them smaller but doesn't do anything...just makes the pictures more pixelated when lovelace blows them up
@sacred fog Read the docs π The short version is - you can't
@mossy otter they become smaller when you put them in horizontal stacks...I kind of made use of that
@mortal cape i'll give it a try...slightly worried if i put an entity-filter next to it it'll make that massive too
@split granite, can always overwrite the CSS (the undocumented way)...
@mossy otter I can think of one way to find out
Just not very practical as it's more than likely set in code that gets overwritten on updates/upgrades
these presence cards were as big as the car presence card, until i put them in 2 pairs of stacks
@mild veldt π
@mortal cape you need an automations icon
I was just thinking the same thing
@mild veldt yeah yeah
That automations tab is a bit jarring
no timer countdown?
4
3β£
You don't like mdi:home-automation ?
ah that's a long one
might not look like it but that pc image and the steam online list are in a horizontal stack
The steam friendlist is neat, didn't know that was a thing
@mossy otter might want to give this a try https://github.com/thomasloven/lovelace-card-modder
our mrs reynolds is my favorite christina hendricks
but more importantly; why would your gaming rig every be off?
it's a fine line with "Mrs Reynolds"
@mild veldt haha it rarely is...but every now and then i like to be able to tell my alexa to turn the pc on π
Until she mishears someone and turns it off on you
@mild veldt thanks, that looks quite useful (if intricate)
it really is π
@split granite still having trouble getting my zwave devices to show now as a switch. as they all show under the <> as zwave.zooz_zen21_zwave_toggle_switch only. have tried manually on/off and restart HA
is there a file that I need to edit or clear?
#330944238910963714 is probably the best place to ask about that, since it's not Lovelace related π
I'm guessing too you're still having the same issue with other entities, so mention those too
or #zwave-archived ?
ok.. it just happened in this release when I came from 85.2 but I can do that
Well, it's wider than just Z-Wave from what he said earlier
Another welcome to 0.86, let's see what we can break π
yes.. could be.. I am missing a couple of wifi ones.. thanks
Man, y'all with your nice UIs and I'm patting my back for just having two cards: Pi-Hole info and up/downrate gauges lol
anyone know if there is a horizontal equivalent of this card: https://github.com/custom-cards/vertical-stack-in-card
Why not just the horizontal stack card?
i want to get rid of the borders, make it appear as if it's one card
The modernized monster-card implementation is coming along great
What? @north spear Haven't seen you in ages!
Hope you don't mind.
@north spear ππ―
I was listening to the podcast as I am going home from snowboarding
Sooo many cool things happened
I have to review my repo and put banners for stuff that is obsolete
And update the rest once I check this new in browser editor
I missed the community and vibe here
can you use jinja to change the icon of a sensor in lovelace ui yaml file or do I need to make a template sensor?
You need a template sensor.
ok thanks
Perhaps I should hold off on the release for a bit then, and see if it can be done as a PR instead...
Btw, have you been lurking around, did I have exceptionally great timing on that screenshot, or do you have a custom ping for "monster-card"?
is there a way to make the light card scale with screen size? i have a horizontal stack with 3 of them and it looks fine on desktop but it doesn't fit on the phone in portrait mode
If you use horizontal-stack, you're on your own layout-wise.
is there a way to make the light card smaller if not using a horizontal stack?
No
@polar kelp just great timing. Literally reading this chat first time in a few months
Wow
Does anyone know of a way to anchor and alias a card in the yaml? I've got the compact-custom-header card repeated for every view, and it's a pain to change.
If you're in yaml mode, normal node-anchors work. See near the end of this article: http://thomasloven.com/blog/2018/08/YAML-For-Nonprogrammers/
If you're in yaml mode, you can also use lovelace-gen to repeat things using jinja templating
https://github.com/thomasloven/homeassistant-lovelace-gen
See: https://github.com/thomasloven/hass-config/blob/master/lovelace/main.yaml
and: https://github.com/thomasloven/hass-config/blob/master/lovelace/floorplan.yaml
Nice. I got it working I think.
Thanks. It's been way too long since I've messed about with the more clever features of YAML. π
hey there... i'd like to play a bit with lovelave by installing this sexy card here: https://github.com/kalkih/mini-graph-card
i followed the instructions
placed the js-file into a folder calledwww in my config folder
then i opened the raw-lovelace editor
and on the very top i entered:```resources:
- url: /local/mini-graph-card-bundle.js?v=0.1.0
type: module```
If you created www/ just now, you need to restart Home Assistant once.
then below the entity: cards: - type: custom:mini-graph-card entity: sensor.sensor_illumination height: 100 line_width: 4 font_size: 75
ahhhhhh
Also, that card has been adopted to core: https://www.home-assistant.io/lovelace/sensor/
Not all functionality, but still.
i see...
but it's only taking sensor entities?
so no climate?
I'd like to plot temperature curves
you will have to create a template sensor for the temperature and then you can plot the curves
Any aesthetic input on this PR https://github.com/bramkragten/custom-ui/pull/21? Add it to the PR as I'll probably miss/forget if you add it here.
I'm slightly annoyed that Bram was first with the editor for a custom card...
disclaimer: I know shit about design
@polar kelp I know! I put mine up right away after I saw him add it π
Then again, most of my cards wrap other cards, and that's not even manageable in core yet.
Hah, I did wonder if devs would ever start adding editors for their custom cards. Not that I use the UI editor myself. π
Reminds me: The problem with card-modder and the animated card for darksky sensors has been fixed.
@mild veldt I'd say in expanded mode it seems that the weather-icon as well as the temperature (both on top) have a strange padding... I'd say they should align and have a bit of padding
btw... do you guys know any youtuber who's talking about all the different lovelace cards there are (and being up-to-date... meaning it's default UI now)?
Yikes, just loaded up the animated weather card on an ipad... The main icon is really low res for some reason. Probably due to some "retina" scaling crap...
@open perch Lovelace has been evolving too fast for anyone to want to make a video that's deprecated in two weeks.
I expect them to start popping up soon, though.
Perhaps @fading sorrel has been streaming something lovelace related?
@ornate mason There was some discussion on the forums about using two versions of the icons. If we use the same version of the icon, sometimes, the smaller icons (used for the lower half) are used for the top icon
π
After all, lovelace has been default for what, like 60 hours?
true that π but I am pretty excited about it (though being super new to home-assistant in general)
one other question... dark theme.... (like can be seen in the screenshots here: https://github.com/kalkih/mini-graph-card) .... I guess I need to install that myself, right? That's not part of the new lovelace-as-a-default-ui-update, right?
Themes work the same way as before, mostly.
perfekt... then i'll search a tutorial for that... thx
@open perch check out https://sharethelove.io/custom-resources
@raven nacelle Ah, makes sense. At least it's only the ipad I'm seeing it on, and it's not that important. π
@polar kelp @fading sorrel does a little bit on his Lovelace setup, but mostly sticks with the add-on dev work but does touch on it when checking ha-awesome PRs
I'm not a frontend type of guy π
@polar kelp Any chance of adding tap_action and hold_action to the useful markdown card? I was trying to do it myself but I could only find typescript cards that have it.
What would you expect it to do?
My own use case is that I've got a card with the status of my local train line. I'd like to be able to tap it to view the full status message.
so mainly more-info.
I think a picture-elements would be more useful for that.
You can add useful-markdown-card as an element as well. Just add box-shadow: none to the styles.
Hmm, good point. I'll have to look into that.
Eh. Let's do this: https://github.com/thomasloven/lovelace-auto-entities
π I guess
I really thought you'd pick trevor as the new name
Damn! Must have missed your message. That's brilliant!
It was too obvious
Hey guys, not sure how to frame this question, but I'm trying to reset Lovelace to a default view. or some kind of view that brings in all of my components.
I remember there was some template engine that did this, but can't for the life of me remember what it's called.
Remove the file /config/.storage/lovelace
@naive knot there is also a way to see unused entities using the 3 dots in the upper right if you are using that mode
@mortal cape yeah, I use that as well, but I swear there was something that scanned your entities and then setup a base for you.
hmm. early on the unused entities was in its own view...
Yes, but that's not recommended for 0.86
maybe that's what you're thinking of
I believe you're thinking of the lovelace configuration generators.
The built-in one is better imho
And lets you use the gui editor
@winter hollow can your LL weather card have option to be able to be detected by the custom updater component?
Did you add a version number to the url when you imported it?
Perhaps you need to add a card_url to the tracker: https://github.com/custom-components/custom_updater/wiki/cards
The custom updater only works with yaml mode, right? Is there a way to just display updates without actually doing the updates in storage mode?
yes
@violet talon I have a ui-lovelace.yaml file with JUST my resource section so that I can still use the custom updater in storage mode
you just need to keep the file ui-lovelace.yaml
after updating you just need to clear your cache to bust it or copy the contents of the resource section into storage using the raw editor
So make ui-lovelace with the resources and then add the card in storage mode?
@mild veldt i usualy never need to clean no cache or copy nothing to raw editor
hi all, does the UI config allow you to use custom cards?
it will update without doing those steps
@torpid cypress yep
@torpid cypress yes
@torpid cypress yeah
wow! never had so many replies lol
i messed up π¦
i should of had more questions lined up!
lol
You add them in the raw editor as usual
and now we shun @torpid cypress
so is there any advantage of using yaml mode then?
but no ui editors
im pretty happy with ui editor it rox
Argh. The calendar-card stopped working on my nexus 7 tablet... Says moment isn't defined.
@ornate mason saw that today as well, but only sometimes. Not sure what is up
I'm hosting moment.js locally, tried to change it back to unpkg, no difference
I'm guessing it's because moment isn't loaded at the time it tries to use it. (similar reason as to why card-tools has a breaking change in the newest version, probably)
Is moment imported as a resource or by the card?
resource.
You could try
- add
import /local/moment.js;to the start of the calendar card - make sure calendar card is imported as a module, not js
could work
@ornate mason calendar card requires ```
- url: https://unpkg.com/moment@2.22.2/moment.js
type: js```
i have a bunch of core.1066 files in my directory created was wondering where they come from
@raven nacelle Yeah, I have that. I think something changed with 0.86
Nevermind, it was because I was importing it as Thomas suggested. π€¦
how do i organise the cards better? I keep using the up and down arrows but it seems to have a mind of its own as to how far up or down it moves cards
since the 0.86 update, everything is broken due to lovelace π¦
my whole interface is now broken\
@visual meteor That doesn't seem lovelace related. Check if any of your entity ids are now invalid. For example, they can't end in underscores any more.
before the update, my whole update was perfectly working @ornate mason
@visual meteor Lovelace can break lovelace, nothing else. The whole point is separation of concerns.
how am i able to fix this, any suggestions?
how to force update?
because im now at 0.83.2 and dont have an update notification
$ hassio homeassistant update
Then try #330990055533576204. I've never used it myself.
Updating 3 releases without reading the breaking changes is like russian roulette!
I'm testing out Lovelace and trying to rebuild my UI from scratch without touching an IDE. So far REALLY pleased. Great job, guys!
Is it possible to configure these vertical/horizontal stacks from the Lovelace editor?
Only via the yaml fallback. Not through gui options yet.
Right. commenting out the line setting the moment locale fixes it, but breaks locale support.
@polar kelp Well now I'm slightly confused. With the deployment of Lovelace default, HA isn't using my ui-lovelace.yaml file anymore. Soooo... where exactly am I customizing this yaml? /config/.storage/Lovelace ?
read the manual and enable yaml mode.
When you add a card in the demo and select a stack, you will get a popup where you can fill in the yaml for that card.
really cant get the hang of this lovelace. Unsure if i feel more comfortable in yaml mode or the UI mode.
cannot even get the cards to stack properly either
In yaml mode you see what you get, in storage mode you guess at the moment.
@sudden lion If I do that, then I can't use the UI editor anymore.
Then use the raw config editor inside the UI
can you do vertical and horizontal stacks in the UI editor? Im really struggling to get things to line up as they were on the original states UI
how can i easily adjust the order of the tabs at the top?
do i have to amend that in the raw editor?
@polar kelp 86.3? Not seeing it.
@naive knot you don't have to be in yaml mode to use stacks. Not sure why they are saying that
You can use the UI, or you can use the raw config editor
The UI is a little clunky for it, but it can be done
Canβt get the link to the right part of the post on mobile...
it would be here first, no? https://github.com/home-assistant/home-assistant/releases
this raw editor isnt good for the eyes lol
It's part of why I went back to yaml, so I can use VSCode...
@naive knot using the UI
@mortal cape Thanks! I got it working. It was confusing because there's an "toggle editor" button, but not clickable because it's already in editor mode.
Yeah. Thatβs the yaml fallback.
The gui editor isnβt finished yet for all cards, and for those you get to efit the yaml instead.
Only with the raw editor I think
And I can't really mix raw & editor
can I
Imo a good addition ( at least until full lovelace compatibility with editor ) would be to have raw YAML editing option for every component
even for those existing a simple switch between editor/text would be neato
But I guess I'll be falling back to raw editing for now
Is there no way to show an attribute in lovelace as if it were an entity?
@wispy portal the βrawβ editor is accessed by clicking the three dots again while already in edit mode in the gui. Itβs definitely compatible with the gui editor.
I can't find a way to insert a single attribute
Best way is to create a template sensor to extract the attribute you want.
yea, but that makes creating a card take 5 time more effort
How often do you plan to do that?
i guess, but it makes creating UI for something like a vacuum take way more effor than it should
How often do you plan to view it?
is there a way to embed the "pop up" directly in a card?
it has basically everything I want
but I need to hide a few things
Not at this point.
ok thanks
horizontal and vertical stacks could have cards: entered by default.
I mean, you always need that, right?
@polar kelp I've completly missed entire raw dump can be accessed. NEAT. Thank you π
@wispy portal becareful with the built in editor for comments, it will strip them out
when you hit save
kind of annoying
Where are the built in pop ups defined?
@vapid tapir how they look?
nevermind
in themes
I found the source
no, the polymer js that makes the pop up info boxes
I was thinking about how to make a custom card that lets you embed the pop up into a normal card
and filter the controls/displays you don't want
seems like the info window controls could be reusable
is there a way of having CSS include with HA theme?
hi! wondering - is there anything i have to do to get the 'configure ui' option to work. clicking on it does nothing. on 0.86.3 docker.
So there is not "easy" way of doing styling of ha-card HTML entities is there
I've seen @polar kelp plugin: card-modder is it the only way of css editing cards?
If using packages (heavily in my case) is it best to just stay on Lovelace "yaml mode?" ... I like all the work that has been done on the UI editor but not sure I trust the cutover from all I have done π
hassbian.com users are keeping up with lovelace and custom cards
anyone know why custom text of template binary_sensor doesn't display in love lace
i've been working on this forever
code works in dev-template when tested
nevermind, apparently you can't override binary_sensory with a template
it has to be a regular sensor...
what a waste of 2 hours
lol
Any idea why I can't get images to work in lovelace. Try with a simple picture entity defined as:
- type: picture
image: /local/image.jpg
with image in /config/www/image.jpg
Tried full address https://<duckdns-url>/local/image.jpg as well
If I instead use https://www.home-assistant.io/static/icons/favicon-192x192.png it works. Tried to scale other image down to 512x512 with no differece
i'm running out of ideas to try
accessing full image url gives a 404 as well
https://<duckdns-url>/local/image.jpg
Running HA 0.84.6
check permissions user homeassistant not root?
Owner of file and dir is root that's correct but there's no homeassistant user on my system
Also I tried setting permissions on both www-folder and file in it to 777 with no difference
Tried downloading the favicon and put it in /config/www as well to see if there's an issue with my image but that didn't work then either
Also tried
whitelist_external_dirs:
- /config/www
in configuration.yaml
@strange finch did you restart HA after creating www?
@mortal cape I thought I did. What does the restart under Configuration->General->Server management->Restart do? I did that as well as reloading some configuration files but that didn't help.
That's the one
Now I did a
hassio homeassistan restart
in terminal and it actually worked after it came up again...
without changing in the configuratoin files. Seems like the UI restart doesn't really work
does lovelace use the same theme system as the old UI or is there another and/or better way? I'm looking to try a darker theme to better suit wallpapers
Same pretty much
okay, thanks
@strange finch it does a configuration check when you use it. An error will prevent it from restarting so you can fix it. Maybe that's what happened?
I don't think so because
Configuration->General>Check config reported config files were correct.
Hmm. π€·
Also the ui check doesn't catch everything
The command line check is better, and that's what runs when you restart
Hard to say what happened there
Yeah, somewhat confusing.
You got it now at least
Thanks though
Super stupid question - any idea how to turn climate devices on/off with the new lovelace cards?
Change the Operation mode in the card
Which one is "off" ?
I can change between modes sort off, have lost control of the fan etc - but that's fine. I just can't work out how to actually turn on/off
I'd guess the fan or the arrows, since I don't have the same list of icons you do (but mine's a generic thermostat with just heat and off)
Yeah, it's none of the icons.
I thought there was some secret magic.
I assume it's just been overlooked.. no on/off seems to exist.
I have a power icon on my thermostat card. I have the ecobee that just runs heater
The other option is to open the dialog for the entity in
(using
), set it to whatever the off state is, then see what icon is illuminated
Yeah - I use state control - https://ibb.co/r2jLDN4 at the moment
The operation mode icon remains highlighted
regardless of power state
https://github.com/home-assistant/home-assistant-polymer/issues/2581 will provide a work around
Possibly worth opening an issue of your own for it though, since that's a work around not a solution IMO
Yeah - that is not a solution
I'm adding a whole bunch of input_booleans for climate control
So, that fixes for now sort of
@split granite https://www.hastebin.com/sucabuguto.makefile
So... what's that got to do with migrating to Lovelace π
For re-doing the migration, delete /config/.storage/lovelace and then use the Refresh option in the three dot menu
[miio.device] Unable to discover a device at address 192.168.1.23
[miio.device] Unable to discover a device at address 192.168.1.24```
the .23 and .24 are vacuum cleaners... and the the hp_ilo is the component that was error since version 0.52 i guees
@split granite in the 3 dots don't have refresh option
Try refreshing the browser then
yep that works
less warnigs now π
but now if if went to configure ui i get a warning asking if i want assume the control
@split granite the lovelace file wasn't recreated in storage
Yes, you're now in the default setup
If you want to configure the UI, it'll create the file for you
Hi, im kind of new to lovelace (and home assistant tbh), but was wondering if anyone could tell me if there is any way to have a state label using a different entity for a tap action. my example is displaying an indoor temperature but when you tap the image you get the thermostat more-info?
@split granite ok, that is then... thank you π
@split granite ok thanks for that, will have to look at another way of doing it π
Create a custom card π
hi everyone, been a while since I posted for advice in here. I am about to probably ask a dumb question about custom card for surveillance-card
i added the js file into the www folder, added it to resources in the yaml file, but its still saying it doesnt exist
ive just flipped from Pi to Virtualbox, not sure that has any bearing on it
Was there a reason for not having a title available in the vertical or horizontal stack cards?
also, I removed the PiHole addon but it left the badges in my main screen
Hello, does anybody know how to change that text color from themes?
shut i cant post images
i changed background and it went black : https://i.imgur.com/s7wOX15.png
paper-toggle-button-checked-*
paper-toggle-button-unchecked-*
Just do F12 in Chrome and play with the colors as much as you want
You'll see them in the CSS
anyone got any ideas on the custom card issue I have? I've added loads in Lovelace before the 0.86.x updates with no issue. I can't figure this one out
done all the normal things, add .js to the www folder, added to resources: etc
"Custom element doesn't exisit" though
what card isnt working?
surveillance-card
What errors do you get in the console?
Click F12
oh sorry the web console doh!
when i click on it nothing extra appears
just grabbing screenshot
ive not struggled with this before
Not sure how to help then, dont have cameras or newest HA version π¦
its really nice, but i cant seem to add this custom card for love nor money π
Make sure the entity_id is correct. Some entities have changed with the latest update.
i have the 3 cameras on the main "home" view with the same ID so I think that's ok
Never the less, the only way that card should give that error message is if it's somehow gotten a camera entity_id that doesn't exist.
if that error message is caused by the surveillance-card, that is. That's not a given.
This there ids, same as in my yaml https://imgur.com/a/FwhGifP
cameras:
- entity: camera.lounge_camera
- entity: camera.office_camera
- entity: camera.kitchen_camera
not sure why that looks spaced weird
That config looks ok, so the error in the log is probably from something else.
https://github.com/custom-cards/surveillance-card/pull/11/files Probably need to change this manually until there is an update
Ah. #cardgate
ah thanks for spotting that, will have a look now
still same message after changing Line3 and clearing cache/restart
Incognito mode same too
If I use gui, I'm super confused about the syntax en indents, plus horizontal stack/vertical stack adding is difficult. Should I use yaml mode back?
@low parcel how you putting?
basically same has exemple you just dont use the - on start
ex:
type: vertical-stack
cards:
- type: picture-entity
entity: camera.demo_camera
show_info: false
- type: entities
entities:
- binary_sensor.movement_backyard
So I'm a little confused about lovelace. I used the Lovelace Migration add-on and have a ui-lovelace.yaml file but the changes all seem to be on the .storage/lovelace file. Which one should I be editing?
@shut sleet lookup popup-card
@prime umbra you say don't use the -, yet you're using the - for your types, I'm really confused about the markup in the gui
@sacred fog that's was not it, here's wat changed: https://i.imgur.com/o25uNbu.png
and if I add horizontal stack I've to add configuration, don't know what to type there to be honest
@low parcel just on the main one
when you start a new card you see that doesnt have it
going back to yaml mode, I need custoim cards anyway
you can use custom cards ui there also
After the initial Lovelace migration that happened after the update -> If I too want to move to yaml-mode, what's the "correct" way to get the current lovelace ui config to the yaml-file? Add the yaml-mode to configuration.yaml -> does it create the ui-lovelace.yaml automatically? As empty? And then I copy paste the contents from the ui raw editor?
https://www.home-assistant.io/lovelace/yaml-mode/
if you read says Create a new file <config>/ui-lovelace.yaml
I put the raw editor on the left, VS Code on the right and copy and paste back and forth.
Β―_(γ)_/Β―
@polar kelp I mentioned the other day that certain custom cards won't display in vertical-stack-in-card, it seems something doesn't load first, not really sure what is going on. I thought it was card-tools not loading, but a couple of custom cards that don't use card-tools I don't think (tiles-card for one) also cause the error.
You thought that vertical-stack-in-card should be loaded last in resources, but I have tried it first and last, no difference.
I get 'vertical-stack-in-card TypeError: element.setConfig is not a function' errors in console.
Any ideas?
I think the problem is that lovelace has been seriously sped up, really.
And it's not redrawing all cards every time a custom card is loaded in anymore.
If I load a blank page first, with just navigation buttons, every page loads correctly when navigated to.
Why is paper-button color == --primary color?
paper-button { color: var(--primary-color); font-weight: 500; margin-right: -0.57em; }
i tried changing it in the themes
paper-button-ink-color: '#5294E2'
paper-button-color: '#5294E2'
but to no avail
Say you have a mini-media-player in vertical-stack-in-card. Before what would happen is:
- lovelace draws all core cards on screen (to get an interface up as soon as possible), custom cards are replaced with a placeholder but kept track of (i.e. lovelace tracks vertical-stack-in-card, but not mini-media-player)
- lovelace loads in all custom cards
- When VSIC is loaded in, the ENTIRE view is rebuilt from scratch. During this process, there's plenty of time for MMP to load in as well and there's no problem.
Now the first two steps are the same, but in the third step, only VSIC is rebuilt, and when that happens MMP hasn't had time to load in yet.
Am I just SOL, I use a lot of custom cards, and I had to take vertical-stack-in-card out of about 15 views, and my interface is sloppy now. Any mod I can try with vertical-stack-in-card?
Well... you could try rebuilding the entire card-loading process of it to either use directly or use the same method as card-tools...
We'll probably need to change how custom cards are handled in the frontend. I'll bring it up with the devs.
Thanks. vertical-stack-in-card is too great of a card to lose, it should be part of core, it really improves the look.
Or, just a way to be able to get rid of the gap between cards, and use a regular vertical-stack... but I assume that's what the card does.
You can use entities and card-modder...
But it's not pretty
type: entities
entities:
- type: custom:card-modder
style: {box-shadow: none}
card:
type: entities
entities: ...etc...
- type: custom:card-modder
style: {box-shadow: none}
card:
type: custom:mini-media-player
entity: ...etc...```
I'm curious, do you guys create separate panels/tab for your mobile interface vs your pc interface?
when the new UI kicked in, as part of the migration how did the lovelace config pickup my conversions (E.g KM to Miles on some of my BMW sensors)
Did it reference the old sensor files under /include
when it was all yaml i was in control (in my head anyway) π
sorry, where is that in ui-lovelace now. I am just rtrying to understand how it is still rounding up/down to the same decimal places i had to use value template for etc before
That's not in ui-lovelace.yaml. That's in configuration.yaml, for the backend.
so ok i think i missed something fundemental here π
so all the includes etc in configuration.yaml are still valid?
yes
hi, what type of card shouyld i use to display a list of automation i can swtich on/off ?
ive had my HA instance running without touching it since October, so im a bit behind the curve here with recent UI change in 0.86.x
apologies
@umbral sable entities: https://www.home-assistant.io/lovelace/entities/
@umbral sable If you want a traditional look, then the entities card. If you want something more compact, glance
thx a lot
Can you put a script in a glance? Or does it need to be in an entity button? If it needs to be in an entity, is it possible to get a column or stack of entities that look the way a x column glance does?
You can put any entity in a glance card
a date and time on the right (same level as the view icons in the banner) would be nice, anybody who has done that yet?
@polar kelp One more question on the vertical-stack-in-card issue.
Am I slowing down my interface by using that card, because of the way it loads the card.
who's thje genius that made layout-card.js?
@low parcel thomasloven, check it out, many amazing cards
https://github.com/thomasloven?tab=repositories
@thorny verge Likely not noticeably
i'm using device tracker to detect if devices are online or not but the cards display home/away, how can i display online/offline instead ?
@polar kelp Ok, thanks. Really hope something can done, but will just wait and see.
@umbral sable Wrap them in a template sensor and define your own states
ok thx
how do I make cards bigger and smaller, I would love to have a row with cards, and the first card should have 4 things in it on a row, so 3 columns, first column 4 hΓ§rizontally placed icons
is there a list of all the mdi:home type icons?
I have a problem with the newest update 0.86.3. When I am updating I am getting the new lovelace ui, but after a while it takes an automatic restart and reverting back to the old ui.
@neat flume yes, https://materialdesignicons.com/
@low parcel so these choices are all built in?
or do they need to be downloaded and referenced?
yes, I think so, mdi:cctv, mdi:flower all work for me, so you need them to be referenced
- title: Home
Unique path for direct access /lovelace/${path} and unique icon
path: Home
icon: mdi:home-assistant
panel: true
yeah I have just been trying ones from sample code
didn't know if there was a master list somewhere
Is there an easy way to reference the existing domain icons in entity-button cards? Ex: specify bulb instead of the default lightning bolt?
Is there a way to get rid of "NOT FOUND" badges? I removed the pihole addon and the badges are still in the home screen, cosmetic but annoying
Hey :)
I've just installed homeassistant for the first time and I have some problem with Lovelace.
I can't access it via chrome (71.0.3578.98 Win10). It works on firefox.
@mossy gale configure UI -> click the pencil for the view -> switch to badges -> delete
I spent yesterday converting
@sinful fulcrum @mossy gale which browser are you using?
chrome
Hmm, any ideas why I can't make it work with my chrome?
what happens?
I've just installed newest version on my RPi with docker.
i get some weird screen draw sometimes where the i cant see titles or the panel is squashed
And in chrome I get this in js console
Uncaught TypeError: Illegal constructor
at CSSResult.get styleSheet [as styleSheet] (app-3b4bb4ed.js:365)
at renderRoot.adoptedStyleSheets.styles.map.s (app-3b4bb4ed.js:377)
at Array.map (<anonymous>)
at HTMLElement.adoptStyles (app-3b4bb4ed.js:377)
at HTMLElement.initialize (app-3b4bb4ed.js:377)
at new UpdatingElement (app-3b4bb4ed.js:344)
at new lit_element_LitElement (app-3b4bb4ed.js:377)
at new <anonymous> (app-3b4bb4ed.js:1305)
at new <anonymous> (8ee9235853b66c6b78f9.chunk.js:1071)
at new hui_root_HUIRoot (8ee9235853b66c6b78f9.chunk.js:5370)
I moved to Virtualbox running on Mac yesterday from Pi 3+
so vanilla build and it doesnt work
and also I can't open demo page (https://demo.home-assistant.io/)
yup, and only this overview tab doesn't work
try empty cache hard reload
I've tried it, also in incognito and it's still the same
@ancient holly do you have any expiremental features on?
yup, experimental webplatform
turn it off and try again
chrome://flags
restore default
π
I must have enabled it some time ago
@thorny verge I have an idea. Need to take care of the family first, but I'll try some things in a few hours.
If I want a glance to behave like an entity button do I need to add service calls or do I embed an entity button? service calls become awkward for locks.
@lone anvil https://www.home-assistant.io/lovelace/glance/
2nd example at the bottom
you can set tap and hold actions
@polar kelp Man, you're the best, let me know, no hurry.
I had to experiment to figure out what worked. Thank you.
I'm trying to parse this together from different posts etc but no luck so far. Should it be possible to make an Entities-card and make one entity (sensor) so that it shows the state/value as it normally does, but clicking the entity name would fire a script?
If I understand correctly, the Glance card would support this?
I have a template sensor that counts days from an input_datetime value. And a script that sets current date to input_datetime value, so kind of resets it back to 0.
So far I've had the sensor and then the script below the sensor in the UI. But I would like to combine the two rows so it would be more compact.
@potent fulcrum https://www.home-assistant.io/lovelace/entity-button/
for a single entity
Glance should work too
Yes, but if I would want the entities card π
I have so many entities that for now I like to keep one Entities card = one room. And I have 10 entities in that room (indoor pool with lots of temperatures etc) from which 2 are those reset date scripts.
https://www.home-assistant.io/lovelace/entities/#call-service @potent fulcrum π
- entity: sensor.allas_kemikaalitasapaino_viimeksi
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.allas_kemikaalitasapaino_nollaus
I tried this but no luck
@split granite I think he wants the tap action of an entity to call a service so there is only 1 row
Then, at this time, that's not possible
@potent fulcrum Glance will do it but the display isn't as compact as entities
Maybe somebody will do a custom version that does π€·
Thought so too. Thanks guys.
How do you rearrange the different views using the new UI tool in 86?
Change the order they are in
the arrows at the bottom of each card
in edit mode
whoops
views... try raw edit mode
Can I just cut and paste the order?
I haven't tried... but that's what I would try
Ok
Thatβs what I was thing but Hadenβs tried it yet
Wasnβt sure if that messed up the UI config tool or not
I don't think it will... I already added some custom stuff via that
just haven't tried moving order
just back it up if you're worried π
can i set a default start tab for lovelace? eg tablet in kitchen defaults to kitchen tab?
@sleek warren google home-setter
This may have been covered before but I canβt find reference, Iβm using the lovelace gauges and to me the colour severities are wrong. Green should be when itβs 100%, yellow 50% and red 0%. Is there anyway to reverse the values? Is it a case of using negative values?
@sharp talon You can add the values manually https://www.home-assistant.io/lovelace/gauge/#severity
is it possible to have the entity button run multiple services (e.g. turn off all lights, then turn on certain ones with a certain color)
or should I just have it trigger a scene
if you know the sequence of activities, use scripts/scene
@raven nacelle this is what Iβm trying for example green 100, yellow 50 and red 0. But this doesnβt seem to be changes in the front end. I have a value of 42% which is showing as red, not yellow or a combination of red/yellow.
yeah, alright
that is correct...it will show as red
severity:
red: -8 <- greater than -8 and less than -2
yellow: -2 <- greater than -2 and less than 0
green: 0 <- greater than 0
``` @sharp talon this is how it works (from one of the examples that I am using)
Hello, i have a question about modifying the properties of an object in the CSS (paper-button) trough the use of themes, can anybody help me?
@raven nacelle Not sure what I'm doing wrong here. https://imgur.com/a/QERfArV
again...it is right outcome π
what are you trying to do?
you want >100 as green?
don't use those numbers, I used for a range -8 to 8
the closer to 0 its red, 50% yellow/red 100% green
Sorry I assumed you gave me the solution to what I wanted π€
yes
use red: 0, yellow: 50, and green: 100
this is based on what you said, but don't think this is ideal as the gauge will be mostly red/yellow
Not working. I have a 100% showing as yellow.
yes, it will be green only for values > 100
if you want it to be green only for 100
change green: 99
Does it not gradually mix the colours like in the example on the HA page: https://www.home-assistant.io/lovelace/gauge/
no gradual mixing
it just changes the color
from red to yellow, for example
I am sure, we will get more features soon on that card. Wider range, more color options, transitions, etc.
where do i add the resources: now?
if i am using editor to manage HA rather than yaml
hang on think i found it Raw Editor
Is it possible to add custom cards in the Lovelace UI where there is no ui-lovelace.yaml? I've downloaded the files to /config/www and restarted HA
that what i m trying to do
i was about to add Resources: in the top of the Raw Editor file
see what happens π
@mossy gale That's what I was thinking of doing as well but couldn't find anything online to backup the idea..
@mild veldt thank you just found the github
well ive just done it... @crude geyser
lets see what happens
nope π¦
FFS grrrrr
different error though in the card, now get "Cannot read property map of undefined...."
@raven nacelle Thanks for your help π
@crude geyser any other ideas? Im all out
@mossy gale @crude geyser creating a resources section at the top of your file while using the Raw Config Editor is the correct solution for using custom cards
interesting
@mossy gale your entity provided to the card is likely incorrect
what card are you trying to use?
surveillance-card
its confusing me having the yaml around the other way in the Raw Editor
"around the other way"?
I'm pretty sure surveillance-card is broken currently
but your error looks like you just didn't give it a list of cameras
what's your config for the card?
yes ive made a momunemetal incorrect assumption
i stupidly have been editing the migrated file for Lovelace!
which i realised 30 minutes or so ago
other way round bit was just the way the editor lays out the sections, having the title at the bottom of the yaml not the top like I used to havve before
it's alphabetical
that explains that
surveillance-card is broken
last week was broken cuz bad unpkg referencing localhost:5000 for something
this week some CORS policy error
cards:
- type: 'custom:surveillance-card'
thumb_interval: 15
update_interval: 2
cameras:
- entity: camera.lounge_camera
- entity: camera.office_camera
- entity: camera.kitchen_camera
icon: 'mdi:cctv'
panel: true
title: CCTV
thats my code in Raw Editor
2 tick
i reset it back to original import statement, works again
i changed to this
i was using lit-element from https://unpkg-gcp.firebaseapp.com/@polymer/lit-element@0.5.2/lit-element.js?module last week when it broke
} from 'https://unpkg-gcp.firebaseapp.com/@polymer/lit-element@0.5.2/lit-element.js?module';
yeah i had same thing as you, it wasnt working for me. you might still be seeing a cached version?
idk w/e shit breaking all the time
i can see my cameras in a panel π i am happy
How does the card look? can you share a screenshot?
sure
hold on
her indoors wont be happy shes in it π
they are all in IR mode at the moment, if u wonder why they are all black and white
Anyone doing anything cool in lovelace these days? I read that there's a way to customize in the GUI now?
nope. we gave up on cool
boooo
Cool stuff is just sooo 2018
are there roadmap plans for the Raw Editor to show syntax colour etc?
That would be neat
do I have to convert from using the config file to get the edit on my cards?
@mossy gale raw editor will evolve
excellent π
cant believe i was editing the ui-lovelace.yaml file all afternoon wondering why nothing was working!
I mean you can still use that, you just need to be in yaml mode
I was about to edit mine then thought, is the GUI editing good enough yet?
its easier in the editor i think
I think it is. The raw editor is there if you need it
Do you lose some of your customization using the gui?
I would rather just present a resources UI editor
Custom cards are the only reason I have
yes resources is my main reason to go into it
@elder pendant but for resources, right?
you don't need to use it for adding custom cards
i love we can just add entities via the edit option
you can use the regular add, then select "SKIP"
although i'm going to change that to be "MANUAL CARD" instead of "SKIP" in the next release
it's better in yaml mode, that' for sure, so two months ago I said I'll come back when Lovelace is mature
@low parcel that's totally subjective
I prefer doing it in raw when adding a custom card, I just like to see the way it sits around everything else
two months later, nah, it misses a grid build system and layout options for cards
but it's still better than the normal ui
how do I use the card editor? I don't see it in the docs
@odd light top right menu "Configure UI"
oooooh
@mild veldt nope it's not, it crashed 3 times when using it
I'll try that when she comes back up
Is there not a way to setup detection for custom cards so they show up as an available card when you hit the add button?
I'm running the newest update
i made the move to virtualbox from my Pi, wish i did it ages ago. Restarts 100 times quicker
That would be a pretty huge step in the direction of total usability for the UI
@elder pendant no, but we will eventually give custom card creators the ability to add to the list
there are a few cards that have UI editors now, but only when editing, not in the initial add dialog
I set up a vm and it was awesome but I don't have a box to run it for now
so I'll suffer with the pi a little longer lol
Right, making the option to add them to the list would open up new worlds to people that aren't comfortable with coding on their own
Though I suppose at this point if you're using HA you kinda have to a little bit
ideally we have a store of sorts someday for seeking out new custom cards
don't custom cards come also with the javascript problem and the update problem?
that is a very vague question
i had a really nice panel on my old manual Lovelace back in August for location of my family using Life360 data. I'm going to see if i can bring it into here
What's "the javascript problem"?
i have a manual tracker for the customer components
i just manually update when i see a badge saying 1 π not very elegant
"Customer" components. I type that all the time π
version 999 or something, it didn't work properly and you had to had latest javascript to your frontend config and had to play with versions in order for it to work, happend to my first custom card i tried
oh ffs
It would be nice to see a custom_sources.yaml or something where you can just add the URL to the download link of the latest release of your components and they get pulled automatically when a version difference is detected
And then maybe an option to just reload the custom components rather than having to restart HA
I use custom_component and tracker card to keep my custom cards up to date it wont automatically update cards but its just one click button in the UI to update
are you using that on the new UI ?
is this going to be a pain to add in via the UI https://hastebin.com/ilamewonip.bash
I use yaml mode for lovelace
i wonder if there is a way to get all of my cards in the link into one "card"
with background and all?
you can just copy paste that in the raw config editor btw
you will lose your comments
ah ha didnt think it would be that simple, need to add the big numbers card first
Mini media player should be a part of stock lovelace, the card is amazing:
https://i.imgur.com/2n4Arlg.gifv
Now set the option to make the background the album art...
Didnt like that for this setup, only use that for the single players, not the grouped ones
I haven't, yet, used the grouping option for Sonos, time to start setting up includes for my Lovelace first π
@sudden lion This is the reason I'm trying to get Custom Cards working with Lovelace via the Raw Editor, mini media player is excellent
I keep getting the error "Custom element doesn't exist: mini-media-player."
did u add it at the top ok?
Add the resources
resources:
- url: /local/mini-media-player-bundle.js?v=0.9.8
type: module
title: Home
yup
open that file and tell me if it is a big html file or if there is code in there
the correct file is one long line and starts with the word function
How do you add a slider to a switch in lovelace
@tepid locust Think that's the problem, saved it as HTML instead of .js
I want it on the main page, not a click and slide
You can't add it a switch, you can add it to a light with https://github.com/thomasloven/lovelace-slider-entity-row
By switch I mean light
sorry
I wound like to add sliders here https://nextcloud.mddrop.com/index.php/s/rH3BBnBqSEN4YQ9/preview
Instead of on off switches
Look up, look at the link I posted, follow the link π
oooh soo using that π
okay so to use the console UI I have to switch from yaml mode, is there anything I really lose moving to console UI?
It's awesome
like customizability etc.
if you long press on it does it still bring up the color picker and other options?
The ability to use !secret or !include is about it @odd light
you mean people use !include in the lovelace config?
Yes
I only have that stuff in my config.yaml
awsome!
sweet, now to see how to switch to console UI mode
it is easy, just remove mode: yaml
click edit config in the top right menu
take control
and click raw editor in the top right
paste in your yaml
will it start editing my lovelace config file after that on its own?
click save
oh
and done
haha
here we go
I think I have to restart HA to get it to recognize I'm out of yaml mode
yes you do
OK so I've got "mini-media-player-bundle.js" in my config/www directory
In the Raw Editor I've got the following code at the top
resources:
- url: /local/mini-media-player-bundle.js?v=0.9.8
type: module
title: Home
ohh I like this
How does your file look? https://ha.install:8123/local/mini-media-player-bundle.js?v=0.9.8
hi all. could you recommend a place to learn about lovelace (upgraded to 0.86 ystarday and I'm not 100% sure howto customize). I've whatced a couple youtube vids recommending the use of the UI editor (which I've done), but when I look at sample configs (on the forum or github) everything is a yaml. And here is where I'm having problems... I don't fully understand how to make changes without using the UI and, when using the UI, I don't know how to leverage the yaml files from github/the forum.
@sudden lion That works, get the raw javascript
If I go to Configure UI>Add A card>Skip> I paste in:
type: custom:mini-media-player
entity: media_player.denon_avr_3313ci
icon: mdi:router-wireless
artwork_border: true
show_source: true
use the raw editor <-- as in a plain text editor?
It throws: "Custom element doesn't exist: mini-media-player."
I just pasted my lovelace config <-- I don't have a lovelace.yaml in the folder where configuration.yaml is
not sure about the cards yet, I just started messing with mine, I'm trying to figure out how to get a new view to use an icon.
jsut add it on the Edit option
i cant work out how to get 3 x picture entity cards inside a Horizontal stack
but like I tried the name from mdi, I tried mdi:bed
I'm trying to set up a view for just the bedroom
should work fine
which one
using editor? or Raw Editor
just the GUI editor
yeah in the raw config it looks right, but it shows up blank lol weird
wait wait
got it
sweet
excellent... now if u can just work out how to get 3 picture entities in a horizontal stack I will be over the moon π
how are you laying out your lovelace? I'm trying to split it into views for each room
then I think I will have a "dashboard" with stuff that doesn't fit
something like that
yes same here
ive grouped all my temp sensors / battery levels (dont ask why??) / Travel related/ Weather / CCTV for the moment
@mossy gale - how are you doing weather?
currently working on the Location for trackers one, but cant fathom out how to do cards
@manic obsidian I am just having a view with the different weather info (Dark Sky/Met Office/French Weather/Windy.com etc)
Well looks to be working now, worth noting is it seems to automatically change the syntax of my resources declaration
I removed the weather view, didn't really use it
resources:
- type: module
url: /local/mini-media-player-bundle.js?v=0.9.8
@mossy gale thanks. so, not the 'weather forecast' card? (was trying to add this with darksky and it doesn't work; and all the exmpales I find talk about modifying the yaml, but as I said above, I can't find how to play with the yaml for lovelace)
ah no sorry aint got that fair yet
top right hand corner and click Raw Editor
if u click Configure UI first
sorry its called Raw Config Editor
i didnt know either 4 hours ago π
hi all
good evening
o/ @mossy gale
is it possible that defaultPage (in localstorage) prevents lovelace from loading ?
I think it's since 0.85
thats a question for someone far more technical than me
hopefully someone will pick up on it
oki π
maybe I could have a look at the code, where is the repository of lovelace source ? it's within home-assistant 's one ?
Yeah, it was changed a bit
it can only contain the path to a panel
no sub paths
and this is the source https://github.com/home-assistant/home-assistant-polymer/
lovelace still needs a little more customization with the cards I think.
we are still working on it
hehehe what do you miss?
@winter hollow does your Lovelace animated weather card can be intergrade with card tracker for the updates or is there any tracker.json address to keep track off new updates?
nothing, just things like for example, I can do a horizontal stack, but then if I look at that on my phone it will be smushed because it will be forced to be in one column, if I could tell it to take up the width of the browser window it would be horizontal on my laptop and in a column on my phone, maybe lol.
nice @winter hollow , and awesome job on that card, roxxx!!!!
@odd light yeah that is something we are struggling with for a while... we haven't found the right solutions yet π¦
it's probably a pain in the butt programming wise
it is the balance between keeping it easy to configure and have flexablility
@odd light show us!
hold on, still a few more things to add lol
hi there when i get "Entity not available" errors on all KNX lights when switching to lovelace, is this then a problem on my setup or do i have to adopt something within knx-component? (running current dev)
you don't have to change anything for Lovelace, are the KNX lights in your states? Is the entityid changed?
and, in what mode are you running Lovelace, automated or controlled?
@winter hollow : "mode", i dont know, i just pressed "try out lovelace". I did not configure anything else.
@winter hollow : What do you mean with "entity id changed" ? the entites are generated by the KNX component ..
(I contributed that component, so i wonder if anything has to be changed within the modules)
Current dev should give Lovelace by default....
yes, i noticed, I had to switch back π
have to run dev in production bc I'm working on #18738. And i dont have a test environment with velux windows π
Living on the edge...
haha, indeed!
but anyway, your are in automated mode
and it just uses your groups
if you have entities in your groups that don't exist, it shows that warning
ic!
hmm, is it possible that lovelace uses a different escaping algorithm for replacing special characters?
weird, I added a temp sensor, then a humidity sensor and it kicked me out of lovelace
hmm, yes, it is an escaping problem, the ID of my entity is: switch.kitchen_coffee and within lovelace UI it tries to integrate switch.kitchencoffee. sigh
@hearty marten I don't think that is Lovelace
do you have it correct in your groups?
yes, and it works for the old ui perfectly.
@odd light blacklisted yourself?
How would I black list myself adding a sensor card to lovelace?
might be something else on your network logging in with wrong creds
well I can still load it on my phone so maybe I did get black listed lol
no
it literally happened right when I was adding that sensor
I wonder if it got angry at my laptop and blocked my IP because my phone can load the page
everything is working fine from my phone lol
@winter hollow for #19192 i already had to change all entity ids π
brb gonna close my browser
nope
is there a place IPs get black listed in the software, I did have security setup on it
you don't have to change you entity ids for lovelace
login_attempts_threshold: 5
but my lan is also white listed
maybe the web UI freaked out and sent my creds a bunch of times fast
yep, it banned me
LOL
I removed my IP from ipbans yaml
that was totally the softwares fault
here's a question
before I went to use the UI config I had - background: darkslategray on all of my views, the new view I created is white and I don't see a place to pick background, and in raw config its almost like it mixed the new views config with the last view from my old config
the old views show nothing for theme, the new ones forces you to choose
I used to have dark-mode theme, now that isn't in the list
is that a limitation of the config UI ?
Is there any middle ground between being able to use custom cards and coding my entire Lovelace views in yaml? I really want the buttons and mini media player cards.
@thorny verge https://github.com/thomasloven/lovelace-card-loader
I haven't tested it. I don't experience the problems myself...
is there any way to force thing thing to let me use the theme I had before?
and when I tried to manually put my theme in the config it freaking banned my laptops IP again
that's a pretty crappy bug, who do I report that to
I set ip ban to false for now >.<
When i add a entity-filter the header dissapear ```type: entity-filter
entities:
- entity: light.vardagsrum_fonst_154
- entity: light.vardagsrum_tak_635
state_filter: - 'on'
title: Vardagsrum
@polar kelp Awesome, I won't have a chance to test it today, but I will tomorrow and let you know how it goes. Thanks!
is anyone else able to use a theme besides default and backend-selected in the new console UI?
white background is pretty ugly
@woven echo I'm not sure what you're asking. There is no method (mode) of Lovelace that restricts you from using custom cards
Please follow the rules, @mossy gale! You have 5 warning(s) left. You posted a message/code that is more than 15 lines. It is moved here --> https://paste.ubuntu.com/p/g85x3yhrzX/
whoops my bad...
the code https://paste.ubuntu.com/p/g85x3yhrzX/ has 3 images that sat on one line before in a Horizontal stack it automatically seemed to make the fit the space
cant seem to achieve the same currently using UI/Raw Config
@polar kelp Hi Thomas... not sure if you are still on but quick question for you. If we want to continue to use your lovelace-layout-card custom card but use the default Configure UI, what do you suggest is the best way to do that. Is it to remove all cards off the dashboard and add the lovelace-layout-card as the first card (kind of defeats the purpose of adding cards through the UI) or by editing the config and adding lovelace-layout-card that way
I hope that was clear π (it's clear in my head lol)
Iβm thinking about how to make a gui editor for it. Have patience.
it says :When themes are enabled in the configuration.yaml file, a new option will show up in the user profile menu: but doesn't say how to enable them, and if they aren't, why was i able to use them before?
reboot maybe
@polar kelp Perfect... I tried searching before asking but couldn't quite find the answer I was looking for (that's more my bad than anything). I am sure you've received that question a few times so my apologies if my question was a annoying. I truly appreciate the work you put into this project!
its there
when I go to users and click my user I see nothing about themes
I'm running the newest version of hass.io
a new option will show up in the user profile menu - I guess I can't find that?
where is that?
dont know how you have it
@mossy gale https://pastebin.com/Yi8MjFnU
I mean I was using a theme before lol
and my old lovelace views look fine
but the new one is just white background
maybe it didn't like me copying and pasting my old lovelace config into the raw editor I dunno
in config yaml I have # Enables the frontend
frontend:
Enables configuration UI
config:
is there something else I need to do to "enable" themes?
@mild veldt I am trying to spot the difference, but it has made them much smaller
thanks
you didn't have them in the stack
you can create a folder call themes and put there individual files with themes
exemple themes
https://www.juanmtech.com/themes-in-home-assistant/3/
then you add this into configuration.yaml and reboot
frontend:
themes: !include_dir_merge_named themes/
the docs don't tell you it just says if you have them enabled
@odd light yeah, those docs need a refresh. after you get this sorted out, you should submit a PR to make them clearer. People that run into issues are the best people to fix docs π
yeah I dunno how I was using dark-mode theme before I guess that was a thing that went away or doesn't work in the config UI
default and backend-selected do nothing
it all changed when profiles were introduced, I believe
@mild veldt how do I add a mini-media-player card? I get custom element doesnβt exist.
read up @odd light my last post
@prime umbra looking, guess I have to find one and download it, before it just let me specify the background color in my config
just creat a new file give a name.yaml
copu paste from link i showed you
put inside a folder called themes
its there a video showing you anyway
just follow
I think I may have figured part of the problem, It looks like the raw config editor jumbled my stuff all around
I may just re-create the lovelace setup from scratch so it formats it correctly
Guys, when the recent update came out there was a post here somewhere about Lovelace with a link showing 3 or 4 Lovelace configurations to show off the Lovelace UI
does anyone know where or what that link is
Thanks, finally
here comes the next question
https://demo.home-assistant.io/#/lovelace/0 if you scroll down to the "Ring Doorbell card"
Front Door Last Motion > I need that template
automations are still done with code in 'automations.yaml', right? I mean, the lovelace change is only for UI, not for how we create/manage automations.
@manic obsidian there is also the automation config panel thatβs been around for a while now
@sinful fulcrum ah, right. almost never use it, so I'd forgotten
so, that UI and edditing 'automations.yaml', right?
Yes
thanks!
np
the way the raw config is arranged is completely wacked
@odd light itβs better than having to go to the file system for quick things. I installed plugins earlier from my phone... was easier than having to remote into a machine. Not sure itβs meant to be a full fledged editor at this point.