Ok, it’s an entity-filter. Pretty new to this so not sure how I add correctly formatted yaml here to show you. I don’t have anything within this particular card which references the images. I presumed, possibly wrongly, that as the images are referenced in my customize.yaml for each binary_sensor.xxxx that it’d pull through from there.
#frontend-archived
1 messages · Page 79 of 1
@split granite - I’d viewed (and tried to copy) this card from the Dr Zzs video on YouTube. His Lovelace yaml doesn’t reference images but it displays in the frontend. The only noticeable difference to his is that I’m using binary_sensor rather than device_tracker in the yaml.
~format
:information_source:
Format Code:
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Click on the link to learn how to format: https://raw.githubusercontent.com/skalavala/HassBot/master/format.gif
~share
:point_down:
Format Code:
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
Sorry Tinkerer
Hey, not a problem at all
Here’s my lovelace card: https://hastebin.com/awovuliquy.bash
Glance card then
They do support images, set in customize, because I've got some like that
Can you post your customize section? If you have that set up? @stray gate
Also, I would try using a glance card with out the entity filter. See what results (images, icons) you get in the card
Thanks for your responses. I have this basic input in my customize yaml file: https://hastebin.com/awemosehem.bash
Those images exist? You can view http://192.168.0.5/local/helen.jpg for example?
(or whatever the IP/port/etc is)
@raw brook - thanks for the suggestion. I was simply going off Dr.Zzs video which uses a glance card under a picture-entity card which he had showing images.
Right. This is more for testing. I always try to test by taking out as many variables to find the root problem
If you haven't read the Lovelace docs, it's worth doing that now, before you go much further. There's lots of "little things" you need to know
@split granite - I can’t see the images via my homeassistant IP for some reason. They are there though and, as I say, referenced and viewable in the original HA frontend.
I have read (and continue to read) many Lovelace Docs. I have to be honest and find it quite difficult to follow. I’m more of a visual learner. If it was all down in a video (impossible, I know) I’d get it. The docs I see on HA feels like it’s aimed at folks with far more knowhow than many have. I’m trying to learn but it can be hard work on occasion.
Yeah, the docs need some work still, but sadly they're the only thing that stays current as HA changes under your feet :/
@raw brook - sure, I understand. I’ll take out the entity-filter to see what difference it makes.
- type: glance
title: Glance card sample
entities:
- binary_sensor.chris
- binary_sensor.helen
You should end up with something like that
@split granite - Let me change this now. Hang on...
Bingo! These images are now showing! Bizarre why this doesn’t work as an entity-filter. Really appreciate both of your help on this. Invaluable!
It would be ideal if only folks at home appeared on the card rather than states ‘home’ and ‘away’. If you can think of another way to achieve this I’d be grateful!
Hmm I would expect it to work.. I will put it on my list to check out. I want to start looking into dev for the frontend.
@stray gate Did DRzzzz (whatever) have it working with images and the entity-filter?
@raw brook - Yep, see here: https://youtu.be/ObfRzMIEJPg - look around 4 min mark.
@stray gate This does work with the entity_picture for both the glance card and entity filter with glance card
https://gyazo.com/8e3de38820817e78b60e979d8c63d4be
I'm not sure what you are doing differently
That’s my problem. If the images appear in just the glance card they’re definitely ‘viewable’ - just not when I set it to entity-filter.
- type: glance
entities:
- device_tracker.person
- device_tracker.zack
- type: entity-filter
entities:
- device_tracker.person
- device_tracker.zack
state_filter:
- home
card:
type: glance
title: Who's Here?
show_state: false
That’s a different way of doing it. I have copied Dr.Zzs format as shown in my hastebin previously. Entity-filter detailed first and then glance card noted within (as it were). I’ll give this a go shortly and see if it works. Hang on...
Thats what that is. The first Glance is just showing the regular glance above the entity-filter (as shown in my image above)
Hang on. Are you doubling up on the device_tracker line? I’m not following the part:
device_tracker. person and then device_tracker.zzzz - can you elaborate this part more?
Two people. Two devices
Is it just the formatting? The second one looks indented.
I am terrible at formatting for discord. One sec
- type: entity-filter
entities:
- device_tracker.person
- device_tracker.zack
state_filter:
- home
card:
type: glance
title: Who's Here?
show_state: false
This is the yaml for the entity-filter
I have two devices for the two people that live in my house
The original one above you posted hasn’t worked. It’s created a second blank, thin card below the card showing the icons.
Is it formatted correctly? With your device instead of mine? There should at minimum be a title
The second one you’ve just posted is pretty much how I had it set up when I first came on here as nothing was showing.
Let me post what I now have. Can you add pics to discord?
Right. I never said I changed anything. I just said it works for me
Use imgur for images
~images
Please use imgur or other image sharing web sites, and share the link here.
Here’s the yaml: https://hastebin.com/iqazunonir.bash
So does anything show up?
Here’s the frontend:
https://imgur.com/a/e7jLgHL
The second white bar below the top one appeared after rearranging my yaml
In
, can you post what values you have in there for your two binary sensors?
home != Home
Sorry, you’re going to have to elaborate
In Lovelace yaml?
I’ve changed the state_filter to ‘Home’ as suggested (in the configuration shown in my last hastebin above) and nothing has happened. Should I revert to my original Lovelace yaml and see if that makes a difference? Not sure which other ‘home’ you’re cross-referencing.
In
, you can see Filter States. If you look for those binary sensors you should be able to see which state they are in.
Whats weird to me is that your title is not showing up either.
I’ll look at the filter states. Agree on the title not showing up. This is weird. Hang on.
Filter states: on and off
If that fails try true
Neither worked. Both done in lowercase. Again, should I revert to my original card format on this. I’ve changed it whilst chatting and I’m wondering if my original formatting might make it work
Not sure what you mean. as they should be the same. But go for it
So here’s my reverted yaml (now showing state_filter as ‘on’):
https://hastebin.com/zubututuno.bash - it’s now back to showing a card with the title and nothing else.
Changing to ‘true’ has same end result.
binary_sensor.chris is currently in state on, right?
Yep, for one of them, so I appreciate both shouldn’t show up at present. Here’s what it looks like frontend. https://imgur.com/a/47Azijh
What do you mean for one of them
Filter states should have one value
And for binary sensor it should be on
I would also try Home again
Sorry, I’d mis-read your message and hasn’t realised you were referencing only one of the cards. They do have one value only. Binary sensor showing ‘on’ for that sensor. I’ll change to Home for the state filter to see if that changes. Where is the other ‘Home’ that I’m matching up to?
Well in your glance card without filter they were showing the state as Home So I would think you have somewhere that the state on is Home and off is Away
No. No difference 😔. This is ridiculous!!!
Not sure. are you seeing any errors that are related in the logs.
Nothing.
binary_sensor.chris:
device_class: presence
I am wondering if you set the sensor to a device class if state_filter: home would work
Here’s my binary sensor yaml as it stands: https://hastebin.com/usenafubis.bash
So it should work with home not sure with that component though.
Sorry, which component?
bayesian
Hmmm. I’m using that to try and get a more accurate ‘guess’ as to whether someone is home or not. Is there another way to achieve this?
I just use my device tracker. I would think the way you do that should work but again I havent used it so I am not sure
ive just gone as far as using wifi on peoples phones... but ive seen people use motion sensors, someone today was talking about sensors detecting presence on weight
if people have both a phone and like a fitbit, then maybe using both makes sense.. but when we are at home theres really not a reason to turn off wifi, so thats probably going to be as far as i need to take it
It’s the reliability I’m after. We have tiles and they’re about as much use as a chocolate fire guard for accurate presence detection. It would seem to be a binary_sensor / entity-filter mashup issue. The Bayesian sensor works in just a glance card - it all goes pear-shaped when the entity-filter comes in the equation.
I'm using GPS + WiFi + Bluetooth, and then an automation to set an input boolean once at least 2 of the 3 are home/away
I've dabbled with the input boolean approach too, but I prefer the automation based one because I can provide more control (like, if the door didn't open, we're probably not really away)
@split granite - could you explain in simplistic terms? I’ve seen / heard of input Boolean but o have no idea what the hell it is and how I would use it.
I have sensors on doors so I could potentially use that same format I guess?
https://blog.ceard.tech/2018/09/a-while-back-i-covered-how-i-was-doing.html is my writeup, let me get the automations
This isn't really #frontend-archived related, so I'll expand on what's going on in #the-water-cooler
Thanks. Before I open any of those can I ask unashamedly whether a simpleton like me will understand any of it?!?
Sure
hey, so I'm trying to kind of recreate the bar at the bottom of a picture glance in a picture element card. I'm trying to use opacity on just a black bar, but it doesn't seem to be working,. Do I have it setup correctly? https://hastebin.com/icisacotaw.bash
unfortunately @raw brook that doesn't work either
Hi, im trying to add a custom card (folding-group-entity-row.js) for the first time, i can't sem to figure this initial thing out. I have the .js file in /config/www/ but when it tries to call the url, it fails. of course just manually trying the url hassio:8123/local/XXXXX.js returns 404
:information_source:
Format Code:
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Click on the link to learn how to format: https://raw.githubusercontent.com/skalavala/HassBot/master/format.gif
resources:
- url: /local/folding-group-entity-row.js
type: js
Have your cleared your cache?
also, if it helps, its Hassio installed on an ubuntu VM
It seems you know it failing to call the file. Meaning Im guessing you know Dev Tools?
Your console shows the error failed? or does the HA logs saythat
cleared cache now. no change.
its the console
oh wait.. hold on. its different now.
the console error
Whats it saying now?
SyntaxError: illegal character[Learn More] folding-group-entity-row.js:1:2 ```
when I view source, it looks nothing like the .js file
4Ó)Æf«‚)ôrZ,yÛ¥™¬az(!·J)z{¥™¬az(!·)Æšuج¦V²~W±jX ž+^šÇž×«¶ˆ •ì"vØxÒœaz(!·)Å©b‚xzkz{^ج¦V²~W±¶ˆ •èZ‰Ê'~W±ÓN4§ì·)^v+âvšuدrV¬²Ú ‚W¨Ébr```
hrm.
ok now I'm slightly stumped again.
SyntaxError: missing ) after argument list[Learn More] folding-group-entity-row.js:65
also, here is the section defining the custom type:
views:
- title: Misc
cards:
- type: entities
entities:
- entity: group.all_automations
type: custom:folding-group-entity-row
I'm not sure. Mine works out of the gate. Can you check the JS file when you click on the error?
If you are in chrome it should bring you to that line in the JS file
yeah. in chrome it just opens the file. in firefox it highlights => { where this is at:
this._hass.states[this._config.entity].attributes.entity_id.forEach((e)
=> {
conf.push(Object.assign({entity: e}, this._config.config || {}));```
Hmm Thats interesting.
ah that was its own line for somereason
Gotcha. Did you move it?
yeah. it must've been cause i pasted the code in the file, and the format it was selected had its own line
its loaded fine now 😃
Great to hear!
lol thanks for trying to diagnose with me
I'm trying to set the icon of an input_select depending on the selected value. icon_template is not valid. Is there another way?
A python_script that runs when the input changes via an automation and changes the icon attribute?
@polar kelp That could work. Any pointers as to how to set attributes from python scripts?
Not really... perhaps hass.states is a good place to start. But this should be discussed in #330944238910963714
I want to activate a scene from within a glance card by tapping on the icon. The documentation doesn't seem to tell how or whether it is possible at all. Anyone ?
tap_action: call-service
Is it possible to change the theme for individual entities or change the color of the entity icon depending on its state?
It should
The custom cards updates info suddenly disappeared. Just the Custom Components are there only. Is that just for me, or? https://www.evernote.com/l/AAVBEcARKzVHFJ4WhzCILgux3Dz1P3Mj4jI
@spice grove I know it's been discussed as a future feature
In the meantime there's this: https://community.home-assistant.io/t/my-lovelace-plugins/70726/14
@polar kelp Thanks
@tiny nebula Is it possible in the custom card "folding-group-entity-row" to exclude some entities?
@lapis oriole It´s the same for me 😦
@tranquil isle @lapis oriole it's a feature, not a bug ;)
Look up the track option in the documentation for it 😃
everything is a bug nothing is a feature
That bugs me 😜
But it's super off topic for this channel, so I will go back to my dark cave 😉
@polar kelp Is it possible with your card "folding-group-entity-row" to add the chance to exclude some entities?
@wheat current , Thanks 😃 Now I got it all...
@wheat current Haha, missed that feature. Thanks!!
@wheat current BTW, I can't find it in the documentation (https://github.com/custom-cards/tracker-card/blob/master/README.md)
its there trust him
Ok, sorry. Thanks!
@wheat current if I only want to see the cards that I have locally. How to hide the others?
It's in the documentation, and like I said earlier super off topic for this channel, if you can't find it open an issue at the repo on GitHub, and I will help you there 😉
@wheat current Sorry, I found it. I will stop asking stupid question from now!
Questions where not stupid, just in the wrong place 😉
😃
but again you could have read the message a little bit better cause you asked the same question 2 secs after Ludeeus posted the answer
😉
After the last update of custom-updater and tracker-card i get this in the frontend:
why all cards are disappeared?
@foggy tendon Re: excluding entities in folding-group. No, there's not. It works for home assistant groups, full home assistant groups and nothing but home assistant groups.
Re: your latest question. Did you miss the discussion that just happened in between your two latest messages? Starting three messages before your third to last one.
@polar kelp Yes i see... about excluding entities, will it be possible in future?
Not as long as it's using home assistant groups. But a big part of lovelace is to not have to use groups anyway, so perhaps I'll rewrite the fold to use something else - like a list of entities.
Yes, just did! Thanks!! The custom-cards updates-info is back again 😉 It is here: https://github.com/custom-components/custom_updater/wiki/Installation
@foggy tendon
custom_updater:
show_installable: false
hide_sensor: true
track:
- components
- cards
- python_scripts
@lapis oriole 👌
@buoyant skiff Just have given an answer. But you are right, thanks.
its not a matter of giving answers if a user doesnt bother to read previous messages dispite being told to do so its not a matter of giving him that users its just rewarding lazyness
and if there is a discussion about custom stuff its #the-water-cooler
Hi, how to do fullscreen card? For floor plan by type: picture elements? 😃 Thanks for answer.
@buoyant skiff is on the warpath
@lyric pine Read up on the panel option: https://www.home-assistant.io/lovelace/views/
panel: true
@mild veldt thanks I was searching for it for hour 😄
@buoyant skiff Again, you made your point. But you sound so bossy 😉 You knew everything from the beginning? Be a little patient and friendly towards new and less experienced users. You do not want to drive them all away?
not the place again
#the-water-cooler use this channel for lovelace as intended
and by lovelace the stuff thats in the docs
Hi! With a picture glance card, I have an icon for a lock and an icon for a light, defined as entities. When I click the light it turns on and off. For the lock it just opens the lock details. It doesn't unlock the door. Can I change this behaviour for the lock?
https://www.home-assistant.io/lovelace/glance/#tap_action
Tap Action or Service Call is what you want to look into
Oops you said Picture Glance
I did.
You may be able to still do it that way. Not 100%
- entity: lock.lock
tap_action: toggle
Thanks, I'll give it a go.
Not sure how locks work. If a toggle action is available to lock/unlock if not then you may have to use service and run a script to toggle. Again Never used this card, so not 100%
Putting service or toggle doesn't seem to do anything.
(there isn't a lock.toggle) I've changed the code in ui-lovelace but nothing changes when I reload, functionality remains the same.
So if you do
- entity: lock.front_door
tap_action: call-service
service: lock.lock
Does it lock the door? Or is that what you tried
If that worked you could do a very complicated toggle for a lock. Using an Input_Boolean, The tap action would call the service to toggle to input_boolean and use an automation for each value of the boolean. So the boolean on the automation would call lock.lock and for boolean off it would call lock.unlock.
I am not sure if there is an easier way to do this but its what I came up with really quick.
still don't know if I trust a smart lock lol
@wheat current I installed properly custom_updater, but after doing a check i get this about the custom_updater component
Ludeeus is away for 1h 19m 12s with a message :point_right: 🤷♀️
@wheat current https://imgur.com/a/T2Sfozd
I installed manually the latest version 3.1.4
@foggy tendon Wrong place mate ;)
https://github.com/custom-components/custom_updater#issues
@raw brook I used a switch template in the end, which works. :-)
Good evening,
When im using vertical stack im only getting 2 colums in my view
https://pastebin.com/7gL0X9Q1
when i place the-type map outside of that first vertical stack it gives me three columns but that the point i want it on the first vertical stack so i can have the 2nd colum next to it and the 3th colum on the far right
Hey @storm lion I have a couple of custom entity rows I'd be interested in getting into the custom_cards namespace. I still have a bit of work to do to add some more configuation options for the initial release, but I would like to get some input. (One repo right now, I'll separate them out if anything gets approved)
Should there be a separate naming convention for the entity rows (I have a suffix of -entity-row on the end at the moment)?
Hey @astral glade it'd be great to have your cards there, I'll add you to the repo buddy
Thoughts on the naming convention?
I think -entity-row is fine, although the two will need to be separated out
copy that, I'll probaby have a chance to clean them up and separate them some time later this week
Fantastic, look forward to seeing it added 👍
@wheat current Done ! 👌
@fiery temple Yea vertical columns don't work that way unfortunately. Try using a horizontal card with those three vertical cards underneath
@raw brook it makes things only much smaller
Try using panel:true
I haven't used it yet so I am not 100% if it works in your case but worth a look over
that panel true is in ui-lovelace right? in the homeassistant:
yes trying that now :p
seems its gogin to right correcting
dude
thanks man
works perfectly just need to add LOTS of spaces now
thanks man!
Looking good!
@raw brook honestly, if i may ask, what you think of my setup? https://github.com/IIIdefconIII/homeassistant
took me 6 weeks to get this far argh
The only change I would personally make is putting Waze Travel Time under/above/within Column 1 or Column 3. But also I came across your github when I first started my Lovelace adventure a few weeks back and used yours as inspiration. Ill take some quick screenshots. One sec
NO?
my github? i feel honored
I indeed tried that waze travel time above column 1 but then everything gets so big
then its like this: https://imgur.com/a/SPhjthz
i want no scroll on the view absolutely not
got that screenshots im wondering how you set it up if u used myne as inspiration
My theme is going to be more like the Dashboard/Home page. But I havent finished all the pages
ouch gotta says, its dark in my room now, isnt the white to bright for youre used :p
eyes "[
So it may look a bit inconsistent throughout
Yea thats my day theme. (Fiance required the day theme)
I grab the home of my night theme
it looks very proffesional
for that spotify element you need premium right
dont have that yet, need to take it to test
i can see you used my github 😛 awesome i have a follower lol haha
that round corners is sick
you have youre code on github?
i might steal that from you
All thanks to @polar kelp 's CardModder
I am working on getting the code on Github. I usually would have it already up there but have been very lazy about it. Gotta get my Secrets file updated..
i spend to much time on this homeassistnat:P discovered it 6 weeks ago, and my days are like, work, HA, eat, more HA, sleep very late and work again
Same haha
well more like everything en all settings in a gui
this project can earn some big money if they took the right paths
But I have been trying to think of a way to create a GUI for the Front end of LoveLace. So that you can just pick what you want from a collection based on your entities and then place the cards how you want them to look and the code would be written for you
didnt shave in 6 weeks 😛 haha the wife going to kill me soon xD
that would be so awesome
I have been reading Docs and Looking at all the code to try and wrap my head around Polymer and Lovelace as a whole before I start on something like that. Having something be so dynamic as it would have to be is going to be hard
where u from?
yeah thats going to be a pain in the ass, especcialy when you dont get payed for it
@raw brook recently i added the utilities on my home assistant, you may wanne add that too, easy local backups and restart/reboots 😃
From KY. But yeah it's a lot of time for that but I need a side project haha. Utilities view, you mean? I have one for all my automations and settings and stuff like thay
Kentucky haha
anyone know what the future plans are for the android app of HA?
Not really relevant to this sub but no. I don't really see a reason for an android app
well it sort of is if lovelace will be translated to the app
thats why I was asking here
because the web interface has to reload every freaking time you open it on a phone or tablet
its kind of maddening when you just need to turn on a light quickly
maybe not reload everytime, but a lot
there's definitely advantage to an app.
Worth listening to the latest podcast @odd light - one of the devs discussed that, and pointed out that there's little point in developing an app with its own UI
Hey all. Is anyone around who's done custom love-lace stuff with a docker env?
I haven't, but let's see if we can fix your problem anyway.
thanks. bare with me I'm on the train with bad reception
I've installed the dev docker for messing with Lovelace
No worries. I'm off for lunch in a few minutes, so we're in the same boat
I have it all running on my production build, but I want to create an alarm clock interface
using the simple example on the docs
state-card-my-custom-lights
i've been messing since, then I better go and revert to default
I have nothing appear in the hass ui
it's blank
http://localhost:8123/frontend_latest/app-0fba7afa.js:91:1362 TypeError: undefined is not an object (evaluating 'viewConfig.panel')
It might have been a bit premature of me to ask for help, I didn't expect such a quick response
I'm not sure what example you're talking about. This one? https://developers.home-assistant.io/docs/en/lovelace_custom_card.html#defining-your-card
^sorry this was late last night and I'm picking it up on the morning commute
custom card works *just tried it
ok good, I'm not being crazy
the next one.
wired-cards.js
does not work
http://localhost:8123/local/wired-cards.js:51:70 TypeError: undefined is not an object (evaluating 'state.attributes')
copied directly from the docs
51 is '${state.attributes.friendly_name}'
On my 'dev' setup I'm only running, sun, sensor yr and light: - platform: demo
Did you configure it with entities that exist?
argh
There are no sanity checks in that example, so if you try to run it on input_boolean.switch_ac_kitchen and that doesn't exist, it will crash.
sorry I was trying this along with doing some other stuff, total bad morning, I need to wake up, sorry for wasting your time!
don't drink and hass. don't hass in the morning
Don't worry. Good luck going forward!
ha, thanks! x
Hey all, how do you customise the icon used for an entity on picture-glance?
Ahh, @polar kelp I was trying to get one of your lovelace components working last night, that's what I was getting an error with
I know you don't offer support. I'm just looking at yours for helping me dev my own. But also the slider and the collapsable are certainly things I'll use
with the slider-entity-row.js I get this
http://localhost:8123/frontend_latest/app-0fba7afa.js:91:1362 TypeError: undefined is not an object (evaluating 'viewConfig.panel')
Seems odd. It's an error I haven't encountered before
Looking at the source (https://github.com/home-assistant/home-assistant-polymer/blob/5187f3b84fba1df76663eb3605682e409c379347/src/panels/lovelace/hui-root.js#L278) I'd guess there's a problem in your lovelace-ui.yaml or that you're somehow trying to open a lovelace view that doesn't exist
hmm I tried that, must probable a problem between my chair and keyboard, might be nice if one of the examples on that page used the object syntax
Show me what you got
wink wink, proper work is getting in the way at the moment, will have another play later
Is it possible to make any media player , to appear automatically when available ?, something like group ?
I use monster-card to show and hide media players depening on if they are playing or not
hi. i wanna try put this: custom:dark-sky-weather-card in lovelace. but it dont show up.
then report that to the author of that custom card
Hey @left aspen , do you have every entity that you're trying to view. As I found out today if it can't find one and there's no error checking, it'll fall on it's ass
@chilly zephyr yes. i have all of entity
but it does not appear
this is in the log : IPadress/local/custom_ui/dark-sky-weather-card.js?v=4:17:43 Uncaught TypeError: Cannot read property 'unit_system' of undefined
i am with hassbian
and any issue with custom stuff should be reported back to the author
this channel isnt named custom lovelace stuff
damn and here i just wanted to ask about the pornhub card
Damn, ask about that and I will responding to you
@buoyant skiff That's totally not the vibe I'm getting from anyone else. Since when is anything off topic in this place unless you're asking basic setup questions in the dev channels.
not about custom stuff
ask @split granite if you dont belive me
you all can hate me as much as you want but it is the truth
LOLs
I don't necessarily always agree with @buoyant skiff - but in this case reporting problems with a custom card to the author of the card is the right thing to do
Asking for help to make sure it's set up correctly here, that's fine - but that would require people to share their config, not post vague questions
custom:dark-sky-weather-card itself isn't enough, clearly, to know what's going on
Hey @split granite , btw, I don't have issues with rules, I love them. And this actually has nothing to do with me, I'm just trying to make someone else feel like it's ok to ask questions without being shot down
I've skimmed the history, don't worry 😉
There's reporting a bug to devs and there's not knowing whether you have set it up correctly before bugging a dev
that should be fine to ask here
That is - but in this case the OP forgot various key details
if your that thinskinned than perhaps not responding is a better option, cause im not being mean im saying it like it is
@buoyant skiff Be nice 😉
Based on what @left aspen posted, I'm pretty sure the issue is with the custom card though
There is no thin skin, I'm not put out, just don't like seeing someone shot down when they're asking questions. Your attitude is absolutely terrible, nothing to do with me being offended by it.
giving people the change to fix thier issues being terrible rather then giving em vague answer sure if that is being terrible then fine by me
again if there are issues with custom cards its better to contact the author to seek assistance
might wanna reflect a bit on yourself before snapping at me
@chilly zephyr is right. Especially for those who still do not realize much and what is or is not included in it to know how to differentiate whether or not it is allowed here. I just wanted to know if I was okay or if they could tell me which way to go.
but its alright
@left aspen the correct way is to contact the author
which i told you twice
that way you can get the help you need
After checking the config is basically correct here
Doesn't mean people can't ask for help - they ask for help with the Custom UI already in #330944238910963714, and that's fine
It does meant that bugs and feature requests aren't on topic here
OK. I already understood guys 👍 ~
but in this case it was a waste of time since it throws an error so it better for the card dev to deal with
good so Silva is onboard great
people should stop being so easily offended
And people should stop being abrasive, but we can't fix people 😉
indeed we can not else the world would work 😉
if you wanna protest about your wet panties go to facebag
ohhh drama
I need my stupid house to maintain itself so that I can get back to LL. Does anyone have a card for that?
Get a SO/kid to do it?
I don't think that will fly
Then create more automations for homeassistant to handle it 😛
I need a smart water sensor that turns on my shop vac after my basement has backed up 3 times in the last week! 😃
Sounds easy enough 😛
just need the sensor
Is there an easy way to split the ui-lovelace.yaml file?
I can't find anything, and I've seen the script, but my understanding of that is I need to run it everytime I make changes to the split files.
That's the only option
The update part can be automated with a folder watcher and a shell_command
Ok, thanks. I'll just keep it one big file for now, and hope it gets added in the future.
It will not
Really? Seems like something almost required for organization, any idea why not?
The was an explanation in this channel some time ago, but can't remember it.
Probably it is to enable gui configuration at some point
That's exactly it
Home Assistant is moving towards enabling everything to be managed via the GUI. I just wish somebody would fix the automation editor 😉
Ok, I'll never want to use that, I like text editing, so much faster, so basically I want to use the script then.
Yup
Is a GUI Lovelace Editor already in the works?
On the roadmap, I don't think it's already underway
Gotcha. I have been thinking about looking into development of a GUI for it but who would be the person to talk to about where they are with that? Even if its just talking about the plan vs looking at actual developed code for it
Yea. I have looked over The docs. I actually almost moved the question to that channel haha. Will do that. Thanks @mild veldt
Sorry for not looking over github but I don't have the time atm. Is it known that docker:dev lovelace isn't working on firefox?
Is there any way to toggle scripts directly from a glance or picture-glance card (or any other card for that matter)?
The only options for tap_action seem to be 'toggle' and 'call_service' and neither of work for scripts
where is your config?
call service should work, if you did it right
does the script work when you call it from the services section of the dev console?
Anyone know how to import functions from (here)[https://github.com/home-assistant/home-assistant-polymer/tree/master/src/common/entity] into a custom card?
What @odd light Said. A script is a service so there isnt really a toggle. Its just executing the script. Therefore Call-service should work
I see very interesting the custom card light-entity-row, but the docs are very poor... How to contact the author? Or better who is the developer?
@astral glade Thats more of a #devs_frontend-archived Question
@raw brook thanks
So in my ui-lovelace.yaml I can have something like
- type: picture-glance entities: - entity: script.scriptname tap_action: call-service
and that should work?
@raw brook yes
(tabs stuffed up when I pasted in discord)
@foggy tendon then you know the author? Just create an issue on git hub
So Picture Glance doesnt take that as variables for an entity @vapid field
@raw brook i'd like to know if it'sm possible to add more than one light per card and how... how to add more buttons in one card etc...
wouldn't you need tap action, service: call -service and :service_data:
Try that using a Glance Card
@foggy tendon I believe @astral glade is the dev, based on his name and icon 😃
<-- detective
actually you may not need service_data
Service data is default with a call-service. Defaults entity id
@mild veldt I am just paul, not paulus
hmm, unfortunate that it doesn't work with picture-glance.
I just tested with glance instead, and it works BUT it's toggle that works, not call-service
@astral glade we're talking about light-entity-row
There was a conversation earlier in the day about Custom Cards and if this channel is used for support. Support for setting the card up correctly meaning YAML integration. Github is used for issues, more specific questions
oh, yes I am
@astral glade are you the developer? I opened an issue just now...
@vapid field Right. Picture Glance doesnt have Tap_actions as a variable for entities
if the dev is here, and okay with it, i say this is a fine place to discuss questions. actual bugs/issues are another matter
Toggle works because it just activates the script
@mild veldt Sounds good to me. I was just referencing the previous conversation 😀
I know, people can get worked up at times for seemingly no reason
I have been seeing that recently.
oh man, how did I miss this one?!? https://github.com/custom-cards/surveillance-card
awesome
eh, the blue iris web page is good enough and doesn't bog down my HA lol
i have HA running on a full xeon server. it's pretty hard to bog it down 😃
yeah, but do you already run a surveillance software?
I tried to put BI into an iframe but even with http it didn't seem to work
What error were you getting?
aahh
how would I just show the state of an input_select on lovelace without showing/having the dropdown option ?
you can use state-label within a picture-elements card: https://www.home-assistant.io/lovelace/picture-elements/#label-with-state-text
or state-element: https://github.com/custom-cards/state-element
Is there a way to remove the margins on a conditional card if it's hidden? (sorry asked this before but forgot to follow up with my current code)
as you can see there is a lot of space on the left because I have a bunch of conditional cards that are hidden since my "Music Mode" is on
but it creates a 15px spacing per conditional card (that is not shown)
That looks like a bug, as a workaround I would just place them under the volume sliders 😛
@mild veldt Thank you! Hopefully they fix it soon.
@wheat current Issue is that depending on what "Media Mode" is on there will always be something that is not placed at the top
Good thing LL is still experimental 😃
This can probably be fixed with a little CSS trick that removes margins on conditional cards that are hidden but I don't know where to start 😃
It's kind of a Love/Hatelace at them moment 😂
iirc that #1686 thing turned out to be realy hard to fix.
But I don't think it's quite the same as tyrsens problem
Hello
can i change the icon inside a
type = state-icon ?
This :
icon : mdi:shuffle
is ignored, how can i do this?
my switch is always a ligntnig bolt, and a lightbulb would be awesome 😉
you can do it within customize of your configuration.yaml but I believe that it loses its ability to change based on state when you do that
yeah or can i just set an icon normally like:
type: icon
and change the color based on state?
No. There's no state filter for icons. I asked for such a feature but was shot down. It is possible with an image element, however
type: image works 👍
but here i need the icon locally, or?
i download it, save it into the www folder and go?
It doesn't need to be local
locally prefered, but not required
sry for the dumb question:
the mdi icon is black, i have to change them manually via GIMP in yellow, or?
and save them aus lightbulb_on, for example?
Anyone know if it's possible to change color on a "custom:button-card" depending on input_select option?
@mild veldt thx but how to configure it together with state_image?
this is my code:
elements:
- type: image
tap_action: toggle
entity: switch.wohnen_decke
image: /local/lightbulb-on.png
style:
top: 80%
left: 68%
state_image:
"on": /local/lightbulb-on.png
"off": /local/lightbulb-on.png
lightbul_on is a white lightbulb
i try to get it yellow if state is on
state_filter
look at the link I posted earlier on style
or more specifically: https://www.home-assistant.io/lovelace/picture-elements/#how-to-use-state_filter
tried:
state_filter:
"on": color(blue)
also no success ;), sry
@thorny verge There is a way to split ui-lovelace.yaml file I found this repository but I haven't tried this yet. FYI to @split granite @wheat current
that's in the main lovelace docs
That's either in the pins, or at Awesome Lovelace, which is in the pins 😉
You can't run with it split up though @pallid flame - you have to run that to merge the files so HA can use it
@gloomy raven color is not a filter option
@split granite yeah, something like that.
I'm confused, was that not the script we where talking about @split granite ?
so only a filetr option is valid, no color change?
It was @wheat current
Good 😃
For your use case, I would make the image yellow and use grayscale
ok^^ or a yellow and a white on via GIMP^^
actually, just hue-rotate with no images changes would work
once you find out what the degrees from gray to yellow are
there might be an easier way, or you might prefer images. a few options there though
You can't rotate gray, can you?
thx very much for help @mild veldt
i appreciate this very much.
one last question for today:
is there a possibility to change the size from the image or icon like a responsive website?
so that on my smartphone the imgae is not over my whole baseimage ^^
Yeah. Seems black, white and anything in between stays the same. Too bad.
use sephia on it first?
@gloomy raven I haven't found a good responsive solution. I have toggles to change the number of columns I display currently
@gloomy raven forgot about this: https://github.com/jeradM/grid-layout
Doesn't quite address your question about image/icon size, but could be useful
@gloomy raven maybe we could write a wrapper element that would dynamically change the size based on screen.width given that you provide a max/min width and max/min image size...? @polar kelp I'm talking out of my butt, is that even feasible?
i think is is way out of my knowledge, i am only starting with home assistant, but i have fun 😉
Is it possible, under a picture-glance card, to alter the base colour of the icons when off and also to reflect the colour of , say, a colour bulb it represents (like it did/does in HA original frontend)? I have couple of icons which simply can’t be seen when off due to the image behind it. Why grey?!?
Thanks. Could you elaborate exactly where I’d put this? Obviously inside the picture glance card. I have several icons under each card. Presume I need to add this after each entity?
Yes. Together with the rest of the style options for each entity element
And your_color is any type of color specifier that works in css.
I’m sorry. I’m pretty new to all of this. The other style options for each entity? Could you perhaps suggest how this is ‘put together’?
i.e. show in yaml form?
Sorry. Typo. I meant each element
Aww darn!
I misread! You said picture-glance. I read picture-elements.
I'm sorry. This won't work.
That sucks! Do you think it likely that it’ll be do-able in the future?
Maybe. Not in the near future, I'd guess...
am using a picture entity in lovelace that changes depending on the sensor. the picture files are sized quite small but lovelace is stretching them all across the screen
panel: true?
yes
but using your column card
(which I've just implemented and works fine for other views)
I think I'd need a screenshot here...
yeah one sec...
not too used to discord...is it possible to post a screenshot directly?
@polar kelp ❤
@polar kelp https://ibb.co/d3ipuK
yeah...just noticed that...it's so hard to keep track of all this indentation in my lovelace.yaml
The monster card is inside the column card, but the picture below it is not. It's been dedented somehow.
yeah, exactly! amazing that you can see that just from my screenshot 😄
I love to help when I can
also loving on the lovelace stuff you've put together, i'm using a lot of it and hope to use more
I'm eventually going to be using my fire tablets on wall mounts with fully-kiosk stuff though i've heard fire tablets don't always play ball
but we'll see how it goes
I did what you suggested and that looks a lot better, thank you.
one more question if you have time
I notice that a lot of my sensors on "glance" cards have their text cut off (as you can see from the above screenshot). I'm sure I saw on a youtube tutorial somewhere that there was a way to make those icons bigger and fit in all the text?
@polar kelp noob question, how do I make that update? 😕
You wait for two weeks and update homeassistant to 0.80 (I hope - it's not been merged yet)
this might be a better place to ask, censors that show up in lovelace with the eyeball looking icon, aka no device class assigned, how do you assign one? doing it in love lace didn't work, I don't see where to do it in customize, an example, a humidity sensor.
shouldn't that work through the gui?
Not sure what you mean
@mossy otter FYI Lovelace is pretty much unusable on a Fire Tablet. The version of web view is too outdated
You can root the old ones
You should just root that thing and get a diff OS on it and make it perhaps actually run smoothly
Worth a look at least
Need someone to mass produce Pi Zero tablets
haha
https://github.com/SilvrrGIT/HomeAssistant#home Is there anyway to combine different cards into one larger seamless card? In the lower right of the linked screen shot I would love to make that one big card. Not away of a way to do it though.
you can have divider lines in a card to separate stuff
you can even have divider graphics
google vertical-stack-in-card
@polar kelp THANKS! I don't know how in all my searching I didn't find this but that looks like the ticket.
@polar kelp do you have a github of your setup? I'd love to see all the awesome stuff you have going on lol.
I'm working on cleaning it up for presentation. But it's not that impressive really. I mostly like to experiment.
interesting, well you code stuff so that's cool.
Anyone using the mini-graph-card?
I implemented it yesterday and it's great, but one of my sensors doesn't show the line.
@polar kelp Am I likely to get issues combining two custom cards? https://duck.duckdns.org/local/custom_ui/vertical-stack-in-card.js?v=0.0.2:61:74 Uncaught TypeError: Cannot read property 'style' of null Is showing up and the mini graph cards aren't shown seamlessly. I can't figure out how to upload an image.
@vapid field does setpoint have a history from the recorder component? ie. is there data to populate the graph with?
it does, and the history graph displays when I click the entity.
Here is the issue with the vertical stack and mini-graph cards I was talking about https://imgur.com/Vuer2xp
Unfortunaely all custom cards are special little snowflakes, and there are no agreed best practices. Therefore a card like vertical-stack-in-card can’t assume anything about the cards it contain, and this often breaks. I suggest you report this to the authors of both cards and see who fixes it first...
hmmm why is the sensor.custom_component_tracker and sensor.custom_card_tracker showing again?
I thought this config should prevent it? custom_updater: show_installable: True hide_sensor: true track: - components - cards
tracker_card 0.1.5 / custom_updater 3.1.6
@hot gyro in #frontend-archived every entity are hidden by default, you need to explicitly show them, so this is off topic here ;)
I suggest you have a look here https://github.com/custom-components/custom_updater/blob/master/README.md#issues 😃
@wheat current thats not what it says here https://github.com/custom-components/custom_updater/wiki/Installation | default: false
Has nothing to do with Lovelace 😉
Then you should stop using custom stuff 😉
I would if it had standard functions like it
Why i get error when i put in an automation a state of a door sensor to 'state: on' while if i put 'to: on' it works?
@foggy tendon #330944238910963714
Trying to make my lovelace cards transparent but it doesn't seem to work. I've made a theme with the following:
transparent_panel:
paper-card-background-color: 'rgba(0, 0, 0, 0.3)'
Did you apply the theme?
views:
## Home Screen ##
- title: Home
id: kiosk_home
theme: transparent_panel
background: center / cover no-repeat url("/local/bg.jpg") fixed
panel: true
Did you reload the theme or restart HA after creating the theme?
One you create the theme HA has to pull it in
restart HA
Try this for me: Go to
, Call service frontend.set_theme with service data:
{ "name": "transparent_panel" }
Then check the frontend. as well as your logs
hmm not sure why the view isn't applying the theme though. But you will have to run that each time or create an automation on HA start to apply the theme
I mean its a new UI, kind of subjective opinion
@wary meadow - Very nice site, clean, and very nicely done. I like it.
Any custom slider card out there? I wanna use input slider on my car heater card I am working on
for a input_number
We discussed this in another server, but I can post my suggestion here too:
- type: custom:hui-input-number-entity-row
entity: inut_number.my_number
name: ' ' # <-- space between quotation marks
icon: none
style:
left: 50%
top: 50%```
I have a camera feed in a picture-entity card, but I want it to take me to the still image stream when I tap/click it. Is that possible?
I have camera.living_room but I want to show camera.living_room_snap when I tap it
Yea thanks @polar kelp that actually worked. Awesome man
custom card
- type: iframe
anyway to remove scroll bar that shows when putting urls from grafana graphics
@prime umbra Could try wrapping it in card-modder and applying:
style:
overflow:hidden
scrolling:no
@mild veldt i tried but didn't do the trick
Hi guys, is there a thread/post/aynthing else where information is gather for all custom lovelace cards? Besides https://www.awesome-ha.com/#lovelace-ui
And examples from some ppls frontend 😃
The forum is probably your best bet.
Ok thanks! Will have a look
Just a short question which i cant find out:
resources:
- url: /local/my-custom-card.js
do i replace "local" with the full path where the HA config is like /home/homeassistant/... etc? Or is local already a link?
Edit: found the answer
Anyone know if there is a Sonos Favorites (source_list) card so you can quickly play a favorite Sonos playlist?
@latent coyote Sonos playlists? It’s not through a music service? I don’t have Sonos, so curious
hi all, very silly question... I am having issues getting the path of the images right? I assume that the path is relative from the lovelace yaml file?
@main pivot The www folder in your config directory gets mounted as a directory to serve static content at the /local/ path. So if you have image.jpg in your www folder, that will be accessible at http://localhost:8123/local/image.jpg (obviously substitute your host:port here) so you would use the path /local/image.jpg in your ui-lovelace file
Same for subdirectories: www/images/image.jpg would be at http://localhost:8123/local/images/image.jpg
👍 thanks @tender wasp you have nailed exactly what I was looking for, i was lacking the www folder structure
fresh install and its not there by default ha
Also, you need to restart home assistant after creating it.
Hi All, My lovelace plage is blank are not loading I guess. When I tried "http://hassio.local:8123/www/floorplan.png" , it says 404 not found. I created the folder www on config and restarted hassio
Any help will be highly appreciated.
https://www.home-assistant.io/components/http/#hosting-files @raw charm - it'd be /local/floorplan.png
Thanks a lot man
Is there a reason lovelace doesn't change the icon color when a light (technically a hue light group) is switched on?
If I switch back to the old UI the icon is yellow but in the picture-glance card I'm using they stay white.
How do I change this?
The color change works for some of the entities like the binary door and motion sensors
I'm creating a floorplan for the house and I'd like to display doors states (it allready works actually..)
I would just like to have no mouse over action
just the image that displays to show door is open or closed, it is just a sensor so I cant open or close it automatically anyway
@vapid field did you use a state-icon ?
I'm using those for my floorplan and my lights turn yellow when on / white when off ..
just checked .. it seems to only apply for making a floorplan or something similar ..
Ahh, I couldn't find anything about that. I'm using a picture-glance card actually, not picture-elements
anyone who can help me with my issue please ?
I'd also like to know if it's possible to set different style info's per state
I'd like to display the garage door in its opened and closed state but the images are not the same size so position and width are not right for one of the two state images
@errant birch Patience
If nobody is responding, it means nobody who's around knows
... probably ... :p patience is HARD ! :p
@errant birch I try to edit the images beforehand (so that they are same size) before using them in LL
@mild veldt So on Sonos you can create Sonos favorites from any connected music sources. So you can have a Pandora Station or Spotify Playlist there. They appear in Home Assistant under source_list so you can play them by using media_player.select_source. Was curious if anyone had made a card that automatically listed them in a card so they were easily accessible.
Hello all!
im using media player card
not image showing, is this an known issue? or bad config on my files? Thanks!
Hey guys,
I'm trying to install this
https://github.com/covrig/homeassistant-iframe-card
I have followed all the instruction and copied the files into /www/custom_ui/
and put this in config.yaml```frontend:
javascript_version: latest
extra_html_url:
- /local/custom_ui/state-card-iframe.html
- /local/custom_ui/lovelace-iframe.html
extra_html_url_es5:
- /local/custom_ui/state-card-iframe-es5.html
- /local/custom_ui/lovelace-iframe.html
But I get this
"i.setConfig is not a function"
Using chrome
Make sure homeassistant users has permissions to access those files
and refresh the browser a few times
search for chown
this is what I use sudo chown -R homeassistant:homeassistant /home/homeassistant/.homeassistant/
Now I'm in trouble, for some reason I can't ssh into HA. I can only Putty
In putty it says "-bash: sudo: command not found"
Looking at the permissions of the files, they seem to be the same as all the other .yaml files
@cosmic gazelle You don't need a custom card for iframe. It is already built in https://www.home-assistant.io/lovelace/iframe/
Unbelievable, that git must be old :)
Thanks my friend you saved me a lot of grief!
hello!
hey, does anyone know what a state icon is considered when creating a custom theme? I've just been guessing and checking without anything....
Is it possible to recolor button card (https://community.home-assistant.io/t/lovelace-button-card/65981) if it's being used as an input_select? I have a input_select for my media mode, if I am watch apple tv or playing Xbox etc. And I set up a button to activate the mode and was wondering if there is a way to recolor the button depending on the input_select value?
Hi, someone know if there is a horizontal card like https://github.com/custom-cards/vertical-stack-in-card so multible cards are shown as one?
Any people here running the beta ?
Try this:
- type: sensor
entity: sensor.some_entity_with_a_unit
and report any issues to the polymer repo
which card can i use to pust some text into it?
Markdown card
i want a extra view called help, within that adjustable text card so i can put ok google command as reminder there
thanks
@half osprey i tried with beta 0.80.0b1 but not working so im guessing that's new card on 0.80.0b2
will need to wait, running Hassio so no ready yet, then will test when ready
Same^
Not as of yet
ok thnx ill do it with what is possible atm 😃
If its a whole view to its self just make in panel: true
@fiery temple i think one way you could do that would be with a picture-elements card and then on image use a transparent image and then use z index to set your image of card to put your mark down info
@prime umbra i will definitely look into this tomorrow thanks
If I use lovelace, does groups.yaml become redundant?
groups are still used for other purposes (e.g., grouping entities)
Ah ok, thanks.
@junior onyx being merciless, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/jNqdDG8Tn5/
I want a graph that shows change over time, rather than an on/off state bar. Code:
https://pastebin.com/KvGjxabT
Screenshot: http://prntscr.com/l3dlvn
@junior onyx Something like this? https://www.reddit.com/r/homeassistant/comments/9l2srm/lovelace_mini_graph_card/
@scenic sorrel thanks, but I'm not sure. I have the graph creating fine, I thimnk the problem might be in how i'm defining the sensor? It's pulling an attribute from a switch, so it's a little odd vs a regular standalone sensor?
Hmm. I'm pretty new to this myself. But is your entity defined as switch.xxx?
the switch is
switch:
- platform: vesync ---- then some login details
but shows in the states SQL table as switch.receiver as the entity_id
Maybe its this?
sensor:
- platform: yr
- platform: template
sensors:
power:
try changing sensor: to switch:
And here too:
entities:
- sensor.power
if i put switch in the history-graph section, it just gives me the on/off data, not the numerical data from the attribute
which makes sense, given the documentation.. it should pull "state" if its just the switch
Oh wait. So this is a power switch that registers on/off states, and also the power usage, and you're trying to create a graph from the power usage data?
Heh, no worries. On my setup (Xiaomi power plug), there are 2 entities, a sensor.xxx and a switch.xxx.
You might need to look for your sensor entity and plug that in.
I expect the switch entity only gives on/off states.
If its anything similar to my device.
no, mine is not like that 😦 it has attributes that include the data i want
here is some data from the sqlite database: switch switch.receiver on {"current_power_w": 26.05898123324397, "today_energy_kwh": 0.53, "friendly_name": "receiver"}
Ok, this is unknown territory for me. Could you use a value template to pull out the "current_power_w" data?
did you look at my code? https://pastebin.com/KvGjxabT I think that's a great idea (it's what I did)
Ah ok. Forgot that. Then sorry, I'm out of my depth.
holy shoooot i fixed it
so, when you define a sensor with a value template, you must specify a unit of measure
then it will graph the data the way I want!

🎉
thank you for your help, at least in so far as inspiring different searching and confirming i was on the right track with where i had gotten!
😀
At work we call that a Cardboard Analyst ;)
You have a problem and can’t get a solution so you explain the problem to someone else and as you explain it the solution comes to you 😃
Sometimes the other person doesn’t even have to speak (hence Cardboard Analyst)
We always called it rubber ducking.. https://en.wikipedia.org/wiki/Rubber_duck_debugging
Hi! Need help to add camera.door. how?
There are multiple ways of doing that :)
I suggest you start by reading the docs, since it will show you how to do it, and if you get stuck after reading it, come back here :)
https://www.home-assistant.io/lovelace
Most picture* cards can handle cameras
Has something broken with Lovelace that stops an input_number from showing the value to the right?
no, mine is working fine and i'm fully upgraded
Any beta users tried the sensor card yet ?
@half osprey I tried but only got that the sensor is an unknown card type. I filed an issue on GitHub
I have refreshed the cache and even tried in an incognito browser
Tried it just now and got the same
hmm
is it for 0b2?
I thought I had 0b2 but everything is showing 0b1
same here @mortal cape and I get Version 0.80.0b2 is already installed when trying to upgrade 🤷
When checking terminal I see I'm on 0b2 but devinfo says 0b1 it has been reported in the beta channel
I downgraded and re upgraded last night but same issue persisted
https://github.com/home-assistant/home-assistant-polymer/issues/1749
Balloob comments on the issue here. Fix will be in b3. @mortal cape @wheat current
@Old Tablet Owners: https://github.com/home-assistant/home-assistant-polymer/issues/1743
Should be able to use those old tablets going forward
@midnight basin the info button then remove lovelace as default page on this device
i saw it in home assistant and jumped over here an wrote it
no problem sir
Same place you went to enable it 😉
Has never been an addon of doing that, it would not be possible 😉
the setting are done on the client-side 😃
You are not the first (and probably not the last) 😉
@midnight basin Join us, drink the lovelace coolaid
@midnight basin there are scripts that mostly convert your old setup to lovelace when you're ready, that's what I used as a jump off point.
it can be very helpful around here
I come here to read just to get ideas sometimes
Well, at some point you have to switch, so switch sooner than you're forced to and it won't feel like a rush 😉
I manually created the first few of my tabs, used the script for the rest, then went back and improved things
@half osprey sensor type is working now
top 3 are the old custom card...the others below are the official type
Those new sensor cards look rather nice
Humidit
y
😉
For small cards like that icons alone would probably be better than text
@valid thorn oh yeah, I need to tweak titles and values...just showing that they show up 😛
It does look great though
I am
you want to watch this page https://hub.docker.com/r/homeassistant/raspberrypi3-homeassistant/tags/
"16 hours ago" means it (0b3) doesn't exist yet, so a little more waiting for the pi
Gotcha. Thanks man
Yes
ok
should i do anything else besides creating the www folder and putting the js. folder under it also added the recouce line to lovelace.yaml
Hi, is there a way, to group multible cards together? So there a shown with one header or similiar?
but still modelu is missing
https://www.home-assistant.io/components/http/#hosting-files @fringe pebble
@pearl hound yes couple of times
@pearl hound No, you can't merge multiple cards like that
ok checking that out
url: /local/mini-media-player.js?v=0.8.3 i am using this url should i use all path
by the way i am trying this https://community.home-assistant.io/t/lovelace-mini-media-player/68459
I assume you have mini-media-player.js in /config/www/?
I'd check the log file for any errors
ok
@mortal cape What config are you using for the sensor card?
the big temp one in the middle is just the basic ```- type: sensor
entity: sensor.temperature_sensor_114
@split granite i think it says :http://hassio.local:8123/local/mini-media-player.js?v=0.8.3:7:1 Uncaught SyntaxError: Unexpected token
I'd check the forum thread and see if that's discussed there, could be a bug in the card
2018-10-08 20:09:55 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-08 20:09:57 ERROR (MainThread) [frontend.js.latest.201809270] http://hassio.local:8123/frontend_latest/app-084b7564.js:2856:640 Uncaught TypeError: Cannot read property '_stateDisplay' of null
2018-10-08 20:09:57 ERROR (MainThread) [frontend.js.latest.201809270] http://hassio.local:8123/local/mini-media-player.js?v=0.8.3:7:1 Uncaught SyntaxError: Unexpected token <
2018-10-08 20:09:59 ERROR (MainThread) [frontend.js.latest.201809270] http://hassio.local:8123/frontend_latest/app-084b7564.js:2856:640 Uncaught TypeError: Cannot read property '_stateDisplay' of null
2018-10-08 20:09:59 ERROR (MainThread) [frontend.js.latest.201809270] http://hassio.local:8123/local/mini-media-player.js?v=0.8.3:7:1 Uncaught SyntaxError: Unexpected token <
2018-10-08 20:10:08 WARNING (SyncWorker_0) [plexapi] BadRequest (401) unauthorized http://192.168.88.184:32400/; <html><head><script>window.location = window.location.href.match(/(^.+/)[^/]*$/)[1] + 'web/index.html';</script><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
~format
:information_source:
Format Code:
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Click on the link to learn how to format: https://raw.githubusercontent.com/skalavala/HassBot/master/format.gif
@fringe pebble Re download the file
Make sure the dir is correct. That error is when it cant find the file or the file didnt download into the dir properly
@raw brook it is in /config/www/
And what does your Resource for the card look like?
resources:
- url: /local/mini-media-player.js?v=0.8.3
type: module
@fringe pebble Looks like you copied html code and not the raw javascript code from Github
@mild veldt i did
I would redownload
ok thank you the process is i download it with chrome and put it in hassio/config/www/
I really hope that someone comes up with a custom Lovelace gallery/store-front somewhat like the hassio add-on store at some point in the future
Would be a great way to showcase things out there and ideally be a single click to get it downloaded and added to your config
We have that @mild veldt , you create a PR to the homeassistant-polymer repo to include it for all to use 😉
snarky sob...
😂
😛
I think once we have a UI for creating/editing LL interfaces it will be a necessity.
good evening, im not getting the icon colors to work and im not sure what im doing wrong:
https://pastebin.com/XBLiismT
can someone have at look? at the forums they mentioned to use theme so i did bit the icon wont change
Not good enough @mild veldt ?
https://image.ibb.co/bJoyYp/image.png
@wheat current That's good enough for me, but a gallery type store would be better once HA is configured more on the frontend and less by digging in files
who askes about the input number? seems message got deleted just wanted to response
He/she moved it to #330944238910963714 @fiery temple
/it
Hoi, someone knows a good rain radar service which can be included with iframe in lovelace? (germany here)
using a windy.com iframe and it is pretty customizable, but not sure if it is what you are looking for
changed from temperature to radar, within the card:
@mortal cape totally what i was looking for! thanks
but you can make it default to wind, temp, radar, etc
i guess i need an account but its free?
no account. You need to go to the site, and then the 3 bars upper right
actually, enter your location first and then the 3 bars
choose "embed widget on page"
and then change the settings here however you like
and on the map itself, click on the upper right to choose the kind of weather you want to see by default
quick question.. I have my instance of hassio running on https but i'd like to use an iframe page that links to the the webinterface of my kodi instance (which is not running https and isn't able to) how do i do this ?
https://www.home-assistant.io/components/panel_iframe/ @errant birch
Please read the large warning box
I did so that's why I'm asking here
isn't there any workaround ?
some simple way to trick hassio or something ?
If there was, it'd be in the docs
And the "problem" isn't Hass.io, it's the security settings of the web browser
@errant birch Why aren't you able to run HTTPS?
@mortal cape thanks for the great help
Kodi's webinterface simple doesnt offer the option
Have you thought of using a reverse proxy and redirecting all calls for HTTP to HTTPS?
I have a question. If I want to move cards over to the next column. Would I need to use a horizontal column or is there a way to do that another way?
You will need to use Horizontal Stack card
Alright. Thanks!
@raw brook Tried the horizontal stack and it smashes them together horizontally. I want to move a card from one column to another
Think I fixed it
@raw brook being inconsiderate, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/6sWDVmTYbb/
But I think its by being a fluke
Check out that link. it will show you an example
: good evening, im not getting the icon colors to work and im not sure what im doing wrong:
https://pastebin.com/XBLiismT
Is that some custom-ui feature?
How lovelace decides where to put cards:
First, the number of columns is decided from the screen width.
@polar kelp could you check my question im almost done with ha setup, but im stil stuck on this
Then lovelace takes each card and puts it in the first empty column, starting from the left.
A column also counts as empty if it has less than five units of card in it.
If no columns are empty, the card is placed in the one that’s shortest (in card units).
youre the supernerd that got this all working xD
A “card unit” is a way to decide the height of a card. One item in an elements card is one unit high, and the title is one unit. Other cards have different heights calculated in different ways.
Some custom carda report a height of 1, regardless of how high they actually are.
So, in conclusion; to get a card to show up in the next collumn, put other cards before it (for example an elements card with four items and a title), or use panel: true and do it all by hand.
@fiery temple if you mean the one about icon colors, that’s what my question was regarding. I don’t recognize that customize.entitytemplates.theme thing. Is that from custom-ui (https://github.com/andrey-git/home-assistant-custom-ui )?
@fiery temple are you talking about something like this?
sensor.house_alarm_sensor:
templates:
icon_color: >
if (state === 'Armed Away') return 'rgb(222,40,40)';
if (state === 'Armed Home') return 'rgb(222,40,40)';
if (state === 'Triggered') return 'rgb(222,40,40)';
if (state === 'Pending') return 'rgb(252,255,0)';
return 'rgb(3,155,229)';
@fiery temple being thick-skinned, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/5vtbwRbSDd/
So have you tried it in
to make sure it works there?
title: Blinds
show_header_toggle: true
entities:
- switch.front_blind_left
- switch.front_blind_right
- switch.house_shutters```
Is there a way to change the header "toggle" to a "Switch" instead?
With the switch if you have some entities on Nd some off but you want to turn off everything, you just press the off switch.
With toggle, you have to turn everything on first by pressing the toggle and then off. Or vice versa
I use header switch on the main fronted for most of my groups
Gotcha. I dont believe there is a way to change that..
Fair enough, that is a very useful feature though
@polar kelp
I hope I didn't just wake him up with a tag notification
😃
Hello, I am currently playing around with lovelance and when playing an <video> in a card in the ui i can notice it disappearing ever so often. leaving me with a white flash once it happens. Looks to me like ha is refreshing the card or so? Can this be avoided?
