#frontend-archived
1 messages · Page 167 of 1
Make sure your file name and folder are exactly the same as specified in your theme, including any capital letters.
Você adicionou lovelace-background: center \ cover no-repeat url("") fixed
esta a falar co migo ?
Sim
acho que nao podemos falar pt aqui vamos privado
Ok
Oh I just remembered. you have to edit your raw Lovelace and add this to each view:```
background: var(--background-image)
were is that?
Or skip using themes and just add this to the raw view config:```
background: 'center / cover no-repeat url("/local/background/teste.jpg") fixed'
what ? @winter hollow
@winter hollow any idea why its not working ?
lovelace-background
Browser-mod popups are now working in 0.113!
lovelace-background
@winter hollow Ok there's another bunch of lines I can remove from my config 🤦♂️ Thanks again.
Omg thanks @polar kelp i ended up reinstalling hacs 😂
lovelace-background ? @winter hollow is that for me ?
@rustic lynx I have no idea, didn't read it all
Yes it is I gave you the wrong information because I did it a stupid way.
Or maybe because background wasn't supported in themes when I did it.
so what i need to do ?
change background-image: to lovelace-background: and reload the theme
i cant reload the theme its not working just rebooting the system -.-
in future when calling the theme reload service: https://i.imgur.com/wX38CQw.png
I have two scripts defined in yaml, one for turning on the TV and one for turning it off. when I add them to an "entities" card, one of them appears with an "execute" button next to it, while the other appears as a toggle switch. why is this, and how can I make them symmetrical?
@errant plover i doing that still no refresh
Paste your theme to pastebin again. Also a screenshot of your file location.
@marble tide not frontend, but update to 0.113
@winter hollow thanks for the suggestion, I'll give it a try. I'm running the docker image :stable which is 0.112.4
Nope, that is 0.113 since Wednesday
indeed, that fixed the issue, thank you!
I just updated to the latest ha version. Now groups (in this case with device trackers) change their icon color based on their state. How do I disable this?
is there something I can do to get the fully kiosk browser auto reload timer not to also trigger the "this dashboard ui has been updated, click refresh to see changes", toast pop up each time.
So @winter hollow i have to create a new file with the code https://raw.githubusercontent.com/thomasloven/lovelace-card-mod/master/src/patch/ha-more-info-dialog.js and include it on lovelace ressources ?
Maybe the author @polar kelp could help me ? 🙏🏽 😁
Most people don't like being tagged all the time 🤔
Just ask your question and let anyone answer.
oh shit, i've just updated in 0.113 five minutes ago
You think i shoud wait a fix with next releases to implement my dream of blur background?
I'll probably release card-mod 2.0.1 or so tomorrow. It should work by then.
Thanks 😉
Can i already add the code https://raw.githubusercontent.com/thomasloven/lovelace-card-mod/master/src/patch/ha-more-info-dialog.js ?
when i try to use the card give me this error Custom element doesn't exist: xiaomi-vacuum-card. but i have this instaled in hacs any idea?
@rustic lynx Did you add the path on lovelace ressources ?
path i dont think so how i can do that @errant grail
config/lovelace/resources
You need to enable “Advenced mode” in your user profile to see the “Resources” tab.
Actually, @errant grail, come to think of it, it should work in 0.113
Just with card-mod installed and some things added to your theme.
You need this: https://github.com/thomasloven/lovelace-card-mod/blob/master/test/themes/airy.yaml#L211-L214, but with the var(... part replaced with what you actually want.
im not understanding i dont have this path config/lovelace/resources @errant grail
And you also need this defined in your theme:https://github.com/thomasloven/lovelace-card-mod/blob/master/test/themes/airy.yaml#L2
card-mod-theme must be equal to the name of your theme.
@rustic lynx the path is config/lovelace/dashboards
Yes, @errant grail
@rustic lynx there you may see "Resources" at the top. If you don't you need to enable Advanced Mode in your profile settings (your initials at the bottom left).
Oh, sorry @rustic lynx it's config/lovelace/dashboards 😉
@polar kelp i dont have that path https://gyazo.com/69d462cba98b3478d1d82e936f6314bb
However; if you are not using yaml for configuration - and you'll know if you do - HACS should install the resources automatically.
No, as in http(s)://your-ha-installation:8123/config/lovelace/dashboards
oh ok and now ? https://gyazo.com/532b010694da46ef6120629419dbcacb
Try clicking it?
Could be worth a shot to reinstall in in hacs.
@polar kelp Thanks a lot ! https://nsa40.casimages.com/img/2020/07/24/200724112357359205.jpg
Do you think i can do the same for others popups ?
Other popups?
yes, for example, if i click to restart HA, a popup appears, but the background is'nt with blur effect, but it's propably because it's not the same HTML element
Not using card-mod.
Hi
is anyone using lovelace-template-entity-row ?
I would like a confirmation of the issue I found: https://github.com/thomasloven/lovelace-template-entity-row/issues/29
i put the path and get me the same error @polar kelp
(when i ask if it's possible to change the border cards from the theme file, i would like to do that : https://nsa40.casimages.com/img/2020/07/24/200724114628468139.png )
And, is it possible to add a blur effect with card-mod for edition card popups ? ( https://nsa40.casimages.com/img/2020/07/24/200724114808949534.png )
my hacs is not working can some one help me ?
was it working before?
yes
did you do anything in between it working and not working?
so Hacs still opens?
yes, but when i try to use that card say that is not instaled
screenshot of the error?
Custom element doesn't exist: xiaomi-vacuum-card.
try restarting
nop dont work
nop how i can check if is instaled ?
wait the is the file location ?
but i need to put my ip/config/custom_components/ in the browser or you are talking about file location
i have ftp
does anyone have their lovelace dashboards on github? Not sure how to organize this thing
does anyone have their lovelace dashboards on github? Not sure how to organize this thing
@oblique rain https://www.awesome-ha.com/
but my hacs location is not that is www\community
then check there
yes the file is in there
hmm
how about this
type: 'custom:xiaomi-vacuum-card'
```or make sure that we are actually using the correct type by checking the repository for the component
that guy try to help no lucky :c
thats the problem try from the store not working so i download and put the file in that directory but the same
maybe it's the card...
i no need to add that to my configuration.yaml?
for exemple i download this manualy mini-media-player but my hacs say its not installed
my files are not there -.- https://gyazo.com/baa768315dbe8ce06bb7379aa28aa2c0?token=237deae95a58027df60648ff9bc0a858
were is this location /hacsfiles i can go therer
How do I stop entities from changing color based on their state? in this case, groups.
@winter blade in what card?
What would be the best way to create a set of buttons that I later could be analyzing times clicked, when clicked, last clicked. etc
Not sure if I just make a sensor and a counter. Or if something that would work to do them at the same time
What is needed to get my HA to be https and not http?
I have installed the duckdns addon
@jagged cargo try asking in #add-ons-archived
Is there any other to view the history (2-week) of an entity other than History?
History takes forever to load
What version of HA do you have? What device? And what DB type?
@mild veldt glance card
@winter blade state_color
Ah that worked, thx!
Is there a way to have my logbook only show automations that have successfully run its action? With the new choose options it seems my automation triggers often and its being logged constantly
using the mobile app on android I did Reload Resources and now no custom cards are loading in the app....
Thoughts?
okay, so I setup the internal URL and interal SSID thing in settings and now custom cards are working 🤔
If i jump off of my wifi no custom cards load again.
so this is super annoying.
As you've now confirmed this happens on other browsers, it's worth looking in the dev tools of those browsers to see if there are any errors.
peak, lemme open dev tools on my phone
You're looking either for stuff failing to retrieve in the network tab or errors logged in the console.
How do you expect me to open dev tools on my phone.
It doesn't have to be on a phone. If you have a phone, you can create a hotspot and test from your PC.
🤷♂️
alright, lemme grab my laptop
@karmic tiger fwiw the ui isn't even attempting to fetch the JS files outside the network unless i press ctrl+shift+r
and reload resources does nothing.
And when you do the force refresh, does it successfully retrieve them?
And once you've force refreshed, do the cards display correctly?
Yep.
So it's a caching issue, nothing more.
When looking at the logs of my reverse proxy it's never even trying to grab them.
(And when i tried dev tools on my laptop - it never even tried)
@karmic tiger perhaps, I cleared cache and data of the app and it still doesn't work though.
Maybe there are extra steps you can perform on the app to clear out stale data: https://companion.home-assistant.io/docs/troubleshooting/faqs
And if all else fails, caches expire eventually. It's just annoying that, as the user, you're not in control of the expiry policies.
can't quite grasp why the caching is any different if im on wifi versus being on my data connection
if its cached from wifi it should be cached.
If you're on the WiFi, you're connecting via an internal IP address. If you're not, you're connecting via your domain or an external IP address. Your browser will see them both as different resources.
Unless you have a NAT loopback and you use your domain internally too 🤷♂️
Then I'm not sure. I'll let someone else comment.
Looks like a system webview (& by extension - chrome) bug.
Clearing cache and storage for system webview then force stopping both it and the hass app and relaunching seems to fix it.
Is it possible to enable weeknumbers on the calendar page?
And is it possible to change the colors of the agenda's?
yo. fresh install. raspi 4 4gb. trying to get it to talk to smartthings. set up nabu casa. enabled smartthings webhook. restarted the box. trying to add smartthings and when before it would ask "is this the right webhook callback url?" now clicking smartthings in the add integration window just brings me back to the add integration window. was wondering if this was a known issue or there was any way to solve it.
sorry guys i realy need help i have my hacs cards in www\community and i have this https://gyazo.com/b008844f410792781e0ac66f98ff6c91 in my resource.yaml i try ever possible directory and my HA can get my card i getting this stupid error :Custom element doesn't exist ..... i try all day
Please don't share pictures of text. Share text. Use hastebin.com next time.
ok sorry @karmic tiger any idea ?
Also, don't tag people 😐
😔 ok sorry again
that are my cards are in www\community_pluin is my folder sorry my error
Ok. What file is that?
are custom cards hacs
No. The screenshot. What file is it?
Ok. I think I know the problem... change all of those addresses. Instead of community_plugin, write hacsfiles.
(and this is where sharing text is easier, so I could just edit your examples)
Also, the folder the files are in should be www/community
ok and now i need reboot the system ?
Just HA, not the whole machine.
yes ok i will try 1 sec
I know this is for a different card but the idea is the same. Here's an example for manual install and HACS install: https://github.com/custom-cards/button-card#installation
Do i have to worry about warnings in the log about some icon file being removed soon? I'm not aware that I'm using the icon anywhere?
2020-07-25 16:39:12 WARNING (MainThread) [frontend.js.latest.202007160] Icon mdi:timer was renamed to mdi:timer-outline, please change your config, it will be removed in version 0.115.
2020-07-25 16:39:13 WARNING (MainThread) [frontend.js.latest.202007160] Icon mdi:timer was renamed to mdi:timer-outline, please change your config, it will be removed in version 0.115.
no
2020-07-26 00:08:53 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: Secret mac_xiaomi_gateway not defined. Activating safe mode 2020-07-26 00:09:18 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds. 2020-07-26 00:09:18 WARNING (MainThread) [homeassistant.setup] Setup of onboarding is taking over 10 seconds.
any idea ?
well, is mac_xiaomi_gateway defined?
yes but HA was fine and that show up that
it doesn't appear to be defined
Hi folks... I am dealing with a zigbee issue, but now after a reboot I'm getting a 403:forbidden when I try to access my frontend. 🤦♂️ Any tips as to how I should debug/resolve/etc.?
Is it possible to make the bottom template switch have the same buttons as the switch above? https://i.imgur.com/DGM7sGt.png without removing value_template?
it looks like my database got f'd by a snapshot restore I did the other day... frontend's back up after I deleted it
@winter blade sure, just remove the value template. That way your switch will have an assumed state and use the two lightning icons.
Is there a decent way to make scenes more easily configurable from the front end. I am continplating on using scene.create but scenes created this way "dies" when you restart or reload scenes.
I would like to have three settings on my living room I can easily tweak and change as I go along without having to set them up everytime I restart my hassio.
Any ideas?
Write them in yaml.
Clearing cache and storage for system webview then force stopping both it and the hass app and relaunching seems to fix it.
@tough quiver quoting myself
I'm now not at home and it's happening again.
Non-custom cards are fine.
The pre-mentioned fix doesn't work now
This is not exclusive to my phone.
This happens on both of my parents phones also. I cannot tell if this is related to 0.113 update or not though since i didn't snapshot 112.4
I even tried jumping my lovelace into UI config mode - no help.
This bug is extremely annoying and doesn't really make any sense.
🤷 i've now tried pretty much everything. no difference.
Someone else mentioned a similar issue (in the wrong place 🤦♂️) https://discordapp.com/channels/330944238910963714/332167321311510530/737002996121993276
The only guaranteed way to get past caches is to give the resource a different name so your browser treats it as a new asset. If it's for a custom card that you've defined in resources.yaml, add a random version number to the end.
i.e. card.js becomes card.js?v1
i guess but it shouldn't really be an issue
it loads the custom cards fine if im on wifi and not if im on mobile data 🙃
In an ideal world, you're right. Caching would be something you could control. But that's not how browsers work and that's not within HA's scope to fix.
Try my suggestion re version numbers as a parameter on the end of the resource path.
I'll try it but i can almost guarantee it won't work
Always worked for me on the various production websites I managed. It was so surefire that we built it into our build flows...
im not saying that doesn't work for defeating caches
im saying im 90% sure that's not whats at play here.
Ok. Try it, report back.
@karmic tiger I've tried it now.
No dice.
and its fine as soon as i connect to my wifi 🤔
Then if it's not caching, it's access rights. And I'm not a strong Linux user, so I'm gonna leave this to someone else.
It's nothing to do with access rights. I can wget and curl the custom cards files outside my network as much as I like.
it doesn't even work in firefox outside of network now 🤷
looking at USB debugging in firefox it's never even trying to request the javascript for the custom cards.
*until i refresh it like 3 times.
And when you get it to refresh, which path does it try to load? The old one without the version number or the new one with?
the new one
but i had cache disabled in firefox 🤷
soooo
can't remember if i mentioned - but flicking back to UI mode config made no difference.
might be worth knowing that the "Reload Resources" button in the app (top right 3 dots) does nothing.
whereas im fairly certain it uesd to at least show something while reloading
Hi, would be possible to add device_class handling to lovelace-template-entity-row ?
I'd suggest logging a feature request over on the relevant GitHub repo.
I did, but I was looking for a confirmation. Just to be sure it's a issue and not my fault in config
The code doesn't reference device class, so I would assume it doesn't currently make use of it.
What type card is the default camera popup view?
I've tried with all the picture card type, but none of them seem to be like the default
I'm also searching for a solution to have a camera live feed as header of a entities card
can some one help me using pop cards ?
From loven?
Yea maybe, I'm using it for a few things
im tryin to make a pop up card that show other butttons
thats the code that im trying @gusty nacelle
I’m trying to enable Themes and I have seen a couple different ways. One was to enable it under frontend: in the configuration file and then paste the them inside the config file. I have seen another configuration that will reference a themes.yaml file (include! Themes.yaml) and then another that would reference files in a folder. Which one is the right way? Honestly, I haven’t been able to get it to work either way. I just started using HA and I’m on version 4.11.
Disregard my previous post. I figured it out.
Is there a way to lengthen the transition time for the state_filter on an image so that it fades between the filters more slowly?
I just recently updated and now all my cards are practically solid white. Changing the theme doesn't seem to affect it... they're completely unreadable. Any idea what's wrong?
https://imgur.com/a/hVW3E3M
@candid stump It sounds like you just updated to 0.113 and didn't read the breaking changes. https://www.home-assistant.io/blog/2020/07/22/release-113/#breaking-changes
that is true, in my excitement I just clicked "update" in unraid 😛 thank you for the patch notes
if i use a picture entity card, if I show both name and state, the state is on the right and name on the left, is there a way to get the state right next to the name on the left or use a template for the name and have it be {name: state} ?
Hello! Anyone knows why I'm getting these strange light entities that my browser_mod is generating? For example: light.a75fb503_9391645e. They keep changing and showing up on my auto entities filter for lights and i can't even disable them, just exclude them from the filter.
You'll have to see which #integrations-archived is creating them. It's not really anything too do with Lovelace.
I have a Milight light that turns on (via RFLink) with the command yyyy;ON and brightness is set with zzxx:BRIGHT where XX is brightness (99 most bright). I was able to get it shown as a functional light in Lovelace but only with ON/OFF commands. Any suggestions how I can also tweak the brightness in Lovelace?
If I set type: dimmable it will try to send command 15 instead of zzxx:BRIGHT
I use
linkHref.href = linkHref.href.replace('/static/', '/local/');
let appleTouchIcon = document.querySelector("link[rel='apple-touch-icon'");
appleTouchIcon.href = linkHref.href.replace('/static/', '/local/'); ```
in extra_html which changes my favicon to custom one;
where do I put this when extra_html is deprecated?
nvm, using the custom favicon integration via hacs now
I'm a beginner with HA, not sure what's the right place to ask. I want to make a card that lets me specify a wakeup time and duration, and an 'enabled' switch then send those mqtt commands to my tasmota light
Not sure if this is the right place or not but I figured I would ask here. I have a couple of Kasa wall plugs and was trying to change it icon to show a plug and not a lighting bolt but not having any luck. I tried changing it and now all I get is a blank icon.
how are you changing the icon and what are you putting in?
mdi:power-plug should be what you're looking for
Well I have tried going to the device and use icon override and have also tried going to custom configuration and changing it there all I get is a blank icon. I’m using mdi:powerplug
I did not have the - I will try that
Where do I need to change it at? That is I get confused at?
You can change it globally in Configuration -> Customizations or in the Lovelace card if you only want it for that specific card.
at least that's what I do
also that picker looks awesome I'll check that out. I usually just go to the cheat sheet page
copy/paste right from there, no typos
can you pick a specific version?
Otherwise I'll probably stick to https://cdn.materialdesignicons.com/5.3.45/ Copy/Paste works pretty well there also
Well tried that still a blank icon
seems not. it's using 5.4.55
I’m not sure what I am doing wrong
I went to customize all entrys and changed it there nothing shows up it is just blank I even tried rebooting
@toxic timber what version of HA are you on?
.113
I’m looking to use browser mod to create a pop up only on the device that I’m using.
I posted the code I’m trying to use on the community forum. https://community.home-assistant.io/t/browser-mod-turn-your-browser-into-a-controllable-device-and-a-media-player/123806/659?u=lawsuitup
Any help would be greatly appreciated
So the pop up works, but it shows on all screens
Devices I should say
deviceID: this
@thorn cradle change it to the deviceID you want it to show up on actually your issue is data_template should be service_data
@tacit cave so I need to use service_data. I’ll try it
Guys I'm experiencing a little problem on the front-end since recently
Themes seems not affecting the homepage of my ha
All other views correctly changes its colours with the selected themes but the main view is sticking in a strange green
Any idea?
Share a screenshot of the broken one and a working one
Please use imgur or other image sharing web sites, and share the link here.
@karmic tiger thanks for the answer
This is the strange one
This the good one
I am using the dark orange theme the green accent is completely wrong
And it stays as you see even with other themes
Looks like you might have different themes defined per view. What's in your Lovelace YAML?
Never touched that file since months
Take a look just in case. See if you have theme: anywhere.
You are right there is a green theme for the first view
Ding, ding, ding!
How this can be possible no one touched it
🤷♂️
How can I say use the default theme as all the rest of the views?
Don't define it in the views, only define it on your profile for that device.
Defining it on a view is an override for what's set in your profile.
Ok thanks mono I really appreciate it
i need help why just show 2 cards not 3
- That's not enough of your config, share the whole thing.
- Your indentation is all over the place.
indentation ?
Spaces at the beginning of lines. In YAML, you should indent things by 2 spaces each time. Less will break things, more is a waste.
And the indentation is always relative to other things. If something is too far left/right compared to the things next to it, it changes the meaning.
it was asked this morning
"I'm a beginner with HA, not sure what's the right place to ask. I want to make a card that lets me specify a wakeup time and duration, and an 'enabled' switch then send those mqtt commands to my tasmota light"
HA doesn't seem to support wakeup or wakeupduration natively
I was told to ask here by #the-water-cooler
enough context @dark dirge ?
I do remember that, but unfortunately I have no idea how to help
many things there that I have no experience with
@placid badger you can define input options that can be used to provide a value. I've seen people do it with their smokers so they can set a meat typeand it will define thresholds for notifications. what you described should be possible. i'm also sure there are alarm clock examples out there, or even custom components.
I have searched the documentation and the forums for how to change the default slider for on/off to a button, that when you click the light goes on, when you click again the light goes off. Is this possible?
I don't know what you mean when you say 'default slider' for a light. You only see those toggles in entity lists. If you just make an button card, you get a simple button.
You can use custom cards if you prefer the way they look/act. Just letting you know that there's already an existing card that can achieve what you want.
This is my light controls and it's not using custom cards at all: http://prntscr.com/tpuugl
And if you still want to install custom cards, the instructions on this other card will give you an idea how: https://github.com/custom-cards/button-card#installation
@lavish solar thanks. I'm sure it can be done I'm just trying to figure out where
Here's the YAML for that if it helps you understand how it was made: https://hastebin.com/zaxihedene.bash
its empty
is there a way to also show a specific ingress item in the sidebar to a user?
good morning, anyone with experience or knows where i can find resources for this legacy flexhorseshoe-card?
funny you asked, I am also trying to set up a custom card
i have the standard horseshoe working, but i want to create a single pane of glass view for a tablet display
May I ask how did you go about so that the card show up in lovelace?
i used HACS to install the "Flexible Horseshow Card" or you can grab it from here https://github.com/Lau-ie/flex-horseshoe-card.
HACS ?
then i used either a vertical or horizontal card to nest the horseshoe card
its an addon for the community store
under the github link follow the manual install instructions
i followed this link https://hacs.xyz/docs/installation/manual
but i am sure its by the same dev
np
thanks man for this tip, it was exactly what I needed
@wheat current million thanks for the HACS Addon
Hi. I'm trying co combine multiple entity cards (native and custom). On most low level card, I have this entities:
type: custom:fold-entity-row
head: this.entity_id
entities:
- type: entity
entity: this.entity_id
name: Version
attribute: esphome_version
However it states that no card type of 'entity' exists
What am I doing wrong ?
@hearty topaz I'm not sure what happend with my code share earlier. I think hastebin messed it up 😄 https://paste.ubuntu.com/p/FRXFtJtWgr/
@gusty nacelle entities card expects rows. If you want to use a custom card or place an entities card inside it, you need to use the 'under the hood name'
Hmm, I see
it's most likely custom:hui-entity-card for type. Also, you'll need to use the custom card loader card and load the entity card
I'll check it out. thanks!
@karmic tiger thanks
I am trying to use HACS to install a card. There are no errors, but the card is no where to find
HACS should install them into /config/www/community
and the card is there
So you just can't use it on your dashboard? What happens?
If i do correct (wich I may not) I go to the frontend (lovelace) clikkeng the 3 dots and click configure UI
and then use the +
asking me wich card I want to use
the card is not there
You won't see it there, you have to use the custom card option and add the config manually.
Sorry, 'manual' card option.
yes I suspected that
The documentation for the card will explain what you can/should write.
You always need the type, so Lovelace knows which card to use. You'll also need the extra details that specific card needs to function.
Remember the type starts with custom:, like this:
type: 'custom:upcoming-media-card'
I tought that it would work out of the box, since there are only 3 Steps for HACS installation
but I will try
I am trying to add that one
It gives you an example:
type: 'custom:air-visual-card'
air_pollution_level: sensor.use_the_actual_name_of_your_sensor_not_this_example
air_quality_index: sensor.use_the_actual_name_of_your_sensor_not_this_example
city: Moscow
main_pollutant: sensor.use_the_actual_name_of_your_sensor_not_this_example
temp: weather.use_the_actual_name_of_your_weather_entity_not_this_example```
I need a ui-lovelace-card.yaml for this ?
No... click the +, choose manual, add that example (and change the values to your sensors).
Or don't you have a dashboard that's not controlled by Lovelace?
I have do not have the yaml activeted one no
You don't have to do it all with YAML. You just need to 'take control' of one. If you see the +, it sounds like you already did that.
When you click + and choose 'manual', what do you see?
Then you're in the right place. Empty that box, then take the example I pasted earlier and put it in there.
is this the right sub to ask a browser_mod + lovelace question? It's pretty simple - my action is browser_mod.popup, but for whatever reason the popup always appears in the extreme top left corner of the screen and I can't close it by clicking anywhere. making adjustments to style doesn't seem to change anything.
done that, and then still no card
Try to edit your dashboard again. See if there's a space where the card should be.
will try
I was wrong, there was errors
http://10.0.0.30:8123/hacsfiles/air-visual-card/air-visual-card.js:237:45 Uncaught TypeError: Cannot read property 'attributes' of undefined
18:16:20 – components/system_log/init.py (ERROR) - message first occurred at 18:16:20 and shows up 3 times
It sounds like you don't have the resource added.
the errors is probably because I need to set attributes there
I gotta run, thank you a ton. Will come back later 🙂
back. I am terrible of explaing things. My idea with this specific card was to see and learn the process of adding a card.
so I apoligize if I used your time unecessary
It's okay. I'm happy to help people learn.
I am happy to have your guys, learning us
so this ui-lovelace.yaml file is something I can add right?
Many of the cards / frontends under HACS uses that one
No, you shouldn't need it.
You can manage your dashboards from the UI forever if you want.
If you change to YAML, you can only use YAML.
thats right
Only do that when you're 100% comfortable with YAML. If you're still learning, it's better to use the UI
You can still add custom cards using the UI.
No. You just install them with HACS or copy a file in, add a line to your configuration.yaml and pick one 🙂
You have to select the theme. Go to your profile (initials in the bottom left) and choose one.
Did you add the line to your config to turn themes on?
frontend:
themes: !include_dir_merge_named themes```
maybe I need this: frontend:
... # your configuration.
themes: !include_dir_merge_named themes
... # your configuration.
no 😦
Hey guys, I got a question 🙂 Since some HA version the alarm panel card it is showing in the badge "Armed home/away/night" instead of just "Home/Away/Night" as it was before, so now it's tricky to quickly know the state, is there a way to have it showing the "short" version as it was doing before? Thanks
@karmic tiger so I should paste exactly what you pasted?
If you don't have it, yes.
And all your themes (HACS or manually installed) should live inside /config/themes
confirmed , its there
What type of card can I use for the default camera live stream view?
Never had to deal with this one: how does a User that I have created login and change their password?
Nothing on this page: https://www.home-assistant.io/docs/authentication/
@karmic tiger Themes is working now, thanks again alot
Hi guys is there way to put a colour wheel on your dashboard to change the colour of the lights
tuya lights
what actions trigger history-graph cards to update? i noticed i need to refresh the page to get up-to-date info.
Hi all. I've read through the forums and googled for an answer but couldn't find it. In my Lovelace UI, the text in the thermostat cards are cut off. I am using the default theme of HassIO/HassOS 4.11 with HA 0.113.1. I've tried resizing my browser and changing the browser zoom level, but it all scales and continues being cut off. Has anyone seen this before? (I'm happy to share a screen shot of what I'm seeing).
Is the text just too long?
Well, clearly it's too long... but is it a really long name?
@karmic tiger nope. It's the "°F" that's cut off, actually.
(and if there is supposed to be text above the current temp, that's all invisble)
(sorry, I should have been more clear in my initial post).
If you're on a desktop, you could try right clicking and inspecting that element to see what the browser thinks should be in that text field.
It'll give you a clue if the text is missing or just can't be shown for some other reason.
Here's an image (assuming my upload worked)
@kindred valve 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.
@kindred valve 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.
Okay, wont let me past the image... Is there an approved image upload site?
Please use imgur or other image sharing web sites, and share the link here.
Basically, what I see visually in the center of the thermostat ring is 73.5 and then after that I see what looks like "°F" (but it's higher than the text of the temp reading and cut-off.. So I only see the bottom 2/3rd of the °F. The °F is there, just cut off like Marty McFly's head.
Is that the default thermostat card? I don't use it.
Everything is default 🙂
Cool. In that case, try configuring it with a name to see how it repositions/rescales.
I'll note that it doesn't look anything like the image in https://www.home-assistant.io/lovelace/thermostat
Changing the name only changes the text at the bottom. (The "Master BR Therm - Main" is the "name")
What does the YAML of that card look like?
"Show Code Editor" just has:
entity: climate.master_br_therm_main
type: thermostat
Okay... add a name: line to that with something simple.
That just changes the text at the bottom.
Hmm. Weird. What browser are you using and does it look the same in others?
Firefox.
Let me try Chromium
Huh. Looks okay with Chromium.
Wonder what's so funky about firefox?
After comparing, the issue here is that the °F font size is way too big on firefox and as a result it gets cut off. The °F is much smaller on Chromium, so it fully visible.
so is..
Well it looks like it's maybe modifying <super>, and browsers aren't known for how they consistently apply CSS styles.
FF and Chrome are generally pretty good but there's something not quite right. I'd suggest reporting it in case it's something the UI guys can fix.
Okay. Sorry for what will be a stupid n00b question, but where's the best place to report?
Want to see what issues are open (or were open and are now closed)?
can I make a card 100% width without using panel mode?
I can do panel:true with a vertical stack, but the problem is that my cards are conditional so if you do a vertical stack there is empty space of hidden cards that offsets each visible card
you shouldn't see empty space with a conditional card that's not being displayed
Hmm its a few pixels of offset
ok, so it's not the whole card, but just a bit of space?
Yes exactly, just a few pixels of space...usually I wouldnt be concerned but I have this pretty 2nd floor layout that is supposed to look like it lays smoothly over the top of my 1st floor
but it moves a few pixels (either up and down if vertical stack, or horizontal space if horizontal stack)
yeah, I've seen that to, but haven't investigated. You're limited in what you can do outside of panel mode
it annoys me, but not that much
Interesting, yeah I know it's a little picky but damn it looks so good when it doesnt have that glitch
thanks I was just looking at those
I got card-mod installed last night but I couldnt get the width to expand
I may have done it wrong, havent messed with it since
hit F12 to open the inspector, hover over the space, and see what it is
good idea
I've been doing that a lot lately to nuke margins and padding that I didn't like
but I'm an idiot with CSS, so it's hit-or-miss and very unscientific
hehe yeah I'm ok at CSS but I must have borked it
its odd when I look at my layout with f12 it doesnt want to differentiate the different elements to highlight like usually just full body
it looks like this in my current layout and it's now making me more annoyed: https://imgur.com/a/kD9mhlQ
ever so slightly off
that would set me off too lmao
and here you can see the "display: none" conditional cards that are pushing it down: https://imgur.com/a/qhnUuvd
exactly what happens with mine, I only have 2 cards to swap between but 2nd floor always offset from hidden data of first row
I'm messing around with card-mod, hopefully it will work out
I will steal whatever you come up with
I'll be sure to drop by...some odd settings because of things being embedded in the "#shadow-root"
Is there a way to move a lovelace card from one dashboard to another?
I see I can move it to a different view
but looks like dashboards is not allowed
cut/paste the yaml from yamlview
Hi, I would like to make some data analysis in Excel. So I did a "select * from states where entity_id = 'sensor.xxx_consumption;"
but data and time doesn't reflect the frontend values in the history-graph card for the same sensor
for example using mouse on the card, I can find a value of "101" at 22:22 but my select doesn't have a 101 in the state column at all
also I would expect to add my timezone and get correct time, but this is not the case.
what am I mistaking/missing ?
what sort of values are you getting for times?
This doesn't appear to be anything to do with Lovelace. Take it to #analytics-archived if it's about data.
Hi all, I'm building a ui for my mobile devices and want to make it clean as possible. I noticed that there are only 2 devices classes (1 door 2 window) with an mdi icon each. I my house we have different types of windows: small window, big window, door window, ecc. What is the better way to change those icons? Customize or templating?
but this will also apply correct icon for open-close status?
This doesn't appear to be anything to do with Lovelace. Take it to #analytics-archived if it's about data.
I find a new channel at every question 😄
I am seeing an issue where I am unable to load any custom lovelace components from cloud access. They work fine on my home LAN. Any ideas? The resources do show up in the resource tab of dashboards, but the cards are the red error card saying type does not exist.
I have tried multiple browsers, changing how my resources are loaded, cleared all views but 1... Nothing seems to fix the issue. Could it have to do with Nabu Casa?
Sounds like a caching issue
I have deleted my cache multiple times on all remote devices.
what does dev tool show when you try to load the resource?
I think it is an issue with the Nabu Casa cloud. I just made a duckdns domain and logged in that way and all the resources loaded just fine.
It's a cache issue, clear the browser cache
I already did. I also tried browsers I never use (edge) and still did not work.
Hmmm... Though I just installed firefox and it worked... I will continue to try and clear cache. Is there another way to do it other than in chrome://settings?
yes, open devtools and rightclick on the reload icon, then select the last entry in the list
In the UI friendly box where you clar stuff, the default is the last hour, you want to make that "All time"
Yea I was using "All Time" from the chrome://settings window.
Shift+F5 is typically enough in Chrome
Well the shift+f5 worked where the all time clear was not. Thanks!!!
Is there a way to force reload the app like this? I tried clearing the app cache (android), but it does not seem to be working.
#android-archived would know
hello, i'm looking for count up timer
i want to turn on switch and then the timer show me the time activity of the switch
@wheat current I will commend you for the HACS affon, incredible addon that make the life easier
*addon
question about Appdeamon, is this the right channel ? or maybe the add-ons channel
@slim dome So you are wanting how long the light has been on? The history component can provide this information. Or are you looking for something else?
@wheat current ah thanks man
@slim dome So you are wanting how long the light has been on? The history component can provide this information. Or are you looking for something else?
@solemn narwhal י yes something like that, i want to turn on some switch and then the counter will be start until i will power off the switch and the counter stop
Does it need to be a running counter? As in you can see the time at any moment. Or can it be after you turn it off you see the time difference?
@slim dome the easiest way is to just display last_changed on your entity row.
@slim dome the easiest way is to just display last_changed on your entity row.
@tacit cave now i shown that, but i need a real counter ..
Does it need to be a running counter? As in you can see the time at any moment. Or can it be after you turn it off you see the time difference?
@solemn narwhal it will need running counter, yes
why is that?
because i need it to my calculations .. 😅
Ok, and what calculations are these?
@slim sparrow posted a code wall, it is moved here --> https://paste.ubuntu.com/p/hFyVQ8jzVS/
I don't get why the lovelace filename: has to be in the root of the config dir. I mean, why do you even need it at all?
## configuration.yaml
lovelace:
mode: yaml
dashboards: !include_dir_named ./lovelace/dashboards
## ./lovelace/dashboards/lovelace-test.yaml
mode: yaml
title: This title should go above the tabs on my dashboard
icon: mdi:test-tube
show_in_sidebar: true
require_admin: false
# Scrap this
~~filename: /config/lovelace/lovelace-test.yaml~~
# Add this
name: Test #This is what is shown in the sidebar (used to be the title property in the filename.. file
views: !include_dir_list ./lovelace/test
## ./lovelace/test/01-home.yaml
title: Home
cards:
- type: markdown
title: Hello world
content: 'This is tab 1 by the way'
is it possible to influence the order of the panel_iframe in the nav bar?
This would be so much better
You mean customising the sidebar?
https://github.com/Villhellm/custom-sidebar
and I believe ingress does the routing/proxying to the addon containers? is that correct?
can I somehow add my own services/routes and corresponding endpoints to this?
atm i do port forwards to /portainer etc... which I would like to resolve via HA
@slim sparrow it doesn't with custom mods
Also, please don't post codewalls by breaking them up
custom mods can mess everything up. It's a pain to keep track of breaking changes etc.
The filename: part doesn't really do anything
i've been using lovelace_gen for about a year without any breaking changes. I'm able to take ~100,000 lines of lovelace and shrink it to ~3000 with it.
~Simple is better than complex.
So your saying 100000 lines of code is simpler?
3% of the lines seems simpler 😄
Lol, yah.
If I have to make a change, I only have to make a change in 1 spot, not 9000
I'm not talking about lovelace_gen.
If the filename proptery is there to refer to a file that can only be in the root and only needs to contain two lines of code... It's ugly
Right, and with lovelace_gen you can get around that.
Point is, it should not need another custom modification
Then ask for a feature request...
Voted on it but the forums are rarely read by the ones that matter
not true at all
That feature request has 5 votes in 3 years 4 months (read date wrong 🤦♂️ )... There are 1000s of other feature requests with higher votes.
It may seem like the 'people that matter' are not watching but the real reason is that barely anyone wants that
It seems like the 'people that matter' are the ones that sympathise with him.
🤷♂️ I doubt we'll see that change anytime soon, especially when there is a custom integration that handles it already.
Not to mention, this really isn't the place to make feature request or complain about functionality. This is for support and support is offered here. Take it to GitHub or the Forums.
Sorry, I guess I was trying to put my frustration out on "the world"
Venting is fine, just do it in the right place 😄
protip: send all complaints directly to @tacit cave
Hi guys is there way to put a colour wheel on your dashboard to change the colour of the lights
tuya lights
Something like this? https://github.com/ljmerza/light-entity-card
Hello, is it possible to see possible network interfaces available for selection for the new discovery wizard for Xiaomi Aqara?
I tried any, ens224 and an IP, but none seem to work
@solemn narwhal yes thank you
I want to put custom icons for my badges, which resolution should they be? I managed to put some but they are not aligned properly
The images don't fit perfectly
What file type are you using? Most of the icons in HA come from icon fonts and are usually SVGs, which are scalable.
@limpid apex resolution doesn't matter, they just need to be square images.
@shrewd path posted a code wall, it is moved here --> https://paste.ubuntu.com/p/fPNYDjjbTR/
Any idea?
Why does my codes goes to a wall? <noob> :8
Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
Oh I see 🙂 Thx for info
That's just a false warning in the UI. You can save the card anyway
@shrewd path if it looked like this, would it be clearer?
It worked, as Villhellm said, i found the problem... Ashamed to say it - I made those templates today in configurator, saved... but never restarted. Now when I continued with the project, the problem was that I dod not restarta HA
sorry
Thx
@winter hollow yes
Good, that is what it looks like in 0.114
Hi all...I'm trying to display the resulting value from the following value template in an Entity Card : {{ (state_attr('vacuum.xiaomi_vacuum_cleaner', 'cleaned_area') * 10.76391)|round(0) }} (cleaned_area is an attribute that's represented in square meters, which I'm converting to square feet and rounding to the nearest whole integer ).
Where in the visual editor for an Entity Card do I place this? Or is this something that needs to be coded in the Entity Card yaml?
Thanks for the help!
i realy need help
i showing this error but if i keep refreshing the page i can get the buttons some times any ideas ?
My smart plug has an energy monitor. Is there a way to display the "current power w" in a graph in home assistant? Can I make the ""current power w" an entity since "History Graph Card" can display only entities?
Has anyone that has used the custom button card had any luck with bringing a template into the name of the card? I'm basically trying to include a temperature sensor's current temperature into the name of a card, e.g. "Kitchen - 74°". I have the template correct, but I just can't get the card to actually say the temperature, it just repeats the actual full text of the template instead.
I've messed with it for quite some time and would love some help if anyone has an idea. Here is a link to a reddit post I just made that may give a bit more idea on what I'm trying to do: https://www.reddit.com/r/homeassistant/comments/i0e7b6/custom_button_card_has_anyone_had_success_getting/
Where custom cards accept templates, they often expect them to be in JavaScript (because they run in the browser) not Jinja (which is evaluated on the server).
Hello, is it possible to see possible network interfaces available for selection for the new discovery wizard for Xiaomi Aqara?
I tried any, ens224 and an IP, but none seem to work
Hello :-)
I am having the problem, that since 0.112 my lovelace cards transparency isn't working anymore. I am using a structured dark background image and the text on the cards is white with the cards almost completly transparent... now the cards are fully white and I cannot get them transparent anymore... Anything I am missing? Did google und tried to find anything in the breaking changes of the last releases... 😦
tryed this: paper-card-background-color: "rgba(0, 0, 0, 0.3)"
same with paper-dialog-background-color
before this was working: paper-card-background-color: "rgba(40, 40, 40, 0.6)"
See the 0.113 release notes for breaking changes to themes.
damn.... spent so much time on the wrong place 😦 and the solution was so obvious in the breaking changes as you mentioned... I am sorry for this dumb question. I really overlooked this...
Thanks a lot mono
No problem. Just remember to start with the release notes if an update changes/breaks your setup.
You're so right... 😛 shame on me... 😉
I created a bunch of scripts with the UI editor earlier and all of them got IDs like '12412541241241' and an alias: below. Now when I made a script it got an ID that matches the alias. Was that a change in later versions?
I think someone recently changed that, yes. There was a difference between automations (which took the alias) and scripts (which didn't). Someone made them consistent.
Good stuff. Is there a way I can change the ID in my scripts that doesnt require me to update the cards in Lovelace?
I'd guess you have to update in both places.
Find and replace in a good text editor should make that easier though.
Yeah. And I only have like 10 or so. Thanks a bunch.
i realy need help my pop up bottons dont work and my home assistant log is bigger and bigger
dont stop
@rustic lynx posted a code wall, it is moved here --> https://paste.ubuntu.com/p/Xmbq5WW4Q4/
Your log has nothing to do with Lovelace. Figure out your card issue here, then all about your logs somewhere else.
@rustic lynx Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
no but i think my problem is in lovelance what room should i go ?
Those logs look like they have nothing to do with Lovelace.
They look like a problem with an integration.
@karmic tiger I see your reply earlier about my temperature sensor in the lovelace custom card where you said to use javascript. I don't have any experience in Javascript but this is what I'm trying currently:
name: '[[[ return (‘Kitchen - ‘ + states[‘sensor.kitchen_temperature’]) ]]]'
That is not working for me. I'm guessing I'm doing something pretty obviously wrong in this line, so if anyone knows what to change, please let me know. Thanks!
That doesn't look like valid JavaScript to me and you've also got 'smart quotes' in there as if you've copy/pasted from somewhere.
It should be something more like:
name: "[[[ return `Kitchen - ${states['sensor.kitchen_temperature']}`) ]]]"
Whatever's between the [[[]]] is going to be treated as a function, which must return a string.
So we're returning something something something ${workSomethingOut}
Hm, so I tried replacing the text I had with that and I'm still not getting anything, unfortunately.
Anything that needs to be evaluated inside a string should use that ${} around it. Anything else is treated as plain text and returned as-is.
Hmm. I don't have a custom card installed that uses JS, so I can't test it for you. Hang around and see if someone else has any ideas.
Sounds good. Thanks for the help, though.
Oh, so I just realized you have a ")" in that code without having a "(".
I've tried putting the opening parentheses in a couple of spots, but I keep getting this text in the card: "Kitchen - [object Object]"
So it looks like it's at least doing something now. But just to make sure, would you know where to put that opening parenthesis?
Oops. Take out the one I left in rather than try to pair it up.
Oh, ok. I just did that and the code line looks like:
'''name: "[[[ return Kitchen - ${states['sensor.kitchen_temperature']} ]]]"
It's unfortunately still returning "Kitchen - [object Object]". Shoot.
'Hang on, I'm trying to figure out how to make a code block so it's accurate lol
Looking at the docs, you can work with the entity directly.
Their example: name: '[[[ if (entity.state > 42) return "Above 42"; else return "Below 42" ]]]'
It probably has to be states['sensor.kitchen_temperature'].state
So this might work:
[[[ return `Kitchen - ${entity.state}` ]]]
If I get my backticks in the right place 😄
You also need to make sure you define the entity in the card though if you do that.
entity: sensor.kitchen_temperature
Ooh, it looks like adding the .state did it. It's not showing the temperature correctly. Here is what the line looks like:
name: '[[[ return Kitchen - ${states[''sensor.kitchen_temperature''].state}° ]]]'
Crap, I still don't think I'm doing the code block quite right lol, one second
Share an image of what it does now
Please use imgur or other image sharing web sites, and share the link here.
name: '[[[ return `Kitchen - ${states[''sensor.kitchen_temperature''].state}°` ]]]'
There we go. With that code, it is correctly showing "Kitchen - 73.6°" currently
Thanks everyone for all the help!
Hi, I've noticed that when I call Google TTS from lovelace or /developer-tools/service (tts.google_say) and use special UTF-8 letters like š, č, ř, ž... my google home begins to say the letter as HTML escaped string. So instead of "Š" my Google home says "%C5%A1". Or spaces are escaped as "%20" so if I send "test test", my Google home says "test%20test". It works fine from automations tho. Can anybody else confirm this?
@winter knoll https://github.com/home-assistant/core/issues/38339
Is it possible to use a glance card inside of badges? Essentially (visually) replacing it with a glance card
https://imgur.com/a/upEt2iV - I was able to do a poor mockup using layout-card, but it would just be a lot easier if glance cards could be used inside of the defined badges area instead
Not really. Your best option is to use panel: true and build the complete layout, including whatever you want in the badge area
Badges are pretty limited and I replaced them with a horizontal-stack of custom button cards. Much, much more flexible
It is possible, you can add custom badges
views:
- badges:
- type: 'custom:hui-element'
card_type: glance
entities:
- light.woonkamer
- light.eettafel
cards:
- ...
Hey guys, I got a question slight_smile Since some HA version the alarm panel card it is showing in the badge "Armed home/away/night" instead of just "Home/Away/Night" as it was before, so now it's tricky to quickly know the state, is there a way to have it showing the "short" version as it was doing before? Thanks
No, that would require new translations and a change here https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/hui-alarm-panel-card.ts#L231-L232
@winter hollow Awesome, had no idea
looks like badges have become more functional since I last looked 🙂
then you have not looked for quite some time 😛
guilty
But it is also missing from the documentation I see...
I figured it was this part: https://www.home-assistant.io/lovelace/dashboards-and-views/#type
that's great
yeah, what's up with that?
But all the way on the bottom
@winter hollow thank you! I did not know about hui-element
Much better 😀
https://imgur.com/a/l69neSi
And I'll just make a different view, maybe place some gap-cards on the left and right of my glance card (in badges) so that it won't look so wide on a desktop/table
Anyone know how to make a gauge that displays the sun's elevation?
My smart plug has an energy monitor. Is there a way to display the "current power w" in a graph in home assistant? Can I make the ""current power w" an entity since "History Graph Card" can display only entities?
you can make a template sensor out of anything
is there a document for that?
When working with templates, don't forget:
- You can test them in Developer tools -> Templates
- Rule 1 and rule 2 (https://www.home-assistant.io/docs/automation/templating/#important-template-rules)
Sure, there are docs for everything
This is a better link: https://www.home-assistant.io/integrations/template/
Is there a way to have multiple entities show up when viewing a sensor.template's more info popup?
https://imgur.com/GjuAhwd - instead of just showing up if that sensor template "group" has motion? (I tested with both groups and a bunch of entities)
Also, do most of you do a separate mobile and tablet layout?
On the configure lovelace dashboard screen, I only see 'Dashboards' and not the 'Resources' tab.
Anything specific I need to do to get it?
The dashboards URL ends with config/lovelace/dashboards so if i do config/lovelace/resources I get to the resources page. wonder why the tab is missing
Icon at the bottom right?
On mobile
Maybe you need resources: in configuration.yaml
@dark dirge I got it working, I had to enable Advanced Mode for my User to be able to see it.
Good to know. It unlocks a bunch of stuff
yeah, found the answer here, https://community.home-assistant.io/t/adding-resources-to-lovelace/180729/12
Hi Guys, are more people seeing performance issues on the frontend as of lately , on slower devices like android 8 tablets?
seems slower since a couple of days (longer delays when switching tabs in ha frontend i.e.)
i disabled all custom components and custom cards, but does not seem to make a difference
!secret is not supported in the frontend unless I use YAML mode correct?
Hey - really simple one, why is it that lovelace cards sometimes float correctly and other times they don't - eg: https://imgur.com/m2OVW4R
Why are my cards stacked on top of each other when there's loads of space to float up next to the first card?
Default behaviour is to try to fill a column before creating another.
It'll fill up to 4 columns depending on screen resolution before forcing vertical scroll.
If you want full control, use panel mode and stack cards
Yeah agree - hence confused why it's stacking vertically as in that screenshot... Might have to try panel control as you say...
Ah sorry, just re-read your question, are you saying it fills a column vertically before floating to the next column?
Anybody else having issues with laggy cards and slider bars not showing in chrome? (on beta channel)
Probably better to ask in the #beta channel. If you're finding issues in beta, report them.
Then their issue (if there is one) is with prod 😁
Or beta of chrome 🤷
So what's the beta? Chrome?
I think i misunderstood the UI, the supervisor was set to beta channel.
What does it look like in other browsers? And what about ~~porn ~~incognito mode?
how to hide entity card when is some light is off?
for exampole I want to hide this robust wled card that I made
it fills the space unnecessarily when the lights are off
Other browser is working. In incognito its also broken. Ohh i think its AdBlock extension, disabeling it fixes it.
Thanks for your help 😄
Nice. Not a HA issue 😄
No problem 😉
@devout hatch Use the Entity Filter card or a custom card that does similar.
Or the Conditional card around another card 🙂
conditions:
- entity: switch.espresso_override
state: 'on'
card: ...
I found this form petro 🙂
I didnt know that there is a conditional statement..I thought that I need template for this lol
any lovelace card for a private link of youtube straming
?
Having some trouble with Users and visibility with Lovelace. The idea is I want to have a dashboard for my kids (and their rooms). I want to limit each kid to only see their room devices, otherwise you get them messing with each other. I can create a view and remove visibility for the users but it doesn't seem to actually take effect.
you can crete a new dashboard for each one
if is easly for you
Configuration - Lovelace Panels -> New dashboard
@tiny oyster I appreciate the response! I have done that. Unfortunately I can't find a way to hide the dashboards from other users. Edit: I change visibility of the views and it doesn't completely work
There is a little workaround though. You can enable or disable dashboard tabs for users. So disable everything but this one dashboard tab for that user.
or you can just use this plugin
https://maykar.github.io/custom-header/ 41
It can hide or show specific pages to specific uses, device types etc
Thanks! I'll check it out
It appears the default view on a dashboard is visible despite the config. I would assume this is a bug. If I create a default view with nothing on it then the users can't see the other tabs unless they have permission. It will work for now I think
Did you exclude the first tab?
Yes. I set the visibility of the first tab to not visible but if there are any entities on it it will show up
Hmmm... That is not the case for me. I can hide any of the tabs I want. Would you mind posting your config for custom header in a pastebin?
Maybe that is where I am missing something (I am not using the plugin mentioned above). I am using the GUI to config.
Ah, so you are making a separate dashboard for each user? I have not tried that route, I just use Custom Header and hide all the tabs I want for specific people. I had this setup before multiple dashboards were a thing, and have not yet looked into how to do it with separate dashboards.
My goal is to use 1 dashboard and then just hide the tabs. Dashboard: Kids Rooms, and then tabs for each kid. This appears to work if I just create a 'default' view with nothing on it and no visibility.
Not a big deal, was just a bit confusing as it wasn't logical behavior based on the config
Ah! Thank you. I searched previously but didn't hit the right keywords
Is it possible to add all the entities from an integration into a card? I have some ESPHome's that I would like to specific just that device, and have all the entities that are listed in the integration populated for testing purposes
@fierce quarry There is a button in the integration page at the bottom of the Entities listed that is "ADD TO LOVELACE". This should do what you are wanting.
doh, of course i over looked that one, thanks
My lovelace dashboard is not responsive since morning
What are you using? Computer, tablet, phone? Or is it on multiple devices?
Hmmm... I know this can be a pain, but have you restarted HA recently?
Yes
But same issue
I did install one repository from hacs yesterday. Does it has to do with that repository
Probably not, but what did you install?
jeremywillans/lovelace-roomba-vacuum-card
Is it just lovelace that is non-responsive, or is Developer tools also non-responsive?
everything I not able to click on any of the tab on the web ui after login
here is the few lines of logs
2020-07-31 12:24:21 WARNING (SyncWorker_1) [homeassistant.util.yaml.loader] YAML file /home/homeassistant/.homeassistant/configuration.yaml contains duplicate key "scene". Check lines 12 and 46
2020-07-31 12:24:27 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Integration not found.
2020-07-31 12:24:27 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg': 'ffmpeg'
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.7/site-packages/haffmpeg/core.py", line 136, in open
self._proc = await self._loop.run_in_executor(None, proc_func)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in init
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg': 'ffmpeg'
2020-07-31 12:24:27 WARNING (MainThread) [haffmpeg.tools] Error starting FFmpeg.
Are you able to navigate to: your.ip.address:8123/devoloper-tools/state in the browser?
nope I get 404: Not Found error
It seems it is not loading. Are there any other changes you have made recently? I notice from the log above you deleted HACS?
yes I did
I thought that the issue might be because of the new repository from hacs so I deleted it
apart from that I did not change anything else
If you could restart Home Assistant again, then in pastebin post your entire log once it has loaded. I will look through it real quick.
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
Place to share stuff, so it does not take up a ton of space in Discord.
also the scenes define in configuration.yml is working fine through home-panel app on android
it is just the web ui of home assistant is unresponsive
There is nothing in the log you posted that would be causing this issue as far as I can tell. Try clearing your browser cache.
ok
is there any way to reinstall home assistant with same integration and scenes with out loosing any data
With a snapshot, it's pretty easy.
Or with your whole filesystem. Everything in config can just be copied back into a new install.
ok
after clearing the cache I am able to go to ipaddress:8123/develop-states
and everything works smoothly
Nice!
but as soon as I click on overview tab it become frozen
You said you configure your Overview with the Configure UI button right?
yes
If you can create a new dashboard. Go to Configuration (in side-panel) -> Lovelace Dashboards -> Add button in bottom corner.
Once it is created click the Open button on the new Dashboard line item.
I have manually install home assistant on raspberry pi 4 in python virtual venv
so I am not seeing those options
all I see in my side panel is overview,map,logbook,history, dev tools and configuration
So it seems you broke your old dashboard with something you added...
@tiny oyster but I cant set it right
it says that it has unvaught tingle.js
https://github.com/Shaegi/Homeassistant-WLED-Card I followed this instructions
ok thanks @solemn narwhal I really appreciate your help
No problem, sorry I can't fix your old dashboard. But if you set the new one to default, you should be able to delete the old one.
no big deal for me to create a new dashboard
were is the error
type: vertical-stack cards: type: horizontal-stack cards: - type: 'custom:button-card' entity: switch.sonoff_1000c8661c icon: 'mdi:lightbulb'
Can you put it in a bin? Not sure if your spacing is off or if Discord copy is doing it.
Though if I had to guess, you spaced to much after the first cards:
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: switch.sonoff_1000c8661c
icon: 'mdi:lightbulb'```
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
And the horizontal stack needs the "-" I'm pretty sure. At least that is how I have mine setup.
if the horiztonal-stack is part of a list of cards, then yes, it needs a leading -. Generally, if you're populating a section that starts card:, it's just looking for one card and doesn't expect a list. If it's cards:, it is looking for a list
So then @rustic lynx you should try the code I posted above since you specified card:
@solemn narwhal https://gyazo.com/c4519f5407319a0ed8d03b591182175c
nop any idea why ?'
Everything from line 2 onwards is too far indented.
A vertical stack takes 2 arguments. The card type and a list of cards.
There are examples on the docs:
type: vertical-stack
title: Backyard
cards:
- type: picture-entity
entity: camera.demo_camera
show_info: false
- type: entities
entities:
- binary_sensor.movement_backyard```
So in your example, bring the first cards: in-line with type: vertical-stack
With all the other indents following.
He should get it from the example 😉
what i'm not understanding sorry i find the exemple on github but its not working becouse of the spaces
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
yaa that work
nice
one more question i have a big problem with a lg soundbar what room should i ask ?
i cant restart my home assistant becouse of that
Depends what the problem is...
my lg soundbar its screw up my HA and i can remove it https://paste.ubuntu.com/p/K8RYMgDQV5/
just like to remove it
That's a component (aka an #integrations-archived). You can ask over there.
Hello, is it possible to see possible network interfaces available for selection for the new discovery wizard for Xiaomi Aqara?
I tried any, ens224 and an IP, but none seem to work
I have a non functional aqara now for a few days because I upgraded. And none of the interfaces I type in seem valid.
I am having issues with Custom Header. Installed via HACS, restarted, cleared cache and added the code to lovelace yaml. But nothing changes, and there are no console errors. Has anyone else had any issues with this one?
Hey guys, so I'm using the official android app and it works great, but I'm trying to get the Lovelace Map card to work with the geocoded sensors and it's not working. Here's the code I currently have:
- type: map
aspect:ratio: 16:9
default_zoom: 12
geo_location_sources:
- sensor.sm_g988u1_geocoded_location
This only shows an empty map without any icons or anything. But when I go to the sensor manually in the States section of the Lovelace UI, I perfectly see the place, street, etc - all that information.
Anybody know how to use the map card in the UI to show where the people are using the geocoded location from the official app?
your indentation is wrong, at least. See here: https://www.home-assistant.io/lovelace/map/
and "aspect:ratio"?
fixed aspect ratio but having the same issue. this is the code now:
- title: Location map
id: map
path: map
icon: mdi:map-marker-radius
#panel: true
cards:
- type: map
aspect_ratio: 16:9
default_zoom: 12
geo_location_sources:
- sensor.sm_g9881_geocoded_location
- sensor.sm_g9881_geocoded_location_2
- device_tracker.sm_g9881
- device_tracker.sm_g9881_2
Still the exact same problem, I don't show any icons, it's just an empty map. I can zoom etc, but no icons and no device tracking whatsoever.
details are coming in 🙂
do you see the map details when you select "Map" from the sidebar?
maybe try changing the default_zoom. My recollection is that the markers disappear at certain zoom levels
I'll keep messing with it.
Real quick though, how do you get to show one of the Attributes of an entity?
EG the zip code of sensor.sm_g9881_geocoded_location
what's the code for that again for lovelace...
I'm not seeing my phone show up either if I fudge the location in dev->states
it depends on the card. stock cards just shows states
a bunch of custom cards can show attributes, or you can create a template sensor that extracts the attribute
ah, using entities: rather than geo_location_sources: works for me
np. geo_location_sources is looking for one of these: https://www.home-assistant.io/integrations/geo_location/
I applied a customization to my "Charles lamp" and "Sheree lamp" that allowed HA to recognize them as Multicolor bulbs. Any idea how i would get the icons to reflect the color like my "LEDs" icon?
@queen dust 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.
Hey @polar kelp. Can you share the yaml for this example? https://github.com/thomasloven/lovelace-state-switch#transitions
HA GUI is moaning at me that Python 3.6 is deprecated. I've installed Python 3.8, but when I run update-alternatives to point at 3.8, HA wont restart. I update-alternatives back to Python 3.6 and it reboots fine.
How can I debug, please?
This channel's for Lovelace. You want to pick a suitable installation channel.
Not sure which install you're using? If you have system_health enabled you can check Configuration -> Info, or see the following.
-
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
-
If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714
-
If you're running
dockercommands or use a Docker manager and have no add-ons then you have #449717345808547842 -
Finally, if you use
pipto install or upgrade you have #551864459891703809
Having difficulty chosing an install method? See this blog post for guidance.
Help please. I’m trying to get zigbee2mqtt network map working. I’ve installed from HACS and rebooted as per instructions. I’m getting 404 not found when accessing from the side bar. I suspect I’ve got the path wrong.
It’s installed in
Config/custom-components/zigbee2mqtt_networkmap
I’ve also found
Config/www/community/zigbee2mqtt_networkmap
What’s the correct path to put in config.yaml to access these folders?
I’ve tried various combinations and they all say 404 not found.
Thanks Thomas 👍👍
@rocky swallow
zigbee2mqtt_networkmap:
topic: zigbee2mqtt
panel_iframe:
networkmap:
title: 'Zigbee Map'
url: '/local/community/zigbee2mqtt_networkmap/map.html'
icon: 'mdi:graphql'```
When you reference items from the frontend that live in the /www folder, you must instead ask for /local
Cheers. @karmic tiger trying it now. Think that might be 1 variant I haven’t tried. I’ve always included custom-components
So where does the community folder come into it?
That's where you should've copied the files to if you followed the instructions for the component.
Download or clone https://github.com/rgruebel/ha_zigbee2mqtt_networkmap
Copy "custom_components/zigbee2mqtt_networkmap" and content to your "custom_components" folder.
Some of the paths you'll use are aliases, not the folder names themselves.
Takes a little bit of getting used to but most readmes will have the right steps.
That's just lazy..
The integration can register a custom view to serve that file..
I know next to nothing about how they're made, so I'll reserve judgment 😄
During setup it copies the files to the correct location so HA serves them from /local.
Instead of registering a view that allsow to serve the files directly from the integration directory
That file copy does I/O in the async loop, so at best it halts HA during startup, at worst it will block/break HA from starting
@karmic tiger cheers. Getting something now. Just need to further investigate to get the diagram.
I noticed you updated HACS to tweak the startup process too. Was that for the same reasons?
Ah. So just a delayed setup of sorts?
There was also some changes to make it more efficiant
It seems like it's working. Since updating to the beta, HA is much smoother to boot.
startup changes in HACS, mostly only affects new installations (initial startup)
https://github.com/rgruebel/ha_zigbee2mqtt_networkmap/issues/33 is what I ment mono
Yeah, I think I follow. Cheers.
This channel's for Lovelace. You want to pick a suitable installation channel.
@karmic tiger Not sure I follow. I thought Lovelace was the name for the UI?
Lovelace is your dashboards. Lovelace isn't every single thing with a UI.
You're being shown a message via the UI to alert you to the fact there's a problem with your backend. How else would it alert you without you having to monitor your logs constantly?
Put another way: if your car dashboard told you there was a problem with your engine, would your first instinct be to fix your dashboard?
This file is pretty much copy-pasteable to make any custom component serve any file: https://github.com/thomasloven/hass-fontawesome/blob/master/custom_components/fontawesome/custom_component_server.py
Invalid config for [group]: [view] is an invalid option for [group]. Check: group->group->default_view->view. (See ?, line ?).
why is this happen i dont have any groups .....
It's not complaining about groups, it's complaining about view. You have a view where it's not allowed.
how i can check that ?
You look in your YAML files for anywhere it says 'view'.
nop and im not using the yaml im using the user interface
So look at the raw config. It's YAML.
just have two views
> Lovelace dashboards > Resources