#frontend-archived
1 messages Β· Page 178 of 1
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.
/local/filename.js
but now it just worked.. do not know what I did.. π maybe cache or something
could be. the problem with /local is that it's cached
if you install via HACS, it puts it in an uncached endpoint (I believe)
Since I run it on docker i don't have HACS :/
so you'd need to keep adding ?v=xxx to get it to update
you do, it has nothing to do with that
or... you can if you follow those instructions
Can someone please give me a quick sanity check on two questions? First, can a particular entity be customized by via multiple methods ie: customize: & customize_glob:? It looks like I can't do this and it uses first match but I just want to double check my thunks.
Basically I'm trying to set a friendly_name on a per-entity level but change the units of measurement in bulk.
Second even when I just give up and set both in one place, the unit of measurement change does not seem to be reflected on my history-graph card's scale. Not quite purely cosmetic because I don't want Relative Humidity and Battery % to be graphed together. I can work around it in a few ways, but now it is bugging me π’
Super trimmed down version of what I am looking todo:
https://hastebin.com/farahotozu.yaml
docker exec home-assistant python -m homeassistant --config /config --version
0.116.2
HACS is independent of install method
ok. then I will try to find a way of have that π thanks RobC
is there a way to add a QR code to lovelace dashboard? I'd like to add an image of a QR code for guest wifi
you just want to display an image?
yep
there's no facility in HA that I'm aware of to generate a QR code, just to decode/process one: https://www.home-assistant.io/lovelace/picture/
but you can generate a QR code anywhere an display it in a card
yep, that's what I did...got it generated with a phone app and have it ready to go
looking at the doc, looks like I only need to add these two lines
type: picture
image: /local/home.jpg
i don't need to call any service so I'm assuming I only need those two lines
looks good to me
testing but thank you!!!
@dark dirge would you know if I set those lines in the configuration.yaml?
no, it's a Lovelace card
I added the picture locally per the doc just now and I can hit the URL so it looks good so far
just need to add it to lovelace now
specifically, this bit:
To start, go to the Home Assistant Overview page, click the three dots at the top right of the screen and select βEdit Dashboardβ. Then click the orange β+β icon at the bottom right and select a card to add.
right...that's where I originally started...I assume it'll be the Picture Entity? I didn't think i'd be that since I don't have an entity for it, which is required
picture and picture entity are different things
you can see all the default cards on the right side
oh man
I totally missed Picture π€¦ββοΈ
I saw the Picture Entity and though that was the only one
sorry about that
that did it, thanks a bunch!
it's ok
I've had a long day
I'm here working on backing up my stuff
and configuring a few things
and HA craps out
π€¦ββοΈ
i should quit for the day
I've got some light groups defined from a HA server I just migrated away from (3b+ to a 4b). When I restart HA, the light groups show as greyed out/disabled until there's been a state change of one of the lights within the group. https://imgur.com/Aq4f2dm
How do I get the light groups to recognize states and be active immediately?
on my person. badge top of lovelace there is an unknown banner , how do i remove it , or make my person known .. ?
@plain onyx when in edit mode, select the pencil next to the view's name and then select the badges tab
ty
is this a known issue? (92% icon less full than 90%)
https://i.imgur.com/pwDkSD0.png
Has anyone designed any web remotes that can show an example ... Trying to get a few ideas. What I mean is Roku for say I would like a remote looking UI that I can use for up/down/left/right select ... Which is easy enough with scripts .. just trying to get it to look the part.
any wizards here that can assist me in setting up a card with buttons for my harmony remote? i want to have a button for each activity, but i cant get the information into my head where im supposed to put what to achieve this.
any wizards here that can assist me in setting up a card with buttons for my harmony remote? i want to have a button for each activity, but i cant get the information into my head where im supposed to put what to achieve this.
@dusky orchid are you trying to do a picture card to press buttons ?
Hello guys.
- type: history-graph
entities:
- entity: sensor.xiaomi_zncz04lm_01_watts
hours_to_show: 24
refresh_interval: 0
sometimes this kind of card shows a nice chart with a red line and sometimes it shows as a bar with lots of colors....
how can i force it to be the chart type?
@dusky orchid are you trying to do a picture card to press buttons ?
@vapid field i would like a set of buttons, that each one starts a activity or "preset" in the harmony hub, one for game console, one for TV-box etcetera
why wont this work?type: button tap_action: action: call-service service: browser_mod.popup service_data: title: Popup example deviceID: this large: true hide_header: true auto_close: true time: 20 entity: light.flux_desk_leds
it just wont show when i run it
He guys :)
If i go to my dashboard > + > Image element > Image Elements Map Configuration
Default setting there is
image: 'https://demo.home-assistant.io/stub_config/floorplan.png'
How to change it to something stored inside the rasp? I use HAS os + Samba server is online.. placed a image inside /media
@vapid field i would like a set of buttons, that each one starts a activity or "preset" in the harmony hub, one for game console, one for TV-box etcetera
@dusky orchid
Do you know what the presets that you want to call are ?, I usually use developer tools section to find out what I need to be using
He guys :)
If i go to my dashboard > + > Image element > Image Elements Map Configuration
Default setting there is
image: 'https://demo.home-assistant.io/stub_config/floorplan.png'How to change it to something stored inside the rasp? I use HAS os + Samba server is online.. placed a image inside /media
@thorny coral https://www.home-assistant.io/integrations/http#hosting-files
If you go to this link it walks through how to do it :)
Thanks for quick response :)!
No problem I like to self host it as is much easier for me to edit the files via SMB share.
why wont this work?
type: button tap_action: action: call-service service: browser_mod.popup service_data: title: Popup example deviceID: this large: true hide_header: true auto_close: true time: 20 entity: light.flux_desk_leds
@vapid field haven't used that feature personally, does the log give any hint to what may be wrong ?
@vapid field let me look 1 sec
@vapid field but here they describe to make an host with DuckDNS? can't i just use a full path to the samba /media file?
/home/homeassistent/media/woonkamer.jpg
@vapid field no logs
is there a way to make a popup with no browser mod
@vapid field but here they describe to make an host with DuckDNS? can't i just use a full path to the samba /media file?
/home/homeassistent/media/woonkamer.jpg
@thorny coral for me I use an SMB share with the HA server ... for example I use "image: 'http://192.168.1.210:8123/local/MikeRoom.png'" for the image ... the folder structure is "\192.168.1.210\config\www"
@thorny coral put your file in /config/www/media/floorplan.png
then you can use /local/media/floorplan.png on the lovelace card
@gusty wing the www file isn't there. So i created it change the:
/local/media/woonkamer.jpg
but didn't work
Yes done but doesn't work
wierd did u restart after creating it?
not yet but also that doesn't work for me.. I can't check if my configes are correct or not or restart the core. <serverbeheer> Falidate confige , restart server , stop they dont work
It sounds like you have more important issues to fix first.
You should always be validating your config when you make any change.
But you'll definitely have to restart before the www folder works.
I think i'll reinstall the hole Home assistent.. it's just a fresh install so I only added https://github.com/peterbuga/HASS-sonoff-ewelink To the config\custom_components
Also didnt worked
Found my 3 devices in fronted as new entities but doesnt work
Hello everyone. Quick questions. How do you guys have your views set up? like 1 per room? 1 per topic as in lights, acs, fans? or another way? Thanks
It's going to depend very much on what you have set up in your HA and how you like to organise it... but I have mine per room mostly, with one other view for all of the lights so I can use it as a remote control on my phone.
It's a very personal decision, since we all have different devices and different tastes in what looks right.
You'll find some really good examples over on the community forum under the Lovelace & Frontend topic: https://community.home-assistant.io/c/projects/frontend/34
i have an all in one dash with a lot of stuff on it.. and then i have a security tab for cams, smart tv tab, lighting tab, another tab to play around with the picture elements card with a floorplan
ok. I currently have mine per room but it was just to start out and keep it divided but now Im just wondering if its the best way.
@wintry gull there's no best way, unfortunately. All comes down to personal taste along with you're setup and even the devices you're displaying your dashboards on. There's no formula for it
reddit and the forums are good places to explore for inspiration, however
Hi all thought id try reach out on the front end channel. SInce enabling my SSL and turning it back off, all my Add ons are showing 401 unauthorised when conencting locally to HA ... if i connect through nabu it works fine ... any suggestions please ?
@kindred brook Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.
You asked in the correct channel already. Be patient and wait for an answer there.
Where would be the best place to post a question about homeassistant behind a proxy? Basically networking issues
The channel related to your installation method.
Yeah other seems more like it
Hello, I would like to use mini-graph-card addon from HACS. I installed it from HACS. Restarted my HA. I added a new lovelace card and used type: custom:mini-graph-card, its says : "No card type configured."
Did you add the resource?
Yes its inside by HACS.
I checked it manually, its there and the linking is good, showing the right place.
Now after a few refresh the error message changed: "Cannot read property 'length' of undefined"
What's your full configuration for the card?
Whats inside the default example on github:
- type: custom:mini-graph-card
entities:
- sensor.euro
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://paste.ubuntu.com/ or https://www.hastebin.com/.
Remove the leading β-β
@dark dirge Sorry what do you mean?
type: custom:mini-graph-card
entities:
- sensor.euro
Ah you are right, I totally forgot I already faced this issue once. Thanks for the hint!
Can I ask why is everything what is about Home Assistant writing with "- type:" ? instead of just "type:"
because it was written with the assumption that the user is editing the YAML manually
Ah I understand. That makes sense.
which was more common in the past, and is becoming less common and less necessary. But the documentation doesn't necessarily keep up with that transition
Thats right and totally makes sense. Thanks again for both of your answers! I'll keep it in my mind next time π
Hi all, I have searched through Github and the Community posts but can't seem to find any information.
Currently receiving an error on the UI: Unknown type encountered: vertical-stack
~share your card configuration
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
I don't see "path" or "icon" as options for vertical-stack: https://www.home-assistant.io/lovelace/vertical-stack/
the path, icon and title refer to the lovelace view rather than the vertical stack
then you're missing cards:
Perhaps I should make the yaml more explicit to resolve this
- badges: []
title: OpenZWave
panel: true
icon: 'mdi:z-wave'
cards:
- type: 'custom:ozw-network-visualization-card'
Yes, I have just added this and it has worked
Sorry for what turned out to be a simple fix!
np
im trying to setup a set of buttons within HA to launch my harmony hub activities, but i cant get it to work even if i follow along the instructions
action:
- service: remote.turn_on
entity_id: remote.harmony_hub
data:
activity: "Sonos"
gives me "Failed to call service remote/turn_on. extra keys not allowed @ data['action']
"
when im trying to call a service for "remote.turn_on"
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://paste.ubuntu.com/ or https://www.hastebin.com/.
seems like you have "action:" somewhere
@dark dirge this is copied straight from the HA site that tells me to do it like this. https://www.home-assistant.io/integrations/harmony/
and it's complaining about something called "action"
yes, im not really in the mood for reporting/telling the people over att the site that something must be wrong since its getting late.
You copied the example for a script/automation. You're trying to use it in a card, right?
Different syntax.
It also means you didn't share all of your config for that card. Share the full thing.
i want it to go in a card when i get something to work
right, that's an action for a xcript/automation, not for a card
i dont have a physical card yet, wanted to try and send just a command to see if anything worked.
are you trying to do this in a Lovelace card or automation/script?
Or somewhere else?
you're in #frontend-archived , so it's a little confusing
when i get it to work i want it as a card on my frontend yes.
wasnt sure where to post
You said it doesn't work. WHAT doesn't work? What are you trying?
nothing works, i have tried it as a script, and just tried the services as well, always gets an error message, i already hade the harmony intergration setup.
Hi! I'm sorry if this has been asked a million times before. But i could not get a hit on the Discord search on this room. I have made a copy of @Ludeeus's Bolierplate card and just changed all of the words "boilerplate" to the word "person" (trying to build a person card) and it builds nicely and starts up at port 5000. I have checked that the address is accessible from other computers on the local network and added it through the configuration -> lovelace -> resources config. But it wont show up in lovelace. What can be the issue here?
hi ! π Below is very wierd
- platform: command_line
name: 1234
command: "/usr/bin/curl curl -X GET http://192.168.40.210:8080/rest/api/v1.0/temperature"
scan_interval: 10
unit_of_measurement: C
value_template: '{{ value_json.sensors["28-00000b988fef"] | float }}'
{"sensors":{"28-00000b988fef":"39.562","28-00000b98f5e6":"34.875","28-00000b9905e1":"44.625"}}```
the result keeps saying unknown, and i can see in my pearl debugg that command: "/usr/bin/curl curl -X GET http://192.168.40.210:8080/rest/api/v1.0/temperature" is working well and its fetching that data.
please help
ps: Rest Api is not working as well
Youβre in #frontend-archived and you want #integrations-archived for your #integrations-archived question
Can someone tell me how i can display the output of my python script in a card? The script makes some get.requests and parses the json response. I want the parsed data to be displayed in my UI. Any thoughts how to do this? (The HA docs about python scripts didnt really help me unfortunately..)
hello there,
i use the custom:button-card to show a state in an icon, that works. Now I want to tap the icon to toggle a state in an other entity. The tap_action didn't work so far. tried with toggle with a service. Don't know the arguments. Any help for a state tap solution?
@distant silo try this: https://hastebin.com/elificujig.less
@halcyon basin thx helpt me out
Hi there, I'm looking for a way to have my atomic revive calendar card stay the same size. It keeps changing according to how many entries there are....I already took a look into the code....but I couldn't find anything as I'm not much of a programmerπ
I'm fighting lovelance: https://i.imgur.com/pP41j3y.png how can i get those buttons a bit more to the left?
yes, but it does not work the way you think (if you have certificates defined under the http: #integrations-archived )
ah ! i indeed discovered that i can't connect to my local url anymore (refused)
trying to find instruction on how to get the internal url working again, i don't use it , but it's handy when internet is down π
You don't
when you configure certificates, HA will only respond to https
https://IP:8123 will work, but you will get a certificate warning
@wheat current it gives me a connection refused error on IE/FF/chrome
Then; a) it's not running https, b) you have the wrong IP
hmm then it's A
Morning, all! Is there a way to reset the frontend to be automatically managed again? I'd like to undo my customizations.
ERR_CONNECTION_REFUSED
@exotic moth Just make a new dashboard and it'll be managed by default.
Thanks, mono!
Ludeeus: you were right - in my case a reboot of HA and now i can enter
'Turning it off and on again' - working since 1827
hello there, again.
Need some help in coloring in lovelace. I loaded a theme to Lovelace, it works. In the YAML file are many points like: primary-color: "#000000 is there a possibility to use the name: primary-colorfor coloring stuff in lovelance frontend? So when i change th theme to other colors, it changes with cards an stuff?
Hi. I'm using horizontal stack cards to put all my humidity sensors together but i'm trying to only have one title but if I leave the 2nd one empty it just brings the right hand side cards up. Is there a empty space character that I can use to stop this? You can see this at https://prnt.sc/vjm1jw & https://prnt.sc/vjm2jl
@green peak try this maybe https://www.compart.com/en/unicode/U+2800 ?
You could also leave the title off the first set on the left and instead put something else in a horizontal stack above them.
I was struggling to type those characters on my laptop keyboard but just found this whitespace website - https://qwerty.dev/whitespace/. That seems to have sorted it π https://prnt.sc/vjmabn
57 sensors on the mobile, surely this drains battery fair amount?
The many sensors are just extracting various individual bits of a large chunk of data that the phone keeps track of and provides to the app anyway.
that data is typically stays on the devices until it pushes to the oem ect, where now its pinging back to your home instants often no?
Has there been real life tests to see how much diffrents on and off makes... sure I could do this myself π
just wondering
Someone in #ios_and_mac-archived or #android-archived might know
@polar kelp Are there any known compatibility issues between custom:layout-card and Home Assistant 0.117.x?
I have tried the latest Firefox and the latest Brave (Chromium based) version. When browsing to a custom:layout-card, it stays empty, i.e., nothing is shown. Hitting the reload button doesn't fix the problem.
Any error messages in your logs @grim beacon
@tame dove Unfortunately, no.
Sometimes it works. However, when I reload the page, the output is empty.
@tame dove Do you use it as well?
Clearing the cache doesn't resolve the problem either.
It looks like https://imgur.com/a/tI9Lg46
OK, that's weird. When I switch to a view with a "normal card", hit reload and then switch back to a view with a "custom:layout-card", all entities show up. However, when I hit "reload" within this card, all entities disappear again.
which exact version of home assistant are you using?
Home Assistant 0.117.6
However, I have experienced this problem with 0.117.0 as well. So I went back to 0.116.x where everything works fine. Today I thought, let's give a 0.117 a shot again.
Well I can remove custom:layout-card and go back to the default one. However, on the one hand, rewriting my entire config will be a lot of work. On the other hand, I really like this custom card and its powerful features.
Btw, for the record: I have installed it via HACS a long time ago (long before Home Assistant 0.100) and have never experienced any problems.
sounds like this: https://github.com/thomasloven/lovelace-layout-card/issues/96
@dark dirge Thanks I will have a look now
Yep, that seems exactly the problem.
Seems like that I have to abandon "custom:layout-card" which I don't want because it has been always one of my most favorite extenstions. π¦
Or stay on 0.116 until there's a fix π€·ββοΈ
I've been in that same position several times
I've abandoned a number of cards due to debilitating issues
custom button card has some seriously cool layout capabilities
and there's a new "grid card"
(as I recall)
(coming in 0.118: https://rc.home-assistant.io/blog/2020/11/11/release-118/#grid-card)
@karmic tiger Yep, that would be a solution since I don't need any of the new features of 0.117. Although it would be great to stay on track with the updates as much a possible because I am afraid that after upgrading (after skipping a couple of releases) many other problems might occur.
@dark dirge Do you have a link/image on how such a grid card will look like?
just that link
OK, I have played around with it. When hitting the "Refresh" option from Home Assistant, everything works fine. However, when hitting the refresh button from the browser (or pressing CTRL-R), all cards disappear.
more about the new grid card: https://github.com/home-assistant/frontend/pull/7476
Hmm, looks interesting.
0.118 beta is out now
gdoerr wrote: I did a little testing and do not believe this is an issue with this card but a general Home Assistant issue with custom cards. I was able to replicate the behavior with several different custom cards as well as with a very simple test card built from the Home Assistant documentation. The issue is probably related to the lazy loading changes made in HA 0.116.
So perhaps the card is fine but Home Assistant is the problem.
there was a similar issue recently that was fixed
OK, I will downgrade and wait.
There is a known issue with custom cards in panel layout with 0.117.
I had hoped it would be patched earlier, but the fix will definitely be in 0.118.0
@polar kelp Thanks for the info!
I have just stumbled over https://github.com/home-assistant/frontend/issues/7384
Seems really like a more general problem. π¦
Yeah, that's the one. It was fixed in 0.117, I believe, but unfortunately the fix missed panel-mode.
I will just go back to 0.115.6 and wait for 0.118
Hehe
go big or go home
Dev it is then! π―
I admit that I am a sissy, so no beta. π
TBH, the beta is probably more stable then what you run now
you can always downgrade
...right...
Yeah, but the problem is that the amount of automations in my house are at the point where the movie "Terminator" starts. π
Suuuuuuure you can π
Hey i'm trying to integrate my home assistanto to alexa, i have everything set up except i can't seem to correctly access to home assistant from outside the network. i'm shown the login screen correctly, i put my credentials in, but then the site says "unable to connect to home assistant"
i have home assistant set up on a domain of mine, configured via reverse proxy (with letsencrypt) on an apache server
anyone knows why this happens?
Did you also set up websocket rules for your reverse proxy?
oh, i'm a dumbo dumb, didn't do that
you happen to know what should i exactly forward?
it's just ws://baseurl?
I didn't set up my reverse proxy manually, I used the nginx proxy manager. All I had to do was enable 'Websockets Support' when setting up a rule.
ok, thanks
is it possible to have an Picture Elements Card background be conditional? im wanting to have the background change based on my weather sensors output
@karmic tiger i solved that, but i'm sstill not able to make this work, since you already did this could you try help me out?
now everything seems configured correctly, i go on linking my alexa account to home assistant but then alexa is unable to find any devices
@soft lodge Generally, don't tag people to ask for help - it comes across as bad manners, youβre demanding somebody answers you. Itβs different if youβre thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.
Similarly, please donβt DM (direct message) people asking for help. It also comes across as demanding, and means that others canβt learn from what you do.
Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on).
ugh sorry
There are literally thousands of people on this server. Ask your question. Someone might answer.
Don't DEMAND help from me.
@soft lodge , prob better in #voice-assistants-archived
ok, thanks
Hi !:) can anyone help me with this its not working what am i missing ? :)
sensor.rpi_milksensor_script_process_1:
icon: mdi:application
icon_color:
templates: >
return (state === 'S') ? 'rgb(67,167,47)' : 'rgb(219,27,8)';
friendly_name: rpi-Milksensor-script-process-1
custom_ui_state_card: 'custom_ui_state_card: custom-ui'
@lean wyvern posted a code wall, it is moved here --> https://paste.ubuntu.com/p/4GC49YB9sF/
Well...
Hi, is there a way to change a light icon ?
(check the bot message for my config)
Here I have 2 led strips from the flux_led integration but I would like them to look like led strip and not like light bulb.
I tried adding an icon field into both devices but it says config invalid, same problem if I put it below scan_interval
Not sure if this is the right channel but I am trying to find a way to limit the min / max brightness of a PWM light. ie. the user should only be able to select between 40% and 100% by dragging the slider but still be able to turn off the light by tapping the symbol.
Hi people, I try to change the icons of my custom dashboards. HA says no.
dashboards:
lovelace-kamera:
mode: yaml
filename: /config/custom_components/lovelace/ui-lovelace-kamera.yaml
title: Kamera
icon: mdi-camera-enhance-outline
show_in_sidebar: true
plz help to convince HA to change icon π€£
OK found the mistake icon: mdi-camera-enhance-outline to icon: mdi:camera-enhance-outline
Enhance!
Howdy
hello all, attempting to install this module for lovelace. https://github.com/mishaaq/sun-card. Installed via HACS, hpwever once setup, lovelace is showing the following 'Entity sensor.time_utc set for config entry "time" not found. Check your configuration.'. can anyone point me to whats missing.
https://www.home-assistant.io/integrations/time_date/
@polar kelp thank you. implemented time_date however it now saying 'Entity sensor.sunrise set for config entry "sunrise" not found. Check your configuration.'. Does that mean its looking for a sensor named sensor.sunrise
Probably
I am tinkering with card-mod right now. Main reason was to make stuff look nicer in grid view, but now I went on to play with my theme. Question is... any way to theme the sidebar, too? app header transparency was simple, but that one... No clue ^^
https://hastebin.com/guquroyugu.csharp current state
Card-mod does not allow for styling the side-bar as of now. I've been meaning to add something for that, though.
anyone know of a way to stop the insane memory leaks in the browser when editing lovelace?
current workaround is edit in a text editor, paste, and close ASAP. then i have to close the tab to get it to drop back down
Never heard of that. What are you editing?
vertical-stack containing:
a glance card and card-mod containing:
various mini-graphs, climacell widget,
and some climate objects in a horizontal stack
this happens in a matter of maybe a minute or two to max out ram (8gb)
Sounds unusual. Have you tried in other browsers?
And have you checked what extensions you're running?
i've tried chrome and firefox
on different PCs/OS
very few extensions
on firefox/linux mint i only have YNAB Toolkit enabled
And they never heard from them again...
@polar kelp thanks for explaining. Looking forward to it then π
anyone care to comment in the difference between these two? https://github.com/dooz127/swipe-glance-card vs https://github.com/bramkragten/custom-ui/blob/master/swipe-card/README.md
I am trying to install the esphome addon, but I don't see the "supervisor panel" their instructions mention. What do I need to configure so I can see this panel?
how did you install HA? You'll only have the Supervisor panel if you installed a Supervised install
they also have instructions for installing without the addon, so you can do that with whatever installation method you used
@dark dirge I used the docker image to install HA
then it's not Supervised, and you don't get the Supervisor
if I choose one of the installation images, would that count as supervised install?
HA OS is supervised, yes.
evening all, I have some iglo lights (i'm not sure what the lights are but they work with iglo config in HA, the issue i have is that when i reboot HA the lights always report as on, regardless of their state. Is there anyway i can fix this please? I couldn't see anything in the docs about this particular issue.
@halcyon basin #integrations-archived
thank you.
any way to disable the scrollbar for lovelace?
It's really ugly, and I have no use for it
Could anyone help with is wrong with this code I'm sure it's simple I'm just learning and new :)
tap_action: action: call service service: media_player.select_source data: entity_id: media_player.android_tv source: Netflix
any way to disable the scrollbar for lovelace?
@frail bridge Have fewer cards? Have bigger screen?
Ty β€οΈ
in summary, follow the docs: https://www.home-assistant.io/lovelace/actions/#tap-action
Thanks I knew it was a simple one but I understand it now
is it possible to have an Picture Elements Card background be conditional? im wanting to have the background change based on my weather sensors output
@stuck dock check out my config-template-card
As in a config-template-card you made? Or is my config-template-card a specific thing?
NVM I found it. Now I just need to learn javascript
I've been using this to only show cards to specific users: https://github.com/thomasloven/lovelace-state-switch
is there any way to get it to hide a card for a specific user? or a blank card to show maybe?
@stuck dock just put the card inside of a conditional card
Hello, could somebody tell me where to find the files for the built-in cards? I would like to see if I can edit the calendar card so that it shows a different language for "no entries for today"...Thank you!
@eternal flume localization is not that simple, you'd have to host your own version of the card as a custom card or the full frontend which I do not advise to do it that way
Typically we use lokalize to translations but that particular string is part of the module we use, https://fullcalendar.io
Full-sized, drag & drop event calendar in JavaScript
However, we do pass in the language as the locale to that module on construction, so it should translate based on that
Do you have your language set in the frontend?
Might be an existing issue for the calendar https://github.com/fullcalendar/fullcalendar/issues
Hi gurus. Im redesigning my lovelace dashboard and i've seen people using a card (probably button-card) to display if the lights in a room is on, but it also shows the number of lights in a neat little circle.
How would you go about doing that? I've looked but cant find anywhere a state that represents the number of lights in a room, so do I create a new manual sensor for that? Or does the light group do that? Im only using regular groups..
Thanks for your response. Language is set to German....still the text appears in English ("No events to display")....best regards
Hello, my time in history is wrong. I already setup my timezone, checked with date and date -u on ssh and it looks fine there... Do you know what can be?
How do I limit my PWM output light from going below 40% when turned on but still allow me to turn it off
is this the right place for support for ha-floorplan or #add-ons-archived ?
anyone know how to add things to the side bar? for example, it would be great to get the tags button on there?
@mossy otter you can add stuff under "panel_custom:" in the config yaml. https://www.home-assistant.io/integrations/panel_custom/
brill, thanks @brisk osprey
What is the best way to determine card-size without going into panel mode?
My cards keep shrinking and sticking in the middle of the screen when I add more of them. Panel mode is too wide.
The vacuum card is pretty square when alone.
but it gets progressively taller and thinner as you can see.
@stoic rain I have never used panel mode and not sure what you want to do. But maybe try horizonal and vertical-stack to get what you want?
They are all in one horizontal stack, with the three buttons to the right being in another vertical stack within it.
Ok. Try using a card that lets you define the size? Like button-card?
Button-card is good! But how can I use that one a camera entity (vacuum map) and the other card?
I wanted something like this: https://imgur.com/a/TjCTQrI
@stoic rain I would try using three vertical stacks rather than a horizontal stack of vertical stacks
it's not perfect but you could also use layout-card, which gives you pretty detailed controls over positioning, but I think it's a bit complicated
Grid Layout can't come soon enough, vertical-stack in horizontal-stack can get confusing.
it's not perfect but you could also use layout-card, which gives you pretty detailed controls over positioning, but I think it's a bit complicated
@hallow mango Thanks, I had layout on my list, but it looks a bit daunting.
Is there a way to get the current user name? I want to set up a card that reads "Good Morning Victor" or "Sarah" or whoever the user is. Use case would be mostly on mobile
A special template variable - user is set up for the content of the card. It contains the currently logged in user.
For example:
type: markdown
content: |
Hello, {{user}}
Hey people I added a rgb led strip to HA π . To drive the led strip I added the Lovelace light card. The problem with the card is, if I Set rgb or brightness to a certain value it does not get updated on the other devices. I am not sure if that has something to do with lovelace or MQTT setup
what's controlling the strip? wled?
quick question folks, when I am in the scripts editor and want to create a new script, it gives me name, icon and entity id - when I leave it as is I get an error eg ```Key malformed: invalid slug light___landing_on (try light_landing_on)
try light_landing_on
its autogenerated, that way, assumption because I use a hyphen in the actual script name, I have tried the suggestion, the entity id field still vanishes after saving the script
just found the option, you will need to edit the scripts.yaml to change it at a later stage by the looks of it
what's controlling the strip? wled?
@hallow mango thanks answering. ws2812b -> nodemcu -> tasmota -> HA. I added the light integration over the configuration.yaml
Hello can someone tell me how to make an extra tab I ui-lovelace.yaml ?
Hello can someone tell me how to make an extra tab in ui-lovelace.yaml ?
Hey! I use Home Assistant mainly with the UI Editor. Now i want to use button-card from HACS. Only problem is that i dont have a "ui-lovelace.yaml". Where can i "include" another file (in my case button_card_templates.yaml)
Configuration
-> Lovelace Dashboards -> Resources (requies Advanced Mode enabled in your profile settings)
Hi All, wandering if there are any template lovelace dashboard designs that I an leverage as a base for building my own?
A lot of people share their layouts on the forums. Some even share the YAML for them.
Is it possible to create groups in the front end?
nope
Ty.
why's the P dark? π
You need to drink more water
@wheat current love this page: https://sharethelove.io/glance-cards/av-remote
I set one up (using blank icons and no action for gaps) as well π https://i.imgur.com/0WksDux.jpg
anybody else have something like this they care to show off?
do the amazon/hulu/netflix buttons launch the app on your roku?
Yes
I'm a bit confused again... can I get a component like the mini-graph-card to show the setpoint history from a climate entity? It just seems like it gets confused when there are multiple attributes and you can't say which attribute to graph...
You could make a template sensor for the attribute you care about.
that's what I did... but there are quite a few of them and since the history_graph does manage I thought maybe I could make it work in the mini-graph-card too
Hello! Has anyone used the webpage card with a local html?
@untold stratus Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
I have a html table in config/www/table.html
The documentation says I can reference it as /local/table.html, but that is not working
Can you access that page if you do it outside of HA?
If that works, you might be able to do it without the domain. If you use a URL that only comprises of the path, it's considered to be on the same host as whatever page you're viewing.
can I use the frontend extra_module_url to pre load custom cards to prevent the annoying flash of red these cards produce when loading my views for the first time?
and if so, does it have to be a URL or can it be a file path? Because none of my custom cards are in /www.
Yes, and the same path rules as for lovelace resources apply.
HACS urls should work too, but you may have timing issues if you're too quick with reloading at startup.
Some stuff may not like being run before lovelace is loaded, though... which could happen
@vapid field did you figure out the graph thing?
@errant plover @polar kelp I'm missing something, is there a doc on that? I don't have any custom cards I made, just hacs ones
@mild veldt is there a roku integration? mine is powered by harmony
Huh?
Thanks Thomas. I'll give it a go using the direct path rather than the HACS symlink/shortcut thingy.
@hallow mango see: https://www.home-assistant.io/integrations/frontend/#extra_module_url I only have custom cards installed by HACS too. Not sure what you mean by that.
the direct path that does not exsist ;)
Both HA and HACS uses the same logic to serve a virtual path to a directory, only difference is that HA uses cache for the response
@hallow mango yes, there is a roku integration
the direct paththat does not exsist ;)
@wheat current technically correct. The best kind of correct.
@hallow mango there's an android tv integration
yeah... I have a shield tv, and have it integrated as both android tv and Google cast, for different functions
I have tried the "source" drop-down in a media player card, but it doesn't seem to work π€
Hmm. I'm still seeing a flash of red from the bar card. https://paste.ubuntu.com/p/N7XMXx6HZm/
Hello, I'm trying to update HA core but I get the following error in the supervisor log
20-11-18 17:00:44 INFO (SyncWorker_0) [supervisor.docker.interface] This error is often caused by not having enough disk space available. Available space in /data is: 0.1 GiB
20-11-18 17:00:44 WARNING (MainThread) [supervisor.homeassistant.core] Updating Home Assistant image failed```
The drive I'm running it off has 600mb free, but I'm wondering what Available space in /data is: 0.1 GiB means, what is this directory?
https://bread.s-ul.eu/UkQaLAsF.png this reports that the drive is 10% free, which is a lot more than 0.1GiB
@quick shale this channel is for discussion of the frontend (Lovelace). Try #551864459891703809
ah, sorry
not familiar with the software really because my dad set it up in a hacky way and now I'm having to deal with it lol
Wrong redirect @errant plover π That should have been #330944238910963714 or #330990055533576204 π - the giveaway was supervisor
Opps. I switched off after "I'm trying to update HA core". Sorry.
Hello good folks, am I correct that light groups cannot yet be configured in the GUI - but only in config.yaml?
Yes
Thanks. Not a big deal, but would be a nice feature..
If you have a feature request for the frontend you can open one here, for Home Assistant itself please post on the forum. All other feature requests should be made to the developer of that custom card/component.
There's also the option to create a PR yourself if you're feeling brave.
I would like to change the font family across the board. Any recommendation?
Hi, so are grid cards available by now?
with 0.118: https://www.home-assistant.io/blog/#grid-card
Is there anyway of getting a live stream from a tablet's front cam?
I've found an option of getting a snapshot using Fully Kiosk.. but was wondering about live streaming..
Anyone know if this is on the radar with the devs? With the update of MDI to 5.x.x, the brand icons are now gone. We need to add Simple Icons as well.
https://community.home-assistant.io/t/support-simpleicons/111554
would it be possible to use the light card with any entity?
No, why would you want to?
I'm attempting to run my first lovelace theme https://github.com/basnijholt/lovelace-ios-themes/ I've followed the installation steps and restarted but do not see theme changes when I change the input template control. I don't see any change in my current theme. Ideas where I should start investigating?
Do you see the new themes in the profile?
yes, and they change if I do it in the profile
And you put it back to backend-selected?
I did, yes.
Check the log
^ forgot the automations π€£
lol
Hmm. I don't see the grid card in .118 when I go to add a card. If I try to add it manually I get an error Error: Unknown type: grid
Have you tried clearing your browser cache? Ctrl+F5 should do. If not, clear application data and log in again.
Anyone know if this is on the radar with the devs? With the update of MDI to 5.x.x, the brand icons are now gone. We need to add Simple Icons as well.
https://community.home-assistant.io/t/support-simpleicons/111554
Hey guys, all my dropdown menus are behind other "windows/cards" how can i solve it?
Having some issues with line breaks in a template sensor - seems to work fine in template editor but not in Chrome or Firefox (and now Edge, possibly since they changed rendering engine?).
https://community.home-assistant.io/t/force-newlines-or-linebreaks-in-a-template/6778/ lol, looks like i'd already tried to chase this up.
Is it possible to script up cards in the UI, and if so.... how?
Something like this:
`{% for state in states.light -%}
- type: button
entity: {{ state.entity_id }}
{%- endfor %}`
@brazen barn check out the custom card auto-entities
that coupled with layout-card can do what you want
@mild veldt Played with that one... but I this time I want to go a bit further... :)
Trying to create a grid-card with entities there in. And since all parts of the grid are separate cards this is kind of hard with the auto-entities.
`type: grid
cards:
- type: button
entity: light.light1 - type: button
entity: light.light2`
I think https://github.com/thomasloven/hass-lovelace_gen is the only thing that might work for that
Ah... well that's one way of doing it... or just scripting it up in the template editor from time to time but I really hoped for some magic jinja-solution π
I haven't looked at this one much but it might be possible with this as well https://github.com/gadgetchnnel/lovelace-card-templater
@polar kelp Nice work on the date picker. Is there going to be a time picker as well? I need it for my touch panel that has no keyboard.
Unlikely, unfortunately.
π That's a pitty...
Ok so my binary_sensor device trackers died with this update
anyone know whats changed?
saw nothing in patch notes regarding them
device_trackers still report correct
but seems like the binary sensors cannot resolve
solved it, removed old custom component and did it with regular binary sensor instead
how can I correct some values coming from zigbee entity. I have one T&H zigbee , which is configured with Zigbee integration. It give wrong value for humidity , about 10% more and display in my Gauge sensor wrong values. Is it possible to do sensor.entity - 10 before to display it?
or do some other entity, which is real.entity - 10 %
because I use it for some automations , which in this case work not correct.
A template sensor
- platform: template
sensors:
sensor.zigbee_bathroom_humidity_corr:
friendly_name: "ΠΠ»Π°ΠΆΠ½ΠΎΡΡ Π±Π°Π½Ρ - ΠΊΠΎΡΠΈΠ³ΠΈΡΠ°Π½Π°"
value_template: "{{ sensor.zigbee_bathroom_humidity | sensor.zigbee_bathroom_humidity - 10 }}"
is this correct ?
Welp. It's 4am and my bedroom projector didn't turn off. I think time triggers may be broken. Lol
Hi, I played a bit with different device_classes and I'm now searching the documentation for a couple of hours, but I can't find a way to set the 'device_class' of a binary_sensor back to 'None'. Is there a possibility to do this?
Looks like there's already an issue related to the date time thing: https://github.com/home-assistant/core/issues/43337
Cool. Now to try and get back to sleep. Lol
Grid is no longer working in 118. Unknown type encountered: grid. Was working in beta 118
Observe the Developer: "Uuuurgh what time is it? 4? This can't be right... must fix... but must do it right - Let's raise an issue. But first: is it already reported? Yes? Good. Zzzzz"
The fact that this is in the wrong channel just indicates that Donka was pretty much sleep-deving.
Lol. I tried to tap on automations I swear! Also zzzzzzz
I'm actually actively trying not to lol right now
Much like the mathematician who wakes up to find their bed on fire - looks to the fire extinguisher, decides there exists a solution to the problem and promptly goes back to sleep.
Lol, something like that
If only there were a fire extinguisher for resolving all time zone calculation issues in one spray
A solution to time zones? You're still dreaming.
thank god for the new grid card β has anyone worked out how to add blank/transparent sections to create spaces?
You could try this https://github.com/thomasloven/lovelace-gap-card
ohh yeah maybe
perfect β exactly what I needed thanks thomas
now is there a way to make a card span two sections in a grid?
No... and yes... The grid card is a card... π€
ie a weather card takes 2 slots in the grid card π
Hey GUys
I am trying to create a glance card for Tasmota device
cant seem to upload a screenshot π
@slate tartan posted a code wall, it is moved here --> https://paste.ubuntu.com/p/RcCmrVV3Mm/
anyone with a clue?
I have something like this
Basic_03 IP
192.168.31.203
Wat i need is wen i click (tap) on the IP i should be able to go to the url
That doesnt seem to work...
Hmmmm this is probably the worng place to ask... I used to use the "configurator" editor, is there a new "modern" way to do this? What's the "best" IDE to integrate into HA's frontend? I'd like to avoid installing 200MB of bloat to edit text files.
no no so this is something else
I have searched and can't find anyone explaining how to do this but I see lots of people in videos with it set up
i have a glance card, on the card i see the IP of the tasmota device ( Pulled from tasmota integration)
what i need is a tap action that opens that IP in a new tab
now i could hardcode the IP as a url but i want the ip values from the IP entity to be used
@slate tartan You mean click the tasmota manually and it goes to a url?
is there a way to share a screenshot here?
Share a link to the image, imgur?
Please use imgur or other image sharing web sites, and share the link here.
entities:
- entity: sensor.basic_03_ip
tap_action:
action: url
url_path: [sensor.basic_03_ip]
This is url path is wat i need...
do i make sense?
I understand the words, just not what you intend.. you click a button on HA and it goes to a url? doesn't sound like a tasmota specifc thing
no so wat i need is the tap action to take me to the tasmota ip (which is stored in the sensor.basic_03_ip. But wen i use the above the url it generates is "lovelace/sensor.basic_03_ip" instead of the actual IP
if i do this it works
entities:
- entity: sensor.basic_03_ip
tap_action:
action: url
url_path: <hard code IP>```
i dont want to hard code the IP here...
I see....
Then you need a custom card wrapper to inject templates to the key
not a tasmota specific thing, its mostly a noob yaml thing...
you pulled the IP from the attribute to make that sensor? I actually didn't know they had IPs as an attribute
this is the Tasmota Plugin, it automatically pulls a bunch of stuff and makes them as a sensor...
OH.. I have sonoffs... they have the IP in an attribute... added manually (not integration).
IP
Last Restart Time
MQTT Connect Count
RSSI
Restart Reason
SSID
Signal
WiFi Connect Count```
These are the sensors on the new Tasmota integration...
nice
so wat i have done is dumped all this into a glance card per device
and i want the tap action on IP to open the IP as a url in browser
makes sense now
@wheat current could you help me with that?
nope
@slate tartan posted a code wall, it is moved here --> https://paste.ubuntu.com/p/t5mRnXm8Tr/
OHHhh those damned brackets
brackets are like variable thingies
that hurt my eyes to read
hey fellas Im running a supervised HA in docker (im not sure to ask here or supervised side... but) How do i disable the little notifications/trackers at the top of lovelace?
@visual gull Do you mean the circular badges? You'll have to 'take control' of the dashboard and choose which elements appear.
Yes... And ahhh
I had the strangest dream last night. @polar kelp was a fireman putting out a fire in a clock? And I went to file an issue in GitHub but couldn't cuz my projector wouldn't turn on. I dunno, it was weird
Sounds more interesting than my dreams... #devs_frontend-archived message
I was following a van earlier that had 'thomasowen' as part of the homepage URL. Took me a couple of tries to read it as anything but 'thomasloven' π€£
Apparently you're on everyone's mind π
Awww you
@karmic tiger for context π #frontend-archived message
is there a way to make a sensor "active" and therefore get color from the theme?
using a glance card
You want to force a sensor to a certain state so you can inspect the card in the UI?
really it's just a timer display out of node red, but i want the icon to have color
and the congif of glance says: Set to true to have icons colored when entity is active
i don't know what makes a sensor active or inactive, i suppose
more specifics in #node-red-archived
is there a way to make a toggle button that toggles an LED between RED and GREEN?
I'm using Wake on Lan and the RPC Shutdown add-on to create switches for a couple of PCs. The one for my Plex PC works great. The one for my office PC works, and I have an automation to turn it on in the mornings, but the State of the Office PC never changes and reports off even when the PC is on. If I go to Developer Tools and manually set the Office PC switch state to on, it will wait a few seconds and turn the switch state to off. Both the Plex PC and Office PC are Windows 10. Anything I should look at to see why the state doesn't update for my Office PC switch?
Sorry, I'll move it there.
@reef wadi not currently possible, but I have a PR open for it that will hopefully be merged soon π€
Cheers, glad to hear it!
https://www.home-assistant.io/integrations/light.group/ so I followed the example in this tutorial exactly and threw it into my groups.yaml but config checker is throwing an error at me
Invalid config for [group]: value should be a string for dictionary value @ data['group']['light']['entities']. Got None. (See /config/configuration.yaml, line 11).
Can anyone point me in the direction as to why?
@cerulean prism probably should go into #integrations-archived, and you'll probably want to include the config you're having trouble with
Ahh I just figured it out. Funny how that always seems to happen
Thanks for the help anyway @reef wadi
inevitable!
Hello All , hope you are doing good.. I am trying the new feature
https://www.home-assistant.io/lovelace/grid/
here is what I am doing,
columns: 2
square: false```
but I keep getting this message and cannot go back to visual editor if I have the `columns` line , what am I missing here?
https://imgur.com/a/zHvxNcd
precisely what it says π
The table of contents is my favourite bit π
thanks π
have a button calling remote.send_command that's not working. the code works fine under developer-services
https://paste.ubuntu.com/p/266nYZRGqv/
The format is different for cards and scripts. Have you looked at the docs for what you should put in button actions?
@small light you're using "data" instead of "service-data"... mono beat me to it.
thatnks all
Does HA have an equivalent protected switch? - something with a password dialog that pops up when clicked, or an "Are you really sure?" dialog. I want to protect the switch on a storage cluster from accidental operation.
Something like this? https://github.com/iantrich/restriction-card
That looks cool π
@karmic tiger Perfect, thankyou.
Hey,
I did the trick with the script to show the countdown timer.
But , as entity-card it's work great.
In picture-glance its just show the state - Actice.
There is any way to get the countdown in picture-glance?
Hey all, i was searching for a way to open mediabrowser card for specific media_player with tap_action. Is this possible by any chance? (Just like more-info and such..)
maybe with browser mod?
In regards to the new grid-card, I was hoping if anyone could tell me how to manipulate the space (margin or padding?) around the columns. I would like to have my dashboard divided into 3 columns but with some blank space between each column
I am new to HA , I am reading in some blogs , we can "Drag And Drop" in near future.. is that available already?
I would like a vacuum card with a drop down menu where I can select what room to clean. Anyone seen such a thing? π
That sounds like an input_select and an automation to me, quacked.
Yeah, that's what I'm now looking into
Oh. That's a neat way of being able to select multiple ones and then hit start. Till now I've just let it finish one room and then start another.
Can you show me what's behind that pretty picture? π
What does Status do?
Status just opens the more-info dialog for the vacuum
Can you show me the code behind the rooms selection?
It depends on the vacuum, obviously, but here's what I use https://github.com/thomasloven/new-hass-config/blob/master/python_scripts/clean_rooms.py
Nowadays this can be done with just a normal template in a built-in script, though.
@cosmic imp π
https://www.home-assistant.io/lovelace/entities/#divider maybe?
Not really sure what you are after, the integration should not care how it looks, that's up to how you set it up in the UI
i'm creating a custom cover component. So i'd like to add the divider myself in the python code, but just starting out so not sure where to finde docs about that. i'm looking through the developers docs, but haven't found it yet.
oh... yeah, you can't do that
And shouldn't.
I have the same vacuum so it should work nicely. Hmm... I do like the sound of a normal template in a built-in script instead of this python script though...
@wheat current ok thanks, saves me time looking.
I'll go to #templates-archived and ask for further help. Thanks thomasloven.
Check Config button not working. No reaction.
What about the command line config check?
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
it work.but ui not reaction
Any errors from the command line one?
no .configuration.yaml is no problem
What version of HA do you have? Did you upgrade recently?
now 0.118. but 0.116 no problem.when update 0.118 server control page not work good
Try Ctrl+F5 to force a refresh of the page.
the page is loading but it seems not exactly.
Restart your HA and try again
ok i will try now
Yeah, listen to Ludeeus. He knows more than me π
I found their logs π https://github.com/home-assistant/frontend/issues/7565#issuecomment-730680034
yes problem is solved
turkish language is problem
i am very happy π
is language problem frontend problem ?
Nope
https://lokalise.com/signup/3420425759f6d6d241f598.13594006/all/ That's handled here
ok.you are best π
hey guys. just updated to 118.1
couple questions:
- the grid card, i think there are some extra options that i could use through code-editor. where could i find documentation about this?
- the new logbook card, is it possible to reverse the order so new stuff is at bottom instead top? (dont really need this, just curious :D)
this is what i was looking for, thx
columns: 2
square: false
Could anyone give me a hand converting some lovelace manual cards from using the old card-modder to the new card-mod? seems to be a few syntax changes
for example https://codeshare.io/GbZxWM
i know the style section got alot of changes
What did you try so far?
How can I create a countdown timer to a due date? I know how to do a normal Timer (integration), but I would need to do the exact math to get a duration (can easily break). Rather, I'm thinking something like this for the card
var haConfStart = new DateTime("December 13, 2020 10 AM PST");
var timeRemaining = haConfStart - DateTime.Now();
Specifically, I want to add a card for the Home Assistant conference π
I haven't seen any cards that natively support a countdown. You could use something like the custom button-card and use a template that counts down for the display text.
Yeah, it looks like value_template for a custom sensor might be the way to do it. (for example, I might be able to use the DateTime math instead of random https://www.home-assistant.io/integrations/template/#updating-templates-using-random)
Hello! I am currently setting up an entity card in my front end. The entity is a binary sensor so it shows true and false, but what I want to instead of displaying "true" and "false" display for example "connected" and "not connected". Would I need to set up another sensor for this or is it possible to do it already in the "raw code" of the card.
The best way would be to give it a device_class which corresponds to what you actually have.
Then the rest will happen automagically.
connectivity seems right
Thank you! And let's say I wanted to show "printing" and "idle" (in another language).
I don't think there's a binary sensor class for that...
But using device class, the states would be translated automatically too.
If it's for a printer you may want a normal sensor rather than a binary one anyway, in case you have other states like "out of paper/filament".
That sounds even better. So let's I would like to do something like this:
idle: x
printing: y
off: z
...
Where x,y,z is what is being displayed in the ui.
Depends where you get your data from and how you want to process it. Either way, it's better to do it in the backend, and therefore this should go in #integrations-archived.
i have multiple lights setup in custom slider cards, but does any1 know how to change the steps of the sliders ? default is 5
haha thnks , must have missed it π
Hi there. 0.117 added support for older browsers. Did 0.118 breaks it ? π I can't load HA 0.118.0 with an old iPad with iOS 9.3
I posted a screenshot in #ios_and_mac-archived , after login, I just have the "Retry" link.
when I configure the dashboards of the lovelace UI via the GUI, is that yaml all written and saved to the db? because I dont see it written out to the config.yaml file in the root directory
Your Lovelace config never lives in configuration.yaml. When you manage the interface with the UI itβs stored somewhere in .storage
And things in .storage are typically in JSON
ah interesting, i hadnt seen .storage. thanks!
sidenote, best not to mess around with the raw json
how do i make a button in an image entitiy card?
picture entity card? the card is the button
picture glance card has buttons on it, if that's what you're thinking of
i would like the big circadian button in the middle of the background
the left background turns grey when off image entity card
That huge circadion icon in the middle of backgound , thats what i want cant figure it out ...
Anyone who can help me with a card for spotify?
I followed https://community.home-assistant.io/t/spotify-playlist-player/22491
But they don't mention how to create the card
or how you can add a group into a view i'm using a separate groups.yaml and ui-lovelace.yaml
I just started looking in to themes. Is is possible to just change one definition and refer everything else to the default theme? Like an include of sorts?
What I want is to use the default dark theme, with header color #1C1C1C (pre-0.118) instead of the new #121E24.
But I'd prefer not to copy all of it, since I then will have to do it again every time the default updates
How can i edit this object "Sovrummet"?
https://i.imgur.com/AfIypIS.png
If i click edit it shows up as the "home" button.
https://i.imgur.com/uHYNNQf.png
The scene editor requires me to set each entity to it's desired state before saving the scene? I cannot define in the editor what the state of devices/entities should be when the scene gets called?
I can only do this via the scenes.yaml it seems
uh and whenever i go to modify a scene via the web ui it actually sets that scene. I must be misunderstanding the whole point of scenes
Is there any possibility to get a direct URL for a camera stream on home assistant? I want to realize an actionable notification that opens my security camera stream when selecting it.
That should be possible if your camera supports rtsp or onvif. Or thats my understanding
yes, its an onvif camera. I'm not asking how to add it to home assistant, I have already done that. I wonder if there's a direct URL to access the stream on lovelace.
@ivory sigil There are different solutions depending on how you are going to use it. You could make separate dashboards with one view for each camera. Easy to include a direct link to just that camera in a notification, using the usual HA security, no fuss. But there are other ways as well.
@fleet anchor is the one to be tagged π
Or just don't tag each other π€·ββοΈ
@plain onyx that's just a button
what do you guys use for Multiple entity row
got a power plug and want the current power and toggle on one entity, they are 2 seperate entities
And the Entities card doesn't do what you want? https://www.home-assistant.io/lovelace/entities/
are there any frontend gurus out there that could help with this clock card?
Spose so yes the secondary info one, not sure how to format that, could you add one secondary so i can use that as template please π - https://hastebin.com/yaloqufaqe.yaml
I'm not going to add anything for you π
The instructions are there. Try it yourself.
secondary info is what im after right?
got it added with no errors but not showing on card - https://hastebin.com/ekuzafonem.yaml
secondary_info string (optional)
Show additional info. Values: entity-id, last-changed, last-updated, last-triggered (only for automations and scripts), position or tilt-position (only for supported covers), brightness (only for lights).
Looks okay to me. What do you see?
Ah. The entity-id you've chosen just means it'll display the name π
Why not just add a separate entity for the power consumption?
No... you have one plug, and you're trying to add secondary_info by telling it another entity.
- entity: switch.tasmota_plug
secondary_info: sensor.tasmota_plug_energy_power```
Just add it as another entity:
- entity: switch.tasmota_plug
- entity: sensor.tasmota_plug_energy_power```
π€·ββοΈ
Yes ^ that is what I want, I just thought mono was saying it was a native thing you can do
native be better course π
I didn't say it was a native thing. I showed you the documentation for a native thing.
You weren't exactly clear about what you wanted to do...
No. It's secondary info. A 'subtitle'
so why could'nt that not do what I want?
Because the possible values it display are... #frontend-archived message
gotcha cheers π
Guys how i can change card size in lovelace theme?
Ooops... I just found a whole bunch of new functionality and bug fixes for auto-entities that I forgot to push to github... from five months ago π
Expect a new release within a few hours, that will also be able to auto-populate a grid card.
where in the universal show off frontend forum post, was looking earlier and could not find it
Quick question... after updating from 0.115 to 0.118.2. I noticed that it does not allow me to press on a entity to show its history. Is it a bug or a new behaviour?
Hey all, so I know custom-header was depreciated a while back... I finally removed and unisntalled it but I still have a compact header, not sure why? I do not have card-mod or any configs like that enabled for the frontend at all, am I missing something? https://i.imgur.com/RJSunlR.png
you probably haven't cleared your cache
The default header is compact
and that
i have cleared the cache, i guess i never knew the default header became a compact one, where do i find the toggle to switch it off and have it be full sized again?
You can't
you may have been the only one who liked the giant header π
hahaha i didn't like it. just wanted to check to see how it looked, it's been a long time π
you can reclaim those brain cells
thanks guys, spending some time today trying to remove old depreciated stuff and make sure everything is up to date. π
nope, I still can
Can anyone please take a look at my switch yaml to use the icon_template? https://paste.ubuntu.com/p/RC3M6R3g2x/
The error tells that "Invalid config for [switch.mqtt]: [icon_template] is an invalid option for [switch.mqtt]. Check: switch.mqtt->icon_template. (See ?, line ?)."
I am sorry for the double posting. I posted this in #templates-archived earlier.
The answer is still the same. It's not the integration, you can't do that. If you want to ask for ways to do it with cards, ask that instead π
@karmic tiger I don't mind working on a HA development but it is just too much to look all over.
it's probably not necessary because there are lots of cards that allow you to use a template for the icon
I'm a big fan of custom button card (https://github.com/custom-cards/button-card), but there are others
I like keeping my entities simple and customizing the look and feel in Lovelace cards
Thanks @dark dirge. It seems to be much simpler but if you can guide me how to deploy button-card too, that would be really appreciated.
the docs are quite extensive and clear, but here's one of mine:
@dark dirge posted a code wall, it is moved here --> https://paste.ubuntu.com/p/FDzS5JDcq9/
is there a way to have the header collapse or hide it? I know custom header use to do it but is no longer supported. I have read some people modify the css on their webbrowser, however I will be using the app on a tablet and that wont work.
Oops, I just overlooked the document. Yes, it is quite extensive. @dark dirge.
@stuck dock https://github.com/maykar/kiosk-mode
π Auto-entities 1.7.0 can populate a grid card with other cards automatically, and makes full use of the new cool template types.
@dark dirge I am sorry but I still get the error "Custom element doesn't exist: button-card." after following the Installation instruction of button-card module.
Can you please help me on this?
Did you add the resource?
And you probably have a leading β - β that you need to remove
I think that the resource is added. If it is still not added properly, please let me know.
Thatβs the wrong resource path
How did you install the card?
What you have there is neither of the two options in the docs
I installed it by uploading the button-card.js file to the config/www/
Is it supposed to be config/local ?
Yes, that's what I was using for the installation.
But you used a different path
It doesnβt say config/local. It says /local/button_card.js
How can I setup HACS?
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.
How can I upload a folder to the config/custom_components/ ? I used File Editor addon so far. π¦
samba?
I think you're better off installing the ssh addon and running the CLI command instead
Rumba?
I use the HA image on rpi. I wonder if it is doable to setup the ssh-proxy to get the access to the addon_core_ssh docker and send the files. I guess that samba seems to be much better. I appreciate that you guys setup such an interface as well.
just install the ssh addon and run the command here: https://hacs.xyz/docs/installation/manual_cli
and..done
ssh-proxy to get the access to the addon_core_ssh docker and send the files
Uh, what?
On the second thought, right, I do have the direct access the addon_core_ssh docker. I can just simply scp to that too. @karmic tiger Never mind. I thought that I had to go through the host machine and then reach addon_core_ssh.
I feel you're fighting a losing battle here, Rob π€£
Does "Edit Dashboard" edit the ui-lovelace.yaml file ? I actually don't have a ui-lovelace.yaml file. Where is the yaml file stored for the Dashboard? What is the yaml file for the Dashboard?
@worldly wharf https://www.home-assistant.io/lovelace/dashboards-and-views/ read the docs
Thanks, @mild veldt
I think that button-card is added properly through HACS but I still get the same error saying that "Custom element doesn't exist: button-card."
Thatβs not how you add resources anymore
You were in the right place before. You just have to use the right path
Is this the right one? https://paste.ubuntu.com/p/mDhcXbvn4Y/
@dark dirge I think that button-card is recognized but the behavior does not wok as expected. The goal is to display unlock and lock icon according to the state message which is retrieved from mqtt.
Not sure if this is intentional or not, but on version 0.118.1 when I get a notification in lovelace and I click on the "details" of the notification to view it, the notification is not cleared. I have to click on it again and "dismiss" it.
States are lowercase
ok, @dark dirge
Thanks. It works fine. @dark dirge. But it seems that I can not see the modal menu any more after using the button-card. Is there a way to see the switch history or such?
Or maybe should I put the original card to combine this?
Is there a way to hide a name without hiding its entity in a card?
You need to be more specific, what card?
@mild veldt https://paste.ubuntu.com/p/d9mR63ZYms/
So custom button-card?
Yeah, if possible, I would like to have full control (name attribute) of both button-card and card
card? π€
I don't know what that means
Please forgive me if I do not refer to the proper terminology.
A screenshot might help here
Please use imgur or other image sharing web sites, and share the link here.
OK. hang on.
Feel free to draw on it to tell us what you mean.
Not often π
I would like to hide the "Smart Router" label from the normal card or hide "Unlock / Lock" from the button-card.
Can't you just ignore title: in your config?
You told it what to say. Don't tell it.
oh....
Or what ian said
I believe it shows the name if you don't give a title still
It works fine on button-card @mild veldt
You can also put name: ' ' on the row
π
How can I hide either one of the toggle switches?
I do not like to have two of them.
The best way? Don't use the Entities card. Do it all in the custom button-card.
button-card is highly customisable. It can look however you want.
Just remove the card one
I see. The reason I wanted to have the Entity card is because I wanted to have the modal window containing the switch history or such.
That's more-info, and could be set as an action e.g hold_action, for the button-card
and I would like to have the toggle switch which Entity card can display as well.
So, is it possible to have the modal menu and toggle switch on button-card? @mild veldt
I like the current labels but only issue is how to hide the top toggle switch.
Thanks @mild veldt and @karmic tiger I found a way to hide the top toggle switch with show_header_toggle: false
Hi all...I have a climate.hallway entity, for which there is a hvac_action attribute that tells if my thermostat is in cool, heat, or off mode.
I'd like to use a card that shows something like the History Graph card, but shows the state of an attribute over time instead (in this case hvac_action). I'm guessing the answer is probably right in front me, but I haven't figured it out. Any ideas? Thanks!
What does 'git push' do in the "File editor" addon? (i.e., what is the remote github repo?)
@dark dirge Thanks but I did not clone it because it was from the HA image for RPi.
Then it will do nothing?
I checked .git/config file in config/ and it does not have any remote repo.
Point is that you have to set it up
Hi all. can I pls ask for some info on restoring from snapshot (full) in version 4.16 - on my RP4 I have created a full snapshot (no PW) but when I try to use that .tar snapshot file to restore on a new HA install running on the HASSOS .ova version 4.16 I get a 'unsupported file format' error???
That's what I suppose too but I was just curious if HA has any internal process to keep the user's participation or such somewhere. And I am not ready for that yet.
Thanks. @dark dirge sure.
Howdy, I'm using the native calendar card but the size doesnt expand to fill the entire screen. is there a way to configure the size of the card?
@fluid dagger there is a panel on the sidebar for a fullscreen calendar, or you can set the view to panel mode
I tried both of those, the calendar sidevar native dashboard is the size of a normal card, like a 3rd of the screen. and setting a view with the cal card to panel mode is closer but the height is squashed
like 75% or so of the browser window
let me see if I can apply css to the view
looks like style isnt supported to add to the card's config via the UI editor. is there a way to add just a specific view/card as yaml? or do I need to define the whole frontend only via UI configs or only via yaml files?
Hey, folks. I've been looking for a tablet interface for HASS and it is hard to find a current project that seems to be aimed at it, especially one with hardware recommendations. The Wallpanel project seems like the right software but I'm trying to find a good piece of hardware to host it.
Personally I'm using Fully Kiosk on a Galaxy Tab A 10.5"
It's the right blend of "too much power" and "too little power" and Fully Kiosk adds a lot of control, monitoring, etc
Hm. That's an option too.
@dark dirge once I add lovelace.mode: yaml to the config file, that converts all the custom dashboards to yaml mode? the wiki make it seem like you should copy your whole existing setup
I'll have to look into it.
Want the tablet to dim when it's night, but come alive when there's motion? Got your back. Want to let the kids or a friend use it to play YouTube? That'll work after you unlock it. Need to see where it's at because it got stolen? Totally possible too. Check it out, it's pretty neat. https://www.fully-kiosk.com/ Even the free version works pretty well, but for like $8 it's not expensive by any means.
Thatβs not what it says
Thanks!
Any thoughts on smaller tablets? I'd love to find something small and thin; it's hard to find anything as thin as an iPad.
Battery life doesn't matter much, obviously π
Honestly I'm not sure. I am an entirely Android household (no Apple iPads, no Fire tablets, just Android phones and tablets outside of Google Chromecast and Amazon Echo/Dot devices scattered about) so I don't have a comparison.
The Tab A 10.5 is uhhhh (pulls out calipers)
about 8.5mm, 9.5mm if you count the roughly 1.0mm camera protrusion
so like 1-2mm thicker than the ipad
Yeah; it's doable. Certainly it'd be the right platform. Just trying to find the smallest one I can. I don't want a big control panel; I want a small display near my door.
they make a 8" version too, looks like Best Buy has them for $100 actually. I might have to go shopping for a couple more π
It's 95% just to have a button that can tell my garage door opener to open on the way out to the car π
Ahh. Ever considered maybe a switch to do that? Tasmota can do many amazing things such as long-press do something different, but retain "normal" functionality of a switch (toggle lights in the room, for instance) for short presses.
i've got one in the bathroom toggling the lights on short press and the fan on long press, for example.
you could do things on double-tap as well. just an idea.
I'm interested. I'm not sure how to tell if my existing house wiring is up to it, though.
(I'm not an electrician at all, and my house -- while rewired at some point -- was built in 1916. π )
if you want to go zigbee way - there is no button as functional as Mijia button https://zigbee.blakadder.com/Xiaomi_WXKG01LM.html Has so many actions - double, hold, many, quad, release, triple, single. Utilizing all of them will make you a morse code operator for sure π
Ok so, is there a way in lovelace to have all cards line up at the bottom of the screen? So that I dont have columns with different lenghts? I ljust can't find a solution for that....
How can I have 3 "1-column grid cards" fill up the entire width of my dashboard? The 3 grids are just put below one another instead of next to eachother
hey i use Simple Thermostat form hacs and i am trying to hide the temperature of the hardware thermostate. but this doesnt work. i tried different varieties but it doesnt want to disappear:
https://paste.ubuntu.com/p/nT223y8Hjh/
https://paste.ubuntu.com/p/RzWH2pscJj/
Hey everyone, I'm looking for something pretty specific and I'm struggling a bit to find an answer. I'm working on an Android app that allows you to control entities, call services etc, from the notification shade. I'm already able to do that through the API. However, I'd love to be able to show an Entity detail card in the app when you long-press the item. So basically I'd love to show a webpage of the HA UI, but does an URL like that even exist? Something like this: http://your_ha_instance.com/entities/light_your_light for example? Whatever I search, I only find information about including iframes and entities in the lovelace UI, while I actually want to show the lovelace UI in another app/page, so to speak.
If you're building something with a webview, just load in a tab of a dashboard.
I don't believe you can pull through a single card from a dashboard. Make your own UI if that's what you want
Hmm, that's what I was afraid of
Not very user friendly to make the user also configure a dashboard per entity he's using
If I'm making my own UI I'd basically be building lovelace from scratch π seems kinda overkill
Making a whole new app to replace HA seems overkill too π€·ββοΈ
I'll post a little screenshot I think that will make it more clear
So basically, if you now hit the tile in your notification shade, it triggers a HA service, that is the core of what this app does. Doesn't replace the HA app, it just allows you to quickly toggle some lights through the notification shade.
I thought it would be cool to show the entity detail popup if you long-press the tile. To quickly go to the right HA entity and be able to change the brightness, for example.
I dunno. I get what you're trying to do but I don't think hijacking elements from another app's UI is the way to do it.
You want something bespoke, build something bespoke.
There's an API you can use to get/set most of the information you want.
Yeah, I agree it's a weird edge case. But in the end all I'll be doing is showing a webpage in a popup. And that webpage would just be a part of what's shown in HA, which doesn't even seem that weird to me.
But perhaps a native popup with a simple slider and on/off functionality could look even better.
If HA ever changes how the UI works, your app breaks.
They're far less likely to change the API.
Hmmm, perhaps I can link to the detail activity in the HA app instead
I'll see if that's a possibility, that pretty much gives you the same as I had in mind
anyone run into an issue with the "grid" card type being undefined?
Yes same here after a restart it was there again
@atomic garden try clearing your browser cache; assuming you're on 0.118
I'm running 0.117.6 right now, clearing cache and rebooting didn't help
I'll try updating to 0.118.2 and see if that helps
looks like that's my issue actually
any1 know how to invert color for a grid with buttons?
How can you size icons on picture element cards so they scale with the size of the screen the way the background image does?
I have seen on images that the light card have temperature slider. But I donβt see that on my lights. Is there a option to enable it or is that I have seen on other custom cards?
Hi everyone, I'm stuck on a problem I added to the style: part of a picture-elements card the line ha-card { top: 20% } which works on Chrome on desktop pc running windows, but not on Chromium on raspberry, anyone can help me out? If I edit the CSS in chromium by hand in the ha-card tag with style="left: 20%" it works, but the top seems like the page doesn't like it
Hello, i'm having an fault with my history page. It's like the history page doesn't update anymore. The light stays on Off while my light is currently on.
@marsh delta it is not on the native, not sure about custom
Can anyone reproduce this: Casting the default lovelace calendar card to cast.home-assistant.io will not show actual calendar entries
Dumb question. What's the image path for a picture entity if I want to store the images on HA?
Depends where they're stored π€·ββοΈ
I've tried several places in the HA install
Typically, you can only serve up content from within your /config/www folder. It'll be available at /local
ah
That's a little different now that the media_browser integration is around, so read up on that too in case you want to use it to organise media.
D'oh, bot's napping.
so it should be like /local/config/www/images/myimage.jpg
Oh, and it's media_source too π https://www.home-assistant.io/integrations/media_source/
/config/www = /local as far as your browser is concerned.
So a file at /config/www/photos/3.png would be available at /local/photos/3.png
Make it and then restart HA.
ok rebooting
You don't have to reboot the host, just restart HA.
Not sure, someone else can answer that π
because it's friggen massive
lmao
I'm trying to make the tablet interface for my new wall tablets lol
@cerulean prism scale the source image
Whats the best way to change from the circular dimming on a lovelace card to just a straight line, (like a long on/off switch) for dimming? I've found it to be hard to grab the dimming handle on my lights
does anyone know how to get light groups to show in the correct area?
only devices can be assigned to areas
I see, so the picture on the light groups documentation is just something done manually
yes
it might show up that way (expanded out) in one of the default cards, but I don't personally have any light groups
but it has nothing to do with areas
ok gotcha thanks
Does anyone know know of a good way to achieve the following? I would like a lovelace card that shows a snapshot of a camera entity every few seconds and clicking on it would load the live feed in full screen?
Nevermind, picture entity does just that!
@vapid field try this: https://github.com/thomasloven/lovelace-slider-entity-row
Hello everyone, i'm looking for the most light weight fronted (for a ipad2), i tested tileboard and it works great on all my devices except the ipad (won't load) is there someone here who has experience with controlling HA using a old ipad2
@random mantle have you tried appdaemon HAdashboard https://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html
Hi! Is there an easy way of customizing the look and feel of the main Map view within home assistant? The maps just looks to dull/washed out
Iwith nmap_tracker al IP adresses are now visible. I like to put of them in a 'custom:mini-graph-card'. I want to make it verry vissible to see when they go on ore of line.
can anyone help me with 'Unknown type encountered:' ? Have the error with type: vertical-stack, horizontal-stack, picture-glance
Where?
in ui-lovelace.yaml
@polar kelp i can give you an extract of the .yaml file and a screenshot
please
in pm?
Post it here. Then more people can help
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
My guess is you're trying to use a card inside an entities card or picture-elements card.
are there any plans for making lovelace cards drag and drop. the up and down arrows which move the cards now dont really do what i want most of the time. It would be nice to just have 3 rows in which i can drag cards to a row or pace them between others. more or less the same way the android widgets move when changing them in the home screen.
I while ago, the Add card dialog started showing real life examples. My HA instance is usually blazing fast, but this dialog now takes 32 seconds until it accepts data in the search field and 21-22 seconds every time I reset the search criteria to look for another type of card. I love the idea, but it has made the dialog unusable. I have ~1600 entities, I guess that has an impact. Anyway, can the "populate with real data" function be disabled?
@digital lynx Short answer: yes
thats nice. just have to wait for it i guess π
@polar kelp https://paste.ubuntu.com/p/STsRsHt3rr/
Your picture-glance card needs to start with a - like all the other cards.
Also your indentation seems off, but it's hard to tell.
and the vertical-stack?
What about it? It's commented out
But it shouldn't be there. It's a card, so it should go with the other cards of the view.
Then you need ```yaml
views:
- ...your view... it has title and badges and stuff and...
cards:- type: vertical-stack
cards:- ...one card in the stack
...more stuff about that same card - ...another card in the stack
...more stuff about the second card - ...third card in the stack and so on...
- ...one card in the stack
- ...a card that's not in the stack
- type: vertical-stack
- ...an entirely different view...```
so a vertical-stack is also a card type?
yes
thx
@polar kelp just looking into your custom fold-entity-row
Can you have it default unfolded?
sorry read not far enough it's explained at the end
@severe flame posted a code wall, it is moved here --> https://paste.ubuntu.com/p/JXjsnGyQs3/
RETRY #1: My apologies, I clearly forgot to put that in a pastebin rather than inline.
Before I open a bug/issue on this. I want to make sure I'm not missing something. I have reversed/inverted state that is a ping > binary_sensor, and it's only showing the wrong state in the default lovelace GUI. Please see the photo - https://i.imgur.com/1bq4Wa3.png. The actual state and icon show properly for the entity itself, but it's exactly reversed on the GUI. Just in case, I've also included the relevant portion of my configuration.yaml file - https://paste.ubuntu.com/p/4bmPXkjVQ5/.
