#frontend-archived
1 messages · Page 129 of 1
There’s been some breaking changes. Reread the docs.
i have read it not sure what im doing wrong
version 4 work perfect but i use to do with yaml mode
with integration mode no luck
ha! HACS must have been caching something.. like the original integration repository add.. restarting home assistant fixed it
i have tried with paths
/local/favicons/red
/local/favicons/red.png
clean cach etc and nothing
hmm are entity-button cards meant to change icon based on automation state?
@quaint tundra no
currently only things related to "sun/light" have their icons change color (I'm trying to get that changed)
@mild veldt yeah no worries. i might hold off changing them all to picture entities then.
can anyone outline the pros/cons of lovelace-auto-entities vs monster-card?
monster-card hasn't been updated in over a year
was that the motivation for auto-entities?
yes, of course?
ok. so it's safe to basically treat it as a replacement
lol.. somehow I totally missed https://github.com/thomasloven/lovelace-auto-entities#about-monster-card despite looking for it..
ok.. this is bothering me..even if it makes no difference...
- url:
type:
or
- type:
url:
and is this normal or does it mean I've ballsed something up?
Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.type` but received `"custom:auto-entities"`.
just not the usual warning when trying to use the UI to edit custom cards
order makes no difference
I know it doesn't.. but I'm a bit ocd.. so it still does 😛
the ui raw editor doesn't support splitting the lovelace yaml does it?
hmm.. I can't get state 'unavailable' to work with auto-entities.. it strips the quotes from the config automatically.. don't know if that matters.. but it doesn't work.
the raw editor mangles the order (changes everything to alphabetical)
hmm.. shouldn't strip the quotes of key values though should it?
it simply doesn't consider unavailable to be a valid state it seems
but you sure are right.. raw config seems to have mangled my views.. don't even understand what it's done
@viral sorrel it will strip unnecessary quotes
even though the example shows unavailable being used as a state it just doesn't work for me :/
and the raw config editor has bizzarely moved the path/title to the bottom of the views
It's alphabetical as David pointed out
that is a weird default
alphabetical is weird...?
yes.. when it puts the heading as the last thing because it starts with "t" for title :/
it's because the data is stored in JSON, converted using the ruamel library which does not preserve order
ahh.. that makes a bit more sense now.. wish there was a way to have the best of both worlds with the ui and easier direct editing also when necessary
I don't know a lot about that side of things, but from what I can tell it is a limitation of ruamel but other libraries do support persevation. I think there is an issue on it in the repo. Probably won't be something I work on
good to hear it's something that has been discussed.. promising for the future.. it's already a while new experience doing a fresh install
just out of curiosity.. is the switch to yaml editing by hand a one way trip or can you then revert back to ui editing?
that doesn't appear to address that at all
so is the omission confirmation that it's not possible?
or is the 4th dot point at the bottom addressing it without any other context? it seems ambiguous
You can go back and forth
ok.. awesome.. that's all I really needed to know. thank you
Np
To go back to UI, remove the config entry and copy the ui -lovelace.yaml content back into the raw config section
ok. I wish it said it that simply in the documentation.. I think it transitions into describing the opposite of what it begins with but not clearly.. at least to me. might read through it a few times
PRs to make the documentation clearer are always welcome
It is sometimes hard for devs to be able to take a step back and see from a user's view
I understand.. it's hard enough for me to explain what I mean much of the time.. I know what I mean 😛
I am configured for GUI but I maintain a yaml file and cut/paste that into the raw editor. The GUI editor I find useful for testing something before updating the yaml
@prime umbra You shouldn't include any filename in the path. If your icons are in www/icons/red/favicon.ico, www/icons/red/favicon-128x128.png etc. you specify /local/icons/red/.
that worked thanks
Looking for a way to have a view with the auto generated lovelace and different views manuly generated
nothing like that currently exists
Hold my beer.
@polar kelp took the bait
@polar kelp that gives an idea for core. When you create a new view, the ability to set it as an "auto" view for an area
or domain
12 minutes thomas...you're getting slow 🤣
The first gif failed, so I had to record a new one.
lol
Recording the gif is always the challenging part of these projects
https://github.com/home-assistant/home-assistant-polymer/issues/4021 @polar kelp @split granite other thoughts?
I'll need to add some safety functions. If you run it in storage mode it will ask if you want to take control, and if you answer yes, your config is lost.
I think that's a really good idea.
Yeah, I love it @mild veldt - makes it easy to create a view per area for folks
yeah, I really like this idea. Going to start on it next
Hi! I'm fairly new to home assistant and just recently set it up on a Raspberry Pi3+. Today I notice a message that a new version was available. It was version 0.100. something. My previous version was 0.98 something. After updating the Overview window (lovelance) is not responding (the circle is just going round and round endlessly) In the home panel I just get the message 502: Bad Gateway. Anyone else that experienced this after upgrade and if so how do I solve this?
That doesn't sound like a #frontend-archived issue...sounds more like a general #330944238910963714 error...
Thanks I will add it in the right channel!
I'm just coming back to HASS after about a year. Looks like lovelace is the new default?
Yes
And while it may look similar at first, it's a whole new world...
I'm finding that out. 🙂
Don't you dare close your eyes...
@polar kelp do you plan to bring Card Tools and some of your other card repositories like Auto Entities to HACs?
just add it as a custom repository
Ah cool! Thanks @wheat current you can just ignore my last message @polar kelp
https://i.imgur.com/pgsvHl3.png Thats what it will look like
https://i.ibb.co/DRBNDhG/image.png That's how it will look (
)
Looks like I have to learn Elvish
close enough 😛
haha.. Okay.. Slate is turned on now 🙂
I use this one
hmm, havent tried that one. My Temperature card looks pretty good in slate tho: https://i.imgur.com/qH4j5nv.png
95% of that theme is slate
is it HACS compatible?
It's still just called Slate on my setup 😛
I'm regretting not going with full RGB kitchen lights. I've got to use switch instead of the light card. 😦
If you're considering RGB do yourself a favour and go RGB-CCT
@scenic saddle https://www.home-assistant.io/integrations/light.switch/
well then.
I'm in the middle of a kitchen remodel and am trying to make it as smart as possible. Good time to throw a mositure sensor in the wall behind the main plumbing.
a kitchen remodel...omg...that sounds awful. i'm stressing out just thinking about it
It's ok when you get to pick the time...
Good evening! Is it possible to add a MDI icon in the header of a entities card? I'd like to group rooms with fitting icons next to the card title but according to the docs there's no icon variable i can set for an entire entities card.
Someone seen a google nest hub max with home assistant cast? Does it have two or three columns of cards?
My Max doesn't show up as a target 🤔
Depends on where you are in the world
They came out in the UK a few weeks ago
US has had them for longer
Gunderson?
I really want a bigger one for the living room to show my lovelace views
It's a much better display, I'm just unsure why it's not an option in Chrome at all
Much better display in temrs of? Brightness, dpi, colours?
Size compared to the smaller Hub, and everything compared to the Lenovo I had there
I thought size didn't matter 😦
Colour and DPI were things I hoped they improved on
Ok, restarted Chrome, cast works...
Two columns
I've never been unhappy with the colours in the smaller units
I always thought they looked very, very washed out
There's options for colour matching the environment (white balance)
Maybe that's your problem?
It's also quite possibly a user expectation problem - most TVs etc default to over-saturated
My TV has been set for a natural experience, and the colours on the Home Hub units are very close to what the TV shows when I cast the same images
No, I've modified them a bit, that's not the issue. If I for example start watching YouTube, the red is very matte, compared to all other devices, like TV's, Phones, Tablets, ...
I get your point with the over saturated colours, but I'm using natural /sRGB colour profiles where I can
Gonna doublecheck my device settings though, maybe I've overlooked something
I have a half-finished thing for that...
That's exactly what I meant. How did you achieve that?
magic
Then I went a bit crazy...
...wtf. lol
... and then I got caught up in something else and forgot about this
It's on my list of things to add to card-mod too
*card-monster
That's just confusing
*card-template-mod-monster-hack
better
👍
.io
*card-template-mod-m-m-m-m-m-onster-combo-hack
YES
wanted to play
-breaker
It's fun going through my old screenshots... Here's from when I was playing with animations.
Did browser_mod.set_theme replace frontend_set.theme perhaps?
no
I doubt that is possible
Those are totally different
Do the rest of you have full-time jobs, or are ya'all independently wealthy? Because I can't figure out how anyone can keep up with this discord, otherwise 🙂
Also the browser_mod.set_theme doesnt work using the example
lots of them, do i need to declare them in browser mod?
or just like i have used them with frontend set theme
That's the only reason I could think of for frontend.set_theme not to be there
let me just check
You should see them in the list in your user settings
oh wow... once again, love you...
^^
i have them in my drop down with automations, but somehow at my user settings they dont show up
thanks
Is it possible that as soon as I change this theme it will not change to another helper (in my case my wife)
Changes to the theme that are set are only for that user
themes: !include_dir_merge_named /config/themes
where i moved it to /config/components
quick fix, thanks again
The frontend.set_theme service changes the theme for all users who have their theme set to backend_select
Here's another option for card headers that I maybe should do something with...
@vapid field Install this: https://github.com/thomasloven/lovelace-icon-headers and add card_icon: mdi:whatever to any card.
There's also a crazy branch...
Thanks, @wheat current. Now I can just close them all with "Duplicate of #1"
🎉 🎉 🎉
31 open hacktoberfest issues for anyone looking to start getting into contributing to the frontend. Most should be good "first issue"s
https://github.com/home-assistant/home-assistant-polymer/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest
🎉 🎉 🎉
otherwise I'm making @wheat current do them on 11/1
Untill I upgrade my computer it does not look like I will even attempt :/
If he's only half as fast as @polar kelp I can see that it'd only take him the morning 😛
Hi everyone, sorry to bother you my question is so simple I don't think it is mentioned anywhere XD
I do not know where to check my config before applying it. All the tutorials I've found put it under configuration/general
@obsidian perch it was moved to Configuration > Server Control panel
Is there a way to lock a history graph card in Lovelace to a particular Timezone, ignoring the client zone? When I travel I want to see my graph in my home zone (it’s a solar generation graph)
And you must have Advanced Mode toggled on (located in your profile page) in order to check your configuration now.
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
Oh my XD thank you 😄
Use the command line check @obsidian perch
Though, that's a #330944238910963714 question really 😉
I got everything wrong XD thank you for your help!
Anyone know if it's possible to flip a picture entity upside down? I'm using it with the live view on a camera, hoping I don't need to put Blue Iris or something in between it and HA to modify the image. TIA!
Testers needed: https://github.com/custom-cards/restriction-card
cc @polar kelp haven't tested in rows yet (haven't really tested at all 🤣 in its custom form. Wanted to push it out before I had to head out for a bit)
any issue using the restriction card on the custom button card? i wonder if the lock icons overlap each other. nice work, been looking forward to using something like this!
looks like icons are on different sides so you'd see 2x locks. nice
@mild veldt Can we even hide a card using the restriction-card or may be that is beyond the scope? I am thinking of the PC card that I don't want to be visible to everyone
@raven nacelle yeah, I think visible would fall into this. I'll look into adding it
@brave basin why use both locks?
If I wanted to find/copy/read and then modify separately the GENERIC_THERMOSTAT card, where would I find the files for that?
ahaha, I didn't even publish the distribution files...
@raven nacelle okay, push out a working release and added the ability to hide
@fringe mulch unless you are on a dev environment, you can't (I don't recommend running production on a dev setup)
you can however make it into a custom card but that takes some extra work
the restriction-card I just posted was something I wrote for core, but then decided to move to a custom card instead, for example
@mild veldt hmm. I'll probably try modifying someone else's custom thermostat card. Thanks for the info.
@fringe mulch out of curosity, what are you looking to change?
I'm currently using the generic_thermostat as a hygrostat. It reads in degrees instead of percentage and the icons are for HVAC. I'd like to change the icons and have it read as percentage. It works great now for my needs, I'm just being picky.
Awesome....thanks @mild veldt
@polar kelp FYI restriction-card doesn't play nice with rows yet. overlay doesn't expand over the row at all
Anyone know of a good "button" thermostat instead of the slider one?
up / down for temps
simple-thermostat
looks cool ty
I have to figure out what to call mine still damn thing is labeled home. I almost need to name it Temperature so alexa knows what to do
@mild veldt Love the functionality. Haven't test every setting, but all good so far. 😉
How about a confirmation dialogue popup for confirm: action?
"Unlock? OK/CANCEL
Lock opacity is spot on! Not too intrusive 😎
Looks good 🎉 https://imgur.com/a/KudNoab 🥇
(red flash 👍🏻 )
Didn't I add custom text?
Maybe that was only on core I did that
Will double check
Sorry it took so long...was munchin' on a big bowl of frosted flakes😜
Super sweet!!! Editable text...why didn't I think of that? 🤔
I'm on v=0.1.2 I just guessed(I never was good at reading the instructions), 🤣 @mild veldt
@atomic glacier Added theme variables https://github.com/custom-cards/restriction-card/releases/tag/1.0.2
@mild veldt Okay, so I needa pick another color variable(
), but ... nice add! Will make good use of it...
https://imgur.com/a/Eto1NYi 💯
Edit:
adjusted lock opacity, but not there yet https://imgur.com/a/Ub2GhEy
@atomic glacier having too much fun with this. Added condition for restrictions https://github.com/custom-cards/restriction-card/releases/tag/1.0.3
@mild veldt I'll check it out. And the row thing is what this is for: https://github.com/home-assistant/home-assistant-polymer/pull/4012
@polar kelp Is there a way I can may my top nav (rooms) to be a vertical hamburger menu?
with a big house its hard to have everything horizontal on the top.
Get a ultrawide screen
Hey, how do I move stuff in lovelace? Like, the spotify module and weather icons that are on top by default?
@worthy cradle you can physically move the code in the raw config editor. You can also use the arrow buttons once in the configure UI mode .
@livid oracle You can hide them using custom-compact-header and have a "menu view" with navigation buttons.
@worthy cradle Click
in the top right and select Configure UI to get started
Ah, that easy? Thanx 😄
Anyone know if there are any plans to update vertical-stack and horizontal-stack with a GUI editor? Would be great to be able to keep the editing context within one of those cards. Currently I just have a big stack of YAML text inside my vertical stacks.
I would just LOVE a grid system for that
It's in the works.
\o/
Cheers!
You cannot
hello, is there a way to put the "shortcut" to integrations on the sidebar?
That will look super wierd
I made a plugin to not double-up the sidebar for routes that are one layer deep
(or several layers for that matter)
Hi everyone. I have installed a rolling shutter zwave device to my HA, now I would like to add it to my Overview (UI). however not sure which choice I should pick from the card configuration ( https://imgur.com/xPdDyZz ) so that I can have a slider of some sort to be able to select the level I want the blind
can someone help?
Is it possible to style the picture-entity card? Doesn't seem to be possible but wanted to double check
Just looking to make it a bit smaller
@brave basin try card-mod
@rustic walrus I haven't seen a cover card/row like that yet
@vapid field iframe
@polar kelp got rows working with restriction-card. Haven't tested elements yet. It is not inferred but an explicit option as custom rows won't have those classes set necessarily.
just jumping in here now sorry seen it while scrolling by is this a card that asks for confirmation before doing something?
nice adding that to my 3d printers
@mild veldt Option for length of time the card is unlocked for ? in seconds? a thought...
Congrats on adding the rows and the official release🎉
good call. consider it done
Do I need to reset HASS everytime I add a new JS to the <config>/www folder?
😦 updating to the latest version of ha broke my lovelace theme
looks what broke is the entity toggle
can't find the "on" color again xD
awesome 🙂
is there any other additional variables?
my title bar is apparently primary color which makes for some goofy text xD
hmm switch-checked-color doesn't seem to work as i expected
put this in themes.yaml switch-checked-color: "#4EC6CC"
ah i see it wont work yet
well that sucks for now
is there any way to specify rounded corners globally in lovelace? so it doesn't need to be specified in the theme?
No, only via theme ha-card-border-radius
yeah I thought so which kinda makes the themes in HACS useless
Anyone using Lovelace on a tablet? I use the webapp, but clicking buttons seem to lag a bit. Any chrome flags i can use to get rid of that?
@unborn cedar I've been running Chrome on Windows tablet for awhile, since LL evolved. Only issues here are the occasional browsewr crashes, but... I have an enormous amount of backgrounds that load up the browser. (60+ different background images)
hello, i have a question: is there a way you can have a pannel/butten in lovelace where you can change the color of the light without goint in to the "mor information" tab?
@signal vigil I use: https://github.com/custom-cards/light-entity-row
@atomic glacier Hmm, it is just animations
@unborn cedar I used to run several animations on my main screen, but cut them out becase my browser is always loaded up and 'ON' 24/7
@solar portal how do i get rid of them? It's even if i click a light to get on.
@atomic glacier thanks that looks good but i want more like a collor wheel or somthing like it
Moved the cards with animations to popup cards so I only view them as needed
@solar portal @signal vigil What are you trying to figure out?
I use "button card" addon thingy
I have this:
Single click:
https://i.imgur.com/j3T62fa.png
Holding click:
https://i.imgur.com/SOMLE2F.png
yea but i want that as a card
the colorpicker?
yea or a collor wheel
😄
i like the light entity card, are there more cool costom cards somone can recommend
https://www.awesome-ha.com/#custom-lovelace-ui-cards is a good start
thanks
There is also a metric 💩 ton in HACS
oke i font the spotify connect add-on and its working and i fond the spotify card and i need to do almoste the same thing and the card is working mostly is somone els using it?
I'm looking for a way to have a input number box to set the duration of a timer
so I have an alarm panel on one tab is there a way to make it popup over all tabs when it needs to be disarmed
@vapid field yes, examples in my repo here: https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/scripts.yaml#L2212-L2284
@unborn cedar also in my repo here: https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/scripts.yaml#L973-L1030
@wheat current Weather alerts component has been really handy lately: https://imgur.com/a/yQmJN4t
but the one thing that would make it super useful would be to have a persistant_notification to let you know there is an active alert ATM it happens.
I could not be so lazy and just create a popup for that😜
@timid burrow I think you can create a theme with ha-card-border-radius and add that at the beginning of each view and that may work to fix the issue by overriding that element. ??
@atomic glacier he's saying that the included themes in HACS don't have that set the way he wants. @timid burrow I would either submit a change to the theme's repo or fork it
New forum page with a few new designs and themes...
https://community.home-assistant.io/t/dinotechs-latest-mobile-designs-and-themes-updated-oct-18/143180
@polar kelp @clever ore @mild veldt Thanks! (you guys got front row 🎉 )
I love how there's almost no way to guess that's Home Assistant.
is there a custom card for a vertical slider? Did a quick search and didn't see one.
I've been thinking of maybe making some vertical cards. A slider and a thermometer or so.
thermometer with thermostat control even... if you're taking requests :}
for now I'm doing sliders for my LEDs and thought vertical would be nice.
If you make it, I will use it 
@polar kelp I have those on my list as well 🙂 the race is on!
well actually only a vertical slider, like homekit (it was pretty low on my list though)
was 😉
@atomic glacier Great move getting married a day after your birthday...tough to forget it that way 😉
Hi everyone! I'm in need of help as I can't move forward with my home automation until I solve this.
I'm using hass.io on a NUC using the recommended procedure. I have Grafana working, but it's impossible to view Grafana charts from Lovelace when using an Android device.
The reason probably being that the card on Lovelace links to hassio.local, but since Android devices doesn't support mDNS, the device can't resolve the URL and as a result can't view the chart.
I've searched online for hours, made threads both over HA's official forum, Reddit and Swedish websites but no one seems to have any idea what is going on - or I'm too bad at explaining, because no one has ever replied with any kind of suggestions.
I'm positive that there's a solution to this (probably a simple one), because I'm sure there are at least some of you out there using HA, Grafana and Android.
use IP of FDQD
Sorry, I don't know what FDQD means
I'm already using the IP of the NUC when browsing from my Android devices, otherwise I wouldn't be able to access HA at all (as it doesn't work with hassio.local). The card on Lovelace still links to hassio.local though
use the IP in the card too 😉
That doesn't work att all
yes it does
Okay, I should elaborate. It looks like this: https://imgur.com/a/lys2iAI
log in
Hold on, I might be stupid
Yes, that's likely it. I didn't notice the scroll bar, and the other text looks like text you'd have at the very bottom of a webpage. I'll just go ahead and login as you said.
I give up, I can't login
Isn't there some kind of bar-card already thats a bit lite the sliders in homekit?
@hearty plover 🤣 of course 😎
You're ___embedding ____ the wrong thing from grqfana
@wispy inlet Alright, I'm listening! I'm embedding the URL that Grafana gives me when I click "share".
@polar kelp you can't interact with those, right?
🤷
hey there, i try to change a translation (not in general, just for my special own use). i found a file that seems to contain the translations at : /srv/homeassistant/lib/python3.7/site-packages/hass_frontend/static/translations/de-821e28bbf4a500577ceb8c93cc58dfce.json but no change seems to take an effect. Could you give me a hint which file contains the translations?
I must be going crazy! Not a single username/password I've tried works when trying to login on that Grafana card. I've tried them all
Edit: Nope, just me being stupid again. I probably should stop now and continue tomorrow instead. Sigh, on the other hand, I learn from all these small mistakes. Thanks @wheat current for solving this for me!
@mild veldt thank you. in this docu there is a link to homeassistant polymer: home-assistant-polymer/translations/de.json but where can i find this file in my installation...
if i understand it right the docu is focused on translation via localize for the whole community
you need to restart HA after a change
hmmm. i even did a reboot. I am not sure if /srv/homeassistant/lib/python3.7/site-packages/hass_frontend/static/translations/de-821e28bbf4a500577ceb8c93cc58dfce.json is the right file or if it is build just at runtime based on an other file i just do not know
Looks correct, not sure if it's even possible to change those
is there another chance to change a translation without sharing it to the community?
I guess you could run a custom js script to change the values stored in the hacs object
if that is possible, the changes will not be removed when you upgrade
sounds good. Any idea where i can get a starting point for doing that?
Nope
Hello everyone! Does anybody know if i can clone an entity's interface and turn it into a custom lovelace card? i wanna recreate xiaomi's vacuum entity menu into a card and use some features already built(fan speed selector, commands and battery indicator). where can i find the file that contains it? Thank you!
@mild veldt thank you! i already saw those but they miss one feature i need most: setting the fan speed
well I would suggest just editing that first card to include that
that's why i tried finding the entity interface source code, to copy the feature from there 😄
The source is in the link I just gave you
I think...?
I don’t really know what you mean by “entity interface”
the menu that appears when you click the entity
i'll do a screenshot
https://ibb.co/nmyLTDN that's what i mean by entity interface
no card has the fan speed selector it and i dont know how to integrate it
@mild veldt problem is everyone will use a different border-radius so a PR to the themes repo will only help me and will no doubt piss off everyone else. It would be far better if you could configure the border-radius either for the whole of lovelace or for each view. Then you could just load the themes from HACS and they would behave how you want them. I suppose it's not a drama anyway as I expect the themes won't change much anyway.
@mild veldt that's exactly what i was looking for, i love you
You're asking to make HA work with HACS when it should be the other way around
@mild veldt well I only see the problem with themes d/l by HACS but it possibly makes more sense to be able to define global styles outside of the theme so you can just easily change theme
themes are defintely going to be evolving; aligning their naming, exposing more, adding UI editors to create them and I just submitted a PR to allow them to be more easily applied to individual cards. so it will be an ongoing thing for a bit
ok... even more reason to be able to set a global option in lovelace so you can just update a theme then
The theme is the option
Hey there, is there an option to define the color of an icon based on State in a binary template sensor or a template sensor?
https://gist.github.com/ludeeus/fb0a8410d6c04e7f2f58b23cbd4e1542 @timid burrow For your theme needs
ages ago, before lovelace, there was a custom ui that allowed you to configure entity friendly names based on the context they were in.. is there anything like that for lovelace now?
Not natively
Is it possible to use wildcard to populate a card with all device_trackers?
I'm dreaming of something like lovelace-auto-entities but for friendly names
And there i got the answer maybe...
You did
Think i removed card-tools when moving to hacs
thomaslovenlace keeps coming out with amazing things so maybe we'll get something that does friendly names too
Why not just specify name:?
because in my case I would need to do that dozens of times.. in fact in EVERY SINGLE CASE
well not quite true. there would exist times where I want the full name
so that's 9 x 10 just for energy monitoring... which is probably 5% of the interface
if my old HA hadn't broken itself somehow I could link a screenshot... unless I can find an old one
So, 90 entities, minute an entity if you're slow, hour and a half
You've problem spent longer searching for a solution 😛
yes and then ther's the other 1000
and because of all the manual editing there are a lot of mistakes
so you end up with a card with "Living Room" as the heading and "Living room whatever" for 20 entities or so a go if you're lucky instead of just stripping the redundant (and very noisy) extra info
https://github.com/andrey-git/home-assistant-custom-ui go around that.. used to have screenshots but not seeing them now
was SUPER fiddly but could be templated
example
https://github.com/home-assistant/home-assistant-polymer Here is the source of the frontend (which includes lovelace), if anything is missing create a PR to add it, or open a feature request on the forum 😉
I can't even figure out how to debug a custom component anymore despite spending dozens of hours on it :/
and I wrote it
I've forgotten more than I ever knew 😦
I wanted to make some PR's this month but I had to give up.. couldn't figure out how to get discovery worling in the dev container.. at best I can suggest to developers how they could easily add unique_id's to their components..
some sort of regexp-friendly-name plugin where you can strip the card name from the friendly name would probably be 99% of the way there
I am trying to use the mini media player, I am still using the raw editor and not the ui-lovelace.yaml, I can't get the grouped card to work, can anyone let me know if this will work or do I need to move everything to my own ui-lovelace.yaml file?
it will work
can I paste my code here to show you?
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
That is not correct, look at the docs for the entities card and the custom mini media player card once more
Ok thanks
Ok I have it working, well displaying, issue is the source is showing for all players, I want them to use the same source as the top player.
Hello! (hopefully) quick question: I've just installed a Tado Smart AC Controller V3+ and added the neccessary tado config to my configuration.yaml..
This gives me no errors, and the AC also shows in the 'states' section, as a climate component with the correct state... so far so good...
Now I wish to add it as a card to my lovelace config, but I get the error: "specify an entity from within the climate domain"
Has anyone else had issues with tado AC control?
@livid oracle :
- type: custom:mini-media-player
entity: media_player.master_bedroom_tv
artwork: cover
@vapid field Hmmm that will make them play the same source?
@dawn cairn posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/pwMFbqkmQd/
@livid oracle : check the paste bin link 😉
@dawn cairn Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
The issue seams that each player is still showing the source drop down
little update on my own problem: I just found that even the sensor components for TADO are not showing in lovelace...even though they are correctly showing in the "states" section
add them yourself. If you stopped using auto-mode, then you need to continually configure your ui.
Hi, how do I create a numeric input box in a card with Lovelace? I've followed the documentation https://www.home-assistant.io/integrations/input_number/ but it's not showing up. It's really confusing me...
is there a lovelace card that will refresh the photo you're pointing to ? Location is in www folder. adding '/local/driveway_latest.jpg' to all the current picture card shows me a older image
Thanks !
Probably, but that is overkill, just use the file camera integration in #330944238910963714
I saw that came up a few times in google but couldn't get it going.. It also seems that cameras are handled by picture-entity in this release. Can't remember if that was the way it was done in the past
I think it has always been like that
That will only work 1 time
Is somebody aware of a lovelcace card that requires authentification? I know there are some cards where you have to enter a pin, but I was more looking after something like with FaceID or TouchID for iPhones and the Android equivalent of that functions.
@mint geode no. Websites don't have access to those functions from what I know webauthn could be used (Thanks @wheat current )
Ok. Wouldn’t it be possible to do something with combination with the companion app as well? All be it with a feature only available for iOS users?
Hello, I'm just getting into HA today, not real strong on it yet, but i'm trying to figure out how to show dashboard on other devices (wallmounted ipad, rpi with touchscreen etc) and i dont understand one thing. the loveless interface looks really promesing and customisable, but all i find when searching to set up a device to show this i get appdeamon or other apps. is there no way to just the overview in loveless avalible to other devices? maybe only one tab for this device and another for another device?
Maybe the reason i'm not finding an answer on my search is my poor knowledge so far on what to search for, but hey. first time for everything.
If someone has 2 minuets of their time to help me understand this, thanks!
so I added the integration "shortcut" to side bar, but it opens another side bar when I click on it
https://imgur.com/jQSPO1G
Anyone knows how to fix this?
@wheat current THANKYOU!!!!! THAT is exactly what I was looking for
Ludeeus is away for 4h 52m 17s with a message :point_right: tea time
This is my list of views from 1 to 38 - don't see the picture below. And that's the display settings (for the iPad)
https://imgur.com/a/D1mPXNZ
When I open Ha, he redirects it to another tab. What am I doing wrong?
Is there a way to stretch single lovelace card to full page?
I would like to have full page historygraph
@median valve make a separate view for the historygraph card, and then change the view to "panel mode" and it will be full width.
not as far as i know..maybe with a custom card
I've (kinda) solved the issue by migrating to https://github.com/kalkih/mini-graph-card which is a bit taller by default and also has customizable height
2019-10-20 17:22:11 ERROR (MainThread) [frontend.js.latest.201910022] http://hassio-prime:8123/frontend_latest/chunk.8918ba95d520bf25b681.js:2464:435657 YAMLException: unacceptable kind of an object to dump [object Undefined]
I'm getting this error woth 0.100.2 without any extra plugins installed
Anyone knows what custom card this clock card is? https://preview.redd.it/8tga388clit31.jpg?width=960&crop=smart&auto=webp&s=42c13c27a196c0c034d53e548c7cc58cc803e52c
You're probably right, that isn't lovelace
Good idea with the useful-markdown-card, will use that. Thanks!
Wait! No! Stop!
I forgot I haven't updated that.
type: markdown
content: |
# {{ states("sensor.time") }}
## {{ states("sensor.date") }}```
Use that instead, but with style: as on github, and with card-mod.
When was the feature added to use dynamic content on the stock markdown card? Was looking into that a few months ago and thought it was impossible?
.98 or .99 I think
Back then I found useful-mardown-card
Ok, thanks again, will update my lovelace then 🙂
I get an error while in the UI editor, it works though: Expected a value of type `undefined` for `style` but received `"ha-card {\n padding-top: 24px;\n}\nh1 {\n text-align: center;\n font-size: 6em;\n}\nh2 {\n text-align: center;\n}\n"`. Should I ignore that?
I don't really know what the "ha-card" is for to be honest 🙂
It changes the looks of the card https://github.com/thomasloven/lovelace-card-mod
you have to ignore the error in the UI editor
Ok 👌
Yeah. I haven't found a reliable way of removing that yet.
Looks good. Is there a way to reduce the padding under the time?
@errant plover thanks for that msg, I'll be looking at that post over the next month when I start building these. I probably won't respond to it for a few weeks until I get my bearings.
Looks great @polar kelp
Took a bit longer as I had to add the sensors to fill the card with 🙂
NM. Found it. margin-bottom: 0px;
style: |
ha-card {
padding-top: 20px;
}
h1 {
text-align: center;
font-size: 6em;
margin-bottom: 0px;
}
h2 {
text-align: center;
}
``` works great for me
I'm not sure I like being reminded how late it is though. https://i.imgur.com/6Ey2Ww9.png
can an entity card header toggle be called in an automation?
I assume not then
@errant plover I don’t have a clock in my room, but I’ve got HA on my Google Nest hub which now displays the time.
Wouldn’t need it on my phone or pc, but that’s how it is. Would be great to have device specific Lovelace layouts
@fiery sail not that I’m aware of.
Depending on the domain though you can group entities like covers to call in automations. That would be more of a topic to ask in #330944238910963714 though
@errant plover that screenshot looks great, do you have a repo with your config files?
Hi!, how can I change the size of the entities or entities button?
Click
it your browser, then zoom in
@cedar kestrel posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/Gq4893CxPc/
and this my customize.yaml
sensor.bad_fenster:
templates:
icon: mdi:windows
icon_color: if (state === 'offen') return 'red'; else return 'green';
anyone with an idea where my mistake is?
... wrong formatting in the first part. This is the text of my first post:
hey there. i try to color a icon based on a templates state wit custom_ui - but i can´t get it work. This is my configuration.yaml :
customize: doesn't support templates like that
You'll want https://gist.github.com/dale3h/c66c14e0ee9dae47ff246ee081cc2e27 instead
Thank you. Do i need custom_ui or card_mod dir that?
@wheat current that js file works great. Thanks.
Ludeeus is away for 1h 55m 12s with a message :point_right: tea time
Hey everyone
Im trying to add icons next to each tab that ive created. However when i add it things go wrong and the tab is clear
anyone have any suggestions?
is there a lovelace card for controlling a blind position, a bit like the thermostat card where you set the target and wait for it to get to target but looks like a blind instead of a thermostat like the thomasloven card
If you have horizontal blinds, slider-entity-row. And plese don’t ping people randomly.
@polar kelp sorry, not my intention, i meant to reference you, not message you
the problem with slider-entity-row card is that it doesnt show current position, which is why i reference the thermostat card which shows current v target
@lost wigeon i solved it by making buttons for it
Which light up if its "there"
@lost wigeon https://i.imgur.com/V5Bh9vC.png
@unborn cedar yeah what we now need is some great person to create a nice card with blind animation 🙂
i accidentally messaged thomasloven instead of referencing him ,maybe one of the voices in my head wanted him to do it, hahaha #manypeopleinthehead
Hi everyone! im new here, does anyone know sensor.hacs filter state?
filter state? and #609399695466430465 for #609399695466430465 😉
im in the wrong channel sorry
I am on the latest build, I click on unused items, select few new ones and I cant save them. I dont know how to save them. I hit x and its not saved
Click the +
yes
ah okay, got it thx
hello, im new in home assistant, can someone help/direct me how to modify weather card to display temperature/humidity from my own sensor and not from internet? i have working sensors:
- platform: mqtt
name: "WS Temperature Outdoor"
state_topic: "home/stat/temp_outdoor/RESULT"
value_template: "{{ value_json.temperature }}"
unit_of_measurement: '°C'
device_class: 'temperature'
- platform: mqtt
name: "WS Humidity Outdoor"
state_topic: "home/stat/temp_outdoor/RESULT"
value_template: "{{ value_json.humidity }}"
unit_of_measurement: '%'
device_class: 'humidity'
I'm trying to use the javascript templates with custom button card, but it's not working at all - if I use it for icon or color it's like the property is not being set at all. I got no errors in the (web inspector) javascript console - any ideas what could be wrong here? Do I need to enable the javascript template feature somehow or configure something in a specific way for this to work?
@split granite i saw this page, but i dont understand how/where to change source of temp/humi for this component 😦
Tinkerer is away for 1m 11s with a message :point_right: You trust Becky? Becky's eating a cup!
hello, is it possible to use !include in the .storage/lovelace card configuration method?
also, should I be using the lovelace YAML method, or is this the long-term way forward? it seem a lot of the documentation for various add-ons assumes you're use the ui-lovelace.yaml way
Good afternoon, I just updated from a couple versions back and now my smartir climate components are not working
How do you update a custom component?
@dreamy field you cannot use !include in storage ode
those plugins more likely have outdated instructions
but neither are going anywhere
@pallid needle wrong channel
hey guys, I'm having trouble using the tap_action for glance; after attempting to copy from the documentation I get an error
type: glance
entities:
- entity: sensor.my_sensor
tap_action:
action: url
url_path: https://google.com
title: Commute
columns: 2
Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received {"action":"url","url_path":"https://google.com"}.
I didn't direct copy, just following the scheme I saw for other options for tap_action
and advice on what I did wrong would be much appreciated 😄
I have tested some permutation of entity,name,icon,etc. under the entity key. I don't think I know how to read the above error?
I was able to use the navigation_path command as follows and get basically the same error, except this works...
type: glance
entities:
- entity: sensor.gix_avoid_tolls
tap_action:
action: navigate
navigation_path: /lovelace/cast1
- entity: sensor.gix_with_tolls
- entity: sensor.cody_to_home_avoid_tolls
- entity: sensor.cody_to_home
title: Commute
columns: 2
Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received {"action":"navigate","navigation_path":"/lovelace/cast1"}.
not sure how to go about attempting to open a URL remotely 😛
maybe there's an easier way. What I want to do is open a URL to navigate on Google maps when I tap the entity in lovelace.
@mild veldt is on 🔥 
any chance of getting restriction-lock-icon-size while you're at it? I've only had one use for it so far, but 🤷🏻 ( just thought I'd toss it out there)
@mild veldt that would explain it. I'll keep on top of the changes 😁
was there a method to go from a partially configured yaml-less config to a yaml one without going into raw config and having everything sorted? or is it not sorted the first time you go in (i'm afraid to check in case I make things worse)
it's always sorted
bugger.. that's really the only thing that makes it difficult to use
Yeah... the alphabet is hard..
binary is easier so why don't we all write in that?
01000010 01100101 01100011 01100001 01110101 01110011 01100101 00100000 01101110 01101111 00100000 01101111 01101110 01100101 00100000 01110111 01101001 01101100 01101100 00100000 01110101 01101110 01100100 01100101 01110010 01110011 01110100 01100001 01101110 01100100 00100000 01101001 01110100 00111111
Keys are strings, and thus sorted both binaryly and alphabetically
(in lovelace, yaml allows other key types too)
it moves related settings away from each other.. that's an issue for me. I love the ui and that's what I use mostly. but there's always things that need closer attention in the yaml.. and then boom.. titles at the end and all sorts of spaghetti.. I'm sure it will eventually be able to NOT sort. just a matter of time
personally I hope not
only reason not to is to make it difficult for users who prefer to use the UI 😛
or different focus
How about not needing to use the raw editor at all 😉
seems like the focus lately has been squarely on ease of use
well I was surprised it existed.. I thought the editing could be limited to one card at a time
I only just tried all this for the first time very recently
and I did hear on the podcast a while ago how the goal is for each card to have ui editing in the future
do any third party cards include ui editing functionality?
Speaking of, that thing you did @polar kelp to get custom plugins in the "+" list, is that published somewhere?
Some do @viral sorrel
No. It's not nicely behaved enough yet.
I.e. there's no guarantee it could be done twice by different cards.
oh, that's a bummer :/
Anything I can to to inject it from HACS?
Ideally, it should be a feature of lovelace, so a custom plugin could "register" a card that would show up in the picker.
I think I'll focus on adding that to core, rather than trying to shoehorn it in.
Sounds reasonable
is this to do with manually adding the includes?
Is there any plans/work allready started, for a resource editor?
so this is going from the other direction, rather than choosing entities and then the type of card you choose the type of card and then configure your entities? feels more natural to me
That's how it normally works...?
I assume it would work from both places, not that I have tried using the unused sectionin a while
lol.. so it is.. I've always gone the other way.. I add something and check unused entities, select them and then choose a card
The unused adder (introduced in 0.100, I think) only adds cards that have an entities: list - which currently is entities and glance.
0.100 is the first version I've used the UI configurator in..
2019-10-22 20:25:51 ERROR (MainThread) [hacs] Validation for hacs/integration failed with GitHub returned 404 for https://api.github.com/repos/hacs/integration. does this mean I put in an invalid token?
because it says it's still updating and 10 minutes later there these:
2019-10-22 20:35:02 ERROR (MainThread) [hacs.repository.integration.Michsior14.ha-laser-egg] Repository is archived.
2019-10-22 20:35:02 ERROR (MainThread) [hacs] Validation for Michsior14/ha-laser-egg failed.
2019-10-22 20:35:25 ERROR (MainThread) [hacs.repository.integration.Michsior14.ha-kaiterra] Repository is archived.
2019-10-22 20:35:25 ERROR (MainThread) [hacs] Validation for Michsior14/ha-kaiterra failed.
First, #609399695466430465 is for, well #609399695466430465
Second, no (see pinned issue in the repo for that #609399695466430465 )
which will have a planed release date on Sunday/Saturday.. I found a bug.. I think you mean planned. I've never seen a pinned issue on github before.. learn something new every day
I need to remember that trick.
Here @viral sorrel , try this:
http://lmgtfy.com/?q=definition+of+software+bug
🤔 I wonder if I can pin this one on all my repos: https://github.com/thomasloven/lovelace-icon-headers/issues/1
You can only pin issues that are in that repo :/
Buuut, I would assume you get atleast one "issue" like that in every one of your repos 😛
in my defence I never said it was a software bug 😛
It's not an ant either
it's not that far a leap.. https://preciseproofing.com/grammar/grammar-rules-5-common-grammar-bugs-you-can-squash-today
Could be @polar kelp at least it was not me 😛
I bet people in Norway speak and write English far better than most people in English speaking countries 😛
certainly true in my experience for Sweden.. didn't spend much time in Norway
Sweeden is a whole different story
I only speak American
I'm looking for Events featured in ha - Anyone Know Anyone?
Events like "state_changed"?
or events like "State of the union" ?
No, events like "There is an event tomorrow" Or Events "Taking the Dog for Vaccination"
Calendar
link?
Question, I realized that card-modder is no longer supported
https://paste.ubuntu.com/p/h65CZ95Snw/
That’s my code. So what’s going to change here?
I tried to play the code and it didn't turn out well, so I called for help. Can you fix this for me please?
ites ok now?
- type: custom:bignumber-card
title: Target
entity: sensor.sensibo_target_temp
scale: 24px
style: |
ha-card {
background: var(--card-color-off);
--paper-item-icon-color: var(--icon-color-off);
color: var(--name-color-off);
border-radius: {{ states('input_select.border_radius') }};
box-shadow: {{ states('input_select.box_shadow') }};
opacity: 0.8;
}
looks ok, if you have card-mod installed
Yes I have - thank you
@mild veldt I usually have a reason for a request🎉 https://imgur.com/a/YLfXiyS
popup card lock screen
whew...I hope it doesn't break now
@fringe mulch https://www.home-assistant.io/lovelace/history-graph/ doesn't support entity state
What did you mean?
@split granite using Mini Graph card. Trying to add lights on as a y axis.
https://github.com/kalkih/mini-graph-card/blob/dev/README.md
I'm sure I'm just not coding it right .
So, not the graph card 😉
Ya. Should have been more specific.
The option would appear to be show_state?
maybe. though...as soon as a add y_axis the line data for the 2nd entity (switch.lights) goes away.
Its much easier to help you if you provide actual details
Can I make the Icon of an entity change depending on its state?
Like by default it changes colour but I want the colour and the icon itself to change
template sensor can do icon change,
It is not a sensor, it is just a switch entity but I want the icon to be different when it is off and on
When I click on a card in Lovelace I get a small log view of recent states. Is there a way to maximize it to see more data?
So template switch then
Nice combo @atomic glacier!
Sorry about all the questions. Is it possible to add an icon (mdi) in the entity area: sensor.greeter_card_info?
Can you give an example according to my code please?
it is just like what you're already doing but with an icon https://www.home-assistant.io/lovelace/picture-elements/#icon-element
I have a local_file camera that I am using in a picture-glance card. A few times a day, the image shows as "broken" on the frontend. Any thoughts on fixing this?
@split granite OK. I think I've found the solution to my problem. The switch.lights doesn't read on/off as 1/0 so all I get in my graph is 0 for the switch. Can this be done as a template?
Sure, create a template sensor (or binary sensor) and graph that
@split granite Awesome. Now I gotta learn template sensor and/or binary sensor. I'm assuming in the template i'll create an entity_id and that's what I'll link to?
@fringe mulch 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.
And, the answer is in the docs, obviously 😉
Thank you!
@limber fjord Follow this guide to add your first custom plugin to your lovelace configuration
Also HACS is an option
Hey all new to lovelace - in fact dont even know if im using it 😄 ...I'd like to add the following but not sure if I can do so through the UI or if i have to create a lovelace.yaml file?
Please read the guide that I just linked ☝
Ah didnt realize that was you.. okay thanks!
looks pretty straightforward...
I guess only question would be what happens to current cards before switching to the "Configure UI" mode
`By default Home Assistant will maintain your user interface, updating it when new entities or Lovelace components become available. If you take control we will no longer make changes automatically for you.
Are you sure you want to take control of your user interface?`
Is it possible to grab the this current conf and load it into the new yaml file to start off with?
iirc that is what happens by default
It just stops making automatic changes when you add entities in the future
though I could be wrong. You can always revert back to automatic mode though 🤷
ah okay, was always nervous to switch to that mode because didnt want to lose everything i had
oh okay cool
here goes!
Yep looks like its there
thanks!
Trying to get monster-card to work with gauges, but whenever I modify it to do so, it ends up disappearing completely. Does it not work with gauges? Further reading points to using auto-entities instead, I'll try that and report back.
@elder pendant thanks for the guide - this is great! Is there a repo with all the lovelace cards? I.e. Plex card, Sonos Card, etc..
Check out HACS, it has a good collection of custom cards
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.
404
Ah, bummer. I'll update the link to the current docs.
https://hacs.netlify.com/ here it is in the mean time
Looks like @wheat current updated the command and then forgot to let the bot know it had changed 😮
Ludeeus is away for 1h 57m 12s with a message :point_right: tea time
Can't get auto-entities to allow for gauges either, any thoughts? yaml type: 'custom:auto-entities' show_empty: false card: type: gauge unit: '%' show_header_toggle: false filter: include: - entity_id: sensor.*batt*
Am I doing something wrong here?
- type: module
url: /local/mini-media-player-bundle.js?v=1.4.1
- type: js
url: /local/upcoming-media-card.js?v=0.1.2
title: Home
views:
- badges: []
cards:
- type: 'custom:upcoming-media-card'
entity: sensor.sonarr_upcoming_media
Getting the following error:
Custom element doesn't exist: upcoming-media-card. { "type": "custom:upcoming-media-card", "entity": "sensor.sonarr_upcoming_media" }
@mild veldt Thank you very much for your help
Followed the same steps for setting up the mini-media-player-bundle and its working fine
Yeah I did already
or at least i thought i did, isnt it just as simple as adding to www folder?
@strong finch ?משהו אחר
ah nvm think i got it
browser cache 😅
heya! anyone have any links to some good starter templates for building out a dashboard screen on here for workout tracking / reps I could feed in from a google sheet?
would be cool in the home gym for that to show up on the tablet i setup in there.
What card shall I choose to add an element like graph: line
You're looking to add a line graph?
Yeah, just that
I see from the demos that's the element, but when I press the + button I don't get which one I should use
Sensor
Oh 🤦
Is there a possibility that lovelace's website will automatically be reloaded? On my wall tab, the page always freezes after a while.
Guys where should I put theme: in UI-lovelace.yamlif I want to theme all Lovelace UI?
For those coming late to the party - discussed in the cross post in #330944238910963714 😉
Got it. Was looking in the wrong place. Thanks @split granite
@next sparrow you can put that in an automation using browser_mod
@next sparrow You can use hass-browser_mod with an automation to relaod how ever often you'd like. Example here:https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/automations.yaml#L360-L368
dang @mild veldt types faster than me 🤣
🏎
That's a "soft" reload, though. Pretty much just rebuilds lovelace.
Is it possible to combine picture-elements with entities? I tried by code and it shows two elements - I want it to be together.
try the custom card vertical-stack-in-card
@atomic glacier Which Version you are running? The newest Version should have a Problem. Or the Problem is inside my Configuration. I dont know. :/
@next sparrow 0.100.3
I mean the Version from browser_mod. I'm also at 0.100.3
@atomic glacier @polar kelp This is the fault in Log after i start browser_mod.debug:
2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] http://192.168.xxx.xxx:8123/browser_mod.js line 181 > eval:28:3 TypeError: moreInfoEl is undefined 2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] webpack:////card-tools/popup.js?:28:14 Uncaught TypeError: Cannot read property 'close' of undefined
@mild veldt you mean something like this? https://homekitnews.com/wp-content/uploads/2018/07/brightness-slider.jpg sorry for the very delayed response 😄
@compact ledge haha, yeah. Was just joking though (but would be cool if you did it)
@next sparrow latest version in HACS. I am away from my computer for awhile and the error Thomas may have a better idea of what that is.
Hi guys! Who has a tablet hanging on the wall with lovelace running on it?
I've been hesitating about the fire8, but read mixed stuff about lovelace compatibilty
Got sent here for this question 😄
Any ideas? recommendation?
I use a Lenovo M10 in my kitchen. It's fine, but not amazing. Depends on how much you're going to interact with it
I have a Asus Transformer book on my wall
well, it has camera, lots of lighting, thermostat control
Just the screen part though 🙂
I also have an old iPad3 on the wall, but it can't handle Lovelace
I used to have a cheapo asus tablet on the wall, but it was too slow imo. Using a samsung tab 5se now
fire tablets are awful; not 100% sure on the newest version, but they are cheap for a reason IMO
I have one in a drawer somewhere. Amazon locks down the OS too much to really do anything
they released a new one like a month ago
nevermind, that was the 10
specs look about the same as the last though, just has Android P as the base now 🤷
Can I track the number of steps with Android mobile?
that's not a lovelace question
Pretty limited imho...
you're right. we should just scrape it and start over
That's the spirit!
hm so what would the best option be for a tablet?
#609399695466430465 @limber fjord
anyone help me understand an error I'm getting
Expected a value of type undefinedforstate_filterbut received{"off":"brightness(100%)"}.
trying to add two lines to a picture entity
"off": brightness(100%)```
It restores color, but I get this error
@faint bloom share your full config for the picture-entity card
entity: script.1571859105158
image: 'http://10.0.1.101/images/dinner.jpg'
aspect_ratio: 50%
tap_action:
action: toggle
show_state: false
state_filter:
'off': brightness(100%)```
That's just the UI editor that complain? It does work?
the UI editor doesn't support state_filter option is all that means and you'll have to use the YAML UI editor
Is anyone else using the roku card https://github.com/custom-cards/roku-card
I'm trying to figure out where to get the netflix icon
and how to connect other apps that I have
ah just figured out how to add the other apps that I have, it's just the id
dang I gotta add that. I wanted just a card for remotes this looks maybe a little better
do most of you folks use YAML mode or the UI editor?
Personal preference
yeah - I like he real-time updates of the GUI editor, but it seems to still have limitations
you can use both
I am configured for GUI but I also cut/paste in raw mode from a yaml file. I like to see style changes in real time with the gui editor and then put those into the yaml and cut/paste in raw mode
yeah, I know what you mean - I wish comments would be preserved though
don't have to be preserved! They are all still in my yaml file and I really don't care if they are lost in raw mode
so you just always edit-in-yaml, then cut-paste to raw UI?
ah
unless I use the GUI to test or see how something will look
then I do it in yaml and paste to raw
as Ian said.. purely a personal preference
my normal MO for HA is using VSCode on my mac with SMB mounted /config dir from my Ubuntu server
I dunno why I switched to GUI editor
i prefer notepad++ myself but have vscode addon as well
but now I can't decide 😄
@hallow spruce you can always switch
yeah
There's also this https://github.com/thomasloven/lovelace-gui-sandbox
In yaml mode you can
is that documented somewhere?
If you find some missing in the docs or it's confusing, we always really appreciate PRs to help improve them
is anyone here using the mini media player module? I've installed it with HACS but if I add a manual card with - type: 'custom:mini-media-player' I get the message No card type found.
ahh.. the - in front of type in all the examples is the problem
would it be possible to use state_filter in picture element to color part of the image depending on the current state of a light for example?
Not sure I quite understand how to. I am using the opacity and it works well but I was thinking of colorizing a white light depending on the rgb value of a light entity
You can use the filter hue-rotate to change the colors of a picture.
Or saturate to de-colorize it.
Is there a way to define the right rotation depending on the rgb value?
@polar kelp Hi Thomas. Do you have a Solution for my fault with browser_mod?
@next sparrow repeat it so he doesn’t have to search
@DinoTech @thomasloven This is the fault in Log after i start browser_mod.debug:
2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] http://192.168.xxx.xxx:8123/browser_mod.js line 181 > eval:28:3 TypeError: moreInfoEl is undefined 2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] webpack:////card-tools/popup.js?:28:14 Uncaught TypeError: Cannot read property 'close' of undefined
Without seeing your config my guess would be the entity you provided is wrong or doesn’t have a more-info dialog
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
There is no entity from browser_mod in my home assistant. I don't know why there ist not comming up.
you need to share your relevant config
an entity_id is required if you are calling browser_mod.more_info
Yes, but i call browser_mod.debug and not browser_mod.more_info.
That’s an error that pops up from time to time, but I’ve never been able to nail it down because it fixes itself.
Try manually opening a more info dialog by clicking something, then close it and try again.
@polar kelp no success
Do you get the same error with the more-info command?
No. There is no error. At the moment I only have one error with browser_mod.debug:
2019-10-24 21:18:14 ERROR (MainThread) [frontend.js.latest.201910022] webpack:////card-tools/popup.js?:28:14 Uncaught TypeError: Cannot read property 'close' of undefined
But card_mod.more_info works?
@polar kelp I did not install card-mod. Is that necessary?
@polar kelpNo, nothing happens at browser_mod.more_info. No device (deviceID) was created either.
Is it possible to display a sensors unit_of_measurement in different colors based on specified ranges? I know it can be done with the sensor card icon but can it be done with the number?
With card-mod perhaps?
coming from the person who wrote card-mod? I'd say that's a pretty good perhaps
Can anyone shed some light on how to cast to a Chromecast? I have it semi-working, I can start casting, but only see a HA loves Nabu Casa 'Connected' screen.
How do I setup which page to show on the cast?
I have this card in lovelace to start casting:
entities:
- name: Home Assistant Casting
type: cast
view: lovelace/verlichting
theme: oxforddark
type: entities
i've been messing with the view, trying different options. Im assuming this should be the name of the Views in lovelace ? I gave both Title and Url path in all my views the same name..
is it possible to know which was the previously visited View? i want to make a "back" button, but not with a hardcoded url_path.. more like how the browser back button would work. (i want this for a google cast ui)
No, that's not kept anywhere; at least not that I can recall
darn 😦
I can think of a work around...but it's going to be messy
Nevermind, I don't have anything
Was thinking a inout_select that stored the last view, but would need to be able to have your navigation action also update the input select
@polar kelp I just installed your card-mod set
Multistep actions...no...must resist...
Hopefully with new backgrounds I won't accidentally turn on the bedroom tv when I'm in the living room
thanks!
@mild veldt I gotta thank you too, I just updated my roku card
good day
now I can get directly to some sources with the apps, it's super convenient
im trying to get envisalink to work with ha
can someone please help
i have tried adding the code for the envisalink componient but the keypad not showing up
@lament wave not lovelace related
ok where can i get some help
Any card-devs looking for a new project?
How about a wierd-pack? that have all (relevant) items from https://wiredjs.com/ 😄
If I'm not mistaken that was the first custom card we ever saw?
I suppose
I was able to get primary_text_color of the Sensor Card to change color based on the readings of the sensor with card-mod. I'm not exactly sure how/why it works...but it works. I am however getting a few weird errors in the logs.
I'm trying to figure out overlapping lights in picture-elements floorplan card. I was thinking the best method would be to take renders of all the scenarios and have them shown conditionally but I have no idea how to achieve this. I tried reading the conditional card docs, but I suppose that's not the correct approach when choosing which elements to show in picture-elements.
nvm... The problem was not my thinking, but my formatting. I got the conditionals to work now
I'm trying to setup a history-graph card that displays a power graph of my tplink switch. It works, but it's currently showing both power as states (linear graph) and power (x-y graph). Is there a way I can get it to only show the x-y graph portion?
@foggy tendon posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/CkgwWfDVcH/
@foggy tendon posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/QQzQsKgjtf/
@foggy tendon 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.
Oh cool, I just noticed I can use CSS to rotate and skew stuff in the 3d floorplan so I can have the temperature read on the wall for example 
the only problem is that it doesn't scale very nicely so I'll have to see what it looks like on different devices
So i have a weird problem, my lovelace UI has completely gone white. Nothing loads except the bar on the left of the screen. Everything works fine in the /states view (the old UI) just Lovelace won't load. This is on all devices also: iphone app, web browser, and fire tablets. I assume it's because i made changes to Lovelace and then upgraded to .100.3 and something got locked in the transition. Is there like a .loc file that could be locked up due to edits?
I have tried restarting Home-assistant, and i have also rebooted the VM that it is running on. Any other ideas?
Do you see any errors in your HA log?
this is the only thing that looks weird in the HA log page:
2019-10-25 07:31:04 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/home/shawn/homeassistant/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='invalid constant string'
2019-10-25 07:31:36 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/home/shawn/homeassistant/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='invalid constant string'
other errors include some ecobee stuff that just started popping up recently, something i have to hunt down but i don't think is related
@timid cairn have you tried clearing your browser cache or bringing it up in a private browser session?
@mild veldt I had not, but am now. I just tried a chrome icognito window. observed same problem. currently am clearing cache and will be trying it the more traditional way.
Same result with cache clear
Are you using yaml mode for lovelace?
The built in UI configuration tool on the front end
hello, could someone help me. I´m trying to add a background to my ui but whatever i do it doesn´t work. I´m running hassio 0.100.3
What steps have you taken to attempt that?
as i read i have tro simply add lovelace-background: center / cover no-repeat url("/local/background.png") fixed to the theme
with background.png the name of my image
and you have that image in your <config-directory>/www directory?
and you cleared your browser cache after making these changes?
yes to both
Did you call the frontend.reload_themes service?
how do i do that?
The services dev tool on your frontend
yes still no image.
Did you just create the www directory?
no some time ago
The only other things I can think of are make sure you have the correct theme selected and that the theme is formatted correctly, restart home assistant, and refresh the browser page
and double-check your file name
i have the theme selected as backend on start and on every view is the backend also selected
and i tried in png and jpg
but thank you anyway
oohh i got it to work now. I tried one more time with the png and a cache delete
thank you
Having this inside a radio configuration:
- url: http://stream.srg-ssr.ch/m/rsj/mp3_128
name: Radio Swiss Jazz
…and this as a card:
- type: conditional
conditions:
- entity: media_player.googlehome5670
state: 'playing'
card:
type: markdown
content: >
<b><u><font color= grey> <center>Radio: <br></b></u> [[ media_player.googlehome5670.attributes.media_content_id ]] </font></center>
```
… and the media_content_id is that URL,
how to have shown in the markdown the name of the radio and not the URL ?
A radio configuration?
name is typically under attributes.media_title
But since you're playing a custom stream, I doubt google home would have that information
In fact i have no information about the name of the radio
exactly
so no way to have that name?
you could potentially do some template matching on the backend to generate a sensor with a name value
but that's outside the scope of lovelace
i don't have an example to give
Ok, thanks....
@mild veldt Do you intend on adding the ability to specify more than 4 apps for the Roku Card? Maybe add another row on the bottom? I can make a feature request if you want, but wanted to at least ask first.
How about you making a PR instead of an FR? :) 🎉
Ha, I'd love to, but I've been looking at the code for two days now trying to figure it out. I added what I thought would add the buttons as a bottom row, but it didn't do anything.
That could be cache
Did you clear your browser cache after the change?
If you installed it with HACS, you need to delete the gz file for changes in the JS file to be applied
It prefers gz if in the same dir
so, for testing purposes, it only needs the JS, correct?
Correct
That's why it's still there, otherwise hacs could just delete that file since it's not being used
wow, I think that worked. Thanks!
guys, I have a quick question
I have installed Hass under Raspbian (the manual method)
and I want to add custom cards
but....
I can't find the www folder to upload the code to
you need to make one then
where can I find it?
should be under your main config folder
where is that? the one that has the configuration.yaml file?
in my case, it's /usr/share/hassio/homeassistant
so, create a www folder there and then add the files there?
if that's where you config.yaml file is, then yes, it should be /usr/share/hassio/homeassistant/www
sweet... net me try that
most of the cards have good directions on how to install
manual install under raspbian lite
and I'm trying to use the multiple-entity-row card
hey guy's what you would recommend for new user? lovelance or the home panel plugin?
that looks like hassio, it's different than regular hass
hence my problem 🙂
I'm not that familiar with hassio, sorry
thanks!
just found a post saying I should restart... 🙂
trying that now
nope
😦
haha.... I've found my error
I had the version parameter added...
I've removed it now... and looks like it's working
thanks MColeman!
is there a way to override a friendly name ONLY in a specific card?
not sure, might want to check out the monster-card
that includes based on entity names/states. and there's now lovelace-auto-entities for that
@viral sorrel That depends on what card you are trying to do so with. Most custom cards have the option to override the friendly_name, but for stock cards you would have to check the docs.
ah.. so it is a thing, just not exposed via the ui. cool.. I can live with that
Can anyone shed some light on how to cast to a Chromecast?
I have it semi-working, I can start casting, but on the cast I only see a HA loves Nabu Casa 'Connected' screen. How do I setup which page to show on the cast?
That's also all I get, I've never investigated further
ive tried all the options I can find, but cant get it to work further than that