#frontend-archived
1 messages · Page 161 of 1
Ooh I got it now
Yet again
You're a hero
Thanks for being so patient with me dude
hello, how can I use mwc (material custom components) in custom cards?
Right, but ... you said you can't access it from outside, using your DuckDNS URL. Yet apparently you can?
@split granite nope, i never said DuckDNS.. i have a no-ip.cm account.. when i am at work, i can access (from my work computer) my router.. port forwarding is active (otherwise my phone couldnt connect either via LTE), but my firefox on my work computer cant access the frontend
so phone via LTE: always works
from computer in home network WIFI: always works
phone in home network WIFI: doesnt work
or well.. sometimes it does
for whatever reason
from computer at work: never works
i am always using the latest stable 32bit version
i wish i could debug this somehow, but not sure how
Does any other browser work on your work machine?
https://www.yougetsignal.com/tools/open-ports/ is one of many places you can test that the port is forwarded
Then you can use https://www.ssllabs.com/ssltest/ to check that HA is responding
@pure briar i had same error until i did a reboot
anybody else getting strange refreshes on pages/views that is not part of hass core?
once a minute or so
Hi, not sure if this is a frontend or a devices question, I have a h801 flashed with tasmota, and am using the light-entity-card. It has the option for effects, which default to 0,1,2,3 & 4. Where can I find out how to choose what effects I can use and how to configure them. Many thanks
Can anyone dumb this down a bit for me? I'm not sure what the config panel is vs the configuration...
"Resources should no longer be added to the Lovelace configuration but can be added in the Lovelace config panel."
@split granite OK, updated CH fixed CH. 👍 But did nothing for the other two issues of the mini-media-player and the MDIs 😦
Tinkerer is away for 1h 27m 58s with a message :point_right: Heading towards the second star to the right
Aight, nevermind. Found it.
Was just about to reply 😄
Hello. I just upgraded to .110.6 and I have a couple UI issues.
I'm using Kalkih's (not on discord apparently) mini-media-player-bundle. All the buttons are not showing. They are there and work, but are "hidden"
Also, I have three switches that use MDI icons. They used to light up like the other standard ones. Now they don't. Functionality is fine, but the icons don't light.
These are obviously all UI related things, so I am thinking that I missed something in the breaking news of one of the interim releases.
Any insight would be appreciated.
As far as the mini media player card, updating it should fix it
Regarding the switches not changing color (presumably when turned on), make sure state_color: true is set in the card config
(that was a breaking change a few versions ago)
0.105 actually, so you must have made quite a jump 😄
https://www.home-assistant.io/blog/2020/02/05/release-105/#icons-no-longer-change-color-based-on-state
I though I was at .106, but maybe not. Either way, it was a pretty big jump. Trying both.
Spot on for both! Thank you! Simple fixes, but sometimes it just takes someone to say "Duh! Look here"
🎉
I get [hacs] Tried to serve up '/config/www/community/lovelace-swipe-navigation/swipe-navigation.js' but it does not exist
although I dont have swipe-navigation anywhere mentioned in my custom_components folder
Look in your configuration.yaml under lovelace and /config/www/community/. Looks like you are trying to use the swipe-navigation card for something without properly setting it up
Anyone familiar with Mini Climate Card? How can I set the humidity indicator source as an attribute of the climate entity?
Anyone tell me what a monster card is?
It’s deprecated
You’re looking for auto-entities, I believe
I sense a novel coming...
I'm trying this: https://community.home-assistant.io/t/lovelace-battery-entity-card/107500/35 and it's not working as an entity filter
I don't see an auto-entitiy
Hi all. I'm using the mini-media-player-bundle add-in. Just updated to the latest level and I am trying to add a "speaker-group". I am not getting the group icon in the upper right of the card. Anyone alse using the speaker-group object?
@dark dirge I don't see auto entity as a card type, did they change the name to 'entity-filter'?
If you go to the first search result, it tells you how to to install and use it
It’s a custom card
my js error is not going away and it seems to block page loads. can someone help me figure out a solution?
I am getting more of those: [frontend.js.latest.202005195] https://xx.dddd.com/lovelace-xxxx/lights:0:0 Uncaught. I believe it started after upgrading to 0.110.6. as you can see from here: https://snipboard.io/wGq2fr.jpg, it is not limited to one lovelace, or one view. Those still happen even after I cleared browser cache, rebooted the computer. Is this a known issue?
also some part of my lovelace would disppear, typically the alarm panel
i upgraded to 0.110.6 around the same time as I enabled the zha-map-visualization-card. but i doubt that card could affect the loading of other pages such as configuration
hmm there is not even a front end change listed in the 0.110.6 release note. must be something i have done...if not pointers, i am going to try restore snapshots
Is it possible to change the colours of the "switches" of the default entitities card?
@vapid field yes, with a theme
Is it possible to get rid of this sidebar/menu?
I mean to hide it
I did it here
But I have no idea how I did that
The custom header card can do that
What's the setting called?
Off the top of my head... I'd have to check the CH docs
Searched high and low but still lost: is there a way to set background to Calendar Panel introduced in 0.110 ? It ignores overall theme settings.
is the lovelace floorplan card installable via HACS?
Have you installed HACS?
yes.. and I could have sworn it used to be in there.. but I can't see it now
Then it's not there
is there a reason? has it been depreciated? is it no longer compatible with the current release?
Or ... just maybe ...
a) You're imagining things
b) The dev never submitted it to HACS
well like I said.. I thought I had seen it in HACS in the past.. which is why I asked here rather than continue imaging all the possibilities
guess I ran out of space :/ Not enough disk space to copy “floorplan”. Additional 446 KB of disk space is required to copy this file. Snapshots are getting out of hand.
Delete old snapshots? 🤷♂️
Is there a way i can justify cards in the center?
ha-card {
display: flex;
justify-content: center;
}
Will this work?
Hmmm......try it and let us know.
As soon as I get to a pc I will
I'm trying to add a second sensor to a history graph card and it's not stacking the two on the same graph within the card. It looks like it's due to the unit of measure being different when it's rendering the card but I thought I'd specified the same unit for the new sensor. You can see from the image (http://prntscr.com/sxcz2p) that the degrees symbol is bigger for the second one.
The DOM shows °C for the first graph and ºC for the second one. If I check the state of each sensor, they both show °C.
D'oh... I just noticed the tiniest sliver of a blue line on the top graph. Looks like it's working but hasn't had enough time to be noticeable yet 
Is it possible to change the colours of the "switches" of the default entitities card?
The docs don't suggest it's possible. https://www.home-assistant.io/lovelace/entities/
You can in a theme
paper-toggle-button-checked-button-color: 'var(--accent-color)'
paper-toggle-button-checked-bar-color: 'var(--accent-color)'
paper-toggle-button-checked-ink-color: 'var(--accent-color)'
paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'
paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'
paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'
these are the related variables
Thank you! (For anyone looking, the slider is also possible)
Can anyone tell me why when I do an update to HA via command line it shows Successfully installed homeassistant-0.111.0, but my version on the Lovelace UI says installed version is 0.110.3. Which one is really installed?
What is your install method?
ahh that might be my problem
See #551864459891703809 😉
sudo pip3 install no!, never, don't
sudo && pip == issues
Tagged you with the commands you need over in #551864459891703809 😉
@split granite thank you
@wheat current Does that mean I need to do a sudo pip3 --uinstall homeassistant outside the venv
to remove the second instance?
☝️
K
Hey, just updated to 0.111.0 and now i cannot create helper entities in the webui?
the buttons are all non-functional.
Works fine for me. Do you have them configured in your configuration.yaml at all? (or have default_config)
The only other thing i changed recently was removing a lot of stuff from my configuration.yaml
i commented out the input_boolean stuff as it was no longer needed since i can make them through the UI...
You still need the base configuration
Did you also comment out default_config 😉
never had a default_config.
There you go then 😉
Then you need to include the input lines
worth noting my config is based on at least 0.66 or earlier.
or rather, originally from 0.66 or earlier
will default_config overwrite anything or nah?
The age of text doesn't matter if it's still a valid config
Have a look 😉
Yeah, i know but i'm saying it's missing any default new stuff since it was originally generated then @elder pendant
Yeah, but when it was added, it was mentioned in the release notes that you should add it... 🤷
My frontend havent been given much love the last year, and im considering making a nicer version of my dashboard to be shown on a tablet attached to the wall.. This is risky when it comes to WAF.. Anyone that have managed to convince their partner and anyone interested in sharing some of what you have done?
With the latest HA you can have multiple dashboards
Have a SSL question, I was able to get a cert from letsencrypt, now what are the final steps for config.yaml. It seems like certain things on http: were depricated
Ah yes
Thx
How do I make an automation to turn a heater on for, day, 1 hour... and also make it so I can do the same from Siri?
Via an #automations-archived ?
@manic harbor you can expose scripts and automations to HomeKit
If you want to manually trigger it, I would use a script
thanks @mild veldt I'll look into scripts
is there a way using auto-entities to match using AND.. ie domain binary_sensor AND entity name includes motion? I can't seem to figure it out
what use is this info if there's no identifying information - https://imgur.com/eAcntE7
With this new fast startup thing in 0.111, what determines when Home Assistant thinks it's done starting? I have this "not everything will be available" banner in the bottom left that won't go away.
Oh, I think it might be badnest. I commented it out and restarted quickly.
@ancient harness if you go to the frontend section it will tell you which repositories are not being detected
I seem to only be able to answer my own questions seconds after embarassedly asking them in public.
Heh, rubber duck debugging
Looking for advice to be able to use two subnets with HomeAssistant. I have my cameras segregate on a separate network for bandwidth reasons. I have Win machine with two ethernet cards for testing and if successful plan to move to PI4 and add a second wired ethernet to it. HASS.IO doesn't seem to get it done. Supervisor seems to not be favored. Anyone else done this?
Got an error in my logs leading to a closed issue; this is for 0.111.0 release of HA/Core; any help?
2020-06-10 18:56:09 WARNING (MainThread) [homeassistant.core] Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at http://bit.ly/2ogP58T : recorder, sensor.history_stats, system_health, camera.generic, mqtt, favicon, counter, history, binary_sensor.template, sensor.mobile_app, sensor.rest, sensor.command_line, sensor.statistics, device_tracker.mobile_app, http, roku, sensor.systemmonitor, api, mobile_app, sensor.upnp, lovelace, sensor.mqtt, config, system_log, binary_sensor.mobile_app, remote, camera.local_file, binary_sensor.updater, camera, frontend, panel_iframe, zeroconf, tplink, camera.mjpeg, map, camera.mqtt, python_script, met, remote.roku, alexa, input_boolean, sensor.time_date, ipp, notify, device_automation, weather, sensor.template, automation, updater, shell_command, input_select, hassio, weather.met, websocket_api, logger, binary_sensor, sonos, sensor.hacs, search, media_player.roku, media_player, sensor, hacs, webhook, logbook, upnp, homeassistant, person, zone, notify.mobile_app, sensor.ipp, auth, persistent_notification, group, device_tracker, input_text, input_number, onboarding, sun, cloud, media_player.sonos, ssdp
Well, no worry; backed off to 0.110.7 and am operational again.
@plucky ember are you on a Raspberry Pi? I see that same error on a Pi and all the stuff still works, pretty sure it's just cause Pi is slow. I would not worry about that.
AMD64/3.4 GHz; 4 core; 32 GB RAM; 1 TB SSD; Ubuntu 18
Python pinning one core (100%) and consuming 2+ GB of RAM
What can I use to display an a set of icons seemlessly as row 1 along with a markdown card and potentially another card that displays the time?
I'm unable to update to 0.111, I get a 404 error.
20-06-11 05:47:14 ERROR (SyncWorker_15) [supervisor.docker.interface] Can't install homeassistant/qemux86-64-homeassistant:0.111.0 -> 404 Client Error: Not Found ("no such image: homeassistant/qemux86-64-homeassistant:0.111.0: No such image: homeassistant/qemux86-64-homeassistant:0.111.0").
20-06-11 05:47:14 WARNING (MainThread) [supervisor.homeassistant] Update Home Assistant image fails
~which @heady wharf
@heady wharf Not sure which install you're using?
-
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
I am using bitwarden as password manager. when i open the lovelace login screen, my password does not get automatically filled.
Anyone else using a password manager? does the password get autofilled for you? home assistant is the only site my password is not getting filled.
I believe it doesn't work for anybody, due to the way the frontend is written
ok, thanks, good to know its not my setup
does the picture entity card support tap_action?
Have you tried reading the docs?
Yeah I found it after I asked
it does
Also I have a breaking change for 0.110
With the card mod plugin you can't change font related things anymore
*Markdown card
open an issue then 😉
@earnest swallow severity:
green: 0
red: 10
yellow: 5
@novel finch finally able to capture the blue : https://imgur.com/a/S1Vh3Qg
Hmmm when I do that (using a dummy entity) this is what I get:
Just wanted to say that version 0.111 is SO snappy, great work, team! Thanks @fading sorrel and all involved!
I do. I'm just super thankful for the community putting all those together for us n00bs who have no clue.
Hi there.
i have tried to make a custom card in home assistant but am getting errors constantly.
what have I done?
- downloaded the js file and put it in config / www
https://raw.githubusercontent.com/benct/lovelace-xiaomi-vacuum-card/master/xiaomi-vacuum-card.js - I have inserted /local/xiaomi-vacuum-card.js?v=3.0.1
in settings> lovelace dashboard> resources and set it to javascript module - in the front end I have chosen manual and entered this:
- type: custom: xiaomi-vacuum-car
entity: vacuum.xiaomi_vacuum_cleaner
however, I get this error: Cannot read property 'setConfig' of undefined
anyone who can tell what i can do ??
Try reloading the frontend and/or check your browser console for other errors.
That's a very old card that hasn't been updated for ages
Did you restart Home Assistant after creating config/www, btw?
yes I restart HA. I have clear my browser cache.
my HA is on my windows 10 computer with virtualbox
What browser are you using?
my chrome is updated
Ah, ok
Try another browser? That file is written with Class syntax but Chrome should handle it fine.
ok. 2 sec. i must install firefox - internet explorer can not
Can you make a theme your default theme?
So that if a new user or device is made it automatically gets that theme?
how i do that?
I don't think that was a question for you.
Great. So the file itself works... it'll either be that Chrome can't understand it (not likely) or your browser cache in Chrome is wonky. Clear your cache for HA in Chrome and try again.
Great know it works
thank you
next problem > i get this error when i try to set gracphic on: No visual editor available for: custom:xiaomi-vacuum-card
@void spear posted a code wall, it is moved here --> https://paste.ubuntu.com/p/WpTkSQXxGq/
what to do?
~rule6 @vapid field
@void spear Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
There's a manual option at the end of the list, use that one 😉
@vapid field your spacing is wildly off and you're missing both required fields. Review the documentation.
The documentation even has an example that's pretty much identical to what you need.
ok thanks. do you have a link?
It's not just "pretty much identical". It's a copy of everything but the first three lines.
ok thank you
@earnest swallow do you have time to check the gauge issue we discussed a couple of days ago ?
I am trying to load a card that I created from a yaml file into lovelace for one particular view. Is that possible when I normally use the GUI. I tried opening the Raw config and adding a include under that view but I get the error "Unable to parse YAML: YAMLException: unknown tag !<!include>.."
The GUI I don't believe can use includes
any ideas about which card to use for online/offline status for a server. I thought i could use badges but they don't work in panel mode. any ideas would be great?
that makes sense then with the error I get.
is there any sort of workaround that will load the yaml file into lovelace? lol. I have a function in node-red that basically writes the yaml file so it looks like what I want but I have to manually copy over the configuration. I was hoping to automate it so when i add devices it just keeps it updated for me.
Any card will do @wise flume - I'd probably use a glance card myself, but ...
@summer sluice Maybe use a YAML mode dashboard?
hmm is a glance card not a little bit big?
That's a you problem 😛
There's a list of official cards on the site, and the forum has many custom cards
Use Horizontal Stack cards to "stack" things
... you've got lots of choices
With multiple dashboards, can you have one that is created by the GUI and one that is in Yaml mode? or will it change both?
You can have separate ones
that will actually work out better for me then.
Thanks
I had totally forgot about the multiple dashboards till now
oh yeah i know tinkerer i am best proud how my dashboard looks
hi, is possible clicking on a gauge to get a graph like https://imgur.com/a/I54Zaph ? I have a custom sensor that is a float value and clicking on the gauge I get instead https://imgur.com/a/7ZGKlNF
Hi, does anyone know how I can add only a "ha-entity-toggle" or "hui-entities-toggle" element to a card (so without the entity name)? I've found the hui-element custom card by @polar kelp but can't figure it out…
Just set name to ” ” and give it an icon that doesn’t exist.
Sorry. On my phone
We can forgive you ... you've done so much for the UI after all 😛
Ive tried that but it gives a huge amount of clear space, and if I make the with of the card smaller (about the size of the toggle button) the button disappears because it keeps the the space where the name and icon are 😦
Oh and you can disable smart quotes on a phone if you want, that's what I did so I can edit yaml on my phone too 😉
Does any other browser work on your work machine?
@karmic tiger no, no other browser works
Hi all.. quick silly question... if I want my HA to host the jpg / svg of my floor plan...where do I upload it... I have only found descriptions creating www in /config... is that the "correct" way?
did something change recently in lovelace or HACS that made me just have to change all my resources to start with /local? or is this indicative of something I did wrong?
@timid cedar yes, if you have just created that www folder you will also need to restart home assistant first as well.
oh
@latent moss so /config/www will be http://myawesomehomeassistant.com:8123/local ?
correct
can someone point me in the direction of the new weather card on github? I love the idea but want to make a few tweaks
thanks!
yessir thank you, i am there, but am too inept to actually find the file
src folder?
yeah, im a dumbdumb. thank you
So I was redirected here, because I am not happy with how the Google calender looks. Rather than only in separate a tab, I´d like it to be displayed in the overview tab for the current day. Is there a way to do that?
There are custom cards you can use
Okay but how?
Find one, install it?
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out. They even have a Discord server for issues with HACS itself.
That's the simplest method if you're lost
Not sure if this is the right channel, but I'm trying to figure out how to change the domain of a device. For example, I have a samsung smart plug (zigbee) which when added via deCONZ adds as a "light." So the call commands are like "light.on, light.off" etc, and then google home interprets it as a light fixture and groups it with lights in the google home app. I'd like to change the domain to a switch or plug
Is there anyone here with a working HA Cast setup to Nest Hub? I've yet to be able to get it working via cast.show_lovelace_view. Works from cast.home-assistant.io as well as the entities card in the docs (aside from custom cards breaking in 0.111, but that's a whole other thing)
EDIT: LMK if this is the wrong channel
You can't @random cradle - you'd need to change it in deCONZ
I see. Is there a workaround like creating a virtual switch?
i think a lot of switches add to deCONZ as lights
In HA terms switch is on/off, lights can be dimmed
OK, I guess I just want it to present to google home as NOT a light so it doesn't turn it off when I say "turn off the bedroom lights"
Utilizing the google home integration
Google home doesn't provide that type of granularity, it just decides for you what something is, usually based on the name, but in this case I'm guessing based on something behind the scenes
That's the simplest method if you're lost
@split granite It worked, but not as simple as I thought. Thanks.
downright loving this image snap of android devices on media player cards
@split granite using homeassistant in ESXi.
Tinkerer is away for 4h 6m 3s with a message :point_right: Dreaming about flavour, spin, colour and what have you...
Hostname homeassistant
System HassOS 4.10
Deployment production
anyone see this in HAC - Not loaded in Lovelace - You have 17 Lovelace elements that are not loaded properly in Lovelace.
Home Assistant 0.111.0
@icy patrol check your lovelace resources file, you probably have a bunch of stuff commented out from it
just checked the file and i have 16 items in there but nothing commented out
- url: /local/community/restriction-card/restriction-card.js #(HACS)
type: module
that is an example
you think it does not like the comment at the end?
How do I prevent a page full of cards from scrolling?
had to fix my paths
OK, I am a newbie at configuring lovelace. I'm trying to add my first custom card (one I downloaded, not one I wrote). I'm using storage mode for lovelace. Where do I add the custom card resource?
the log says
homeassistant | 2020-06-12 14:46:15 WARNING (MainThread) [homeassistant.components.lovelace] Lovelace is running in storage mode. Define resources via user interface
but I can't find where to define resources ....
@dry solar go to your profile page and turn on advanced mode if you haven't already
then go to config -> Lovelace Dashboards and you'll see a Resources tab
yep now I see it! thanks
So I registered the card I am trying to use with the URL /local/power-wheel-card.js?v=1, but when I try to refer to type: custom:power-wheel-card in a dashboard it says the type does not exist
OK I see a 404 in the web log for that. I changed it to /config/local/power-wheel-card.js and now it loads ok. but still not known when i try to add it
OK that URL is wrong
I'm running HA in Docker. Where should I be putting my custom cards?
ugh. so you can't symlink cards into the www directory, even from elsewhere in the config directory, it seems
Is there config option to allow a certain number of camera mjpeg streams? I have 8 cameras but only 6 ever show in the UI - whichever are the last two don't display so its not the camera configs
@dry solar you should put cards in config/www. If you just created the folder you should restart
thanks it's working now. I created it, dropped the file in there (not a link to it), restarted, and refreshed the UI
I had cloned the card's repo into another dir in /config and symlinked the .js but that didn't work. pity as it would make configuration management easier
@heady wharf HassOS == use the #330990055533576204 channel for this problem
Hello everyone, I'm a neophyte to Home Assistant as I am trying to learn and migrate away from Homeseer that I have used for years. Thus I am trying to take things slowly and learn something new each day.
I am currently trying to decide the best way to organize my devices. I used "Rooms" before and now I believe that would be "groups" and possibly "views". It seems that "views" are no longer handled in the groups.yaml file. Using the gui and the "Raw Configuration Editor" I found the "views:" I created... Now I have opened every file I can find and I cannot easily find the "views"?? I would have thought there would be a views.yaml file? or a file that contained the code I see on the "Raw Configuration Editor", but I cannot find this code??
Hmmm when I do that (using a dummy entity) this is what I get:
https://i.imgur.com/9FJsXPU.png
@earnest swallow Interesting we have different results. Only difference I see is my max is 20 and not 100.
@hybrid ravine If you use the UI editor then you're editing a hidden file that you shouldn't be touching manually (it's in .storage/)
groups aren't used for the UI any more, and personally I tend to use cards for rooms, and views for floors, but YMMV

@teal swan Wrong channel AGAIN 😉
@teal swan Wrong channel AGAIN 😉
@split granite sand halp
@teal swan Not sure which install you're using?
-
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
One more time lol
This time, maybe read the bot message...
@hybrid ravine If you use the UI editor then you're editing a hidden file that you shouldn't be touching manually (it's in
.storage/)
@split granite
It seems one of the things I am learning about HA is that its constantly evolving as an Open Source solution. I have to say that's a Pro and a Con as I'm learning that many of the videos / tutorials I am finding on YouTube and forums are "out-of-date".
I have played with "cards"... I had envisioned a control panel in each room.
The default display for that panel would be that rooms "devices" as well as buttons for each of the other rooms available. If I was in the Master Bedroom and wanted to control the "Outside Lights", then I would push the button for "Outside" and the display would change to show that locations devices. When done, press Home and the default for that room displays again.
So I have been reading and watching and trying to determine how this could be done with HA.
Yeah, videos become outdated fast
It does sound like views cover what you're after though
Before I go to far here, am I in the right place choosing "frontend"? I am also a neophyte as far as Discord goes as well.
As a rule, anything you can see or click is #frontend-archived. The #automations-archived and scripts you might want to trigger from the frontend should be discussed there instead. Any time you want help writing a #templates-archived , even if it's going to be used in one of the previously mentioned places, go there. This server is pretty well-organised 🙂
#integrations-archived are how you connect HA to other things (and various internal things too)
I am currently running HA on a NUC that has Windows 10 Pro. I used VirtualBox to create a VM. I'm using "Home Assistant Core 0.110.7" . I have created a DuckDNS and am able to access system from outside. I have also followed the steps to create a custom "skill" for Alexa and can now ask Alexa to control HA devices. I played around with one option to be able to switch themes as well. I created a new "Main" .... ahhh.. is it callled "panel"? since "Overview" is a mess of everything...
Well that's it for me tonight... Thanks to all that so quickly responded.
I did find a way to create a button that executes a URL to the new view... not elegant as the complete display jumps and switches vs the "frame"...
Hmmm when I do that (using a dummy entity) this is what I get:
https://i.imgur.com/9FJsXPU.png
@earnest swallow identified my issue, could not believe: it's a theme issue. using default theme all is fine 😞
offending line: label-badge-red: "var(--primary-color)"
I started digging into the theme because it worked for you and not for me
Anyone got any ideas on the right place to start to make custom android notifications that I can use on a lovelace card. I.e Dropdown or custom input with a button to send to a specific device?
Ive managed to figure out how to get them based on an automation from a state change. But I would like to have a card that I can use instead.
You could use input_select or input_text @unique jay
@split granite I'm kinda stuck on what to do with the frontend to begin with to be honest. I.e what type of card to use and where to even start coding it since its clearly not a standard gui costomizable thing
Create your own then 😛
There's a good selection of stock cards, and a huge selection of custom cards you can add yourself
For simplicity, an input_x plus a button to call a script that sends the notification, or just a long press action on the input_x
@split granite haha I'm a bit special. I'll give that a go. :)
~irc 😉
Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
Sorry! :)
lol, you apologized to the bot? 😄
is it possible to force the decimal places on an input_number?
I'd like it to always one decimal place, like 21.0, not 21.
https://imgur.com/a/Pc7ckjS
But that's not the solution this time. I have 0.5 steps, but when selecting 21.0 it displays 21. I want it to show 21.0.
So if you set it to 21.5, it shows 21.5?
can tabs be centered?
@karmic tiger Yep!
21.0: https://imgur.com/a/Pc7ckjS
21.5: https://imgur.com/a/OyFytv9
custom slider-entity-row
^ There's always a custom card 😄
I'd guess the Lovelace stuff is designed to always round. Doesn't matter that your input_number has decimal steps.
Hello, what's the best way to represent a camera image (with refresh) on a floorplan map? I'm having troubles when the image is updating or fails to update... It shows blank or no image.
I would like to stay with the previous frame until I get a proper new frame.
Is this possible?
Depends on what card you're using?
good morning, i would like to know where is the standard theme of HA and his name in the register of entities, if he is there lol
thankyou
@polar kelp I can't find an attribute in the lovelace-slider-entity-row to specify the decimal places.
the card works fine, but still shows 21 instead of 21.0. am I missing something?
I don't see an option for don't stream
I don't understand, sorry
Nice work! You might want to share those on the forum/subreddit, I'm sure people will appreciate them.
Hello, what's the best way to represent a camera image (with refresh) on a floorplan map? I'm having troubles when the image is updating or fails to update... It shows blank or no image.
I would like to stay with the previous frame until I get a proper new frame.
Is this possible?
I'm using "picture-elements" card
So after upgrading to 0.111 - I've got a graph rendering issue that I can't seem to shake. It looks like a timestamp issue; but I dipped into the database for states and see that the timestamps are correct with time zone and all. Wondering if anyone can think of any changes that were applied to the latest release that delt with timestamp ordering or graph rendering.
You described what you think the problem is. What's your actual issue with the graph?
imgur
what's your TZ?
'America/Los_Angeles'
correct
er -7.
state_id | 26768331
domain | sensor
entity_id | sensor.officetemp
state | 76.2116
attributes | {"unit_of_measurement": "\u00b0F", "friendly_name": "OfficeTemp"}
event_id | 27187891
last_changed | 2020-06-12 09:57:03.010495-07
last_updated | 2020-06-12 09:57:03.010495-07
created | 2020-06-12 09:57:04.004343-07
context_id | f1ae44d4b9b0412098790c5ac6eab63b
context_user_id |
database timestamps agree too
Do all the timestamps in the DB look correct? both graphs seemed to correct themselves for the latest data point. Where as older ones do not look correct.
either way, if it's in the database, there's nothign you can do other than fix the database.
Right; so let me investigate the database quickly and will report back.
DB timestamps look clean:
sorry -imgur burped on that first link
Some more supplemental info: The graphs in custom:mini-graph-card (hacs add in look fine)
clear you cache and refresh the page
I just did that and no dice there either.
I'll be out for a bit @tacit cave. Appreciate the help thus far; will follow-up with any messages you send here when back
Hey folks, is there any easy way to translate this to german:
{{ now().strftime('%A') }}
It's always in englisch :-(
Thanks for your help
That's a #templates-archived . And no, you can't - the Python stuff it uses always seems to use English instead of your local language.
Someone in #templates-archived might be able to find you an alternate but it won't be as neat.
Thanks, thats exactly what I tought :-(
I'm using a hacs addoun using strftime and it has the same behavior.
getting an interesting error msg... Resources need to be specified in your configuration.yaml. Please see the docs.
Is it possible to manipulate the value as shown on a gauge card in lovelace? I have a gauge cards the shows my download speed as provided by my modem in KB/s which I want to convert to MB/s.
@solemn sable use a template sensor
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)
Whoops, that was meant to be a link to https://www.home-assistant.io/integrations/template/ 😅
Thanks, I will have a look.
You'd want to do something like {{ states('sensor.download')|float / 1000 }} in the value_template which will simply divide the sensor value by 1000
So after upgrading to 0.111 - I've got a graph rendering issue that I can't seem to shake. It looks like a timestamp issue; but I dipped into the database for states and see that the timestamps are correct with time zone and all. Wondering if anyone can think of any changes that were applied to the latest release that delt with timestamp ordering or graph rendering.
@inland perch I had the same problem. This PR https://github.com/home-assistant/core/pull/36746 fixed the issue for me at least.
Is there a way to not have the UI editor for automations, scripts, helpers, etc., remove comments in our custom yaml files? I had a file with a lot of comments, then created a new automation in the UI so it could write the yaml for me, and when I saved it, it completely reformmated my automations.yaml file and removed all commenting. 😩 Is there a way to have it leave the commenting intact? Otherwise, it's an either/or proposition with editing with the UI. You're left guessing what you did if you look at the yaml file.
OK, thanks.
hey. can I remove the menu bar to the left on a Ipad??
hi all, yesterday i updated to the last version of HA. now when i try to open my dashboard it takes for ever to load the page. is this a common issuie?
@vapid field there's a custom component "Custom Header" that can do that
does anyone know if it is possible to get the forecast (rain, temperature) form the netatmo webinterface into home assistant? It's just the best visualization for rain I can imagine.
is it possible to create button that open url in same tab in fully kiosk browser?
Anybody else experience empty histories for some of their sensors after upgrading to 0.111.2?
Using mysql as the recorder.
Installation via venv on a linux machine
Checked the log file?
@split granite After upgrading, HA wouldn't come up. I had to restart it and then I got a "Ended unfinished session" error. Restarted HA and now some of my histories are empty. Only current log error is regarding zeroconf
I suspect you've got errors about the recorder lurking there somewhere
Corrupted DB?
Yup, that's my bet
Delete it 😄
Ok. I can delete it.
Dang. I also push the data to influxdb. So I didn't loose it at least.
Well the internal DB is only temporary anyway, so it's not big loss. It only stores 10 days, so you're already doing the right thing keeping stuff you care about elsewhere.
@karmic tiger good to know.
Good morning again....
picture-elements card, state-icons are giving error indication icon.
Probably means missing entities
ok, thank for direction to look in.
that's it. no longer recognizing names that were associated
Deleting the database did the trick. Thanks for the help.
I take that back. It worked for a minute and then stopped. I'll let it go for a little and see if it starts working again.
how do I unpack the weather.home object?
With #templates-archived
When I click on sensor graph view, it says they have been updated within the last minute, but nothing show up. Seems like it might be a frontend issue.
picture element card. my tap_action is only turning light on, no turning them off, with "toggle"
and not necessarily reflecting the state of the object
Hello guys, I hope some one can help me because im stuck for day's. im building a house alarm with BWAlarm (ak74 edition). Now i have a view called alarm with the alarm card but is there a way to redirect a specific user to the alarm view when the alarm entity went to armed?
i have a tablet in the kitchen with the user tablet, the idee is that this device redirects to the alarm view as soon as the alarm entity is armed.
Is there a way I can override the login page so if someone ends up on my public ip they won't know it is a HA install?
If you do that, you won't be able to log in either.
If you're that worried about security, set up a proper reverse proxy with an access control list.
And 2FA
Security through obscurity isn't really security at all.
@karmic tiger if I do that do you know if I will I be able to keep my Google Assitant integration given there will be a second layer of login? Maybe I need to check the Google integration if they accept extra login parameters. Thanks @split granite I already enabled 2FA
through the API I meant
And an ACL doesn't make you log in twice, either. It just restricts who's allowed access to a resource - the proxy would bounce them right back out if they're not on the list.
It's the guestlist to your private club. They don't get to peek indoors.
2FA is for login not API access
I ll do more reading on ACL nginx i confused it with htaccess login
@inland perch I had the same problem. This PR https://github.com/home-assistant/core/pull/36746 fixed the issue for me at least.
@vapid field Thanks! I'm going to check this out right away and report back!
@vapid field Can confirm that if anyone else is having graph rendering issues; upgrade right away to recently released 0.111.2 and it will probably fix it. Cheers 🍻
i stil have the groups....how can i quickly put them on panels?
funny...but lovelace shows them on the home tab...just wanted to move them to own tabs
Take control of your UI and edit it...
Groups aren't used to shape the UI any more
So... if you're not using them elsewhere, sure
hmm...right i use them in automations....
Then don't delete them
my config is pretty old...still from 2018....was to lazy to remake them
Hi all, I have a question. I have an horizontal stack with several media player, ths stack has a conditional card for media players so if they are off or unavailable they are not shown. this os OK, the thing is that if I turn on one of the media players they wont show unless I restart HASS. is there any kind of srcipt or autonation i can run to check the players and show them if they becone online? thanks all for your help
@split granite filter or conditional works OK to not show device when is unavailable, the problem is when the device becomes available, the state is not updated therefore is not shown unless I restart hass
Never seen that
this is the core I have for example: cards:
- card:
entity: media_player.gvolumio01_2
type: media-control
conditions:- entity: media_player.gvolumio01_2
state_not: 'off' - entity: media_player.gvolumio01_2
state_not: unavailable
type: conditional
- entity: media_player.gvolumio01_2
this is to avoid showin errors on lovelace if the device is off, and it works ok
the problem is that if I turn the device back on it does not show unless I restart HASS, is there a service, automation, etc I ned to run in order to get the update state of the device and then been showed?
You're listing the same device twice, the results of that may be unpredictable
that was made automatically by the conditional card in lovelave, the first is the entity and then there are the conditions which state that device will be shown if is not off or not unavailable
It was made via your input. You added two conditions.
A condition doesn't take a list of possible values, you provided more than one condition.
thx, but that is not the issue, the issue is that if the device becomes available it still not shown
unless hass is restarted
This link might help you: https://discordapp.com/channels/330944238910963714/460846676358332417/721451065270206584
Brain fart... oops.
hello, does anyone know how to redirect a user to a specific view as soon as a entity change to a specific value?
I'm not sure you can redirect like that... but you could have a set of conditional cards to show different things based on different states.
yeah i know that but this is for my alarm system so the idee is that when the alarm is armed the tablet in the kitchen wil show the alarm panel.
Conditional cards could show everything you have on your alarm panel, right?
so the option is an condition card with if alarm is armed then show the panel otherwise show normal buttons?
am i correct?
That's how I'd do it
lets try thnx 😄
is there an else function for de conditional card?
or do i have to use the card 2 time's once if it is true and once if it is false
There's not, but you can use custom card state-switch instead.
i think thats what i need 😄 thnx
There's nothing wrong with your approach, though.
oke 😄
Hey guys. There's an annoying feature that i cant figure out how to prevent...
I have 4 users. Each user has their own 'Overview', and I have set "visibility" to only their own view.
However, if a logged in user changes the URL in the browser to a different user's url, it shows their view after re-logging in.
Can this be prevented?
e.g. login as user1 and user1's overview is shown (/lovelace/user1), change the browser url to /lovelace/user2, re-login as user 1, and user2's overview is shown.
Crosspost, because I actually believe it is a frontend bug, if an addon could not be updated (probably due to low disc space), but the update button is no longer available:
Hi, the update of some of my addons failed due to too low disc space. Now all of them fail with:
20-06-13 22:43:27 ERROR (SyncWorker_6) [supervisor.docker] Can't create container from addon_a0d7b954_influxdb: 404 Client Error: Not Found ("No such image: hassioaddons/influxdb-amd64:3.7.1")
Is there a way to recover the update process? Or would a de/reinstall keep all my settings?
Probably not frontend at all.
404 Error for docker usually is a result of one of these things:
-
The image tag you are trying to use does not exist (if this is the case you will see the word 'manifest' in the error)
-
There is not enough space left on the device to download the new container.
And crossposting = bad
Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.
No, it is a frontend bug.
The same happened with the Supervisor update, same error. But now after the resizing of the fs it worked,
Again, the 404 error was because of the disk space. That one is clear. But there is no "update" button anymore on the addons.
So... have you tried turning it off and on again? Restart your HA.
And if there's a chance it's a visual glitch, clear your browser cache for HA and try again.
Would a de/reinstall of the addons keep their settings?
I guess it depends if they store them internally (in their own Docker container) or in the central HA stores.
...and data, of course...
Not in my experience. They go back to defaults
After a lengthy restart the same error persists. The addons are greyed out and cannot be started, because their images cannot be found. Maybe I can restart the pull process manually.
The error seems to be solved. A "docker pull imagename " fixes the missing images. This might indicate that a "re-pull all images" might be a worthwhile feature.
But if I am the only one who ever encountered this error...
https://www.home-assistant.io/lovelace/dashboards-and-views#state-label-badge
What should the type be? entity-button throws an error? Also how can i hide the badge text?
show_name: false
seems to be ignored.
I'd just like to remove the text from a badge.
badges:
- type: state-label
entity: sensor.room_temperature
name: Room Temperature
show_name: false
The name is shown, it cant be removed. If i delete the name: line, it shows the entity name instead.
Try name: " "
The space between the quotes is important.
That's definitely a bug, though...
I'll put that on my list.
Yes, name: " " works for now. Cheers!
Here's another bug:
I have 4 users. Each user has their own 'Overview', and I have set "visibility" to only their own view.
However, if a logged in user changes the URL in the browser to a different user's url, it shows their view after re-logging in.
e.g. login as user1 and user1's overview is shown (/lovelace/user1), change the browser url to /lovelace/user2, re-login as user 1, and user2's overview is shown.
I'm trying to use a different card configuration on mobile and desktop and the only way that I've found to do that is to use the state-switch custom card and differentiate based on deviceID. Is there a way to do it based on useragent?
It seems like all the info is available in custom-header and browser_mod, but I can't figure out how to put it all together. Or if it's even possible
calling out each deviceID and including the right card config is possible, but seems hacky
Can you have relative navigation paths instead of having to have the dashboard name in the URL?
I'm using the iOS app for mobile, so I don't think I can change the path there. I guess I could make that the default and use a different path on desktop, maybe, but it also seems pretty hacky
I'm trying to minimize the amount that I have to duplicate. If I could just get to "useragent" in the template for state-switch, it would do it. It's available as a variable in custom-header
I feel like there's some magic that I'm missing
the weird thing with DeviceID is that I get a different one in the iOS app if I'm connecting on my local LAN or if I'm connecting through Nabu Casa. And they're both persistent, even though it seems like it's the same browser instance, just a different URL
what's the closest custom card to history-graph?
I doubt anything is that basic
https://github.com/kalkih/mini-graph-card is likely the closest, but that's more like the sensor card
Yeah I did try that, but it doesnt show data in the way that the history-graph card does 😦
It's very configurable
Of course, once more we're in vague statement territory, so good luck
It doesn't show graph lines for example
Its good as a card but no so much when you want to see data plotted in a graph
Hi, can someone help me out: I'd like to use a value_template to define the "friendly_name" of a sensor, how do i do this?
You can't
hmm that was not the answer i was hoping for... but thanks!
You can add it to customize.yaml
The friendly_name there is a string not a template
sensor_name:
name:
wouldn't work?
ok, thats a pitty, but thanks anyway
@finite pond they want the friendly name to be dynamic with a template but that's not possible
Ah! Ok 👍
Hi all, I cannot change the default lovelace dashboard on my iphone. If I go to settings to 'set as default for this device' nothing happens...
Solved, you need to re-load 🤓
@wind spire while not exactly what you asked for, this might do what you want: https://github.com/thomasloven/lovelace-template-entity-row
@polar kelp thanks will give it a Spin!
Since 0.111 I have to clear my webcache for all my custom cards to load correctly after a reboot of HA. Anyone else have this issue?
I have to refresh the page, but not clear the cache
Okey, I try that.
Now it work after a reboot. Didn't even had to reload the page. I only reboot on updates, so its maybe why.
If you still had the page open then the resources were already loaded
Hi all... I am just playing with card-mod for the first time. The install and use seems to be stupid easy.... but its not doing anything 🙂 I have card-mod.js in my lovelace resources in configuration.yaml like my other resources. Then I added this code to the card:
style: |
ha-card {
bachground: red;
}
Lovelace is set to YAML mode, so install was manual. Maybe missed something there?
oh.. card-mod.js and card-tools.js are both in www root folder and resources reference /local/...
tap_action:
- action: call-service
entity_id: switch.cam_backstreet_12th_a_st
service: switch.toggle
Would this work?
tap_action:
action: call-service
service_data:
entity_id: switch.cam_backstreet_12th_a_st
service: switch.toggle
Not sure if this is the right way to send a screenshot, or whether screenshot is allowed.
Anyway: got confused by the friendly_name and the name entity setting, are they the same or different?
I have HACS telling me I have 3 Lovelace elements that are not loaded properly in Lovelace. Yet no other information and the logs dont tell me anything.
HACS -> Frontend -> look for the highlighted cards
Gotcha thanks! Two I dont care about and mini media player card
Has anyone come across a bug where they make a new tab in Overview and during Configure UI, can't edit view and delete view because the configuration window that comes up shows a different tab?
I basically don't know of another way to delete a tab besides the way mentioned above.
Hello, I'm trying to set up a picture element in my frontend and I am trying to use a locally stored image on the computer but it doesn't seem to work. Is it possible or is there something I am doing wrong?
This is how the configuration looks:```type: picture-elements
elements:
- type: state-badge
entity: sensor.time
style:
top: 32%
left: 40%
image: /usr/share/hassio/homeassistant/pictures/nedervaning.png
/usr/share/hassio?
I believe all assets used by the frontend have to be exposed in the www folder.
Oh, ok. Though that would make it accesible by anyone who got the url right?
Who's getting into your HA network to find the image without knowing how to get into your HA first? 😉
Also... if your browser can't reach that image, it'll never show it.
Files in www do not require authentication
True, true. I might be a little bit paranoid about that one. I guess I will go with that option then. Now where would I store the www in my case? It says on the documentation that you should put it in the /cónfig folder. So would that be the folder where all the configuration.yaml and so forth is stored?
it can be considered a security risk if you're hosting sensitive files
If you don't already have /config/www, create it.
it can be considered a security risk if you're hosting sensitive files
If you're hosting sensitive files, you should have more security 😄
Well in regards to using it for a security camera image
In case anyone wants my 60-minute white noise mp3, it's at /local/audio/white_noise.mp3
Of course, you need my hostname first
So I should literally create a file /config/www, in the root part of the system
So I should literally create a file /config/www, in the root part of the system
Wherever your configuration.yaml is, make a/wwwnext to it.
Restart home assistant after making the directory
Yeah ok
Hi all... I am just playing with card-mod by @polar kelp for the first time. The install and use seems to be stupid easy.... but its not doing anything 🙂 I have card-mod.js in my lovelace resources in configuration.yaml like my other resources. Then I added this code to the card:
style: |
ha-card {
bachground: red;
}
Lovelace is set to YAML mode, so install was manual. Maybe missed something there?
Card-mod.js and card-tools.js are both in www root folder and resources reference /local/...
bachground? maybe background
a more musical version
Is there a way to use a zone in a conditional card?
@torn python Ya 🙂 that wasnt the issue. Typo in putting it here.
I am at .111 so may be this issue: https://github.com/thomasloven/lovelace-card-mod/issues/52
anyone here using Upcoming Media Card
I am trying to find out how to put it in fan art mode
found it
after upgrade from 0.111.1 to 0.111.2 the History Graph does not work anymore.. the graphs are loading but the data is not present on them, (in developer mode i can see that the /api/history url returns proper data), what can be wrong.. ?
There's a fix coming for that in 0.111.3
clear, thanks a lot!
@unique pagoda posted a code wall, it is moved here --> https://paste.ubuntu.com/p/kYpzcWMdSB/
code wall is your mother @@
@unique pagoda Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
What are you trying to do?
Thanks @blazing turtle
@split granite I'm trying to optimize recorder, definig includes and excludes
Ok, and the problem is?
where is the complete list of domains that ha suppoert?
That's not the problem, but in the source
I didn't call it a problem
I asked what the problem was, and you answered with a question 😉
https://github.com/home-assistant/core/tree/dev/homeassistant/components
or see
-> Info to see what's loaded in your system
wow, thx a bunch for this
though I have duckdns configured but can't find the duckdns domain for recorder
my scope is on optimizing recorder
Best thing you can do is move it to MySQL/MariaDB/PostgreSQL
I aqm on Maria DB but really don't weant to keep track on sensor.date etc.
braking down the topic is statting by domains
If you use only include then everything else is excluded automatically
All this though is more #integrations-archived than frontend related
Can icons be changed for auto-entities, @polar kelp?
Yes. With options
how do I get rid of a HUGE HACS logo in the background of all configuration pages?
Update hacs and clear browser cache
that worked, thanks @polar kelp
When I click on the entity in lovelace the history is lost
0.111.2?
@split granite Yes
0.111.3 will fix it
Thanks!
Guys, is there a lovelace dashboard card that I can use a pattern to include entities? e.g.:
- use
area: Kitchento indicate I want all the entities whose area is Kitchen in this card - or use
eneity_id: light.*to include all the light entities in this card
Auto entities
@split granite Looks perfect for what I want. Thank you, you are awesome!
The awesome people are the ones who wrote those things 😄
Indeed!
Aww you!
The only mod ability I am jealous of
Heh. We're singing that one in my choir at the moment.
Now I really have to make sure to wrap my urls
Great powers etc.
Hi all.... Is there a way to use zones in a Conditional card?
Describe what you want it to do and someone will tell you if it can.
I want to hide automobile cards if the automobile is not home.
I dont need my wife remotely locking me out of my car 😄
Assuming the car is a device tracker or has a sensor, just create a conditional card on that
hi all, can someone tell me how to see the root directory in file editor HA, I vaguely remember a line in config file that allows the back directory to root directory to operate
Yes, it is a device tracker. I can not find an example of a conditional card that uses a zone, just status's
Is there a way to work on templates and test without having to wait for HASS to restart on each test?
Dev tools > template @blazing turtle
UI gurus, is there a way to add css filters to card backgrounds?
im having a hard time identifying the div for the card backgrounds, do you happen to know it?
just ha-card isn't it?
do you think it'd be possible to set via a theme?
A filter?
yes
no
blast
you can try it on --paper-card-background-color, but I doubt it will work
ya already tried that lol
You could make a custom plugin that inserts a div in ha-card that you can apply filters to
FYI, I have an open to-do for the exact same thing. Card-mod may have an issue at .111. Have not heard back from dev yet, but seems to be an open issue that could be related.
hmm applying the filter to ha-card filters the whole card 😦
Yup, that's why you'd need to apply it to a different element
👍 nice
i assume there's not a global way to hit all cards right?
not that I know of, but you'll have to read through the card-mod docs
how do i tell what my username is for user I just created I looked under configuration and users and it shows my name but not the username.
is that in the web interface i tried logging into the backend
are you logged into the user account in the frontend?
yes
And the user name doesn't match the display name?
it shows my name which is not what i chose for my username
I am trying to verify the username is right because I can't login on my phone
I am pretty sure the password is right but the username maybe it cut off characters when I typed it or something. So trying to verify what I set it to.
Well it will show in <your-config-directory>/.storage/auth
how do you access that directory.
You have to have access to your configuration directory
is there a file system somewhere
Not sure which install you're using?
-
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
What installation method?
raspberry
Look at the four options above ☝️
from the bot's response?
yes
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
I flashed with etcher and booted on a pi
Okay, then you should be able to install addons. There are quite a few that give you access to that directory. SSH, VS Code, Samba
VS Code would probably be the simplest
i guess other option is just create a new admin
This add-on is not available on your system.
for VS Code
That would be a way to get a valid username, but you'll still eventually need access to your configuration directory
I originally tried the file editor but could't find directories using it.
little bit insane to find a username 🙂
🤷 a lot of people would agree with you. Unfortunately that doesn't change the current reality
it appears that the username can only be so many characters I just tried to create the one that i thought i created it didn't work.
so i just made a basic user
with basic password and it worked
So it looks like I did not know the password ultimately. I just created a new admin and logged in as them and deleted the old one.
does anyone know how come my top header + the sidebar dosen't get themed? ive tried multiple themes through hacs but it never gets themed and stays with these colors https://imgur.com/a/JndJJWz Im on 0.111.2
I saw people mention this issue on version 0.108 and I tried those fixes but no luck
Changes made to customize.yaml reflect immediately?
No
how to add with auto-entities card, to be presented all my sensors which has state: "unavailable"?
I didnt find appropriete example for doing this on https://github.com/thomasloven/lovelace-auto-entities
Can you add your own menus to Lovelace?
Depends on what you mean by "menus"
Well, my understanding of HA is still quite limited despite reading the docs
But I've added my Broadlink remote in config.yaml , and it shows up in my entities list
So my aim would be to be able to have buttons in Lovelace I can press to run custom IR codes on that Broadlink
Yes, you can do that
The best way to accomplish this is with a custom card, but you can also use vanilla cards if you don't mind losing some customizability
Thank
The menu on the right has a list of built-in cards
the vanilla button card seems to be what I want, just a press to trigger a sequence
You can make a script and attach it to a button card
hmm, I see
HA is turning to be a bit more difficult than I'd anticipated
But also a lot more user configurable than I expected
Scripts and Lovelace views are both configurable through the UI, I'm not sure how much easier it could be
Oh also,
What exactly does the HA widget on Android do? it just says "configure service call" or something
Is it like a button but for the desktop rather than Lovelace?
The flexibility means you need to learn more I'm afraid
Widgets are just shortcuts to defined actions. So yes, you could, for example, turn on a light with the single press of an icon
Ah, that's actually exactly what I would want, triggering right from my home screen
That's usually the case with anything that's well-made
@chrome epoch Mind if I frame this and put it on my wall? You'd not believe how few people understand this.
I might run out of buttons though for how many things I want to do 😂
@polar kelp of course, just attach - Zoe ;)
or Confucius
same person
Confucius say: he who wants pretty UI, needs to put in minimal effort
Besides, using and configuring HA is still nothing to the pain that was my attempt at installing ArchLinux, that takes that flexibility learning thing to a whole new level
Since I might as well ask as I've been wondering, why by default does adding a Chromecast add a power button to Lovelace?
It doesn't actually turn it off it just opens an odd screen
And for some reason has a TTS menu which tbh I didn't even know a CC could do
TTS is one of the major benefits of chromecast
not sure what you mean by "odd screen"
uh
well turning the "power" on and off just sort of flips it to a splash screen
it doesn't actually turn it on/off
Well there isn't really an "off" state for Chromecasts
Since you are so new, I would suggest taking a look at the glossary for HA. It will be a good reference for understanding certain important concepts
It will help with some terms that can be confused. Like entity vs device, or action vs service
How can i fix or troubleshoot my header bar not showing after update?
The standard header or do you have custom components installed that modify it?
Thanks for the hint, i forgot that i had a custom component that modified the header
just updated it and it's fixed
Hey does anybody know how to make the lovelace thermostat card work with a water_heater device?
Am I able to call two service actions from a single tap_action behind a button?
tap_action: action: call-service service: input_select.select_option service_data: entity_id: input_select.living_room_fan_status option: High action: call-service service: fan.set_speed service_data: entity_id: fan.living_room_fan speed: High type: button
lovelace does not like the above code
You can't define more than one service like that
if you need to make multiple service calls then put them in a script
good idea, thanks!
Hi lovelace pros
im trying to center this text (its an entity card)
maybe with some ha-card css template?
question, I've created an input_select
input_select: fan_status: name: Fan Status options: - off - Low - Medium - High initial: off
why does lovelace show "False" when in the off state instead of "off"
For anyone interested, found this in the documentation:
"Because YAML defines booleans as equivalent, any variations of ‘On’, ‘Yes’, ‘Y’, ‘Off’, ‘No’, or ‘N’ (regardless of case) used as option names will be replaced by True and False unless they are defined in quotation marks."
This is why you should always quote strings 😉
Hi all, anyone knows a prepared lovelace card with a wind bearing compass rose that I could try?
If you're looking for ready-made examples of things, the forums are probably the best place to start. If you ask here, you're hoping to get lucky that someone online at this very moment has an example.
so its been about year since i really did much with HA, but is it still not possible to simply list a bunch of entity attributes on a card? Ive unfortunately forgotten most things since I last used it and lovelace was just getting started. Maybe it was 2018. lol. Anyway, my switches record power usage and im just wanting to have a card with a list of power values. This is my first basic attempt ```type: entities
title: Power Usage
entities:
- entity: switch.media_server
name: 'Media Server'
icon: 'mdi:battery'
attribute: current_power_w
unit: 'Watts'
show_header_toggle: false```
Im getting the error Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.attribute` but received `"current_power_w", but im not 100% sure how to interpret that.
current_power_w is an attribute. It's telling you that it's expecting an entity/name/icon 🤷♂️
and those are the only 3 options?
I'm not even sure where you're getting that attribute field from. I don't see it on the docs. https://www.home-assistant.io/lovelace/entities/#options-for-entities
You can't just make shit up. You have to follow the documentation.
ha, sorry, i was going off an example someone else was used, but was probably dated
I somehow doubt it every accepted attribute. Why would they remove something useful?
Now what you can do is to make a template sensor based on an attribute (ask in #integrations-archived for help with this) and use that new sensor's state in your frontend.
oh, i had gotten it from https://www.home-assistant.io/lovelace/entity/
ah, that sucks. i hate that such hacks have to be done to display such basic info for data that is already easily accessible and stored by HA
i wish that we were past that
See if there's already a feature request open for it and +1 it. If not, open a feature request 🙂
hey everyone. totally unrelated to the comments above, but how would I go about filing a feature request for the frontend? 🙂
Via the GitHub: https://github.com/home-assistant/frontend/issues
Frontend only. Everything else is somewhere on the forum.
btw. https://www.home-assistant.io/lovelace/entities/#attribute indeed there
so i just had to set the type, so its ```
type: entities
title: Power Usage
entities:
- entity: switch.media_server
type: attribute
name: 'Media Server'
icon: 'mdi:battery'
attribute: current_power_w
suffix: 'Watts'
show_header_toggle: false
thanks @karmic tiger
is there a way to temporarily filter out entities in the Logbook?
I'm trying to set up the iCloud3 integration but I can't get the card to work
- title: iCloud Event Log
icon: mdi:information-outline
cards:
- type: custom: icloud3-event-log-card
entity: sensor.icloud3_event_log```
This is what I copy pasted from the docs
- title: iCloud Event Log
icon: 'mdi:information-outline'
cards:
- type: 'custom:icloud3-event-log-card'
entity: sensor.icloud3_event_log
^^This is with correct indentation I made
Neither work
ooh my god
Yes I get it now
That is a card definition
However
(probably needs the space removed after custom:)
Yeah and between ''
But when I click save the card just dissapears
Like completely dissapears
Is it possible to create a color picker such as the Light Entity Card, without having a light attached to it? All I need is to grab RGB colors from the color picker for other uses.
Do you need them to be in hass? Otherwise there are lots of color pickers online.
If you want the value returned to hass, you could probably make a template light, and use the set_color option to write the value to a sensor or whatever.
I want to set the color in hass, then use node-red to send the RGB values via MQTT
Then I think a template light should do. I don't know node red, but I suppose there's some service you can use to send data to it for use later.
I have the MQTT side figured out, it's just the color picker I'm troubled with - thanks, I'll look at template light 🙂
Hello
I have a picture-elements floor map with a lot of info... it's full of state icons, state lables, switches lightd cameras etc...
would it be possible to hide/show groups of those, with a sort of switch?
e.g. hide/show lights
hide/show switches
hide/show cameras...
Hi, i would like to make a manual timer in lovelave for a fan when i turn on the fan i can decide that i turn it off after half an hour or 1 hour. anyone experience this?
Maybe you can use a number input and turn the fan on using a script? Then in the script add a delay and refer to your number input
Hi, does someone have experience with custom css for the frontend? I want to customize the "kibibit" theme...
What’s stopping you?
I tried with loading a custom css file in my ui-lovelace.yaml but nothing happens...
- url: /config/themes/custom_css/custom.css
type: css
If you’re trying to edit a theme then just change the variables in the theme yaml file
That is the problem, I think. I want to edit the ha-markdown-element - which is not in this yaml file
That can't be done that way due to shadowDOMs.
If you want to add custom css to a card then you can use card mod
Thanks for that information @polar kelp
@elder pendant this is only for lovelace cards, am I right?
@polar kelp Is there some workaround with JS or something?
There's always a workaround with js, but it gets messy really quickly
haha okay I got you 😄
You can use soemthing like this to find the markdown element when it's defined, and then inject styles into it https://github.com/thomasloven/lovelace-markdown-mod/blob/master/src/main.js#L5-L6
Okay, and I suppose I have to hardcode this override or how do I integrate my injection?
Thank you guys for your help! I'm digging myself into it now 😉
thanks @polar kelp testing it... now
it works like a charm
Great!
Is there a website where you can find inspiration for you lovelace UI?
You can find the community forum here
I wondered why sharethelove claimed to have examples but showed none.
What is the thing you need to change in your theme.yaml file to change the card outline?
Thank you!
Looks like they changed some things, fixed now
That was quick. They were watching us...
Last updated 11 minutes ago by Ludeeus seems like they were 😱
Haha. 'they' changed some things 😄
Gitbook changed some things, I had to update to make it work again
How do I change my location for weather in my Meteorologisk Institutt integration?
Delete the current one, add a new one with the correct location
You don't need the delete the current integration, but you won't be able to use the same name if you don't
Thanks!
Hey guys, anyone know if there is a way to disable the new changes that make the frontend load sooner? I run an active/backup setup would rather the backup be active until home assistant has fully loaded on the primary node.
There is not...
Not sure what you're doing that would require that
ok, how about a trigger for when it has fully loaded so I can call the load balancer api?
The homeassistant_started event fires after everything is loaded
perfect, thanks
Is there an integrated card / way to control the tilting of covers? So far I only get the up/down/stop icons.
I can as secondary_info display the tilt position though, so it's correctly read back at least from the cover. But now way to control it.
Nothing in vanilla HA?
Also I would prefer not to have two rows, but rather one with up/down/stop/tilt-up/tilt-down
You want buttons to increment/decrement tilt you mean? Not a slider?
If you're worried about space efficiency then you should be more open to using custom cards. Vanilla cards are pretty limited in terms of customizability
https://github.com/benct/lovelace-multiple-entity-row this allows multiple entities per row
Yes, I am aware of those external cards.
I however, usually prefer things that are in the core. I will ask the UI team if a PR for that might get accepted.
Thanks for your help!
how to make homeassistant configuration type cards
i create card but service icon not comming
type: vertical-stack
cards:
- type: horizontal-stack
cards:- type: entities
theme: midnight
entities:- type: button
icon: 'hass:home'
name: home
tap_action:
action: navigate
navigation_path: /lovelace/home
- type: button
- type: entities
Not sure if this is the right place to ask... I was told I should just use lovelace to develop control panels that I would display on Samsun Tablets in each room. So I am trying... I cannot seem to find a simple way to display in large letters or definable fonts etc. the date, day of the week and time in what I would guess is called a "card"? I'm new, so I would need directions that do not "assume" I know what I'm doing. I have found a few that say, just do this and then put this and under resources: and ... but don't even say what file to place this is or where to put the information etc. They all seem to assume readers are seasoned veterans of Home Assistant. Thanks!!
I'm fairly new too, but there's definitely a good amount of tinkering with Home Assistant, even just modifying the lovelace interface. You're probably going to have to start from the ground up to understand how it works in order to specifically get a look you want.
Probably not the answer you want, but if you'd like to get an easy start this is a great video to watch
https://youtu.be/sVqyDtEjudk
Not sure if this is the right place to ask... I am new to HA, for now is great!!, I created a group of lights like group.kitchen_lights... I created a floorplan (picture element) and work perfect with the individual lights (the icon change when I turn on/off them), but, I want to have only one icon per room that turns on/off all the lights of the room, and my idea was to use the group.kitchen_lights entity (i have 5 different lights in then kitchen), what type do i need to choose?
hello any help
I'm fairly new too, but there's definitely a good amount of tinkering with Home Assistant, even just modifying the lovelace interface. You're probably going to have to start from the ground up to understand how it works in order to specifically get a look you want.
@frozen whale
I have the Custom Header installed and that will help me configure the header and menu area to trim them down for users.
https://github.com/maykar/custom-header
I just figured someone must have figured out and have good instructions on how to add a date, day of week, and time card that can be sized so its readable from a distance. Reading now how to apply CSS styling to lovelace...
My biggest fear is that I'll find a how too, only to learn its out of date and not compatible or there's a much easier way with the latest rev of HA.
I did find an addon that lets me create Custom Panels and it was real easy to create the date and time block, but that's when someone said the latest way to create theses user panels is to just use lovelace.
hmm, anyone else use HACS? ive installed 3 frontend repos and 2 of the 3 didnt add the appropriate resources. Is typically required to be added manually? https://hastebin.com/duyadeseta.bash
@white drift posted a code wall, it is moved here --> https://paste.ubuntu.com/p/R6J77NtWhm/
Can you set a picture as the background of the entity card?
I don't think so... But that's why custom cards exist
I have card mod
You can set it with a theme, actually. But card-mod works too.
The variable is ha-card-background.
tap_action:
action: call-service
service: light.toggle
entity_id: light.mqtt_json_light_1```
This should work right?
That should probably be yaml service_data: entity_id: light.mqtt_json_light_1
But I'm not 100% sure.
All css variables are available for use in card-mod, but there you have to call it --ha-card-background as with any theme variable.
@polar kelp is it possible to add blur to a ha-card-background?
I think there's a css filter for that.
O was only able to add a blur to the entire card
Hello, after the update I've got this information for hours... Home Assistant is starting, not everything will be available until it is finished.
what is wrong?
Do you see any errors in the log?
nop
nothing unusual
Ive made a full shutdown
and reboot
i'm using a VM
usually is very fast
less than 1 minute to boot and full working
also from HACS HACS is starting up
HACS is starting up, during this time some information might be missing or incorrect
Check the log file
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
for HACS?
in HA I dont see nothing wrong in the logs
I'm using Home Assistant 0.111.4
HassOS 4.10
supervisor 227
anything I can do?
I installed custom header and the UI editor is hidden on the default dashboard. Can someone please direct me to where I can unhide that?
@uncut arch see: https://maykar.github.io/custom-header/#intro/notes
@rose garden I'd go ask in #330990055533576204
hello! does any one have any experience with the ha-chart-base?
I am trying to change the line color of 'line' chart
and ive tried every variable in the chart.js documentation and anything else i could find, and it still defaults to red
There's a very customisable custom mini-graph-card
mini, you say?
haha
i am so close with this custom card, i can change literally everything else, border color, fill color, marker shape, marker color,
just not line color
var mySelectedChart.getContext('2d')
i see strokeStyle

