#frontend-archived
1 messages ยท Page 200 of 1
Hm i just tried to make the new Statistics Graph Card and i can select my Aqara Temperature Sensor entity but then nothing happens only text with "no statistics found" appears?
Can someone help me?
From the docs for Statistics Graph Card:
If your sensor doesnโt work with statistics, check this.
https://www.home-assistant.io/more-info/statistics/
And if you dig deeper:
Home Assistant has support for storing sensors as long-term statistics if the entity has the right properties. A requirement to opt-in for statistics is that the sensor has state_class set to measurement. That means that the current value represents the current value.
Uh hm im completely new and don't know to code things, but is this something i can easily change on my own to bring it to work?
Did you read the page I linked you to? It says to open an issue (if you don't know how to code) and has a link with more details (for those that do).
If you want to try to code it, you can follow that link and have a read.
If you think you understand it well enough and want to try to update it, that's where to start... but if you're completely new to programming, you may find it difficult.
This is where you'd open an issue (search first to make sure you're not making a duplicate):
Want to see what issues are open (or were open and are now closed)?
- The core (backend) - for HA itself, and integrations
- The frontend (UI) - for cards and display issues
- The Supervisor
- HassOS
- The documentation
Finally, don't forget to check for any alerts
Yea i don't understand it to code something :D
Thx for the help i try to search if someone has already posted it and if not i write an issue
oh ffs, i've spent hours over the last day or so making a new page for my dashboard,,, come to use it on a different computer and it wouldn't show the new updated page. and somehow it has saved it so i've lost all that work. i don't suppose there is some kind of way to restore changes? i'm guessing not.
i don't understand, why is lovelace so terrible at updating its cached ...erm... everything??
If you didn't take a backup, you're probably out of luck.
You do take backups, right?
And it's usually not Lovelace that's the problem... browsers do the caching.
If you're worried about losing progress on things, switching to YAML mode and using git for version control is one of the best options.
so i've set up a grocy docker container (not the addon), and want to add its webui to my sidebar
i found the panel_iframe integration, which "works", but it only loads the login page, and doesn't change when i log in
like it's always stuck on that one page
this is what my panel yaml looks like:
panel_iframe:
grocy:
title: "Grocy"
url: "http://192.168.1.229:9283/stockoverview"
i would run it as an addon, but the grocy app for android does not yet support the version of grocy that the addon is based on... and on top of that, the addon itself has issues making it hard to use from within the HA app
any way to resize UI cards?
major shortcoming of frontend are these cards... how is there no easy way to sort and resize them
.>
custom cards make it pretty easy to resize cards (I think the best one is a grid card from Thomas Loven at least in my opinion haha)
Also super dumb question I just cant figure out how to disable an icon in my YAML
the entity has no icon defined and yet it continues to stay there (I can change it with icon: mdi:lightbulb or some random other icon but I dont know how to hide it)
Hey really dumb question I'm sure, but I'm still confused after reading everything I can find - HOW do I call MDI Icons? mdi:whatever does nothing, do I need to add something in config to allow them?
like let's assume I'm not a JS developer... ๐
Anyone know of a calendar card the shows a week view? All I find are month or day views...
Youโre thinking of layout-card
Try icon: mdi:this-icon-does-not-exist
mdi:whatever should work for an icon named Whatever or mdi-whatever. Please show a bit more of what youโre trying to do.
thanks that worked ๐
yes I am haha, sorry I forgot the exact name
You just need to follow his GitHub page ๐
Hello everyone, I need some help getting some info on a lovelace card.
I'm using the meteoalarm integration to get weather alarms
normally, when you put that on an entity card, it just tells you safe or unsafe and if you want to know more, you have to click the card and then click on attributes, to see what exactly is the unsafe event
is there a way to make a lovelace card, that will just show me all that information directly, instead of having to manually click through it and into the attributes subsection?
You should make a template sensor that surfaces the information you care about, then display that sensor on a card.
Can you point me to the relevant documentation on how to do that?
for the meteo alarm integration
please?
will look into it, thank you.
I've got my button-cards setup to use auto color mode for the card. I find though that when switching to that dashboard with a light already on it will flash the colour for a second then go back to black/grey as if it was off. If I turn the light off and on again it shows the colour normally until switching away from that dashboard and back.
I am trying the new energy-function, I have added power consumption from my tibber-integration, but it doesn't seem to give any data. So I think i am using the wrong sensor. BUt I find no way to modify the energy panel, adding or changing sources and so on. Any tips?
oh, thanks, didn't know it had become its own channel
Yes, the same day the feature launched ๐
Sorry if this has been asked before but does anyone know how I can get lovelace to show times in my timezone? I assume it is BST that is messing things up, but graphs are all 1hr out
What timezone do you have set in Configuration > General?
can you reset the "Overview" card to not be configured by UI?
I think there was a popup question about editing it, and someone in the household pressed "yes" on that question
(I basically want the overview to show whatever entities I add)
If you check your logbook / history, do the times look right there, Starfarer?
no, they are an hour behind
{{ now().tzinfo }}
{{ now().astimezone().tzinfo }}
{{ utcnow().tzinfo }}
Gives me:
Europe/London
BST
UTC
no, idea if that is right
What install type are you using?
hass os on a pi
You could check with the folk in #330990055533576204 to see if there's anything else you should investigate.
thanks
Calling all frontend experts ๐ . The Markdown card is pretty nice, but it could be awesome if we could use Mermaid (https://mermaid-js.github.io/mermaid/#/) with it. Most of the popular markdown renderers can take some Mermaid markdown, so would it be possible to make it work with the Markdown card? The upside would be dynamic diagrams!
Hello! Is it possible for lovelace elements to be aligned with each other?
Feature requests go on GitHub for the frontend: https://github.com/home-assistant/frontend/labels/feature-request
Hi everybody ! Can you help me to align my lovelace cards ? I want to put an horizontal stack only on browser but not with phone, is it possible ?
Masonry layout from custom layout card helped me ! It's okay thx you
Is it possible to use images from the \media folder instead of the \www folder for the picture elements card?
I believe not, since the media stuff uses short-lived tokens.
www is completely open, so you won't have problems with tokens expiring.
Ahh bummer. Yeah that's part of the reason I don't want to use www. Is there another location that isn't open to all that I can use?
Not within HA itself, no.
It's not really meant as a fully-featured web server. The www folder is just a nice bonus.
If you're able to use external images (I've never tested this), you're welcome to set up your own web server with your own rules.
It'll still need to be accessible from wherever you're viewing Lovelace - if that's on some computer at a cafe or the office, your access rules will need to permit that.
Hi, anyone knows how to update lovelace climate status with a Tasmota IR blaster?
This is the version I use:
https://github.com/hristo-atanasov/Tasmota-IRHVAC
I am controlling the AC but can't seem to update when I can readings from the remote control (in the tasmota console I see the data)
Question. When I try to edit a card via the ui configurator. The edit and delete bar under the cards does not appear.
How do I fix this?
I've noticed that a bit lately, usually just changing the tab in Lovelace and back fixes it
It used to fix that for me hat but not anymore somehow. Good to know that its not just me.
Question: How can I make a youtube video embedded via iFrame to Lovelace autoplay on the Silk browser?
I have it set so a video autoplays with other browsers, but I can't get it to work with Silk.
I want this because it will prevent my Echo Show from timing out, letting me leave it locked on my Home Assistant page. I just need to get the video to autoplay.
So is there any way within HA to cause it to autoplay (not relying on the URL addition "&autoplay=1", which is what I have now)? Or maybe some way to force a fake click to make it start playing? Idk.
what language are we coding in for the lovelace ui code editor? so i can copy to notepad ++ and code it there to copy it back to the browser
Isn't everything always in YAML?
it's not tabbing back and forth in notepad ++ correctly lol
Is there a howto for mdi icons? I can't find anything complete.
For a given mdi (e.g. mdi-dance-pole), change it to "mdi:dance-pole" for use in HA.
Cheers @dull hazel - great to finally have an complete list, but I'm still a bit lost, more than happy to write this up once and for all, but the "usage" section doesn't really give much for the uninitiated.. where does that code go?
also npm install @vapid field/font - is that supposed to be somewhere too?
Well, that depends on where in HA you're looking to use it. Since you're asking here, I assume you're wondering about use in Lovelace. When you make a new card (e.g. button card), depending on the card, one of your options displayed should be "Icon (Optional)". You put your mdi there.
No problem.
see the first pin
I did and https://cdn.jsdelivr.net/npm/@mdi/font@5.6.55/ is the most confusing of the lot! ๐
That's not doco by a country mile ๐
Not trying to be a jerk without putting my hand up to improve the doco though, once I get my head around HA some more I'll contribute ๐
Well, if anyone figures out a way to make Youtube videos embeded with iframe into Lovelace autoplay on the Silk browser, please let me know. Silk is such a pain to work with, but it's the only option on Echo Show devices.
Hi everyone, I have an iPad mounted on the wall. I've been looking for a long time in documentation, forums and google about having a sound when I click on a button, but I can't find a way to make it work. Any suggestion?
Why dose my history graph look like this for one of my energymeter plugs
https://imgur.com/a/97YzsXi
And
Like this for the other one
https://imgur.com/a/GxbsJki
Is the unit part of the state?
For the one with the bar graph.
they are the same, the fibaro one is a clean copy of the other one
Did you only add the unit_of_measurement later? If so the graph will update in 24 hours.
I plan too๐
Iโm not sure because Iโm a noob but could you add an action to the button that starts a script to play the noise?
is it just me or have the last 1 or 2 updates made the front-end extremely buggy again?
nvm I think it was indeed just me..
hello can someone help me installing custom:button-card i did the hacs instalation and whenever try to create a manual card with type
type: 'custom:button-card'
all i get is "Custom element doesn't exist: button-card." in visual editor
Do you see the resource in
-> Lovelace dashboards -> Resources?
yes it is as specified in the github repo
/hacsfiles/button-card/button-card.js is in my url
do i need to restart server ?
haven't tried that
You can. Also clear your browser cache
Is there a reason I can login to my duckdns front end but I can't access the front end by ip locally? I can see it on the network
from a browser on a laptop is where I'm having issues. My iOS app works fine
Server restart seems to have fixed it ...
Very weird since is only on frontend repo ...
reloading Lovelace resources might have fixed it, but that should happen automatically when you added it
Is there a way to override the locale settings HA frontend gets from the browser? My calendar starts weeks on the wrong day :/
Is the time on your server set right ?
If you've enabled SSL in HA, then the cert is based on the name and not the IP
Question is there any way to achieve a toggle with an intermitent phase in example a gate automation instead of only on and off state i would like to have opening and closing state or at least one transitional state but input-boolean has only on and off
sounds like a cover
Me? It's not about a time offset, it's about how it displays things. on the iOS app it's correct :/
I have. So how do I fix that now?
you don't "fix" it, you use the name
the alternative is to use a reverse proxy like NGINX that allows external SSL and internal non-SSL connections
Hmm that seems more of a thing to control the opening percentage , in my case i still have 2 actions but i just want to know when the transition finished from open to close or reverse
if you just want a sensor that supports multiple values then use a sensor
I don't know where the limitation of the input_boolean is coming from
I'm using a esp32 to control the gate and i wrote the code myself on the controller side it has 4 states , open ,close ,opening ,closing i just dont know how to bring that to the UI ๐ฅฒ
No sensor just mqtt and a relay
I keep track of gate state acording to the time it takes to open or close
I'm still unclear about how the open/closed/opening/closing information is being made available to HA
this seems less about how to represent it in the UI as about how to turn it into an entity that you can then display
if you're really asking "how do I make a template cover that shows open/closed/opening/closing", then that's fine
I guess im stuck at the entity part
the UI just represents stuff that already exists
how is HA getting this data?
4 states , open ,close ,opening ,closing
an MQTT sensor?
No sensor just a microcontroller
No sensor just mqtt and a relay
how are you planning to get that info into HA?
you keep saying "no sensor", but that's not really responsive
As it is now the controller is subscribed to that input boolean recieves the on and off inputs and does it things
what is populating the input_boolean? that's just a helper in HA
do you mean binary_sensor?
I feel like we have a terminology problem here
Yeah sorry i am new to this
I know how to program the controllers but i have 0 experience with integrating them into HA
but you're somehow getting the data into HA? Or not?
"it's" is HA?
you should look into an MQTT cover: https://www.home-assistant.io/integrations/cover.mqtt/
what exactly does this mean?
Now it's just subscribing
Hi all, i want to make a custom gauge card, based of the one currently in HA. I kinda miss 2 features that i'm going to add in the custom one. But where do i start?
the controller is subscribed to a topic
'garage_door_topic"
the input boolean helper is triggering a node red flow which publishes the message on the mqtt broker then the controller recieves the message and takes action
I'm confused about what is detecting the state and what is reacting to it. If Node Red knows the state, what is the microcontroller doing?
Node Red can communicate directly with HA
if the goal is for the microcontroller to detect the current state, publish that to MQTT, and then have HA ingest that, then the "MQTT cover" that I posted earlier is the way. Or you can just use an MQTT sensor: https://www.home-assistant.io/integrations/sensor.mqtt/
i'm going to do some more reading on it as it is right now the state is only internal on the microcontroller , node red only reacts to the input boolean if boolean input is on sends message to open the gate if it's off sends message to close the gate , i can make the controller publish it's state on the mqtt broker then probabily i need another entity that is aware of that state ...
an MQTT cover could take the place of the input_boolean and Node Red integration by combining the current state of the gate and the open/close functionality
once it's all part of the same integration, it can be easily represented in the UI. Otherwise, if you just want to surface the sensor state, then an MQTT Sensor can represent however many states you want
ok i will read into that thank you very much for your time sorry for being such a noob ๐
np, it seems like you have most of the hard stuff under control, it's just bringing it together. Further questions about how to bring data into HA should go to #integrations-archived
ok i understand ๐
i am trying to setup an android tablet with the a dashboard on a browser but i am having an issue when i got in the settings > lovelace dashboard i can't get the popup appear to set one as default
i tap any dash and nothing happen....
Is there a way to see events (and the data they contain) that HA is recieving?
That was what i needed. I wanted to see a notification cleared message from the HA app.
A friend recommended me to make an automation for when an entity changes state to reproduce the noise. It worked, but it has a delay of 1 second to 2 seconds. If there is a way for this noise to be reproduced instantly that would be great!!
Is there a gauge that allows more than three (ideally arbitrary) severity? Neither the native gauge nor custom-gauge appears to and I have a sensor I'm trying to break into five categories.
When editing cards using code editor, is there a way to move (insert/delete spaces before) multiple lines at a time? Like what you can do with VS Code?
Have you tried https://github.com/AmoebeLabs/flex-horseshoe-card?
No, I'll take a look, thanks!
Does anyone else encounter "backwards" typing sometimes when editing yaml in lovelace?
total noob, trying to get a button to show more buttons (to organize and save space). can i get a hint for the right direction?
Or this custom card https://github.com/thomasloven/lovelace-state-switch
I've upgraded to the latest HA and I still don't see the new energy option which I was told should be a menu option in the left bar. Is there anything I can do to see it?
Go to #energy-archived and check the pinned message. If that doesn't work, they can help you over there.
@polar kelp thanks for answering but I can't see a pinned message. Can you send a link?
oh thanks
I've got a problem with the ios app - the controls on the main dashboard vanish after a while, while the side bar etc remain
this doesn't happen on safari with the same dashboard. only in the app, it's an ipad mounted to the wall so is always on.
It's not an unheard of problem... try asking in #ios_and_mac-archived
Also, can someone please point me to doco on making an up/down switch (for blinds) where (clearly) up and down can not be pressed at the same time?
Covers
Someone pointed me in that direction yesterday
Posted a gif in #diy-archived with my integration , i use it for a garage door ๐
Hi, i have messed up. I was playing with the HA app and tapped the โtake controlโ for the dashboard. Now there is nothing ๐ how do i undo it please
You could make a custom HA dashboard with it, or if you create a new dashboard it should automatically add all the elements to it... Im not sure if there is a way to undo it or not but both of those should work ๐
Thank you Tobster18
-> Edit Dashboard ->
-> Raw Configuration Editor -> Remove everything -> Save
@polar kelp thank you so so much๐
Ok now that i can see my things again, can you mimic apple Home interfase and i also saw when I installed the app in app-store that there is like a home plan. How do i get that look?
You build it yourself
No idea what Apple Home looks like, but there's no shortage of built in cards (https://www.home-assistant.io/lovelace/) and a huge long list of custom ones
@tight quest posted a code wall, it is moved here --> https://paste.ubuntu.com/p/Y5sdGQK2Ng/
@tight quest posted a code wall, it is moved here --> https://paste.ubuntu.com/p/Yjzq6BGzcJ/
Template sensor: https://www.home-assistant.io/integrations/template/
The bot counts total message lines, not just code.
Thanks for clarifying.
Can it be done in the lovelace UI? Rather than creating another template sensor to extract the attribute object state?
For simple attributes, yes: https://www.home-assistant.io/lovelace/entities/#attribute
For less simple ones you can check out template-entity-row
Thank you. Looks like template-entity-row is what I was looking for. The attribute I want to put into lovelace is buried in an array.
Works perfectly. Thank you Thomas.
Thank you. Will have a look.
Does code differ from operating systems or will ubuntu work with Mac os?
What?
@polar kelp may i private message you please?
Will Ubuntu code work on a Mac running Mac OS?
That has nothing to do with the frontend of HA
If you're asking about software then the answer is highly unlikely
However, it may be that the software in question has a MacOS version
Got the answer thank you.
@tired epoch When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.
How do I edit the energy dashboard? (add a sensor)
Some things do.
Probably
i have several glance cards with climate information.
i wanted the title text (nice big white letters) to include some dynamic information like "last updated xx minutes ago"
but i failed to manage that, so i am using a markdown card followed by the glance card
Nice classic workaround. I like it
if instead of the glance card i was using the entities... i could actually insert the markdown in the same card
but that's not possible in the glance card? is there some sort of workaournd?
because honestly, the little gap between the two cards is driving me nuts ๐
(can i post a picture here?)
There are some custom cards that can fix this. The first is stack-in-card: https://github.com/custom-cards/stack-in-card That will make a stack of cards that look like they are one.
i'll check that out, tho i was trying to stay away from 3rd party stuff for now.
(extra possible point of failure, separate updating process, etc)
Another option is to use something like lovelace-card-templater that lets you use templates for card options https://github.com/gadgetchnnel/lovelace-card-templater
Thirdly, you could put both the markdown and the glance card in the entities card...
wait... merge them with an entity card?
so i know how to do that with a markdown card. in the entity card i add - type: custom:hui-markdown-card
what would i have to use to add the glance card?
-type: custom:hui-glance-card
i am kinda strugling with the proper formatting
i hate YAML and it's "leading - and exactly THIS amount of blank spaces" format
Start with your glance card in the editor, click Show Code Editor and copy that.
yeah did that
i think i am getting there. your example was perfect
ok i got it to work.
nice idea. looks better than before... but
still not perfect
i just wish we could use dynamic data in the title
or at least that the glance card had header/footer where we could add stuff
this will do tho
thx a lot Thomas
custom:alarmo-card stopped working any1 know how to add it again .. ?
change-notes say this :
Removed alarmo-card. Please install it separately from alarmo-card.
how to install separately from alarmo-card
there is no card anymore in ha
Is it possible to have all your room names under โhomeโ and when you tap on the room it opens up everything that is in that room and collaps again when you tap on the room name?
heya.
@polar kelp helped me this afternoon to get some nice cards going.
they worked nice but now out of the sudden they stop working
i have big red errors everywhere i made the card with this message:
Custom element doesn't exist: hui-markdown-card.
which is weird, because it was working just fine a few hours ago
i restarted home assistant, error still happens
i updated homeassista nt (was only a minor version behind) and still same
I posted you a link to an explanation. That begun with "IMPORTANT". Read that part.
yepp. i thought it would be black or white. either works or not.
it's weird it was working for a few hours then stopped
i only made like 5 cards... that is gonna affect perfomance to a point of breaking everything out of the sudden?
@polar kelp so if i install hui-element
then just a couple changes in the yaml and everything should work?
It's not about you breaking performance. Since you're not using any markdown cards the "normal" way anmore, lovelace don't know about them and won't pre-load it for you.
If you add a single markdown card somewhere in the same view it will likely work again.
this is quite discouraging for a noob like me...
all i wanted is make everything more compact and show "last updated" in the title...
now i have to read 8 pages of instructions on how to install a custom .js and learn all that ;_;
what if i add a regular markdown card at the end of each view with just a dot or "good bye text" in it? would that make the hui-custom one work always?
or would is still fail sometimes?
It's likely to work.
i'll check this first then
yepp. added a basic markdown with a . in it on the first page
now everything is working
i mean, if this is a dirty trick, i'll have to do it "properly" eventually... but it's just so much info to learn for something i thought was easy and basic to achieve
it's like "can you tell me how to say thank you in chinese?" "yes, here, learn these 10 books first" (I don't mean you Thomas, it's the way I generally feel when trying to figure out stuff in HA)
๐
I'd say it's more like someone replying "well, the translation for 'you' depends on who you're talking to, your relationships and their familys standing in this era of chinese history where the language was defined because... ...not to mention which region of China you are in."
That's what I think getting started feels like. There are so many new concepts that you don't even realize are important yet.
which doesn't matter because I just wanted to be polite in a chinese restaurant downtown and the answer was "xiexie" ๐
HA seems easy enough. documentation is there "mostly" understandable for a guy like me...
but some times... something that in my head should be very simple... turns out to be a nightmare of international diplomatic incident proportions
i appretiate all the help and patiente @polar kelp
Hi everyone. What am I doing wrong here to get a background into this theme I'm using? '
Background image
background: center / cover no-repeat url("/config/local/image.jpg") fixed
I put the image in my www folder
What's happening?
The image doesn't show up as my background
Is this the first thing you've added to www?
There's also a community folder in there
Have you restarted HA since creating the www folder?
The www folder has been there since I installed HACS I believe
But I have restarted since uploading the image
Then it's just your URL that's wrong:
url("/local/image.jpg")
And also cleared cache
config/www maps to local
Ok lemme restart HA and see what it do
You shouldn't need to restart for that part. Only when you first create the www folder.
Still no dice
''' clear-dark-vibrant:
Background image
background: center / cover no-repeat url("/local/tampa.jpg") fixed
Colors
text-color: '#DADADB' # Grey text
text-medium-light-color: '#A0A2A8' # Medium-light grey text '''
well wtf
Trying to use backticks to post code lol
Try to open the image directly in your browser using its full URL:
https://YOURURLHERE/local/tampa.jpg
Backticks are the ones that lean sideways. You just used apostrophes ๐
` vs '
LMAO. Well anyway I'm a few thousand miles from my HA right now
I'll pick this up again in a few days I guess
TY
How do I add VS Code to my sidebar?
If you're using the add-on, it should be an option there. If you're not, you don't.
I don't have the option with the addon
Ah, but you do
#add-ons-archived can tell you how.
ohhh i see thanks ๐
Itโs hidden, I guess ๐
i was trying to add from the edit menu
That only manages things that are already there
Hi, I'm having a little trouble with my HA. Suddenly I can't connect to the front-end/UI and I can't figure out why. I've tried restarting the docker container I have it running in but that didn't work. I can't connect via the IP address so I've only got the console to work with.
If you have console access, you can check the logs.
You can also run a command line config check to see if that highlights any problems:
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
I think I already tried that @karmic tiger , it didn't highlight any problems. Not surprised since I didn't make any changes to the config recently.
How can I look at the logs?
If you're using Docker, docker logs <containername> from the host. But if it's a connectivity issue, you'll probably also end up checking the logs of your router and any reverse proxies you have.
I can do docker info and registries, no logs tho.
Oddly enough I can still connect to the observer url fine.
I'm running home assistant OS 6.2, hopefully that makes things a little more clear
I'm used to working with the front end, so I'm a little bit new to this.
#330990055533576204 can help further then
has this been noticed before here: on a new format template: sensor, using name: and picture: templates, the dev tools state still shows friendly_name: and entity_picture: in the attributes?
I would assume that's deliberate so as not to be a breaking change for the many thousands of people that already have sensors set up.
The terminology used in the configuration of an entity doesn't have to be the same terminology used on the other end.
yeah, probably. It's just that I had changed my naming in quite a few js frontend templates, and because of that these failed to show their (entity_)picture.... So we now have 2 sets of configuration variable namings for the same variables..
๐คทโโ๏ธ
this might be for Thomas, but using - type: entities entities: - type: custom:hui-element card_type: picture-entity card_mod: style: | ha-card.type-picture-entity { box-shadow: none; margin: -16px -16px 0px -16px; } has been working for a very long time, and with the august update stretches the entities card beyond the regular cards width. I need to set margin: -16px -8px 0px -8px; but obviously that is too narrow...
all other margin widths in the entities below this use the indentical numbers
see: https://paste.ubuntu.com/p/rJRMS3tn69/ please
taking out the history-graph (and keeping the old) -16px margins works alright, so it might also be the graph that has changed?
background: center / cover no-repeat url("/local/images/image.jpg") fixed
Got it to work using the raw configuration editor per view, but not to apply to all views at once. I think I actually prefer it this way. More flexibility.
I have this card from HACS on my dashboard: https://github.com/bramkragten/weather-card
I'm pulling weather data from OpenWeatherMap
Why is the middle right data (that is measured in distance (e.g. mi)) missing for me?
Is there any way to fix this, or alternatively could I replace that with something else (e.g. cloud coverage, UV index, air quality index, etc.)?
What would be the easiest way to rotate a mdi icon for an entity in the entities card?
OK the Lovelace feature request discussions group is not, erm, lively. No answers to any requests this year. I am not really after a new HA feature though. I would just like to know from the many JS experts here if it would be possible to use Mermaid (also JS) in some way in the Markup card. Actually any card.
Adding anything to HA that isn't already part of HA is a... new feature.
That includes adding new markdown processors.
I have joined Lokalise to update missing translation (Danish), but I can't find this anywhere: New devices discovered. We have discovered new devices on your network. Check it out
Any ideas where that should be translated?
๐ฉ Moving on then. Thanks.
\o I loaded the HACS integration floorplan and I have to create a lovelace dashboard using the floorplan-card component, but lovelace is complaining that either custom:floorplan-card or just floorplan-card are missing. Is there a way to see the available components? I don't see it in /resources/
Does anybody has a clue how I can access/use the long-term-statistics data? For example: what's the sum of statistic A for yesterday; or what is the average temperature 12 days ago of statistic B? (So the statistics data; not the states/history table). I do see the data when I take a look with SQLLite browser.
You'd use a statistics sensor (see #integrations-archived )
Is it possible to show a secundary state from another sensor? I guess this need some type of hacs card, but have anyone done this?
I use a glance card and the state is "Hemma" as you can see in the pic, but i have a template that changes it to "Hemma since 18:42" etc, does anyone know if it's possible to make that sensor show as state, instead? Thanks! https://i.imgur.com/DlqZgUV.png
@brisk canopy I'd use the template sensor instead and then either navigate to a custom page on tap instead of a more info, or use card-mod to change the more-info to the entity you want to display
Hopefully that long of text looks okay as well
entities card rows are better for that type of info imo. e.g.
Thanks, but not exactly what Iโm looking for. But I might be able to retrieve the data with the SQL integration. Thanks anyway!
Thank you, i used to have this on entities card but i would like to make this work on a glaces card, i will try this out. Thank you alot ๐
Hey I have a rest command set up that I set up using this guide (https://www.home-assistant.io/integrations/rest_command/)... now I am not sure how to call that service with a button on the dashboard
Is there any way to set a defualt effect for a light when you turn it on?
My lights always turn on with effects on and I want the effect to be "solid"
Automate it.
Does anyone know if it's possible to "scroll" the badges at the top instead of having them create a second row? They're taking up my entire mobile app screen
Hey there,
i hope that i am posting in the right channel...
I use the simple thermostat card and there i could use a sensor entity for displaying the humidity.
But i do not have an humidity sensor in every room.
If i do not use the sensor, the card get smaller and for that i want to get a template_sensor (or whatever) with an NULL_value.
Do you have any suggestions for me how to achieve that?
@vapid field Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.
Hi everyone, i cant seem to find Neye3C (camera app) and Ewelink to add? Any other way?
Hello everyone,
I would like to use any browser in home assistant. does anyone know how to install browser?
I have no idea what you're asking. Could you explain?
hi I have a strange issue... Custom element doesn't exist:
this happens only on android and firefox on my machine.. on chrome on my machine works as expect...
the logs seem to be ok so I wonder what can be so different... android is 11 and up to date
both chrome and firefox up to date
and I use lovelace storage, not yaml
Check the browser console in firefox.
Where do i find the โconfirmation yamlโ file on my mac?
configuration yaml?
depends on your installation type
Did a youtube help installation. I know it doesnโt help but more I donโt know๐
-> install type, look it up
Home Assistant OS
then go to #330990055533576204 and ask the folks there
Thank you
ok a 404 on the card /local/body-miscale-card.js?v=1.0.0
which is strange cause exists in there
and there is another custom that seems to be ok
also makes little sense since chrome finds them
Itโs probably cache
Sounds like a caching issue then. Try clearing it for that site.
i do tno think i ever used homeassistant in firefox
ok I wonder if something else happens
if I get the full link for the card that tried to load
indeed i get a 404 on chrome too
What's the full location of the file within HA?
found the problem
I think is a bug
the card was a symling
symlink
I would have expected it to be cached by ha if symlink
but seems no
indeed that solved it
Nope. Thatโs a python limitation. So the problem was actually in chrome.
Hi
Is it possible to set seconds for input.datetime's from frontend?
both entity-row and more-info dialog only allows editing hour and minute...
Does the map show anything but my current location and zones I've created? Can I plot the location of my family on there, life360 style?
Yeah. My wife shows up on a map when I tap on her entity, but not the "map" function in the HA hamburger menu.
Nobody will show up there if theyโre in the home zone
Anyone use Obihai with HA?
Is there a follow-up question when someone says yes?
Oh OK thanks RobC
Is there a way to remove the "arm away" and "disarm" button from the alarm card. I'm just looking to see its status rather than control it in this UI
It doesn't appear to be in the documentation
Finally found a link to the old MDI icons https://web.archive.org/web/20210102212634/https://cdn.materialdesignicons.com/5.4.55/
Why is that useful?
Anyone know how I can use custom button card to change background state based on a different entity to the one the button links to ?
I'm struggling with getting a different entities state - I tried '[[[
return (states['input_select.smart_speakers'] === 'Kitchen') ?
'rgb(0, 0, 0)' :
'rgba(255, 255, 255, 0.3)';
]]]'
Where 'input_select.smart_speakers' is the other entity I want to check - (I'd ultimately like to have that entities name and the condition 'Kitchen' be variables in the end..)
anyone know why camera_view: live is not updating my generic static image camera whenever I do a touch file.png ?
there's weirdness with having a different image after I click on the picture glance card too
the config is:
type: picture-glance
entities: []
camera_image: camera.vnstat
hold_action:
action: none
camera_view: live
the image doesnt even update when switching views
configuration.yaml ```bash
10 camera:
11 - platform: generic
12 still_image_url: http://ha:8123/local/vnstat_hourly.png
13 name: vnstat
I imagine some caching is going on at the source
not sure where to aks this.. but where is the correct process for configuring home assistant to be accessible via https on the local network?
I'm assuming it works from outside, but not inside the network?
Is there a way to Scale the statistics-graph?
It is used to show me humidity data. It is between 40%-70%. The graph goes all the way from 0-100. It is quite useless like this. I would like to manipulate the scale
no it's not configured for https at all.. i have nabu casa so don't need https from outside.. just internally because multiple addons have a reduced featureset without it
Then I recommend you ask in the channel for your install method. You'll need a registered domain or a self-signed certificate.
Or can you just use the NC url from inside too?
AFAIK the sensor card is the only one that auto scales like that.
well i think i can use the NC internally but it would add latency
so for home assistasnt blue i ask in homeassinstant_os?
yep
thank you. I liked the statistical graph but if that is impossible okay..
Do you have data points in the range 0-40?
40-60. Maybe some false positives around 80 while testing
Then that's a weird behavior. Please open a frontend bug report on github with a screenshot https://github.com/home-assistant/frontend/issues
just to make sure: This is how it is:
https://imgur.com/O7tw9AI
That doesn't look like a problem to me. If the range was different you'd lose the blue curve.
You are right. I've tried it.
It will never get to 100 but it makes it symmetrical to look pretty if the blue curve is included
One last Question. Can the labels be made invisible?
Not yet.
thx
Hi folks, having an odd issue. If I add lock.open_gate to my lovelace UI, only administrators can use it. Normal users get a notification that says "Failed to call service lock/unlock. Unauthorized" any ideas on how I'd resolve that?
It's the entity
My bad ๐
It's part of https://github.com/myhomeiot/DahuaVTO if that helps
Vaguely figured it out, it's a problem with the custom component not home assistant ( https://github.com/myhomeiot/DahuaVTO/blob/main/custom_components/dahua_vto/__init__.py#L80 ) so I'll either look into resolving myself or filing a bug, thanks ๐
Workaround: write a script that calls the service. Call the script from the tap_action.
Thanks, I ended up submitting a PR that resolves the issue (and is hopefully correct) https://github.com/myhomeiot/DahuaVTO/pull/7
hoping this is the right place to ask - can anyone offer a suggestion why this card gives loads of "Required key "entities.0.entity" is missing" errors? code is:
show_header_toggle: false
state_color: true
entities:
- type: buttons
entities:
- entity: sensor.thermostat_boost
name: Heating Boost
tap_action:
action: call-service
service: hive.boost_heating
service_data:
entity_id: climate.thermostat
time_period: '00:45:00'
temperature: 23```
actually just realised if I remove the tap_action section I get no errors. so that must be where issue is
I think thereโs some config validation errors that were present in some of the recent releases. Which version are you on?
2021.8.8 (latest) but this has been happening for a while, I've just been putting off fixing it!
I I donโt think it is on your end, I saw it yesterday as well and Iโve changed nothing in months.
Open up an issue on GitHub, please. I think the config validation has went too strict
sure will do!
I could have sworn I saw a PR related to it a week or so ago but am not having luck finding it now
Yeah, that's a stubborn error. I'm sure it's been fixed at least once.
I have setup ESXI stats on my server and am now trying to get decluttering-card and flex-horseshoe-card to work with it. But keep getting errors, Configuration errors detected:
unknown tag !<!include> (31:43)
@summer bison posted a code wall, it is moved here --> https://paste.ubuntu.com/p/QYRWWTVG6k/
How do I change the icon color of an entity based on a numerical state value?
I think this is a very easy one - I've installed custom cards via HACS - when I try to add it to a page I get - type: custom:simple-clock-card
Remove the leading โ-โ
Iโm psychic
so how do i theme my dashboard with background pics
anyone have any luck with the above?
my terminal is all greyed out, can anybody pls help?
Patience. We have lives too.
That addon has been depreciated (see: https://community.home-assistant.io/t/community-hass-io-add-on-terminal/33814. Use this instead: https://community.home-assistant.io/t/community-hass-io-add-on-ssh-web-terminal/33820
Go to #add-ons-archived for further discussion.
hello
I want to use the map card to track the position of a device with GPS inside. The problem is about the precision of the sensor. Is that any chance to ajust the position on the nearest road ?
That would be the responsibility of whatever is reporting the coordinates.
Ok thank you
Hello there! is this the right channel to get help about why my illuminance sensor is not available in the long term statistics-graph card?
Kinda. It's not about the card, it's about the integration. Read the third paragraph: https://www.home-assistant.io/lovelace/statistics-graph/
I have an ESPHome illuminance device, I checked and to my understanding, it has all the needed attributes:
state_class: measurement
unit_of_measurement: lx
friendly_name: BH1750 Illuminance
device_class: illuminance
So I am looking what else I could do in this case. I guess there is no other "author of the integration" I could contact.
Well you haven't said which integration it is.
What could be wrong with this entity? What is missing for it to be available in the statistics-graph?
Which integration is it...?
ESPHome
Then there's an author... the ESPHome team.
Feel free to check the issues on their GitHub page to see if it's already been reported. If it hasn't, report an issue.
ok, thank you.
Does typing ^L (Control+L) help? If not, try the reset command.
Im trying to add cards to a dashboard, but theyre not being added. Im adding via the UI and I do see them appear in the raw yaml
i am perplexed lol
is there a maximum amount of cards on 1 view?
I can move the last visible card down and the next "invisible" card is now the last card
oh when I move the last card down it just disappears
Ah I found it, everything after this markdown card wasn't showing: - type: markdown content: '[object Object]': null title: Something
I have a button with a scene attached and this is my config:
type: button
tap_action:
action: toggle
entity: scene.full_blacklight
but I get this error 'Failed to call service scene/turn_off. Service not found.' when i press it
even if the scene is already off
the scenes work when i activate them manually
That's half correct and half a bug. Scenes can't be "turned on" or "off". They're "called" "applied".
Doesn't help that there's a service for scene.turn_on. That's confusing ๐
But yes, no equivalent to turn off a scene. Using a toggle makes no sense.
So what's the best solution? Do I need to create another scene?
Best depends on what you're trying to achieve ๐คทโโ๏ธ
Well since you can't turn off a scene, what do you consider as 'off'?
The state it was before? Some other state?
Scenes are like saves.
i have full blacklight and partial blacklight, when either is turned off, I want all lights off
reguardless of which is turned off
i feel like this is probably easily solved with node red
Then what you actually want might be two light groups.
Then create a scene with all lights off. You'll probably end up making a template switch where the 'on' sets one scene and the 'off' sets another.
okay
Or what thomas said 
It's not a perfect match. But the alternative is three scenes.
...which actually probably would make for a better UX...
Yeah, toggles don't feel a good fit here.
Pick a scene from a selection. When you want something else, pick another scene.
sounds good, not the worst solution
Hey all. I need some help with a really simple button but it feels super complex. I want a simple button on the front page that has a default value to heat the room to. I can make a script to call to set the temp/fan and turn the heating on. That's not the issue. But how can I display that the heating is on in this button. I'm using custom:button-card but i just cant figure out how to pull out the status of the heating to show it on the card. I'm getting stuck on which entity to read. The thermostat card can display it mind so im sure it can be done
Something like this; https://i.imgur.com/l0XF4AO.png
These are the buttons. Pressing them just calls a script, but im looking for them to show if the heating etc is already on. https://imgur.com/a5v7s9Y
I need to show only heating is on from an entity that can display heat, cool or fan
How can I attach a device tracker to a person?
Configuration > People
I am using OpenHardwareMonitor to get used storage, but it only reports storage as a percentage. How can I calculate/set a gb_used attribute?
Anyone know how to stop the ring integration doing this? It really ruins my UI https://imgur.com/a/2Ircurt
anyone else having the issue where you can't edit lovelace cards?
i can go into edit mode on the dash and (sometimes) the "add card" button shows up, but not "edit" on the cards themselves
seems intermittent and sometimes fixed by switching tabs but not always
Simple math! If you have 8Gb in total and 50% is shown as used, then 8x50/100=4Gb used. ๐
Well I know the math I mean how do I actually set that attribute?
or show it that way in the front end
Create a template sensor that performs the calculation or use a card that supports templates, such as the markdown card.
thanks
works great
Is there and nice way to create icons based on the Wifi signal strength? I found ideas how to do that with 0-100 RSSI values - but not with dBm values.
You'd do it the same way, just with a different range of values.
Maybe use a range between -30 and -90 (https://eyesaas.com/wi-fi-signal-strength/)
I get the signal from my ESPhome devices. And I am not sure what's the best approach
- make a custom card with templates for the Dashboard
- create a template for the icon on the ESPHome
- create a sort of shadow sensor with the data of the sensor and template it in HA
i guess 1-3 is possible
thx
[13:33:20][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[13:33:20][C][wifi_signal.sensor:009]: State Class: 'measurement'
[13:33:20][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'
[13:33:20][C][wifi_signal.sensor:009]: Accuracy Decimals: 0```
THX!
Can the picture card not access the files from the allowlist_external_dirs: ? I am unable to display the images from the the images stores in the files exposed there
I tried using the Camera with local image option https://www.home-assistant.io/integrations/generic/#local-image but it requires a http or https ๐ค Is there no way to access files via the dir allowed?
okay ignore above, found it https://www.home-assistant.io/integrations/local_file/ It is strange that this doc is not under "Camera"
The docs are open source if you want to make improvements to them.
type: markdown
content: >
{{% if is_state('sensor.mundus_svr_ssd2sc240g1cs1754d117_488_load_used_space',
'None') }}
Offline
{{% else %}}
Online
{{% endif %}}
title: MUNDUS-SVR
I'm trying to configure a markdown card to say "Online" or "Offline" but none of what I tried seems to be working
that's not valid template syntax
logic syntax is {% xxx %}
you have a mix of {{%, }}, and %}}
np. you could also condense that to:
content: "{{ 'Offline' if is_state('sensor.mundus_svr_ssd2sc240g1cs1754d117_488_load_used_space', 'None') else 'Online' }}"
cool, thanks
Hi guys, im looking for a button that (when i press it) unfolds entities (ie: lights). I've seen it somewhere on the forums but atm unable to find it..
how can I override the entity type? I thought there was a menu for it but I'm coming up blank
i've got 3 scenes containing multiple philips hue lights at different settings, eg. on, off, and dimmed. i'm trying to figure out the best way to create a card with a button for each scene that will somehow show which scene is selected, so i can know from another room if the lights are all on, off, or dimmed. scenes don't seem to have a usable status, so that seems out. i've created scripts around each scene, which do show a status of on/off, but only while the script is running. am i thinking about this wrong? any ideas on how i should approach this?
jeez just didn't look low enough in the list lol, I was convinced it was under something else
You can't know that a scene is active. They're stateless.
Maybe an input select, then you can use the state of that?
Set the input select to the name of the scene you activated. That could even form part of the scenes themselves.
can i set a script to report that it's active based on some custom criteria, like say if a particular light entity is on or off?
Scripts are stateless too. I just made a recommendation.
My question is why do you care?
is it possible to have an arbitrary entity whose state is derived from some logic?
a helper
I have one that holds a number then a script iterates through it when buttons are pushed. Pull in the value increment use that the send the right command, etc
still not sure why you care which scene is active, typically you just set the one you want when you want it.
i want to know from another room if i left the lights on in this room
and i was hoping to optimize the card by just showing the 3 scenes i have in the room as buttons and show the active state as states of those button icons
why not just group the lights and have an entity?
if someone changes a single light in the scene manually then your scene button is wrong
ok, so if i have the lights grouped and have an entity, how do i create buttons that will set all those lights to preset brightness levels
i may be misunderstanding your suggestion
you make buttons that call a scene
You want to know if lights are on from another room
my suggestion is to handle that
ok, so right now, i have 3 buttons, each of which call a different scene
a scene doesn't know if its been modified, its a set and forget thing
yep, there's no state. got it
if something outside of the button modifies a light indicating what scene is active is now saying something wrong
sorry, i'm having trouble parsing that sentence
lets start from the beginning. Having something indicate what scene is "on" is worthless because things can modify light settings
right, there's no way to detect from a set of lights that they're all set to a setting that matches a given scene
calling a scene sets a state one time.
so there's no way to detect that a scene is active
if you want to know if lights are on, you create a group with all the lights you want to know about
i get that i can't query a scene entity to get its state
you're thinking a scene is more than it is
ok. so i can create a group to let me know the state of all the lights in that group
its just a group of commands basically
Yugami, he gets it
group may not be perfect, depending on the lights in the group
so what i'm asking is how to get these 3 buttons in my glance card that each trigger a different scene to show an active status based on which scene was last selected, if that's even possible
and i know i can't get it from the scenes themselves, because they have no state
so i was wondering if each button could maybe launch a script that set some variable like "active_state" to "on" or "off" or "dim" that i could then use to show the status
You could create unique template sensors for each scene type, but I really question if itโs worth it
you can create a helper and write out a value to it and use template sensors
ok, i'm looking up template sensors now
Thanks @dark dirge do you know if it's possible to add this to an excisting button? ie: when i press a button it shows entities in there?
it may not be worth it, but i'm trying to learn HA by solving a few specific problems
Itโs an entity row
Right, not that
How change title menu ? https://ibb.co/3f5Yyt8
hmmm, i saw this post there someone has a button, for instance livingroom, (with state information in THAT button) and on press it shows entities (in that room) and other information
You canโt
Okay well you can hack it maybe but it could also break at anytime
You can put a button card in an entities card
that's the custom button card
hmmmk
When they click on it, is an expansion or a new view? I typically do a new view for stuff like that using the navigate tap action
i think its a new view, atleast, it's what it appears to be
yeah, so just create a new view with all the entities you want to show
and then on your main view, use the navigate tap_action to show it on click
or double or hold or however you want to
you can also make the view not visible in the tab row so it looks a bit cleaner
but I question the
Itโs a fine word
do I have to template sensor if I want to invert a sensors meaning?
I have 2 sensors that are ON when I want them OFF - inverting them will prevent a lot of logic issues I think
when writing automations
I'm kinda bastardizing this sensor
But yeah, if that doesn't work for you, you can template them out
I'm using a door sensor hooked to a pressure pad to detect presence in bed
the door sensor sends on when no one is on the pad
I just feel I'll screw the hell out of the logic if I leave it that way while writing automations
ive got i working sofar @mild veldt , is there a way to have a little 'close button' in the corner of the screen when you port to the other 'hidden view'?
no, I assume that's a custom popup dialog in the pic
hmmmm
That's quite a bit more complex to pull off. https://github.com/thomasloven/hass-browser_mod
for now ill build on a firm basis
it already looks sweet, thanks for getting me started
https://i.imgur.com/LR3ySkL.png got my new card almost done ๐
Can I make the Alarmo panel not appear for non-admin users? Other panels like from integrations like AdGuard Home, HACS, and Node-RED are all smart enough to know to not show themselves to non-admins. Only Alarmo has this problem. Granted, if a user taps on it, they get greeted by an "Access is blocked" error, but I'd rather they just not see the panel at all. No, I don't want to disable the panel on a device-by-device basis, as I like to give guests to my home access to a guest profile, and that would be annoying.
Also, I'm looking to remove the calendar panel without losing the ability to make automations dependent upon my calendar. Again, I'm not interested in just hiding it, but to prevent it from generating in the first place.
can the name: field in a button card have line breaks with multiple lines?
https://i.imgur.com/mZn0uTh.png
How would I pull and graph that current_temperature value?
With a template sensor. See #integrations-archived and #templates-archived for help if you can't work it out from this: https://www.home-assistant.io/integrations/template/#state-based-template-sensors
@errant plover I added the following to my config, and I get values, but it does not seem to be changing over time. did I miss a piece?
sensor:
- platform: template
sensors:
upstairs_temperature:
friendly_name: 'Upstairs Temp.'
value_template: "{{ state_attr('climate.upstairs', 'current_temperature') }}"
ground_floor_temp:
friendly_name: 'Ground Floor Temp.'
value_template: "{{ state_attr('climate.ground_floor', 'current_temperature') }}"
That looks ok. Add a unit of measurement to each sensor though.
They should update when the climate integrations update.
can I change an Attribute in Developer tools to test?
Yes you can
Thanks! That's got me sorted.
Can anyone help me with the custom button card? I've got an issue where if a device is on and I switch to the dashboard with the button on it the button will flash the on colour temporarily then go back to the off colour.
If I turn the device on via the button the colour will show permanently until I change dashboard again
Does anyone know how I can edit and add events to a calendar?
^something like an editable calendar card
Does that exist?
I believe that the calendar integration is intended for other integrations to populate it, not as an interactive tool
So there's no way to do that?
I go to calendar.google.com to add my events.
right, you need to use whatever method the integration feeding the calendar supports for adding events
Hey guys, for some reason i've got my UI text all grayed out. So im not talking about Lovelace. Im talking about the text in the shell itsself. Someone got an idea where i can set that (back) to gray?
Change your theme in your profile?
is there an example anywhere of a brightness slider for a group of hue lights?
I have removed themes
when i recovered from a snapshot
im just trying to get that text to black
Happy Sunday All! I have a general knowledge/education question.....
I use a lot of custom: button-cards and would like to change the properties of them (name, color, etc) based on values/states of OTHER sensors/entities. Unlike templates in HomeAssistant, they use Javascript formatting and I'm struggling to learn it. Can anyone point me to a good resource where I can try and gain some knowledge about the commands/syntax required? Thanks!! ๐
it's pretty straightforward. here's an example from the docs:
- background-color: >
[[[
if (states['input_number.test'].state == 0)
return "green";
return "red";
]]]
Just create a light group in the config. Then you'll have an entity that controls every light in that group.
Hello. I can't quite figure out how to replace this default one https://cdn.discordapp.com/attachments/879178956803301415/879179010389729310/unknown.png
with this one. I've tried everything I can find, I just can't figure it out. Any help would be appreciated.
https://github.com/DBuit/hass-custom-light-popup-card/raw/development/screenshot.png
"AccessDeniedAccess denied.Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object."
Can you make the built-in /map route display location entities? Or should I use a map card for that
Pretty sure the map only displays device trackers. The map card can display geolocation services and location entities as well.
Sorry I meant device trackers. Device trackers show up in the map card but not in the map sidepanel. Is this configurable ?
Thank you very much
I'll keep playing around with it. I think my biggest issue is not knowing things like when to use "==" or "===" (just as an example). Just something new for me to learn. ๐ Thanks for the reply!
hi, new to HA. Is there a way do fully customize the frontend to my liking ? Especially Colors and Style of Widgets/Buttons and overall look ?
Yes.
Start by searching for "Themes" in the documents then lookup card-mod.
There are fully customised themes available for download, e.g. Dwain's Theme.
An example of what is possible: https://imgur.com/a/NT4n28S
Is this your theme?
As a fellow Aussie can I ask how you set the automation for bin day? I was literally looking into this just a few hours ago but couldn't decide the best way to go about it.
I use this: https://github.com/bruxy70/Garbage-Collection
I'll post my config for it in a minute. EDIT, here: https://hatebin.com/qfljiijqaq
Thanks very much ๐
Hello, I have a status indicator / input select which can take three different stages:
- working
- ended
- off
defined as follows:
input_select:
machine_status:
name: B2B Status
options:
- off
- working
- ended
initial: off
icon: mdi:machine
I want to visualize those stages, working = red, ended = yellow, off = red. How can I do that in a lovelace card? Pls note the user should not change them, just see them, in one tile.
Thx a lot for pointers!
If you don't want the user to be able to change the state you should create a template sensor to report the state of the input_select and put that where they can see it instead of the input_select. To change the colour depending on the state you will need card-mod. https://github.com/thomasloven/lovelace-card-mod
@tacit cave Sorry to tag you but have you the code of this card still available? ๐ https://community.home-assistant.io/t/custom-button-card-templates-vs-lovelace-gen/173000/2
That code is long gone
I do something similar in my current UI
Oh thats amazing! Thx:)
for all the previous convos i've seen, i stumbled on this feature of the detail of a timer on a dashboard that shows the countdown of an active timer. Is there a way to represent this in the frontend? https://imgur.com/JTOcaBC
i am a complete noob, installed HA few minutes ago. how do i install the HACS ?
@trail frigate https://hacs.xyz/docs/installation/prerequisites
thx, and i follow HA OS ?
https://hacs.xyz/docs/installation/installation
check your installation by going configuration > info
Under System Health, check the value of Installation Type
which aligns with the installations listed on the instructions
i have problems connecting the spotify add-on
i click configure , a page opens, you are done (connect) you can close this window
then i get back to HA and the wheel keeps spinning or it says canceled
can someone please tell me how i can apply themes? i've used HACS to download a few but can't seem to work out how to change anything to them
prob best with the #integrations-archived channel. but did you do all the spotify dev stuff before hand? I had similar issues (with it failing all the time in the logs afterwards) until i realised i had to set up some spotify developer settings first
i put my spotify login in the configuration tab and created on the dev page my token, but where do i put it ?
If you're asking how to set up the integration, follow this: https://www.home-assistant.io/integrations/spotify/
If you're still stuck, ask in #integrations-archived about integrations.
where do i find the configuration.yaml ?
depends on how and what you've installed HA on
rasp
using docker?
nope
do you know linux at all?
not really, i used openhab before and had some funky stuff to do there, but i'm not a dev
i'm not using raspberry so i don't know for sure
Hello comrades! please tell me how to make control for the device in lovelace. The device accepts the number 0-10-20-30 -...- 100 in mqtt
This is the valve opening percentage. Should I use the type of roller blinds?
i found a video, but in his config.yaml is already something with spotify, but mine is kinda empty
but according to the documentation its located in ~/.homeasssistant
"kinda" empty?
my config file so far
`# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
`
you won't have much in configuration.yaml unless you have added it yourself. doing anything in the GUI doesn't change that file
ahh okay, thought adding addons would add some stuff by itself in the config
okay, i need to copy that in, thanks
oh sorry, i am in frontend, tschuldige ๐
how can i group lights ? i want just one (grouped) switch for all the lights on my main page
can i put attributes in an elements panel ?
@trail frigate
sweet thanks, is there no way with gui ?
no, you need to set it up in YAML
hmm, okay thank you
hello any idea what card are they using in this example? https://prnt.sc/1qgcvbk it is from a theme but no mention on of the cards
or how could it be done a glance-like card for persons
You could probably do it with two custom button cards
In a horizontal stack or layout card
well that maybe but the home, and battery % sensor? how would that b? in the button?
See the docs for the custom button card
Itโs very flexible
Maybe a picture elements card, but I donโt know anything about it
is there something like the webpage card that supports cookies?
looks promising...
(but I want to be able to scrape out html and display that on a dashboard... hmm)
how to show a camera entity in the picture element? access token changes frequently. I am using the following code.
- type: picture-elements
image: "/api/camera_proxy/camera.kajer_beti_ronbot_livemap?token=985d42c8e164864354cd7a4144fba9e680d96f20a8833a24e5f22b772f1d4723"
This may be a silly question. Inside an entities: block, is it possible to declare an entity from an attribute? Or do I need to create it in sensors.yaml first?
You'd create a template sensor and use that instead, yes.
Ok awesome, cheers ๐
Is it possible to make home assistant work in an old browser, like safari on ios 10 which doesn't support import()
Nope
f
You'd have to make a lot of changes to the source code, so you'd basically be maintaining your own fork of the frontend repo.
I am using the picture-elements card as a background for my tablet ui. recently I started having 2 issues which I think may be connected in some way. Issue #1 is when I place my Dashboard in edit mode, I do not get the "Edit" at the bottom of the card. Sometimes a browser refresh fixes this, but most of the time it does not. Issue #2 is that the elements that I am attempting to add to the picture elements card don't consistently show up unless I do a browser refresh which most often still does not solve the issue.
I've just started running into #1 myself. Switching view usually works.
I have tried this out with Microsoft Edge,Firefox and Chrome, all which are giving me the same results. I have rebooted my device and made sure all browsers are updated. What other options do I have.
Yes that has help a few times, but I am unable to make it work consistently. Not glad you are having this issue, but glad someone else can attest to what is happening.
Disabling all lovelace plugins would be a next step.
I just realized it only happens for me on views using a layout-card layout.
interesting
So almost all my dashboards use layout card, but only one dashboard consistently has this issue
How would I go about disabling the plugins?
I usually go to Configuration -> Lovelace Dashboards -> Resources and just change all the URLs to something that's easy to restore, like add a 1 to the end.
That should be ok with HACS too (once restored)
Well that is not working our well at all. After going through and placing a 1 at the end of each URL such as this/hacsfiles/banner-card/banner-card.js1 My views are all saying custom elements does not exist. Did I miss something?
Hi,
Have a bit of issue trying to get https://github.com/DBuit/light-popup-card working with https://github.com/DBuit/Homekit-panel-card. I've got those installed in HACS along with https://github.com/thomasloven/hass-browser_mod. My card configuration is:
type: custom:homekit-card
entities:
- title: Test
popup:
type: custom:light-popup-card
entities:
- entity: switch.fan_lights
- entity: light.desk_lamp
- entity: switch.ceiling_fan
Tapping on the buttons toggle the entities as expected, but long pressing does not bring up a popup. Anything I'm missing or doing wrong?
guys it looks like the issue I raised has been in the forum for a little while now based on this thread https://community.home-assistant.io/t/unable-to-edit-dashboard/322096
Does anyone know how far one might need to roll back in order to clear this up?
Hey all - I'm having a little trouble understanding how multiple media folders work. I set up 2 as the documentation suggests, one as /media and another as /mnt/recordings. The second folder doesn't seem to actually show up as browsable. Do multiple folders even display? Or is it only the first one that shows in the Media Browser tab?
My picture-entity card broke some weeks ago, probably with some update, it portrays a broken image rather than one of the state_image's. I have checked that both of the images are accessible at the given address, any ideas?
entity: lock.front_door_lock_door_lock
state_image:
unlocked: /local/danlock_unlocked.png
locked: /local/danlock_locked.png
tap_action:
action: toggle
show_name: false
show_state: false```
where are they specifically located?
They are accessible through https://mydomain.com/local/danlock_unlocked.png
Give me a sec and I'll fetch the actual location in the docker container
just in your config directory. Should be /config/www
They are located under '/config/www/danlock_unlocked.png'
maybe clear you browser cache?
I tried, also happens in the android app
try from an incognito window
Nope :/
no idea, then
Thanks for quick reply and your feedback
check HA log, check browser console
Nothing of interest in neither
i installed KIBIBIT Theme, and i changed the background-image to another url, but it stays the old one even after Hard-Refresh of the page ( STRG+SHIT+R)
since i installed the Theme, which i currently not use, my Primary/Sec. Color gets back to default every time i click on my profile, WHY ?
How can I go about using !include with a card to split things up?
Nothing seems to work.
Iโve done it with views
views:
- !include view-climate.yaml
- !include view-cameras.yaml
I wouldn't recommend doing it at a card level because it makes it a pain to modify those files - you need to touch ui-lovelace.yaml to have HA pick up the changes
Okay, thank you!
Okay so, if I were to do this. What would I put here? Because I need to have it include code from a file there.
hold_action:
in theory, the items that go under it. you know you can only !include if you're configuring that dashboard in YAML mode, right?
Yes, I am using YAML mode.
hello! dunno if right channel, i'm trying to make a dashboard for system resource usage but i added the
ยดtype: network_in
arg: eth0
- type: network_out
arg: eth0ยด
- badges: []
title: Test Include
cards:
- type: button
entity: switch.fr_table_lamp
tap_action: !include tap_action.yaml
tap_action.yaml
action: call-service
service: switch.toggle
service_data:
entity_id: switch.fr_table_lamp
works fine
but i'm getting unkown data using any type of card
is that a card type?
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
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://paste.ubuntu.com/.
just show network incoming and upcoming trafic
Hmm, mine gives errors and it's just like yours. (kinda) https://pastebin.com/raw/j5Y1Bjjj
from the server's network adapter
what's in the file?
ok, this isn't a frontend question
Just card stuff.
#integrations-archived @obsidian pier
oh i see jeje mb i will ask there thank you
it looks like you're trying to use !include when editing via the UI
which isn't allowed
where do you see that error?
After clicking "Save" in that image.
still looks like you're editing in the UI
editing in "raw" mode isn't the same as the dashboard being in YAML mode
hey guys is there a way in lovelace to require a confirmation on a button press?
anyone use an Amazon Fire tablet for their lovelace UI? If so, how is your performance with rtsp streams for multiple cameras?
Thank you, it works now.
Fine but it sent my RP4 up 12c in temps so i removed them
anyone know how this guy is getting what appears to be different cards showing with no gap in between? https://community-assets.home-assistant.io/original/3X/0/b/0be3fc99595753f520277a69fdfb2051acee43a7.png
does anyone know why i'm seeing all sorts of errors when i add a buttons entity into an entities card and any of the buttons have a tap_action defined? If I omit tap_action there are no errors, but since the button entities are scenes, I don't know how to turn them on otherwise
somebody else reported that in the last few days
ah bummer
I added a comment to a GH issue tracking the same bug https://github.com/home-assistant/frontend/issues/9854 @inner finch if you're around, you may want to as well.
does anyone know what the point of defining multiple media source folders is? Only one actually shows up in the Media Browser
I am currently using https://github.com/Villhellm/custom-sidebar this repository to customize the sidebar and it works well for both admin and user accounts. I don't want to have all the sidebar items in the user accounts which were mentioned as true in the admin account. I just want to know if this is possible... Can some one please help me? @elder pendant
You can now customise the list of items in the sidebar from each user profile. Some of the custom tools that modified the sidebar/header no longer work.
can you please help in writing yaml for the same?
It's not a YAML thing. It's a UI thing.
Ok..How to do it?..
Hi everyone, im trying to make a path but it just doesnโt work. What am i doing wrong here?
views:
- title: BRAAI
path: BRAAI
cards:- type: light
entity: light.5862030184f3eb79a442 - type: button
tap_action:
action: toggle
entity: switch.bf70edf95a3f32f2f9ygir
icon: hass:spotlight
name: BRAAI LIGHT
title: BRAAI
- type: light
Path to is
This is the button that i want to use the path from.
views:
- title: Home
cards:- type: button
tap_action:
action: navigate
navigation_path: /lovelace/BRAAI
icon: mdi:cog-transfer
name: TOETSE
title: TOETSE
- type: button
Either click and hold on the "Home Assistant" heading above the right hand side menu or do it through the option in your profile.
What im trying is to have a dashboard with cards for my rooms. When you tap on a room it takes you into the room with that contains all the devices inside that room.
I was not replying to you, look above my post.
That doesn't get saved right!...If i try to open the user account from some other device then it shows everything
Of course it gets saved. For each user as mono said. #frontend-archived message
anyone know how to make a submenu on the top bar? So if you went to Home it could have another menu along the top in that view to take you to subviews?
I thought there was a project but the developer stopped maintaining it because he couldn't keep up with deveopments
It's a per browser setting, unfortunately.
yes. True..I want it to be permanent...Is there any way to do it?!
And that answers your question... how?
oh yeah I had a different problem I solved ๐
I thought iASked about that one too
but don't worry you don't need to hear it now ๐
saved you the trouble except to just say "this guy is crazy" to which I would say only half a cup of coffee in
so since you saw my question originally, any recommendations?
Afraid not
theres probably better way to organize lights by room anyhow - just new to the game so I was trying to build an interface my family we familiar with, from a different system
See Room Name and then Switches underneath, and then the tabs on the top for ALL / On / Favorites
is there a way to set the background of an entities card to be a camera feed image, or do i need a picture glance card?
also, in the example photo at the top of https://www.home-assistant.io/lovelace/picture-glance/ the icons are right-aligned and there's space between some of them. in my card, the icons aren't right-aligned, and i can't figure out how to create a space between icons. any suggestions?
Entities that can be toggled, e.g. switch, light go on the right. Icons that indicate a status e.g. sensor, binary_sensor go in the middle.
ok, so i guess my lock.front_door can't be toggled... hmmn
apparently its state is either locked or unlocked
is there a way to create a facade entity for that that can be toggled?
or is there a way to define what goes in the middle and the right side of the card? i only see one entitites key
i see, it auto-detects where the entity should go based on the entity itself
so i need to figure out some way to make a proper toggleable entity for my front door lock
is there a concept in home assistant of creating an abstract entity, that has its own state, possibly derived from another entity's state, that can trigger other actions when turned on, off, or toggled?
awesome!
@dark dirge is there a way to just use the current icon of another entity as the icon_template?
If itโs an attribute of that entity, yes
i don't see it as an attribute if i go to developer tools, but the icon does show in the info popup and when i show lock.front_door as an entity in a card
Then, no
ah bummer
You can figure out what icon itโs using and just use it directly
yeah, it has locked, unlocking, unlocked, and locking states, and 3 different icons
i can do it manually, but i was hoping to avoid it
@dark dirge that worked perfectly, thanks!
Is there a good place where one can find inspo on dashboards?
@warped yew people share on the forums and reddit
And there is a gallery, but I wouldn't call it "inspirational"
https://dev--home-assistant-gallery.netlify.app#
The demo site is somewhat inspirational
https://demo-dev.home-assistant.io/#/lovelace/0
I see lots of youtube videos
Loven's stuff is pretty amazing
but I don't know how to use it ๐
and really I can't see the pieces I need demos to really place it
just how my itty bitty brain works
really if NabuCasa was smart they would make some templates for the newbs and or those who don't want to be bothered and sell them ๐
template / theme packs
look at fortnite
my kid has spent a fortune on costumes for fake characters ๐
I am pretty new to home assistant. I have it installed on a raspberry PI4 with an external SSD. I have a couple issues that hoping I can get some help. Firstly everything I have setup will work for about a week then everything stops working and I cannot access the webpage. I have to reboot the PI and it will work for about another week and then stop again. I thought it might be getting hot and shutting down so I started historizing the CPU temp and it never gets to hot.I do have some errors in the log file but I cannot figure out how to fix them. Also, I am running ZHA and deConz with two different coordinators. I wonder if that is what is causing the issue
Decluttering card will work only for yaml lovelace?
Just a wild guess but sounds more like some kind of memory hole somewhere
is there an easy way to make a card (gauge in my case) with set data im just showing someone what it can do
it would be a static data gauge that i input the data hardcoded
I've got a dashboard set up using trusted_networks and allow_bypass_login to avoid having to log in on it, but whenever the dashboard loads, it pops up a "would you like to stay logged in" message. Is there any way to get rid of that, that anyone knows of?
cant you answer the question one time? saying yes?
someone said to ask her
It happes in IOS
never saw it in safari
I think its ios
Looks like it might be a heat issue but not sure what would cause a drastic temp spike. The temp started raising sharply then when I came home nothing was working again so I rebooted. Looked at the Grafana graph and it was raising until I rebooted. It was up to 135 F when I rebooted it
hello; i have a sensor that produces a value of Text123' I am looking for a way to have that apostrophe removed from the value (as seen next to the 123)
that value always changes but the apostrophe is always there
{{ "foo'"[0:-1] }}
-> Events