#frontend-archived
1 messages ยท Page 150 of 1
@polar kelp oh, awesome, here is an image how it looks like, fresh install
https://imgur.com/dHJc7QF
I've found a bug ๐
@hallow granite posted a code wall, it is moved here --> https://paste.ubuntu.com/p/B3C2sHxN4q/
@fleet scaffold https://github.com/home-assistant/frontend/pull/5430
@hallow granite You're missing card:
@polar kelp fantastic! kudos to you sir! ๐
and wow, such an easy fix ๐ฎ
@polar kelp I think I have another one..when you click on image of person entity added to the Entities it zooms the image in the state-badge like so
https://imgur.com/a/R3tCz22
it is fine in let's say..Glances
this one is not browser specific
I think I should be posting those issues instead of bothering people here ๐
@polar kelp ..where? ๐
@hallow granite posted a code wall, it is moved here --> https://paste.ubuntu.com/p/FXhMnMzKmy/
there's card inside but it does not work at all
@hallow granite Please stop posting code walls
I get that people forget from time to time, but you're quite a repeat offender today ๐
I found a"counting" card once - but now i can't found it again... I've searched the forum for half an hour, with no luck.
I rememeber that it was based on simple buttons. By clicking X button, it resetted the timer. And started over. That allowed the author to see, how long time since the aquarium was cleaned, or something like that.
I would like to find it again... So i can keep track over last time, i watered my plants :-D
I would like to use a card like that, for every time, i've watering my plants...
Maybe someone here, has seen it before - and maybe even, using it..?
notify groups arghh! used to work has something changed over the past 6 months?
Many things changed over the last while, but that's an #integrations-archived thing ๐
i noticed ive had to migrate some bits due to it ๐
moved house its all catch up npw
not seeing consistent docs for grouping notifications its all very sporadic and the official docs do not seem to work anymore as i would not need to change my existing code!
I thought discord converts code walls into pastebins automatically
No, we have a bot cleans up after you ... when it's working
Just because the bot cleans up after you doesn't mean you should make a mess ๐
for me it seems working all the time as i see the bot converting it .. OK sorry then
Even when it works, your code wall hits the channel and screws life up for those on mobile
โYour mombot doesnโt work here.โ
Maybe we should rename the bot, and have it scold people too ๐ค
Hi guys, Is there an easy way to show a timestamp sensor value as a datestring thats more readable? Or do have to make a template Sensor and covert it myself via templates?
Noob question: I setup my rtsp and trying to update configuration yamp with live stream using generic camera setting. But there are so many video about video stream on lovelave tc. I couldn't find how to bring the video to the overview. Is there a step by step guide of which card to use, how to configure the,m to test if i am getting my stream. (FYI- i setup the cam in motion-eye and i can see there)
Hello hopefully someone can help me here. I was trying to add a custom card to the raw data on the UI last night and now all of my tabs work except for my picture entity which has a lot of items. It's blank. And now when I try to create any cards the window where you select which card you want is blank. Can anyone help me fix this please?
@split granite Let me try that.
I have a simple Entity card that I want to add a picture to. I added:
picture: /local/picture.jpg
The picture.jpg file is saved in /config/www
@split granite Can you share a demo setting for entity card to link to video?
The error is: Expected a value of type undefined for picture but received "/local/roomba.jpg".
^it's roomba.jpg, not picture.jpg in my case
Should I be using a picture card? Or should I be able to add a background picture to the entity card?
To add to my issue, I've tried my yaml in a yaml checker and it says my YAML is correct. I just don't know what I did to break things. I added the resources for a custom card. It didn't work so I deleted it and now my lovelace can't add new cards of any kind
entity card? @hexed furnace
Which exact card are you using?
https://github.com/DubhAd/Home-AssistantConfig/blob/master/lovelace/view-surveillance.yaml is mine
- type: picture-entity
entity: camera.front_camera_motion
camera_view: live
show_name: false
show_state: false
An Entities card
Making a simple Roomba card and wanted a picture in the background
Is there a background setting vs. using picture?
Ah, so in the header...?
There's not really a background option for https://www.home-assistant.io/lovelace/entities/
I was assuming the picture would do the whole background.
It might be possible to do that with a theme/CSS, but I don't know
I thought there was an easy way to spruce it up. I'm not going to put a lot of effort into this card ๐
Hmm, there's "image" I'll try that
That I doubt will do it
I'll look into themes too
That I doubt will do it
@split granite correct ๐
Am I right in that /local = /config/www ?
Yup
Awesome, thanks again.
Hello, I have errors on some custom components (on some browser only, or on some PC only). Do I need to preload the js file?
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Please share the errors and the custom cards
It may be that card isn't supported on Edge
Alright I guess I'll just start over on lovelace, thanks
The dev does post here regularly, I'm sure theyll chip in later
anyone know why this wont render out as it seems the same code basically as others in my lovelace frontend https://hastebin.com/neliqipeqi.bash
im getting nothing at all.. no errors or anything
try clearing your browser's cache
nope didint work
trying to create a config check ui button, but I am not sure what information to put for entity_id```type: button
name: Config Check
icon: 'mdi:network'
tap_action:
action: call-service
service: homeassistant.check_config
service_data:
entity_id: null
hold_action:
action: ''
Can this be done?
Just ditch the service_data block
got it , but I just realized I have may problem. When i run a config check via the server controls, I get some form of feedback either the error or the green configuration valid message. Will I still get that with this button?
So when I tap the button nothing happens not sure where to look for the issue.
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
Well then that is not a helpful button at all and since real estate is very expensive on the mobile screens I need to prioritize it with things that would provided me some sort of feed back. But good point and I have been consistent about doing so.
let me try the button as an HA server restart.
@feral rivet On mobile you can just add the "not frequently used" services to a popup card execute from there when needed. That way they don't take up unecessary screen space. That's basically my entire mobile set up. Too many needed screens and only one phone screen LOL
man , I have been hoping you would be online at some point. I have been trying to create a few browser-mod popups that link to other cards I am having a rough time sorting through it.
I see that you use a ton of fold entity cards, was that because they work best or because the popup card are not as good?
Keeps my main mobile screen cleaner. I like my backgrounds to be as visible as possible LOL
Really only the folds are containing all of the popup buttons. Just switched a bunch over to using stock button cards
@atomic glacier using stock... 
Hi. I'm not sure if this is the correct channel, but I'm searching for a custom card (or something) that allows me to select color for a light before turn it on. Is this possible?
Well... This lazy loading has been eating my lunch trying to get around...and may be easier for others to duplicate sections of my repo if needed๐คท๐ปโโ๏ธ
Plenty available in HACS for custom light displays
yeah, I'm not surprised that you got hit hard by that one. Was rough on me too
Pre-loader and quite a few other changes just to get it usable. Still working on a more permanent solution ๐ฉโ๐ง
Hi @atomic glacier , I will try to use HACS (I never tried before). Thanks!
@feral rivet why would you need to check your config on mobile anyway?
Hopefully you're not editing your config on mobile ๐ฌ
Hey Tediore I am just trying to see what I could do with the browser-mod card. lol definitely not editing on mobile.
lol no I am special , but not to that degree.
So I found this browser-mod card from Dinotech and I am trying to adapt it to my setup. but although I have replaced all of his entities with mine, It's still not working https://paste.ubuntu.com/p/MrCjsDCjtF/.
Hi All. Is it possible to set a specific lovelace dashboard as default for all users?
Is it possible to play local mp4's in the frontend/Lovelace? I have a security cam that takes a 30 sec video, and I'd like that available in the front end for viewing
@meager thorn Custom Header should do the trick https://community.home-assistant.io/t/custom-header/155399
Though not sure how it will work with the new Lovelace/multiple dashboards
@feral rivet do you want anything special that he's done? There are working examples in the repository
Hey hey, just released a new beta for bar-card. Curious what you guys think https://github.com/custom-cards/bar-card/releases/tag/3.0.0b0.
Is there a way to make one of the views on my frontend just go to a webpage?
No nothings special, I am working to create a mobile ui and I want to have popup button in order to minimize the clutter .
@lofty summit I would love if you added a dumbed down version to core ๐
I do use it though, so will check out the beta
@steady sluice you can add other webpages with
https://www.home-assistant.io/integrations/panel_iframe/
@mild veldt Yea I was thinking about adding this to core while working on it. Not very familiar with the core setup at the moment though, but I'll definitely have a look!
@feral rivet well I'm using this card with no problems. Let me know if you need anything
Are you able to share your config?
Yes
@limpid apex posted a code wall, it is moved here --> https://paste.ubuntu.com/p/hHf3Xprr6V/
Just a button that pops up a window with an entity inside
well your card worked. not sure why mine did not.
Using the combination of Card-Mod and Card-Layout, is there a method of applying CSS to an individual column of cards collectively? I'm trying to do something like transform: perspective(300px) rotateY(10deg); .
If I apply it to each card individually, the corners overlap. Need to find a way of grouping the perspective together.
(and if anybody's wondering why on earth I'd do something so horrible to a card's legibility, I'm working on a 'Pepper's ghost' illusion for HASS in a fake-3d space)
I use custom:vertical-stack-in-card or vertical-stack or the new stack-in-card by RomRider for styling individual stacks within a layout-card. Should work for what you are trying to achieve
Neat, I'll check it out, thanks!
Is custom updater dead? Haven't use Hass.io in a while and trying to get custom cards working
i think it was replaced mostly by HACS https://github.com/hacs/integration
I was reading about that but I don't have my config set up on GitHub yet. It said GitHub was a requirement. What does that entail?
full disclosure, i dont use hacs, but skimming the config page it looks like you just need a github account so you have a personal access token. I didnt see where your ha config has to be in github
@keen quartz you don't need a repo on GitHub to use HACS. Just an account set up to use for auth
@atomic glacier Thanks
@atomic glacier Worked a charm, stack-in-card was definitely the way to go: https://i.imgur.com/9LbKbXE.png
Glad it worked out for you!!! ๐จ๐ปโ๐ง
trying to do a custom floorplan card... want to give enitities custom name... is that easy with yaml?
'''
type: picture-elements
elements:
- type: state-badge
title: cat
entity: switch.shelly2_5_switch02_2
tap_action:
action: toggle
style:
top: 78%
left: 55%
image: local/floorplan/examples/simple/kitchen_slice_03_rotated_again.png
'''
not getting the title to take....
is there a place to post a screenshot? I know it's banned on the general chat?
ah... the friendly name
ok... the hammer is the "developer tools" I get that... but the gear for settings... where's that?
wait... found it
I get this for settings: " This entity does not have a unique ID, therefore its settings cannot be managed from the UI
ok.... so under my configuration.yaml
ok....so can I give a friend name here? https://imgur.com/GZadjdQ
so I'm trying to add:
'''
friendly_name: "island"
'''
friendly_name: "island"
that didn't work... I guess I'lll just change the name
I think I got it, thanks for the help ๐
Hello;
is there is way to just display the graph in LL?
https://imgur.com/4ctPQKe
Thanks!
History graph card
thank you!
is there a card that can display rss feed in LL?
trying to display this rss https://markets.businessinsider.com/rss/news
@icy patrol https://github.com/custom-components/feedparser
@atomic glacier thanks but that just displays like this
https://imgur.com/7LwZLak
i am looking for a feed list
Can I get a history from another entity on a long press on a diferrent entity? ๐
@icy patrol https://github.com/iantrich/list-card
hi everyone.. is there away to make all the card into one coloum?
I'm trying to do this with layout-card without any sucess..
help
@last compass you can use layout-card -
- type: custom:layout-card
layout: vertical
cards:
- type: etc. etc.
but vertical-stack might be better, it's built in rather than custom, doesn't do as much, but if you'll you want is a single column ... -
- type: vertical-stack
cards:
- type: etc. etc.
yeah.. I trying to do that.. but the card always go to the next column unsure why..
also.. is there away to create a gauge for volt meter
I mean to have 200, 210, 220, 230,240.... being 0 as 200 and 240 as 100?
Did !include break in 107 for resources?
nm, i'm an idiot and didn't read breaking changes for yaml mode. Disregard.
HEY EVERYONE! LAUGH AT @tacit cave!
noooo
rekt
I wonder, do we need to preload items inside rows now? like hui-timestamp-display?
@tacit cave youโll maybe need to preload the row that uses it
@mild veldt any row? Iโll be using in a custom button card template
@spiral pasture thank you. I tried the list card but I notice that the first column squeezes very small when I am using only 2 columns. I just have title and link. I would like is so that the title is larger and the link can even be a text that says link.
I feel I am close but just not sure how to tweak the list card
@icy patrol tbh I've never used it - was just considering using it to replace a markdown card I use for a weather warning feed, but not tried yet.
Hmm I might try the markdown card for this
@tacit cave I cant recall offhand what uses that element.
@mild veldt sensor rows that have device class time stamp
Iโll try using it and see if itโs working
Ok cool.
Is it possible to change the icons on the tabs we create on the UI? Not on the sidebar but the main area at the top instead of Words or MDI I would like to use a jpg. Is that possible?
Since upgrading to 0.107, all my lovelace cards are formatting one underneath eachother, rather than side by side like before, I can't see anything in the patch notes about this, is this something that's new ?
I'm trying to get this custom card to work in lovelace: https://github.com/nervetattoo/simple-thermostat#installation
But I can't get it to work, for whatever reason
I've been fiddling with a dozen experimental configurations trying to make it work but I figured I'd just ask
Does that installation guide look correct?
I created a www/ directory and put simple-theremostat.js in it
I then added this to my lovelace.yaml file, which is read by configuration.yaml:
resources:
- url: /local/simple-thermostat.js?v=1
type: module
If I go to https://my-home-assistant/local/simple-thermostat.js, I can see the JS, but I see this in HA
Shouldn't there be a resources tab here? https://i.imgur.com/5r6FPjm.png
Oh jeez, I had to enable "Advanced mode" in my user settings to see it
There are so many gotchas to this ๐ฌ
And I still don't see a way to add a resource ๐
The "add" buttons magically appeared after a restart??
@snow dock good start https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins Explaibs the process
Hello; is it possible to join 2 cards together?
Vertical/horizontal stack?
but without a gap
Or the custom versions of those that eliminate the gap
@icy patrol stack-in-card
thank you!
I'm using the custom vertical-stack-in-card, should I not be using that anymore?
Is it possible to give an icon visible label/text when using the picture elements card?
@muted inlet it was recently updated, I believe it is still fine
Ah good, thanks @mild veldt
hi everybody. I just updated from .103 to .107 - and I've run into some problems with lovelace. The page says it's supposed to "automatically" update custom card resources, but a bunch of my cards are broken and I can't find any way to set resources. In some of the screenshots for the new dashboards feature, I see a resources tab at the top, but I don't have one. I'm not using the lovelace yaml config. So is there some trick I'm missing?
Did you see the breaking changes for Lovelace in 0.107?
yeah
You moved your Resources?
as I posted, i'm not using yaml for that
so it says it was automatic in that case.
if i try to edit them via the raw editor, it tells me to edit them via the lovelace configuration. the only lovelace thing i see under configuration is the dashboard.
dear lord
Yup
okay - i've never even seen there was an "advanced" setting, much less expected the non-yaml method of editing resourced to be hidden behind it...
and i've been using hass since like .27 or something
There's a few things that hides
๐
It turned up ... 6 months ago?
All it does is hide things "end users" wouldn't need
Except, we have few end users here, so I've no idea why it's the default for the admin user ๐คข
yeah, i jumped from whatever the last pre-lovelace config was to 103 a few months ago, which was a bit of an overhaul, but...
Seems like it should default to on for the admin user. Thanks, I was going around in circles there trying to figure out where it was.
No worries
hello. I followed this guide and succeeded to play some internet radio station from abroad but i cannot find any suitable links for greek radios. What type of links should i search for? I tried to find mu3 links but no luck
Hello, I want to create a Time/Date sensor with my own format. Did I need the time_date platform or can I use the now() function? The Problem is, with now() it didn't get freshed.
As example with now():
{{ as_timestamp(now()) | timestamp_custom('%-H:%M') }}
Depends entirely on the context
the current date, time, day of the year, week of the year
nothing of this was update over night
Ok, maybe I wasn't clear
Where you are using that matters
In a card. An action. A trigger...
In a card in lovelace
Then, if that custom card supports templates, it should be fine
Then, if that custom card supports templates, it should be fine
@split granite It works, thx!
I recently created this picture elements cardhttps://paste.ubuntu.com/p/68WxfZzQjB/ that works really well. I now what to transition that card wich is part of a horizontal stack into a vertical stack, multi-card home page and unfortunately I am having some issues. This https://paste.ubuntu.com/p/xg3cK3VJtd/ is the new card that I am working on that contains the picture elements card from before. The only change I made to the card is adding the first 16 lines ( copy and pasted) from a card Dinotech shared with me . Anyone able to take a look and see why I am getting the No card type configured. message.
Is that all of that view?
That code is for A POPUP not a stand alone card. The background: has to be a path to your file... that is the path to where my file is
Hey Dinotech, well then that explains it.
...and the popup code has to be included where you decide to include it to be called from. e.g. a script or within the view you wish to use it from
got it
other than that, the code looks fine
back to the drawing board
That's why I suggested to place it in a script for testing purposes and getting used to how popups work, etc...
I'll be on in an hour or so if you need any help ๐จ๐ปโ๐ง
I want to create my first vertical stack card where my person picture elements cards, weather card, popup button cards and finally a notification card all reside as my first mobile HA page. Should I work on just the card all the cards properly assembled and then add the fluff around it such as the styles and background?
my bad Dinotech , yea definitely can use the help
...yes... always get the layout working and then worry with the styles
Hey, all. I started receiving errors on home assistant a few days ago when I noticed my hadashboard wasn't working. I've made no changes for about two weeks now, so it appears to have popped out of nowhere. I am running Home Assistant on Docker with hassio_supervisor.
The original error when trying to navigate to "Supervisor" in the UI is "Unable to load the panel source: /api/hassio/app/entrypoint.js."
I went into the hassio_supervisor docker's logs and noticed this: https://pastebin.com/kcf8PqVg Seems the main issue is the error AttributeError: 'HomeAssistant' object has no attribute 'api_password'
I read through some forums and learned the unable to load panel source error is usually caused by a malfunctioning add-on, but again, no changes and it was working recently. I do have my docker containers automatically updated so it may be something to do with that.
Sounds like a topic for #330944238910963714
Thanks, I'll post it over there
Check where you've got api_password defined though
when i use command cast.show_lovelace_view i get error "not connected - Unable to connect to the Home Assistant websocket API".
Probably a problem with your base_url
i am using duckdns for ssl with base url: https://myip.duckdns.org
And if you put that in your web browser, it works without any errors?
Yeah, I guessed ๐
Not sure then, but it sounds like there's an issue connecting ๐คท
does HA support SVG images?
Depends entirely on the card
button cards?
https://www.home-assistant.io/lovelace/button/ check what it says
Hi, I updated to 0.107.7 from 0.105. I did check all the breaking changes, and did some upgrade to my config (e.g. remove history_graph). Upgrade went through fine, and homeassistant log looks rather clean. However, multiple tabs on my frontend are now empty ๐ฆ Any hints what that could be/how to fix this?
I understand that there have been changes made to how lovelace can be configured. I always used the frontend to configure my tabs (sometimes the raw editor) but from what I understand that should get migrated automatically:
If you manage your Lovelace via the frontend, we automatically migrate your resources. Please note that resources are not in the raw Lovelace configuration editor anymore, but in the Lovelace configuration panel.
If you were using custom cards, enabled Advanced mode in your user profile and check the Resources tab under
-> Lovelace Dashboards
yep! I just went through this last night - thanks again Tinkerer!
One other tip - be sure to update all your cards from HACs to their latest versions as some stuff requires changes to work. Even after updating they still may not work due to your browser caching. Even shift-f5 won't fix it. To fix this, in something like chrome, hit f12, then right click on the reload button and click Empty Cache and Hard Reload
@split granite I see, yeah I recognize resources I once added to the yaml via frontend once, but on a high level looks good..
Worth trying Incognito mode
@quartz sluice ok, will try that
@twin lintel oh yeah, that is it, looks all good in incognito mode
Then... (a) wrong person, (b) it's a caching issue
@split granite seems like that was a caching issue, after clearing/restarting the browser all looked fine. Thanks for your help!
Still wrong person - but glad you've got it working
hey everyone... just upgraded to 0.107 and trying out Lovelace dashboards. I added a new board as only dashboards: entry, but the default created by HomeAssistant is also still shown. How do I disable that one in my configuration.yaml?
-> Lovelace Dashboards
Are you using YAML mode?
yes
You should be able to manage the dashboards in the UI?
yeah I know
https://www.home-assistant.io/lovelace/yaml-mode/ has more information about YAML mode
when I set my created one as Default for this device the other is gone...
wondering if that setting was available as YAML config option itself...
is not in visible in the docs ( or I'm overlooking something )
If it's not in the docs, it doesn't have that option
yeah thought as much ๐ฆ
Hey, don't know if this fits in frontend or not but I created some scenes in the UI but I couldn't do quite what I wanted so I went into the YAML to edit the scenes, but now the scenes seem to have duplicated themselves. In the UI one of each pair has the pencil greyed out and doesn't do anything when you press the 'play' button. Even if I comment out the whole scenes.yaml file, all the scenes, including duplicates remain in the list in the UI even after a full reboot, not just reloading scenes.yaml. In NodeRED, there are is a scene_name and scene_name_2
Has anyone else had anything similar or have any ideas to fix?
trying to stack 2 button cards on as part of a vertical-stack that is nested inside a horizontal-stack, but I think I have the card setup wrong https://paste.ubuntu.com/p/Dmd6HWTy8c/ since the cards are lining up side by side instead. How do I fix this?
all of graphs on my interface are showing graphs that are broken. They show straight lines when the graphs should not be straight lines and they are not the correct values.
hey everyone ๐ is it possible to have say a button card open up a lovelace alarm card (like a pop up?)
@dim jolt yes https://github.com/thomasloven/hass-browser_mod#popup
@feral rivet if you have 2 buttons side by side then your code is correct as it is written. Not sure what you are after
thanks @atomic glacier i had a look at that, but seems quite heavy weight? i was looking for a tap_action that would open a different lovelace card (instead of the entity more-info) - but if that is the right way to do it i'll give it a go ๐
the only popup I know of...many examples of it's use here: https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/README.md my entire UI consists of different styles of popups
essentially the alarm_control_panel entity requires the on screen keyboard to enter the code - i am using it on a tablet so wanted to use the lovelace alarm card instead
as that has big fat digits
or you can modify the styles and make the stock buttons bigger as I did
ah interesting - thanks pal, will take a look ๐
Yes the code was correct, I wrote it wrong.
is there a simple way to move a view between dashboards?
is there a lovelace picture setting to change horizontal/vertical ? one of my CAMs is viewing a hallway image 90ยฐ rotated, and in landscape view this looks silly
I think it can be fixed with this https://www.home-assistant.io/integrations/camera.ffmpeg/
@full steeple how would I do that from command line? I think something got corrupted in lovelace and I now can't access my HA instance at all, except from the command line. If there's a way to reset it from command line, I'd rather do that than blow everything away and start over from a backup.
@radiant scaffold Is it working after that @split granite typed? if not check your logs using example cat home-assistant.log or your favorite text editor
I don't see anything from him other than direction to post my question to this channel
right over my answer
Also i have a tips use git to commit all your changes after edit something in your code then u can get your code back from the git repo i also have made an "component" to lovelace then for you https://community.home-assistant.io/t/git-commit-in-the-ui/183887
I can't get to /config in the first place. When I type ls /config, I get a response that the file or directory cannot be found.
I think my setup must have gotten corrupted, so I am going to go through the process to restore from a backup.
How did you install HA?
HAMMER
It's only /config on #330944238910963714 or inside a Docker container
even on superviced it's still only that inside the conatainers
I loaded the installation files to my SD card. I don't remember everything else, I really just followed the documentation. It's been a few weeks
What were you trying to get at? The actual process I followed to install, or the type of installation? I can look back and find the process I followed if that's truly beneficial.
Well, if you believe it should be in /config and your usual way of getting to it doesn't work, it probably doesn't matter
My normal way of getting to it was via the SSH terminal add-on.
Then you're #330944238910963714
and if that doesn't find it, you've got deeper issues, possibly including a failing SD card
#330944238910963714 can probably help you work out what's going on
What does supervised mean in this context?
I see there's the channel for that here in Discord, but what is that?
If you see the channel, it has a topic ๐
All channels here do, generally speaking they'll tell you a bit about the purpose of the channel, and where to find more information
Ok
The reason I think something is corrupted is that I went to add "resources" information to my lovelace configuration...when I tried to save, I got a message saying that resources are now no longer added via lovelace configuration, but somewhere else. So I removed the resources info, then tried to save, and that triggered a few error messages. Then my HA instance lost connection and I haven't been able to reach it since.
If you can SSH on, check the logs - #330944238910963714 can help with that
I'll follow your instruction, but #330944238910963714 says it is for installation stuff, and I don't understand how this is an installation issue. It seems like an issue triggered by something in lovelace
If you can't get to /config it's an installation issue ๐
hi, mediaplayer card changed from big one to small one... I like the big one, so I can see picture from TV, is there a way how to switch it back, or is there other configuration option to see previous big format ?
@sweet sail no
any chance to bring it back as configuration option, or as another card ?
Custom card...
@sweet sail the old card will not be brought back in core
:-( thx for info
Is the image you get different, or just too small? If the latter then card-mod can make the new media-control card larger and the image will grow to fill available space. If the former, then youโre out of luck.
Riddle me this: Why is the frontend rendered using the browser's local timezone rather than the much more logical timezone of the home assistant server location? The alarm being armed at 3am makes no sense. I have to do timezone arithmetic in my head to work out when that really was.
hey guys! I setup a bunch of fitness goals and counters counter.entities but trying to figure out the best way to show them in lovelace now. Have a counter for daily amount of reps I have done and one for the goal to do for the day.
Tried using the custom-bignumber and setup tap_action to call service counter.increment but that didn't work. Any one with experience on a way to render counters?
@fleet scaffold You can ignore that. That's my bad. Can't believe I missed it!
Will fix for the next card-tools update.
@polar kelp no problem, I was just curious it's me or it's something we know
hey guys! I am seeing weird issue of webpages freezing whenever i click any of card in lovelace. Be it the camera or light or toggle switch. After the click, the card pops up in a window and i cant change anything and then it refreshed to a page showing 'Aw, Snap!' chrome error page. Only option is to reload it which takes me out of the pop action window. What could be wrong?
so after an upgrade to 107.7 I no longer can get to the frontend via the web. I have tried with local IP and nothing. All the dockers look good an running and I can get to the config files via SMB. Anythoughts?
@shy tapir Do you use lots of custom cards and stuff?
question for buttons-card..is it possible to call two services with one click? I want to make something like a card for AirPurifier device and I want buttons for fan speed modes, those require to call xiaomi_miio.fan_set_favorite_level to set the fan speed and fan.set_speed to actually change to Favourite mode
Or lots of livestream cameras?
or maybe my approach is just bad because I'm a noob ๐
@fleet scaffold Make a script to call two services and call that from the button. You want the frontend to do as few things as possible, and definitely nothing time critical.
got it, and the call script with script.turn_on perfect idea
I used some custom js card someone made, it's quite nice, but I'm not too happy with how it works, so maybe using available 'building blocks' I'll be able to get the same functionality ๐
@polar kelp I just started using HA so this is my first Lovelace configuration experience. I have weather, three auto discovered speaker, television card and i added two light cards and one camera. I wont call this heavy for what I have seen people using. Also, I use a VM on a i7 - 8 GB old laptop, so it should not be overloading the hardware?
Maybe I will reboot VM and see if it fixes itself while I get your response
It sounds more like a client-end problem, really. But I'm not sure. Stranger things have happened.
@polar kelp rebooting just fixed it- I also increased the VM to use 5.5 GB of ram and 3 out of 4 cores now. that laptop of not doing anything other than HA. Need to figure out how to setup to reboot VM every night and keep itself on to avoid similar situation in future.
that's probably stupid, but is there a way to style all the button-cards in vertical-stack-card in one place and not every button indicidually? if I want to set height and disabled/enabled state for all the same way, looking at the doc's aI can only do it (I think) per button with styles section
If you are using yaml mode, you can use node anchors.
or I can use a template and then import it for the buttons
having the configuration in one place
for the specific buttons
ok, last one for today, I promise ๐
documentation describes how to handle states for changing styles
is it possible to use the same approach to have active/inactive mode for the buttons when they work as mode switches for the AirPurifier control card I envisioned?
I'm asking too many questions, I know..but I'm strangely excited working with HA after 6 months break seeing all the cool changes, features, how everything evolved ๐
I've been doing some reading, trying to figure out how to add resources to Lovelace. In the first screenshot at this link (https://www.home-assistant.io/blog/2020/03/18/release-107/), the Configuration > Lovelace Dashboards screen has menu options for Dashboards and Resources...in my view, I only have Dashboards. Is there something I need to do to turn on Resources there?
might need to enable advanced mode on your profile if you haven't already (or update to 107 if you haven't already)
I am on Home Assistant Core 0.107.7
For the advanced mode...are you referring to a user profile option? If so, I checked and do not see an option for advanced mode for my user.
Nevermind, I had looked at Configuration > Users for the advanced mode. I clicked on my user profile and see the toggle there for advanced mode.
And toggling that on enabled the Resources tab in Lovelace Dashboards. Thanks @muted inlet !
@fleet scaffold or use thomas' layout card in vertical layout and add styling options etc. to card_options which applies to all cards
@radiant scaffold you can also use the !includes method like this https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/configuration.yaml#L70-L72
@fleet scaffold suggestion...make a few different test layouts before compiling them on the final views. Saves a bit of re-doing ( <-- experience speaking LOL ๐คฃ )
oh I am, thanks
and I think I'll tackle toggling with a sensor with a specific value_template, and use that in the button_card value to determine what state the device is
not sure if it's the right way, but the only one I can think of ๐
search the threads...you'll probably find something similiar, usually...
so after an upgrade to 107.7 I no longer can get to the frontend via the web. I have tried with local IP and nothing. All the dockers look good an running and I can get to the config files via SMB. Anythoughts?
@verbal schooner Anyone able to give me some ideas or point me to some resources that might help?
@verbal schooner A little info on your set-up would be helpful. ๐คท๐ปโโ๏ธ Does nothing at all show? Using custom cards heavily? errors?
What version did you upgrade from?
sorry @atomic glacier I have been running hass.io vdi in a VirtualBox for a long time. I had an supervisor notification to upgrade to 107.7 (from 107.5) and hit the button. Then from the web UI it looked like it never came back up. I still see the VM in my router. When I use the CLI I can see all the dockers are running as well as far as I can tell. I can connect via samba and see the configs
AFAIK, there was no major changes from 0.107.5 to 0.107.7 All of the big things happened for 106 to 107.
Did you by chance try to revert back?
look in the logs there is issues but I don't know enough to understand them
Did you by chance try to revert back?
@atomic glacier how do you revert back without the GUI, I don't know how to do that
btw I should note my other stuff is running like nginx and appdaemon
only way I know, but smater people in #672217570283094017 or #330944238910963714 would be better on the VirtualBox install. Can you post you error logs? https://paste.ubuntu.com/
if they are frontend errors, I may can help...
I'm trying to get the dual-gauges Lovelace card working. I've installed via HACS. It appears to be installed correctly but I get this error: 'Custom element doesn't exist: dual-gauge-card.' I checked the path and it appears correct as well. Any ideas?
@verbal schooner Looks like a component may have failed to set up and it appears to be running in Safe-mode. Not sure what the local path is for safe-mode, if it is different or not. I just had a similiar error and it was a YAML syntax error that caused the failure from something I'd just changed.
@scenic current resources: added?
resources:
- type: js
url: /community_plugin/dual-gauge-card/dual-gauge-card.js
and if I got to https://mycoolsite.com/community_plugin/dual-gauge-card/dual-gauge-card.js I can see the code
is that the only custom card you have installed? https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
no. I have two others
actually those are installed but I don't know that I'm using them.
Also, should these show up when I hit the '+' button or can they only be created manually?
There has been quite a bit of changes for the custom cards since 107+. May not be one that made the necessary changes, but I'd read up n the link I posted ^ it explains the process and how to troubleshoot
Ok, so this is weird. I have weather-card which is the dark sky card and it is working. I do not have a resources line for that card though.
ok. I'll check out your link. Thanks
Where's the best place to give a feature request?
From an entities card it would be cool if I could tap a group of lights in lovelace to bring up a dialog with the list of lights within the group (this works already), and then tap on a particular light in the dialog to bring up another dialog with the controls for that particular light (this is the feature I would love to see)
You can find the community forum here
Awesome thx
Forgot about that. Was thinking Github for some reason but that's not ideal. Derp
Has anyone else seen logs full of "login attempt or request with invalid authentication from <your LAN IP>" ?
Is there a way to force lovelace to use 3 columns? I have 3 cards on one dashboard and for some reason, lovelace decides it needs to display the cards in 2 columns, with 2 cards vertical stacked instead of 3 all 3 horizontal
horizontal_stack and panel mode?
I think it decides how many columns to use based on browser window size
yeah, it feels like there is some formula where it uses browser window size and how many cards. i have 3 columns wide in other panels, but it doesn't seem to do that with only 3 cards
i was hoping not to combine all the cards in a single horizontal stack
anyone have a definitive guide on what needs to be enabled, set, or configured to use cast.show_lovelace_view properly? When I go to https://cast.home-assistant.io/ I only see Home as an option to cast. I have configured 1 new lovelace dashboard but it doesn't find any of my views. I do see the heart screen with 'Connected' when I call the service but nothing else.
Casting issue. I am using Picture Glance Card to show Camera Entity. Picture Glance Card is empty when cast. How can i fix this. Thanks in advance.
@mental hawk what you are probably looking for https://github.com/thomasloven/lovelace-layout-card
Ooh, thanks. Let me play with that
for some reason, the horizontal layout isn't working... it still stacks all the cards in a single column. i'll keep at it
am i doing something obviously wrong here? Lovelace is stacking these 2 cards vertically
type: 'custom:layout-card'
layout: horizontal
cards:
- entities:
- entity: sensor.bedroom_temperature
- entity: binary_sensor.bedroom_occupancy
show_name: false
type: glance
- entities:
- customTheme: true
entity: fan.bedroom_fan_level
type: 'custom:fan-control-entity-row'
show_header_toggle: false
type: entities
i didn't have panel mode enabled. When I enabled panel mode, i think it works
I need to find some good tutorials for customizing the Lovelace UI. Most seem to just copy and paste blanket code and just seem to bloat and crash as often as they work.
@mental hawk do you want the 2 cards side by side?
yes, but i think my issue was not using panel mode. when i enabled that, it started looking right
Weird, I'm using a horizontal stack not in panel mode and it works fine, not using the custom:layout-card though
my example was a trimed down example. i'm really looking to group 3 separate vertical stacks in a horizontal row
@mental hawk lovelace-layout-card example:
screenshot: https://imgur.com/a/HsQLL29
code: https://paste.ubuntu.com/p/Vkz22WbTcv/ A bunch can be done with this layout style and it's a good visual reference point with code examples to get started desigining with.
@feral rivet the code I was talking about....
also shows how to put a layout-card inside another layout-card for more flexibility
๐ https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
This has finally been updated to show the new way to add resources!
Oh, and the custom:hui- trick description too https://github.com/thomasloven/hass-config/wiki/Misc-tricks#cardelemententity-row-triality
Hi! Is it possible to add picture next to title? https://imgur.com/a/RD6pjCS
I made a stupid plugin that lets you put an icon there...
Or do this for some reason...
you definitely like cats @polar kelp ๐บ
https://placekitten.com Great for when you just need a picture
@polar kelp What is the name of the stupid plugin? ๐
If I recall correctly (and it's been ten months), you just install it, and then add icon: mdi:whatever to any card.
@polar kelp good sir, would you look at my question in #add-ons-archived when you'll have few minutes?
That's a very odd place to put it.
You can delete messages from discord, so I suggest you move it here instead.
is there a difference (in terms of if I should not put this on the card for performance, etc) if I do in the button-card
[[[ return (states['fan.xiaomi_miio_device'].attributes.speed === 'Auto') ]]]
or I make a sensor with template_value and use it in entity
If you have hundreds of buttons like that, you may notice some difference.
I don't get it actually..when asked here about addon I was sent to #add-ons-archived ๐ now I ask there and I'm sent here ๐
no, 7 ๐
Then do whatever
A template sensor can be used in more places, like other buttons and automations and stuff. But for this case, I say go with the button thing.
yeah, it will be only used to determine states of the device (AirPurifier) to correctly style the buttons
and not automations or anything
I'm switching my lovelace to yaml mode now (it's not set by default I think) and I will take advantage of configuration templates
last thing then, can I style hover effect on the button-card?
I don't see it in the extensive docs?
I have three binary_sensors that shows "on/off" if there is thrash-pickup tomorrow. What would be a good card to use in Lovelace? I'm thinking if I can have three icons showing, and when one sensor is "on" it will change color, or something visual. Any suggestions?
I think all depends on the general layout you're going for, from the standard ones look at Glances or Entities card maybe?
Can I change the icon of the displayed sensor within the glance-card? For some reason I Cannot set it in the binary_Sensor itself (complains about template)
I used to have an entity-filter with a glance card for that type of thing. That way you can get a bin icon only on bin days etc.
And yes, you can https://www.home-assistant.io/lovelace/glance/#options-for-entities
there are so many custom cards, that's crazy ๐
@fleet scaffold, true. But as I've learned in the past months of setting up HA, it's @polar kelp's fault.
"Wow this card is so useful, wonder who made ... ah yes"
can't argue with that
Hello Friends, I am trying to create a clock displayed on my HA dashboard. Using this one https://github.com/1v4r/home-assistant
I have copied the /local/clock-card.js into my /local and updated in Lovelace Resources section.
wondering how should I add the card now from the Add card option because I don't see that there yet ?
Am I missing any steps ?
custom cards don't show up in the add comand, they have to be added manually
you add manual card and add configuration according to the component you want to use
Thanks @fleet scaffold for your response !! Trying that now
Thanks guys, looks nice: https://imgur.com/a/iktNTfP
nice @stoic rain
ok, about lovelace anchors..I can't add them in storage mode in raw editor, right? because I did and it does not seem to be working for me..if not..is the decluttering-card (by @polar kelp) an option to use instead?
@fleet scaffold I am getting confused ๐ with lot of old documentations with adding the manual card. Can you help me to get an example code to add new card and latest HA
total 4
-rw-r--r-- 1 root root 2362 Apr 7 15:09 clock-card.js
local $ pwd
/local```
I have the card loaded into /local and updated that in the HA resources section
add manual card and try putting type: 'custom:clock-card' in the editor?
also..did you actually put it in local folder or www in the config folder? because you should put it in /config/www/clock-card.js, HA accesses it as /local/clock-card.js
also, looking at github for that
ah ok, now I got the reason for this error. https://imgur.com/a/sa95AaS
Let me move the clock-card.js to /config/www
ok, moved the files to /config/www and also added the URL resources.
restarted HA, ๐ค to see if the clock card comes up
/config/www
www $ ls -lrt
total 92
-rw-r--r-- 1 root root 89453 Apr 1 11:32 mini-graph-card-bundle.js
-rw-r--r-- 1 root root 2362 Apr 7 15:30 clock-card.js
www $ ```
Error: Custom element not found: clock-card
Not sure whats still missing
filenane does not matter
so, HA should automatically look for custom cards at /config/www ?
no
I added the path in resources section as well.
you need to add it to your resources, but the file name can be, somerandomstringthatdoesnotmakeanysense.js
looks file, assuming you have restarted HA after you made the www dir
yup, I restarted HA, for safer side let me do a host system reboot also
no
ok, stopped doing that
Check your browser console for errors
Hi All i have is there any way i can add custom images in my glace card i have setup for a remote control
http://127.0.0.1:8123/local/clock-card.js:83:10 Uncaught ReferenceError: moment is not defined```
Actually, there's ONE custom card afaik that shows up in the add-card dialog.
In 0.108, at least.
... or was it .107?
108
What year is it?
1997
Thanks, Ludeeus
browser-player
Hass Browser Mod?
no config_flow :(
Now I need to restart to test ๐ฆ
I used that in my testing because the GUI editor was so simple...
๐
I didn't want it to have a config flow because if you want to use it and are afraid of editing config files, you already lost.
ok, about lovelace anchors..I can't add them in storage mode in raw editor, right? because I did and it does not seem to be working for me..if not..is the decluttering-card an option to use instead?
Like the demo: integration. It has a config flow, but must be activated in configuration.yaml
Yeah, not a fan
@odd gate posted a code wall, it is moved here --> https://paste.ubuntu.com/p/DppYb3qh9M/
@fleet scaffold I think that anchors are evaluated when the raw editor is saved, and replaced with their result.
~codewall @odd gate
@odd gate Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.
Please take the time now to review all of the rules and references in #rules.
Anchors are a tool in yaml, but since the config isn't stored as yaml behind the scenes, they are lost.
yeah
declutter card actually looks promising
I could maybe template the button card with everything, expose the variables (icons, value etc) and use that?
or it's also exclusive to yaml mode for Lovelace
@odd gate You need to look up on how service calls work, and then on how tap_action should be configured. What you're doing now is toggle, which toggles your entity - in this case your TV to it's off state.
Also ~formating
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
Also ~formating
@polar kelp Thanks amte i am still raw at this any suggestions
@wheat current Based on that log, do you think that card code having some issues ?
no
Well, you obviously found this already: https://www.home-assistant.io/integrations/webostv/#change-channel-through-play_media-service
Next is to read this https://www.home-assistant.io/lovelace/actions/#tap-action and think about how you can squeeze one into the other
Well, you obviously found this already: https://www.home-assistant.io/integrations/webostv/#change-channel-through-play_media-service
Next is to read this https://www.home-assistant.io/lovelace/actions/#tap-action and think about how you can squeeze one into the other
@polar kelp is this the correct type of card to use
Sure
Sure
@polar kelp thanks do you know if i can use a custom image
Dunno. What does the docs say?
i have read the docs and i cant see it so whats why i am asking ๐ also i have read the doc on the card thats why i asking for help
Thanks @wheat current I will try to find a different clock card and see if it will work. Any recommendation of a working clock cards much appreciated ๐
markdown card?
ack, thanks. Will play around with that
@polar kelp Any way to filter out entities from the 'unused entities'-list when using them in your custom:fold-entity-row?
no
@odd gate posted a code wall, it is moved here --> https://paste.ubuntu.com/p/qxZkd49gjx/
What happened to data: from the first link I posted?
And what should have happened to data:?
does decluttering-card work with lovelace not in yaml mode? docs say
Add a custom element in your ui-lovelace.yaml or in the UI Editor as a Manual Card
but it doesn't seem to work? because when I try to add card of type type: custom:decluttering-card it demands a template
In gui mode, ui-lovelace.yaml means RAW editor
yes, but that get's lost when not in yaml mode, just like the anchors?
Works for me ๐คทโโ๏ธ
Oh wait. I didn't read what you said, but what I thought you said
What is your question, really?
I'm using lovelace in storage mode
Because it looks like you are asking why the card expects you to provide the required property template:.
can I use decluttering-card with it
yes
I added it in Raw configuration editor
at the bottom
I also tried without the card: element
And that disappears when you click save?
it did, now it doesn't
And what should have happened to
data:?
@polar kelp can you please help me mate its been a ong day
anyhelp guys would be great even just tried to do a script and still no go
Well, I assumed you had gotten it to work some other way first. That's definitely a first then. Try it in the services section of the dev tools 
Hello, is it possible to use "mdi-inactive" to change the color of an mdi icon?
This is where i am at and still no go type: glance
entities:
- entity: media_player.lg_webos_smart_tv
name: 7HD
tap_action:
service: webostv.button
action: call-service
data:
entity_id: media_player.lg_webos_smart_tv
button: "70"
show_state: false
@odd gate To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
oh my..declutter-card is the real mvp, finally was able to make it work and instead of almost 30 lines of code for each button I'm down to 7! ๐
template: air_purifier_button_template
variables:
- icon: brightness-auto
- condition: 'states[''fan.xiaomi_miio_device''].attributes.speed === ''Auto'''
- service: script.turn_on
- entity: script.air_purifier_set_auto```
@odd gate shouldn't this
entity_id: media_player.lg_webos_smart_tv
button: "70"```
be this?
```service_data:
entity_id: media_player.lg_webos_smart_tv
button: "70"```
oh well..he's gone ๐คทโโ๏ธ
last bit I need for this part..is it possible to style hover action of button-card?
This is getting out of hand now ๐ https://imgur.com/a/eT1NfQD The cast Integration messes with me since a few releases now, any advice?
Weblink - The weblink integration is was deprecated in 0.105.0 and now removed.
Beat me ๐คฃ
It was working a few hours ago - didnโt update HA in that time
Still in the docs as well
I think weโre talking of different things
Im using Lovelace and those are weblink special rows in an entities card
May be a frontend loading issue, but the weblink part is deprecated. Tried refreshing a couple times?
Itโs on the nest hub, I canโt do more then reboot it a few times and start the cast over and over again.
How are we supposed to navigate through different Lovelace panels without the weblink special row?
Yes, Iโll share it with you, give me a sec to go to the pc.
The docs for the breaking changes explains how to replace what you were using with what will work...
I'm really sorry, I don't get it
The breaking changes tell me to use weblink special rows inside an entities card, which I'm doing
Are you guys seeing something different from what I'm seeing?
Well it worked fine for me: https://paste.ubuntu.com/p/h4yFwYM9Fy/
First time using it - I should though remove the lovelace part of the link to get it to work
I tried your paste, shows the same as the other links on my nest hub
do you get any errors in your log?
Works fine on the PC I'm writing from right now
Also shows correctly on my phone
I can try out if it shows correctly on other cast devices
Doesn't work on our Sony TV with a built in Chromecast as well
Okay. Then not the other loading thing I thought it may be. I haven't had a need for cast yet, so can't test here
I'll check around and see if I find anything similar to what your issue is
Thanks, I'll try to find similar problems as well.
Btw, I also tried to to start casting via the service call, also didn't work.
And If I try to start casting with another view, I get similar error messages with hui-conditional-card or hui-group-entity-row to name a few. Some cards/rows work - some don't. Also tried to start casting via the cast launcher website, also the same issue.
Also I added https://cast.home-assistant.io to cors_allowed_origins
https://github.com/home-assistant/frontend/issues/4984 Looks like I'm not the only one
is it possible to style hover action of button-card?
How long does it take the Conditional Card to update when the monitored state is changed?
@fleet scaffold ran across this: https://github.com/finity69x2/binary-control-button-row and this https://github.com/jcwillox/lovelace-paper-buttons-row may fit what you were after๐คท๐ปโโ๏ธ
I'll take a look
I basically want to get this look and feel
https://imgur.com/a/7sGZhP4
here
I'm close!
@small pike should be instant-ish
That's what I thought.... I think my sd card is slowly dying....
If you're not on HassOS you can easily find out
@fleet scaffold
type: entities
entities:
- type: buttons
entities:
- entity: light.kitchen_lights
icon: mdi:power
- entity: light.kitchen_lights
icon: mdi:fire
show_header_toggle: false
put that in a vertical-stack with the card you want above
@split granite just out of curiosity, how? ๐
dmesg | grep -c mmcblk
@mild veldt that's..not that simple ๐ those buttons are button-card (actually declutter-card, but it in the ent they are) and I am not togglinga a switch but calling a script if conditions are met
https://paste.ubuntu.com/p/CXYTMrDRsF/
You'll always have a few - so up to a dozen or so I'd not worry. If you've got dozens, hundreds, or thousands... ๐ฑ
Ok, Iโll save that, will come in handy soon enough ๐ Thanks!
@fleet scaffold well you asked how to get something to look like the image you posted...and that's what I gave...
@mild veldt please, don't take me for a dick but I didn't, few lines above was my actual question
is it possible to style hover action of button-card?
and images was just a reply to DinoTech โฎ๏ธ
So I know it's safe to delete the home-assistant_v2.db and this can help save an sd card. should i also delete the home-assistant.log file to help my situation?
If your SD is dying, neither of those will help
Reducing writes is all you can do to prolong the life
Increase the log level in logger, exclude as much as possible from recorder, move to longer life SD cards
Yeah I know I mean delete those so they aren't so big then redo the logger/recorder stuff
like the db file is almost 2gb
Deleting them won't change anything ๐
oh so its cool to have a massive db on the sd card? I thought having a huge one wasn't a good idea for sd cards
It's the writes that's the problem, not the size of the file
ah so only writes not reads
Yup
WD do a Purple range of SD cards for DVRs etc - worth looking into those (or other Industrial cards)
Ooo I didn't know that. I have been trying to use cards with the "A2" spec
Industrial are the best, they may be a bit slower, but they've a long long write life
Good to know! So the wd purple or I think the samsung PRO Endurance is the industrial right?
Or just move to another platform where you aren't reliant on SD cards ๐คข
Either way they actually aren't too expensive so I just ordered a wd purple card. I really wish the Pi 4 had an alternative boot method that was reliable
but yeah I want to switch but this is currently for my parents house and I have been able to keep it running for a few months now and I really don't want to switch them to something else
If nothing is corrupt you can backup and restore
Is it possible to change the color of a state-icon to green (e.g.) ?
- type: state-icon
entity: remote.rm_mini_3
style:
left: 47%
top: 32%
#--iron-icon-height: 30px
#--iron-icon-width: 30px
icon: 'mdi:wii'
templates:
icon_color: 'rgb(0,255,0)'
@dapper grotto To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
@dapper grotto As indenting in YAML is critical to the validity of it, you need to either post your YAML to a code sharing site, or for short snippets format them correctly here. If you post unformatted YAML it makes it hard for people to help you.
Hey hey! Does anyone know if there are any plans to allow making a visual editor for custom cards?
I doubt it's ever going to happen - it'd need the custom card authors to support it
That's a shame, would be great feature in my opinion. But I understand the concerns.
Not so much a concern, more that it would need custom card devs to fully engage with it
Odds of that are ... not high
Ah fair enough
in mini-graph-card, is it possible to disable somehow title change when hovering over data/daat points?
https://github.com/kalkih/mini-graph-card lists all the config options
I know, I did try a lot of them, but none seem to be affecting the title changing
You can (and have could for a long while) add visual editor to custom cards for a while @lofty summit @split granite , with 0.108, they can even register the editor in the card picker
So, just needs the devs...
Even this one had a visual editor https://github.com/custom-cards/tracker-card
This repo has an example of an editor for custom_cards https://github.com/custom-cards/boilerplate-card
Or just move to another platform where you aren't reliant on SD cards ๐คข
@slow wave I am going from a nuc to pi 4 mainly because its 1/4 power usage, for my sake 50p per month instead of ยฃ2.00 not massive but i'm anal like that (extra cost in sds will cost me more then electric i know) ๐
Yeah, in a house the difference between a pi or a 2u rack server is so negligible I couldn't care 
look at mr. moneybags over here with his house

@wheat current ๐คฏ So Tinkerer was right indeed, nobody uses it ๐
But I'll look into it for sure.
This error message doesn't tell me where in my front end the problem is. Anyone have any idea about this message? 2020-04-06 22:36:03 ERROR (MainThread) [frontend.js.latest.202003181] https://url.duckdns.org/frontend_latest/chunk.ea4a842548b68b236f48.js:1753:204645 Uncaught YAMLException: unacceptable kind of an object to dump [object Undefined]
@lofty summit I'll update the boilerplate sometime soon to register in the card picker, that will allow devs a good example on how to incorporate it in their cards and I'm sure it will be a top feature request once it gets rolling
I hope gui editors in custom cards will become more prevalent over time.
Yes it is very soft when using like one of the weather cards with the gui editors instead of go to github and look all the code ๐
Regnar det hos dig @polar kelp ? (Is it raining at your place @polar kelp )
Nice
with all the wind we have gotten lately, some rain to cancel out the dust/pollen would be nice
I feel sorry for the pollen allergics now, when people look like they'll stab you if you sneeze in the grocery store...
Hey guys, anyone able to help me out, since a crash that occured a few weeks I had to start all over.
Most of my progress has been documented and is implemented again, but I can't figure out how I integrated my IFTTT triggers.
I've got the integration working, but now I want to create a button/card of my dashboard to trigger a webhook command.
In the Developer Tool - Services, I am able to trigger the event and it works, how can I use this in a card on my dashboard?
So the trigger part works, I just need to create a card with a button that triggers it.
I did a backup using Google Drive, got most of it back, but my whole frontend dissapeared.
Thanks!
Because you didn't backup hidden folders? 
No clue what went wrong, just cant seem to find it.
Part of taking backups is testing restores ๐ Easiest way to do that is to have a test instance, such as a VM, that you can work with.
Or just crash your instance
We can't all be you @wheat current
I think that is a good thing
I've got a full snapshot, still available, but where would I be able to find the dashboard yaml?
There's none ๐
No?
.storage/lovelace is the JSON however if you're using the UI
I've found it
Alright, thanks, I might be able to work with this
I've got it working, but this tap_action is a lot easier then my previous method, hahaha.
You guys are the best<3
We read the fine manual ๐
do yuo guys know how can i rotate the display of images - portrait not landscape ?
Where is the image coming from?
Anyone else having issues with HACS on frontend? I updated recently on my docker, and updated the addons to /hacsfiles for the JS Modules.. but still they're not loading into UI. Do I need to do anything on filesystem?
is it possible to influence what entities are grouped to the graphs in History tab?
they are not grouped by entity/sensor origin
so I end up having Humidity, Precip Probability and..Filter percentage remaining ๐
They're grouped by the unit of measurement
You can create your own graph cards to group however you want ๐
yes, noticed that (grouping by unit)
I know I can create my own graphs, but not on history I think?
Nope
History is for everything - not really the kind of place you'd go for things you want regularly
hm..I might just make Filter different unit ๐
btw. wanted to thank you all for patience ๐ I know I was asking a lot of questions lately but you've been all so patient with me and I am actually making progress ๐
I really like how my Purifer card turned out
We're, mostly, here to help, deliver a bit of RTFM, and occasionally question your choices ๐
and help you do!
Any good suggestions on how to "direct" different users to special dashboards?
You can hide dashboards from non-admins, you can also make views only visible to certain users
is there a list of styling items like sidebar-icon-color, paper-slider-pin-color that are used in themes? I think I saw somthing like that few days ago but can't seem to find it again or in history..
Hello all. Can someone point me in the right direction regarding the dashboard? I want to make pretty graphs, gauges etc, but I've read through all the docs and FAQs and can't see how to get started. I want it to look like the video on https://www.home-assistant.io/lovelace/ but I don't have the options that I see in the video. I have the standard automatic dashboard. I've dared press the button which says I want to take over that, and created a new dashboard, but I don't see how to make 'cards' etc.
At the moment I just have lots of small circles with numbers in.
Those are Badges - https://www.home-assistant.io/lovelace/dashboards-and-views
To make cards, use the big button with the + at the bottom right
AAAHHHH! THANK YOU
I'd love to add this info to the docs... I've been scratcing my head for days
Edit this page in Github - top right
Thank you very much ๐
OK Cool, I documented that, waiting for a 'favourable review'
VERY excited now I can get going with homeassistant!
any way to have the input_number in box mode show the unit of measurement directly in the UI as is the case with the slider mode?
the unit appears in the more info dialog for the input_number entity, but not in an entities card
running 0.107.7
box mode?
example_input_number:
name: "Example input number"
mode: box
unit_of_measurement: unit```
as such
this is the phenomenon i'm experiencing
not sure if it's the expected behavior or a bug
@wheat current mode is part of the integration/helper
Then it's broken @mild veldt
@native bear I'd suggest adding a feature request to the frontend repo referencing this https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts#L96
@wheat current dev?
always
I can't switch over at the moment to confirm
I'll do test/fix after breakfast
isn't it like 5pm over there right now...?
@mild veldt the referenced line 96 is for the slider mode, right?
Hallo Gentleman, is there anybody in these lovely community that can advice how to customize the thermostat card? I'm using it to control a dehumidifier and works pretty good for my needs, I use a humidity sensor and cheat telling the climate card that I'm cooling with 5deg delta, it works. the only "bad" thing is that I read "cooling" on the status (might be different like "drying"), I read "ยฐC" on the set Temperature (might be "%"), I have a snowflake on the Icon (might be a water drop or something else)...Customizing names and icons could be interesting also for someone who want to use for Humidifiers (similar to Heating)... Thank you for any help in advice, My Best Regards Antonio
@vapid field Hi, I'm working on humidifier and dehumidifier integration for HA. Once my PR (https://github.com/home-assistant/core/pull/28693) is accepted, I will work on a new hygrostat card dedicated specifically to humidifiers and dehumidifiers.
@native bear yeah, you want those units in box one
hmm..that is probably very stupid, but..how do you set the theme on backend? I tried service call, it works, but my theme reverts back to default white one after restart of HA
that's strange, 0.108.0 states in breaking changes that they removed default and backend-selected in themes but I still got them?
that doesnt apply to user theme, it applies to cards theme I think
and that is correct behavior for the theme to change when you restart....just select a theme in your user profile and it will stick between restarts
@fleet scaffold ^^
@frosty pelican oh, I misunderstood the changlog probably ๐ thanks! ๐
On the update to .108 the map page does not load. Is this the right place to address this?
Also on all the media cards I get ```
Custom element doesn't exist: hui-media-control-card.
entity: media_player.bill
type: media-control
I do not use hui-media-control-card
My map loads fine, check your log file
core logs, su logs or under development tools?
Core
My bad. Had to do a hard flush of cache.
๐
I still am having to manually reset on the updates (ha host reboot). I have been seeing this on my installation since .105. Not sure why? No errors in logs
Also, no mention how to show history on the maps that was mentioned in the update.
That's a card feature not the sidebar
Needing to reboot would be a topic for #330944238910963714
I have two toggle switch in lovelace card. when i toggle it from on to off. a window pops up and i have to click again on that popup windows On/Off. is this the default style. Can I toggle without a popup
Is there a toggle in the card, or is it just the entity?
If it's just the entity, set the tap_action
The docs for the card you're using will explain how to use that
Its a glance card
Then see the docs for the glance card ๐
Channel topic has a link if you're unsure where to start
Update came in - yuhoo : Home Assistant Core 0.108.0. updating now
Well it failed
Error: <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> <hr><center>nginx/1.16.1</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->
dont worry, i did not change anything for the card yet. I was exited for the update.
I sure it will update fine in another attempt
Done : i am using--- Home Assistant 0.108.0 ๐ฅณ
This update fixed one more thing from my DIY- Harmony hub is auto discovered.
I've seen that with the new dashboards it's advised to move resources to configuration.yaml. Can I still put them in a separate file and include them?
Yup, if you're using YAML mode
yup, i'm still using yaml mode. i've read multiple time that the new frontend editor became really powerful and flexible, but I'm kinda worried it will be annoying to make conditional stuff and so on
mmm doesn't seem to like resources: !include resources.yaml should it be resource ?
Where is the map card settings?
lovelace:
mode: yaml
resources: !include lovelace/resources.yaml
``` @modern plume - mine
@heavy pasture https://home-assistant.io/lovelace/map
Exactly as the docs show ๐
๐ you should get that on a t-shirt
Maybe I'll change my handle...
๐
Can I drag and drop card to organize my lovelace view? Csn thr vsrd br resized by dragging or these need coding
Maybe I am misunderstanding the new map card. I never setup a map card. It is on my sidebar and shows my home and my zones. Do I need to setup a card to use this feature? The docs do not say how to create it.
Yes, you need a map card, https://www.home-assistant.io/blog/2020/04/08/release-108/#lovelace-map-history even is titled Lovelace map ๐
I found this line in the release notes for 0.108 but I can't seem to find any of this in my upgraded HA: "Selecting your default Lovelace dashboard has been moved to the user profile page."
do we have any styling guide for themes? I have a few old ones that I'd like to update for 0.108
clear cache
Arh Yes - clear cache is a good thing - thanks
does anyone have a solution for when a camera seems to time out (and they are displaying it on a wall panel)
after a (yet figured out time frame) the camera - still streaming fine - seems to time out and display the empty box with an icon in
Is the new Dashboards feature a way to work with both UI and YAML mode simultaneously?
When I switch lovelace tabs it breaks my map card until I refresh, anyone else having this problem?
@gentle tide You can have one dashboard using YAML and one using UI config, if you wanted.
That's exactly what I want, actually.
I'm so sick of YAML for my lovelace interface, I'm hoping the other side of the fence is less of a pain in the ass
I really like all the modern all done in UI changes of home assistant
@split granite thanks. I completely misunderstood. I thought that the map card was for replacing the side panel maps, not a card that is used as one of your cards in the Lovelace view.
Tinkerer is away for 1h 50m 18s with a message :point_right: He'd been wrong, there was a light at the end of the tunnel, and it was a flamethrower.
Is there a way for me to make the Entity box on the states page 2-3 x wider without mucking in the code?
how come my lovelace stopped updating states?
@thorny orchid likely your websocket got terminated. Try clearing your browser cache
@vapid field no
you're talking about this column?
@mild veldt I did that, but also had to update bar-card. Now all of my bars are nowhere near as cute as they used to be, but at least my UI is updating states!
No, on the states tab... that dropdown box
hey folks, after a while of displaying my camera in the lovelace UI - it seems to timeout or just shows an empty box? is that when the websocket connection timesout? is there a way to extend it, or do i need to refresh the page somehow (without touching it?)
Please use imgur or other image sharing web sites, and share the link here.
@thorny orchid yeah mine got messed up as well. haven't gotten around to fixing it yet. A lot changed
Hey all. I am trying to have a light switch in the UI that I can set service settings to so that I can have a transition effect.
You can use a button card, glance card, or similar with "call service" as the tap action and whatever service data you want (such as transition)
Thank you. I am still trying to stumble my way through this
No prob, it's a lot to learn but the docs are pretty good
Just a quick one. Does the type:button go in configuration.yaml or elsewhere because I tried it there and am getting errors in the lgos
Take control of the UI and use the card editor there
reposting just in case it just got lost
do we have any styling guide for themes? I have a few old ones that I'd like to update for 0.108. I have found this https://github.com/home-assistant/frontend/blob/master/src/resources/ha-style.ts
but it doesn't seem to cover the new entity pages (which my main problematic page on all my custom themes
haha, I think my unit of measurment trick worked ๐
I was kinda bummed that HA by default groups sensors/entities in History view by unit of measurment
so I was having things like humidity, rain precip and..air purifier filter remaining on one graph
so I made a dumb change..for the filter I changed the unit to '% '
and it worked ๐คฃ
hi.. I'm getting an error in my logs about a lovelave-thermostrat card not being in a certain location.. but if I've installed it it shouldn't be in that location anyway.. as far as I can tell everything should be in /hacfiles/
2020-04-09 18:38:22 ERROR (MainThread) [hacs] Tried to serve up '/config/www/community/love
lace-thermostat-card/thermostat-card.js' but it does not exist
does anyone know what could be pointing to this location or how I can find it?
yes
Why?
I don't know.. I didn't create it
Yeah you did
all the resources are listed as being in there
well then that's what it is. I just meant that there is a path like that
simply looking at http://hassio:8123/config/lovelace/resources
Those are not folders, that is URL paths
anyway.. you have thermostat-card.js in there, but it does not exsist in the expected folder (filesystem)
hmm.. maybe I can just reinstall it
a) remove it from your resources.
b) place it in the expected folder
ok.. long story short.. I don't know how to do that.. I tried reinstall.. I tried uninstall, then install,, then add to lovelace.. still logs the same error.. all throughout however the actual lovelace thermostat works
I did all this through the UI..
there's a main.js
but it's thermostat_card.lib and lib.js
not sure if the underscore is a problem
so thermostat-card.js does not exsist, like the error say ๐
and since you added it again. you now have thermostat-card.js mand main.js in your resources, remove thermostat-card.js
why should it exist though? how did it get there? :/ I only ever used hacs to install it
The dev changed the name of the file
ok.. so something changed.. that at least makes sense
yep and now they are both listed.. I notice some files are listed as deprecated
this isn't one of them
the files is not, the import type (js) is
ok so is the correct place to remove it in the Resources tab? and leave the file alone
yes
and should I leave the deprecated imports alone or are they marked deprecated because they are safe to remove?
You should change those to "JavaScript Module" and report to the author if that breaks it
ahh.. ok.. that's on my list for the Easter weekend.. thanks
Happy Easter and thank you
Anyone got the Lovelace Map history working from the 0.108 update? I would be so nice but I can't find how to enable it ๐ฆ
Anybody seeing what I don't ?
Please define an entity.
cards:
- entity: vacuum.roomba
vendor: roomba
type: 'custom:xiaomi-vacuum-card'
According to doc, this should be sufficient:
No card type configured.
- type: 'custom:xiaomi-vacuum-card'
entity: vacuum.roomba
vendor: roomba
ok got it... Opening the raw editor, saw that the '-' was duplicated
https://www.home-assistant.io/lovelace/map#hours_to_show ๐ค
@split granite Thanks!! Looks like I'm an idiot. I was looking so hard for a "history" that I totally overlooked this one. It's even in the visual editor ๐คฆโโ๏ธ
Hello, why a state-icon goes under the picture element and doesn't get displayed?
Any reason for it?
Sounds like you need to ask in #330944238910963714
Hello, where should I put/do this feature request: Lovelace Entity Card, add precision/decimal places.
You can find the community forum here
I thought I saw somebody saying it was possible to combine UI editor for some pages and Yaml Mode for others, is that correct?
Different dashboards
thx!
lovelace:
mode: storage
# Add yaml dashboards
dashboards:
lovelace-yaml:
mode: yaml
title: YAML
icon: mdi:script
show_in_sidebar: true
filename: lovelace.yaml
Exact what I was looking for !
ah or not.. If I understand what it states in the doc, this setup creates a complete diff UI ?
I think what I needed was one UI, where tab (called view ? ) is storage mode and another is Yaml mode ? But I guess thats not possible
I could of course create a new dash, drag and drop in UI, copy paste to Yaml dash as workaround..
Hello there, somebody affect that the automation and the developer tools menu slown down extreamly, if i take some time in this places? (only help the page reload) I not affect this the other part of the GUI.
an entity is not showing an icon. anyone??
Developer Tools -> States doesnt show an icon either
try customizing it by clicking the โ๏ธ in the upper right of the box that appears when you click the
at dev tools > states
if that's not available, try at configuration > customizations
and then maybe look for an existing issue for that integration or open one if it doesn't exist
it worked fine before I renamed the camera

Tried commenting them out and restarted HA, put em back again restarted HA same thing lol
Is there anything in addition that needs to be referenced or installed in order to use the new version of media-control card? Thrown it into one of my lovelace pages but the old version of the player still displays. Currently using vers 0.108.1.
Anyone having the map card go blank when navigating their tabs? It works after a page refresh
how am i supposed to change the layout? i cant find an option for it anywhere in the GUI
im using Homeassistant core (the one without the hassio plugin store)
@rose sluice clear your browser cache
@mild veldt Doh! Thanks kindly.
If I want to go back to UI mode, do I simply comment out lovelace: mode: yaml?
nvm. found the answer
is it my understanding that the Compact Custom Header has pretty much been made redundant by the new lovelace?
multiple lovelace dashboards among other things?
and?
It seems that they do the same thing - unless I'm missing something?
yes, CCH (or just CH now) modifies the header (that is it's core functionality)
perfect - thanks!
Anyone using a map card in lovelace?
Yup
You having issues with it going blank on 0.108.1? When I go to another UI tab and back it goes blank
Refreshing page fixes it
I haven't seen that
@wheat current Thanks! Guess we will see it in .2
In my logs I have Login attempt or request with invalid authentication from 192.168.1.101 (193 occurences). This is the IP for my Pi running HA. Is there a way to track down where the login error is so I can have this stop showing in my log?