#frontend-archived
1 messages · Page 105 of 1
Ok doesnt seem too bad then. Thank you
I want when I turn of the header toggle all of my automations will be turn off too. Can any one help me? https://imgur.com/JZdhPGN
~~https://www.home-assistant.io/lovelace/entities/~~ Edit: I thought you said the opposite of what you said. Never mind
"Installing" and using a custom card in < 45 sec :D
Does not work with all cards, it's super undocumented 🙈
https://i.ibb.co/fqQFq2C/super-custom.gif
@wheat current can you help me please?
I doubt that, as stated 9 posts up ☝ I'm not a UI guy, so not even sure where to start looking 🤷
But I do see that I have the same behavior
Looks like if you add group.all_automations to the same card it starts working
Dear @wheat current I can use the toggle header to turn on/off all automation but I dont see any option to hihde the group.all_automations. https://imgur.com/EUcYssv
Do you know how to hide it when still can use the header toggle?
@severe stirrup if you just paste your links in, without any indentation or backticks or anything, they will be clickable.
No I don't
sorry.
My dashboard is not refreshing. Any idea on how i can force it to refresh? (light as switches are not updating)
F5?
nope
ctrl+shift+r?
state is correct in
?
Like for all items there?
For all you have issues with
well the issue is that its showing items that i have removed. So now it just says "entity not available"
You also need to remove them from your lovelace config
okay, they are not removed automatically?
Not if you have taken control of it
this is my entites card: https://imgur.com/EUcYssv I want to hide the "all automations" entity so that I can still use the header toogle. Can anyone help me?
remove it from the card? it's a regular entity on the card, so far as i can see. should be able to just take it off.
when I remove it. The header toggle cant use any more.
I want to toggle the header and it can effect all of my automators
Turn off the header is the only other option
that raises an interesting question i had while in the shower last night… any way to have the header switch, but NOT have it switch anyone on and off? ie. substitute a different switch on the card header? (or just fake the header with an entry that looks like one)
The idea of the header is to toggle the entities on the card
i know what the idea of it is… that never stopped me, though.
You're free to make a custom card 🤷
more specifically, i fully intend to be consistent with that idea, i just want to take a slightly circular route…
well, there is that. i've already modded the monster card… and i plan to do similar to the light card, when i can figure out where on github they're hiding it… so maybe i'll add it to the list. just surprised no one's added such a facility for sub-headings, and the likes, yet…
especially with the talk of sub-entity-lists that i saw…
me has two problems to deal with next… 1) is a light card that doesn't highlight… the other is a glance card that does. the latter i can fake with a readily available custom button, it appears, but that wouldn't look quite "right"… the first, is just a pain.
lovelace picture-elements card? where to place the image to display and how to reference it? is it relative to the config folder? or config/www ? or ?
ahhh… in polymer… didn't realise what polymer was, last time i looked around those parts… explains why i didn't find it, then. heh
oh, i want the light card to do all the things… just not mess wth the brightness of the icon, because it's set permanently at 45/256ths, and looks ugly against all the binary ones…
ahh 😃 thanks @polar kelp
regrets avoiding learning javascript for so long… but looks like it should do the trick… thanks…
Going through some of the built in cards there doesn't seem to be a standardized padding.
like for the header and around the whole card
some have padding: 24px 16px 16px;
for the over all padding. Would this be considered the 'standard'?
the markdown card has padding: 0 16px 16px;
I'm thinking some docs to standardize these things that all cards have in common like various paddings and header sisze
in the dev docs for custom cards
maybe a base template of sorts
hey guys
i would love to have something like the light card but for input.number (with the value in the middle instead of the light bulb)
any ideas for me?
not beyond making it 😃
@polar kelp Thanks for the idea! I love how easy this can be :D
https://i.ibb.co/vvqCGKx/tracker-card.gif
You could pin that gif for new people that are confused about how to install custom cards
That’s fantastic!
Currently that way are super undocumented and will not work with all cards @elder pendant
Could it work with the repo cards by default somehow?
Might be tricky to specify then... but feels weird that ”unofficial” ones are easier to install...
It may actually do that unintentionally, will test that now
It does not work, but adding that will be easy
being new to github, a best practices guide to where to put cards and how to manage them (keep them updated, and so forth) would be rather good. like, how do people handle fetching three github repositories, all named "custom-cards"…?
I’m planning a video for introducing the gui editor for card-modder. This would be a great frature to have in it.
Pushing an update "down the pipes" now, that will enable this install method for all cards in the not so official repo/org (and others wich are in the "master" list)
I think we hve a new ”standard”
potentially 😄
It would be really easy for devs to setup a git hook that autonatically bumps the version number of the data file when pushing to github as well.
Easier than commit hash? 😛
Well... no... but close
I just had another idea. A bit tougher to implement right, but... dependencies.
Like add requires: [/github/thomasloven/lovelce-card-tools] or something in the data file, and it makes sure that is installed as well.
No wait... it would still need to be put in the resources manually. No point then, really
Good 😄
Yay for feature creep
Just tested the newest version :D
resources:
- url: /customcards/github/maykar/compact-custom-header.js?track=true
type: module
- url: /customcards/github/custom-cards/tracker-card.js?track=true
type: module
- url: /customcards/github/thomasloven/card-modder.js?track=true
- url: /customcards/github/custom-cards/upcoming-media-card.js?track=true
type: js
Gave me:
ran into a problem with trying to have three versions of one custom card at the same time… had to go into the js and fiddle the names to separate them… one was the original, one was my version, and another was the version i was working on at the time. so i had custom-card, my-custom-card, and my-custom-card-dev… and then trying to push the versions back, requires search-and-remove on the my- and -dev's… i assume there's gotta be an easier way? or do you guys just have two separate HA installs, or something?
Yes. I run a dev setup in docker for tinkering with cards.
Hmm @polar kelp is this text "If you see "Can't find card-tools. [...]" in your Home Assistant UI, follow these instructions." on your git needed to point somewhere like here or different part of your git -> https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
keep getting that error when trying to use the card modder with the layout card that lovelace-card-tools is missing
https://imgur.com/a/haARUaL
above the place of the files and below the code part
- url: /customcards/github/thomasloven/card-modder.js
type: js
- url: /customcards/github/thomasloven/layout-card.js
type: js
- url: /customcards/github/thomasloven/card-tools.js
type: js
Huh?
Installation instructions
If you see "Can't find card-tools. [...]" in your Home Assistant UI, follow these instructions.
To install card-tools follow this guide.
that part on the website, the above text does it need to follow to a link there is no link under it
"This guide" is the link, it points here https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
that was indeed what i wanted to know, thought there was maybe an extra "help/information"file
docker is still on my TODO… i installed Hass.io, because i understand it uses docker, but so far it's only made things more confusing… as if i wasn't mostly confused enough already…
@hexed owl docker is not necessary for running a dev environment. But it does make it easy to blow it away or make a new container, I would think
It certainly does 👌
yeah, that's one reason why i was interested in it… haven't gotten that far just yet. but i'm wondering if using a Hass.io install of HA was, perhaps, counter-productive to that goal…
hi, are all this cards compatible with the new custom updater version ? https://hastebin.com/evaqafidux.css
Why wouldn't them be?
@wheat current , i dont know , just aski ng in case im missing something , tried updating yesterday , and broke all custom cards, so i want to make a new try now .
if that happend, you got an error in your log
on the card itself , it showed , missing file , i made the changes as you described on the docs .
there may be something else im missing ,
the interface is awfully fragile… doesn't take much at all to come back to an empty screen… i do it frighteningly often… 😫
i loaded the snapshot , in order to start "fresh" and perform another attempt
You probably missed clearing your cache @calm rock
will do again ,and report back if you dont mind ..
not at all, but do it here https://github.com/custom-components/custom_updater/issues 😃
ok, tks
@wheat current , i made the update, and have not edited the raw config yet , still , everything works fine so far , is it because i need to restart in order to make the new updater to take over ?
ÿes you do, it's a component
no, but I'm off to bed, if you get issues use the link I gave you
sure , tks
i just installed custom updater and my components show up by says not cards?
no*
do they need to be in an actual "custom-cards" folder?
I have a rest sensor with the value template:
'{{ value_json.mapsrc }}'
it gives me a state like:
/maps/2019-02-19_22-11-31.png
then I have a camera component, where I need to use that state, plus the ip of the source, which is saved in secrets as r2d2_ip. Does this look correct for still_image_url ? ```
still_image_url: '!secret r2d2_ip{{ states.sensor.r2d2_radar_url.state }}'
no...that will not work
is that a yes on the custom_cards? i see that only some of them have tracker.jsons to add to urls. so they should pop up. i only have slide-entity-row, popup and card-modder. and my alexa media player component doesnt show either.
you do not move the cards. leave them in /config/www where they are now
/local/ and /customcards/ are not real folders - they are endpoints
hm alright
Is there any way to toggle the wording on this service-button on my picture-elements card as the service toggles?
https://imgur.com/a/DmQvBfl
i'm using the new custom-updater / config if you have problems
https://hastebin.com/esubadekop.bash is my yaml
this is the error i see: CustomCards(yaml_resources) - Lovelace config in yaml file not found
Ideally an "On"/"Off" toggle, but I can settle for a power icon that changes colour or something along those lines
do you have locelace: and mode: yaml in config?
im using the UI editor and raw conifg
@shut harness button text is static...for now
@forest mica what does your resources section look like?
and you don't have a lovelace section in config yaml right?
resources:
- type: js
url: /local/lovelace/card-tools.js?v=0.0.2 - type: js
url: /local/lovelace/slider-entity-row.js?v=0.0.1 - type: js
url: /local/lovelace/popup-card.js?v=0.0.1 - type: js
url: /local/lovelace/card-modder.js?v=0.0.1 - type: module
url: /local/lovelace/tracker-card.js?track=true
negative
custom_updater:
track:
- cards
- components
need to change /local/ to /customcards/ and remove the versions
you're using what version of custom_updater?
@shut harness or maybe just leave it for now and hope that I get around to my button refactoring soon 😃
like I said up above, /local/ doesn't physically exist either
ill try it out
it's just an endpoint
this is part of mine
resources:
- type: js
url: /customcards/card-tools.js
- type: js
url: /customcards/tracker-card.js
- type: js
url: /cus
see... /customcards/ and no versions
haha, I'm probably going down the card-modder and conditionals route for now @mild veldt
I can easily switch it back when you get around to it
fair enough
I do that by not showing her my UI
I have a planned release date of 1/1/2020 for public consumption of my UI 😃
time's ticking!
she hates speaking to Alexa as it doesn't understand her half the time (I think it does it on purpose to piss her off)
@latent moss will get me there 😃
so I need to make a pretty UI for her
i restarted and no change..
where are you seeing that error?
i don't have that... it will default to storage
that did it for some reason
is it normal to have numbers and letters for versions of some cards instead of like 1.0.0
still no alexa but
you more likely broke your lovelace section of the config, rather than fixing it with mode: storage. You should just not have lovelace in your configuration.yaml if you don't want yaml mode
# Custom Component Updater
custom_updater:
show_installable: false
hide_sensor: false
mode: storage
you do need that for custom-updater config
ah, you're talking about the updater's config
and yes.... thomas loven's cards all have the git commit as the version number
yeah pretty sure he is
discord needs a "share my screen" plugin
no joke right
haha it has it for personal chats. but yes i added the lovelace: section but its commented out a the moment
but then again, I don't want to be locked into tech support. with chat I can just walk away 🤣
haha
you do need mode: storage in custom-updater config as I posted above..... that's confusing though as I thought you were talking about teh lovelace config
conditional-card worked as expected, it'll do for now 😃
Show and tell time: What’s your #Lovelace UI look like right now and what do you love most about it? Best replies get RT!
Show us what you got!
(via Twitter please!)
nuuu mine is ugllyy 😦
@eager thistle ha! same...
😃

Mines the same, just functional(ish).
Y’all are bad at this. I expected more from you
I tweeted one 😃
@grim lotus haha, I guess we will all improve as LoveLace becomes more mainstream and standard. There's still lots of changes and improvements to the config etc
yeah mine is just functional
still setting up HA then I'll make it prettier for WAF
Same here, I have all mine segregated by level, location.. Like one room has 30 sensors in a entity list 😃
and the influxdb on the left is dope is cool
https://github.com/niemyjski/home-assistant My lovelace config on there isn't fully up to date
I have a bunch of insane node red automations that I need to blog about 😃
https://github.com/niemyjski/home-assistant/blob/master/config/group.yaml Just a few sensors that I have on my dashboards.. I need to find a better way to bring these into lovelace groups.. I have 15 switches with (5 sensors each not in HA) and 20 switches getting installed this weekend to finish the setup 😃
Would be kind of nice to have an areas card.. but not all entities can be put into an area yet :\
i posted a few of mine
Ha, never really used Twitter too much before but I guess this is a good reason to.
@latent moss show off for @grim lotus
RTed
could someone help me with my lovelace config (please) - I had it working but now seem to have it , or more correctly HA in state where it's stopped working - it appears to be set to auto-gen and refuses to read the ui-lovelace.yaml file, I don't know how to get it back a state where I can edit the ui-lovelace.yaml file - any help would be appreciated (HA v0.87.1 Lovelace mode auto-gen)
is it possible to block indent in the lovelace raw editor? Would make adding cards into stacks much easier...
@mild veldt thanks - yep I have that
@rich nymph go to
what mode does it say you are in?
@mild veldt do you know if a theme editor/ color picker has ever been discussed?
not to my knowledge
would that fall under frontend or backend at this point?
frontend, but feature requests go to the ui-schema repo
got it.
@mild veldt whoops - spoke too soon, it does appear to be missing - I must have saved an old version of the config on another computer - have restarted and it's working fine - sorry to have bothered and thanks for the help
For anyone following along with me and @polar kelp yesterday I have now made some documentation for the new "super_custom" concept.
https://github.com/custom-components/custom_updater/wiki/super_custom-cards
It's semi technical and may be confusing for users, but the target audience is custom_card developers 😃
TL;DR: For the user the user this means no manual handling of card files.
Card makers take note. This really is a game changer!
In the root of the repo dere must be a .json (manifest) file with one of these names
intentional? 😛
Nope, corrected :P
I wrote it, so it will probably have a lot of grammar issues 😛
there's a lot of progress in ui and convenience lately 😛
That is logical, UI is not as "scary" as alternatives (looking at you vi)
I still dream of live sensor addition/removal/modification
especially, but not limited to template sensors
If you know it 🤣
Well. Obviously :wq
I had to google how to exit ☝
:x does the same ás :wq
or just ZZ from normal mode
Did not know that (y)
I learned that from vimgolf. One keystroke less than :x<CR>
better than emacs..
Ahh vimgolf good times 😃
are there any known issues with lovelace UI editor in 0.86.4, specifically errors adding either Horizontal or Vertical stack cards?
UI just keeps spitting back "Card config incorrect" just by trying to create one. I'd update to 87.1 but it's not on hassio yet (it seems)
All hassio arch's types have 0.87.1 now.
In 0.88.0b2 it works
crap. the issue is me. I misunderstood how that card works. I thought it was more like a HTML DIV/container that you shove other cards into already on the UI. I see you need to define the actual cards now
sorry
ah, no problem 😃
Experimenting a bit...
That looks great, but what is the tab on the far right of the frame 😛
@wheat current I was reading on the super_custom cards and, not being a card developer, I am not 100% sure if I need to update my folder structure from the current state to the new github/user/repo path (and the resources in the yaml file), Or if, even in yaml mode, there is nothing I need to do, at least for now 😄
You should folow the instructions from the card dev for the cards you are using ;)
With the exception of:
https://github.com/custom-components/custom_updater/wiki/How-it-works#special-notes-for-custom_cards
https://github.com/custom-components/custom_updater/wiki/How-it-works#the-customcards-endpoint
I am already updated to 4.0.0 structure
that was done yesterday or the day before (can't remember) 😄 and I got all the cards using the new structure with /customcars endpoint
my point is that I don't have a : /customcards/github/my-awesome-repo/awesome-card.js?track=true
but, for example, I got: /customcards/lovelace/cards/monster-card.js
That's fine
Ok 😃 I tought I had to change everything to be sort of a github mapping and help the system to automatically "figure out" where to check for updates
I must have missunderstood 😃
You can but it's more for new users that have not the cards allready
I see, I tought it might become a breaking change in the future 😄
k 😃 cheers
i want to make a card with some button like this and when I touchh the button I will have an action . Can any one help me or give me a tutorial for that please?
Glance Card maybe? https://www.home-assistant.io/lovelace/glance/
ok let me try it.
Running latest custom_updater and want to try something "cool"?
Add this to lovelace config:
- url: /customcards/github/ludeeus/ROOT.js?track=true
type: js
Click "Check" in tracker card, wait for ROOT to show up in the card, hit refresh (F5) 😄
I don't need to test, I already know (well, feel 😄 ) what it does and it's the way to go! 😄
should I add the ?track=true bit to my existing resources tho?
To be fair, it could be way worse :D, but it showcases the new capabilities quite well :)
Adding that is not needed for existing cards
thanks 😃
Here’s hoping the custom cards I use see an update to take advantage of the changes in 0.88.0.
What changes?
From the 0.88.0 release notes.
Note for Lovelace custom card developers: if you relied on the availability of <paper-button> in your code, you will have to update it to <mwc-button> to work like before. It’s down as a breaking change.
Oh, yeah, when I read your message I thought about new features 😜
Idioti question.. whwn I add a custom python script, besie the "python_script:" in coniguraiton.yaml, do I need to do anything? Because the script is there light_store, but the card_tracker oesn't "recognize" it even tho it is added in the custom components urls
Sorry, my bad... or was it? Maybe...
not sure @polar kelp because its a card.. but also the python script I am not sure it is loadedd xD
👍
touchè 😄
@wheat current if custom cards haven’t been updated do you think it’s viable to edit a local version to implement the changes? It seems like a change in naming convention only or am I missing something.
In some implementations it will just be to swap them, but others may need som more work/styling to look correct.
I’m using a card that’s a fork of the original which also hasn’t seen an update yet...thinking I may have to skip this update for a bit
Or fix it for you and anyone else 🤷♀️
There is that. 😉
K it wasn't a bug.. I was the bug!
@polar kelp cool theme editor! just needs a picker for theme attributes and a color picker. That should totally be in core! well done!
but as @wheat current said, I really don't care about it as much as I do about that last tab 😜
Now with importing
I'm having issues with the save button on the when editing cards on the UI. I can see the text but it doesn't click. Any ideas?
my guess is that it clicks but you dont notice it
It definitely doesn't click since it doesn't close the window or save the changes to the UI.
Worked on my other pc for some reason...
Quick announcement....I have updated https://github.com/MizterB/lovelace-secondaryinfo-entity-row with custom_updater integration
I spent the evening yesterday trying to remember the name of this custom-card! XD
Cheers!
now I only need to remember what I needed it for 😄
@polar kelp With the last update to layout-card it no longer works in a vertical-stack-in-card. Cards still load, but if I used horizontal, they will just load vertical.
I didn't see anything in the documentation, just wondering if there is something to change?
Latest update to layout-card? Three weeks ago?
No, wait.. it was just five days ago...
I know what the problem is
i want to make a fan card with oscillating for my ui-lovelace.
I already make a platform of fan with set_oscillating function here:
https://hastebin.com/gacomesoga.bash
I already tried to make set_oscillating function like this
alias: Ceiling fan (oscillating)
sequence:
- service: switch.broadlink_send_packet_192_168_1_17
data:
packet: 'awddwd='```
But I dint see the oscillating button in my fan card
https://imgur.com/qEjVl1Z PLease help me to show the oscilling button on my card please?
i updated my custom_updater card and my life360component dissapeared? how can i get it back?
https://github.com/custom-components/custom_updater/issues/90 @forest mica
Use that repo for issues, if that issue does not give you the answer
oh boy that looks fun
@thorny verge Should be fixed now.
Fun fact. When I start typing git commit -m 'Fix for' in my terminal it suggests the autocompletion vertical-stack-in-card.
@polar kelp Awesome, I'll try it right now, thanks.
Doesn't it look really weird if you use layout card in VSIC, though?
Not if you first add transform: rotate(180deg); to all items in body 😛
At least not in comparison.
Works perfectly.
@polar kelp Not sure what would look weird, at least in my case.
I have my home screen for my tablet that has an upper and a lower section. The whole thing is inside a VSIC as there is a text section with weather updates in between the 2 sections, it looks really good with no spacing in a VSIC. Then top/bottom sections are each in side a horizontal layout-card, top section is 4 horizontal cards, bottom section is 3 vertical-stacks with picture element cards.
Looks slick like this, at least to me.
When I view the same screen on a mobile device, if i just use a horizontal stack, the cards are very small, and I can't then navigate to any other screen (I hide the top bar, so use other navigation) as cards are a mess. When I use the horizontal layout-card, the cards disply vertically at the normal size.
my .py file is already in this location
<config>/custom_components/<integration name>/
its actually /custom_components/device_tracker/life360.py
and same for media_player/alexa
@west echo I'm thinking the cards in the layout-card will have drop-shadows and stuff... but I guess it depends a bit on your theme wether it looks good or not. Do you have a screenshot to share?
@forest mica That structure is being deprecated. You need to move it to life360\device_tracker.py
ahh alright. im not on .88 yet does it matter?
dear @raven nacelle can you take alook and help me with my question please?
i want to make a fan card with oscillating for my ui-lovelace.
I already make a platform of fan with set_oscillating function here:
https://hastebin.com/gacomesoga.bash
I already tried to make set_oscillating function like this
alias: Ceiling fan (oscillating)
sequence:
- service: switch.broadlink_send_packet_192_168_1_17
data:
packet: 'awddwd='
But I dint see the oscillating button in my fan card
https://imgur.com/qEjVl1Z PLease help me to show the oscilling button on my card please?
@severe stirrup The card has to be updated to support the same
so How can I control the oscillating of the fan from UI?
you can create a template switch to control oscillation
or input_boolean
anyways...more suited for #330944238910963714
thanks 😦
thanks @raven nacelle that brought back life360. and alexa media player never showed up on the card to begin with so idk.
there is a PR for Alexa player, which is not merged yet. You can try that
@polar kelp Tablet view https://imgur.com/a/2YLJ7Wn
wouldnt konw how to..lol im learning 😛
Ok. With the same background on the cards as behind them it looks really good.
I was doubtful because this is what it looks like with the default theme...
not pretty
Still looks ok on default theme for me, I just don't like all the white.
Layout card works perfect if I end up on the tablet screen on a phone, I can still navigate as horizontal-stack done with layout-card is then shown vertically. I do all my navigation with icons/pics on picture-element cards, so in a horizontal stack on mobile, all the cards were shrunk so small they were useless.
how can i remove the not available entities in ui?
carefully
if you use yaml mode change the ui-lovelace.yaml file, if not click the three dots, then edit UI and edit again on the card that has those entities
Thank you. I noticed that i just lost one of my z-wave sockets thats why i saw these entities not available
is yaml mode the current only way to add a custom card?
ooo thank you @mild veldt
is there a way to hide/show a entity in a glance card based on the state of another?
so balloob said custom:mini-graph is part of core for a long time, i can't find it on the lovelace card page tho? maybe i am misunderstanding the tweet https://twitter.com/balloob/status/1098258797976465408
Sensor card?
oh that might be it. doesnt seem to have any of the styling options tho unfortunately
Can probably use card-modder for that
You can also use your theme to change the color of the line
Pretty sure it uses the Accent Color
i misinterpreted it, thought he meant the actual entire custom-card was merged not just portions of it. i find it easier to just put whatever hex code i want instead of pointing it to a specific theme or whatever. so i'll just use the custom on for now
Whatever floats your boat
The mini graph card kept evolving in parallell.
All its features will never make it to core. Core should be simple.
How can i activate again the auto configuration of the UI? I have pressed the TAKE CONTROL
i find the core card way more difficult tbh. here it is side-by-side (custom mini-graph on left, core sensor card on right). on the left one i was able to put line_color: red , extremely simple and user friendly. on the right card i wanted to change the line color to red as well to compare, and that is way more difficult. Thought of a theme with red in the name, "darkred". but the line shows up as orange cause the accent-color is orange i guess. And it also changes the background color which is no good as you can see: https://i.imgur.com/78S8R4F.png So then i had to try and figure out which themes had a red accent color, and picked midnight: https://i.imgur.com/s0vPiw4.png which again doesn't match. I don't see any way this is more simple than just being able to put line_color: red.
@brisk ridge Too late. You've gone down the rabbit hole now, Alice
Just kidding. Delete the file lovelace from your config/.storage directory
hello guys 😃 I'm trying to create a card for my xiaomi vacuum and I already found one really nice to the forum. The problem is that I'm not able to call services using type: icon
cards:
- type: picture-elements
image: /local/vacuum1.jpg
elements:
- type: icon
icon: 'mdi:bell-ring'
tap_action: call-service
entity: vacuum.xiaomi_vacuum_cleaner
service: vacuum.locate
style:
top: 90%
left: 80%
color: '#3090C7'```
Check your syntax again, a few things are wrong https://www.home-assistant.io/lovelace/picture-elements/#tap_action
ok thanks 😃
Before I update to 88, does anyone know which custom cards are going to be affected by the <mwc-button> change?
any card that uses it 🤷
@wheat current you're supposed to know these things
And I told you 😉
😂
I think i'm only using your card modder one
I use CCH and tracker-card, both ok in 0.88
So i just need to check vertical-in-stack-card and button-card. I should probably remove all the other cards I no longer use
button-card is broken
Well I'll wait then
There is a waiting PR with a fix 👇
https://github.com/kuuji/button-card/pull/60 follow that PR
👆
I'll just use that, it's just a 1 to 1 swap apparently
you didn't look at the PR if you think that's going to work
If you look at the comments there you see that the fix is not quite good (I've tried it my self with the same result)
I'm looking at the history
and honestly, I don't plan to debug formatting on that PR
Leaving that to me? 😉
I just don't think I'll have the time, lol
@sudden lion will fix it 😄
things are on fire at work right now...I love it. @formal hornet I shouldn't have sent you those 🔥 🚆 emojis earlier...
I'll check quickly tonight, see if I can find a quick fix.
@wheat current Teach me then 😛
luckily it's database related and not actual train derailments, lol
haha @mild veldt I've had my own fires to fix this afternoon. One ES node decided to die but still report as up.
is there a good resource to learn css+js? This shit is foreign to me, i'm used to normal UI dev like winforms and wpf
the internet?
ya ya ya ya, but 1000 things come up
so...just to confirm that PR does not fix button card right (yet)?
Yeah, they look compressed
Might need to tweak the default css 😦
I probably know as much as he does about css. I just copy paste random stuff from the interwebs until it sorta looks like what I want.
That's how we all do it 🤣
is anybody using this custom card? https://github.com/custom-cards/state-attribute-element
it doesn't seems to work..i got some errors
If you look at it, it has not been updated in 4 mounths 😉
https://github.com/MizterB/lovelace-secondaryinfo-entity-row may give you the same
anyone using big number card? it doesn't seem to be letting me add it to my yaml frontend
cause I have some state label like this and it would be nice to not create lots of template sensor to read attributes. Any alternative?
style:
top: 79%
transform: 'translate(0%,-50%)'
font-weight: bold
color: '#84a6ba'
font-family: Trebuchet MS
font-size: 80%
left: 31%
pointer-events: none
entity: sensor.vacuum_cleaned_area
type: state-label```
Didn't I post an alternative? ☝
@wheat current oh, sorry, I was writing and I have not seen it
What am I doing trial by fire?
fixing button card after its conversion to mwc-button
Oh tweak css
we're all counting on you, don't mess it up
Haha
Anyone know if I can have one of these cards: https://www.home-assistant.io/lovelace/light/ but not see the three dots in the corner, and if I long-press the bult, see this in a more info pop-up: https://github.com/ljmerza/light-entity-card
@devout loom no
Alright
you could use popup card to get the light-entity-card on tap, but not on hold
Ok, that would as well, if I can just turn on/off the light by dragging the slider to zero
is there a good way to describe a sensor value in a big image?
@warm depot Tested both now, and both works, but the one I linked is not the same thing 🤷
@mossy otter that's a very broad question
Something like that bignumber card but without different colours but like a themed picture in the background?
e.g. just a box...with a number showing my sensor value...with a picture in the box
you can always use https://github.com/thomasloven/lovelace-card-modder to put a background on ANY card
@mild veldt that's perfect, thanks!
hello , correct me if i'm wrong but id's aren't required anymore in Lovelace is that correct ? cleaning up my config
@mild veldt how does long pressing work on pc?
can't seem to get it working anywhere
@rotund island Yes, ids are not required
thx @raven nacelle was waiting on that to continue linting 😄
The pop-up card works nicely, except it does not like drop downs, it won't resize 😦 So the effects in a light doesn't look nice https://i.imgur.com/JHlfBqG.png
@devout loom I haven't used it myself, but have you defined hold_action ?
hmm not sure where
doesnt seem to work
ping me if you figure it out
will do
almost done with a "TV Guide" schedule in Lovelace. Uses conditional cards to display what is airing on TV at this hour, tap_action to change the channel on your main TV and a hold_action to do the same but on a secondary tv. The hardest part was getting all the channel icons to look right on both dark and light themes. screenshot: https://i.imgur.com/Rh3jkf1.png (and no i don't watch all these shows)
@mild veldt @tacit cave in the 0.88 beta, I played with the CSS and it was fine on my PC but not so good on my mobile. With @mild veldt changes to mwc button it's changed yet again and I can't fix it - I reverted to the button-card version I tweaked for the beta's with css and only the lit change... I posted some screenshots on the github issue
@sudden lion never even heard of trakt.tv before but this looks neat and would've saved me a lot of time lol. will try it this weekend maybe.
@latent moss I have a custom component for it as well 😃
works with upcoming-media-card
just saw that, even better 👍
@timid burrow that's not on me, that's on google 😃
hahaha.... well just reporting what I'm seeing
@latent moss there was also a fix just posted to the python library, pytrakt, that I used, that once released will allow me to create an "up next" sensor based on what you most recently watched
very cool
hey guys I just updated from 0.82 to 0.86 and I am unsure how to translate my previous lovelace config to the new version (in 0.82 my lovelace config is in ui-lovelace.yaml but it is not being loaded in 0.86). Do I need to move my ui-lovelace.yaml contents into customization.yaml?
hey, I'm having trouble adding the custom tracker card, I tried following the instructions, but I'm getting Tried to serve up '/config/www/github/custom-cards/tracker-card.js' but it does not exist
it should grab it. you also need track on the end I think...
if it doesn't grab it you can get it manually
yea I've got this
- url: /customcards/github/custom-cards/tracker-card.js?track=true
type: module
well if it doesn't grab it, just get it from github
or it might take a couple of minutes
so if I remove the ?track=true I get this customcards/github/custom-cards/tracker-card.js:4:43 SyntaxError: dynamic module import is not implemented
why did you remove that?
ok so what is the error? the dynamic module one?
yup
are you sure you d/l the raw file and put in www/github/custom-cards folder?
yup, the two .js files
you are not trying to use a folder called customcards/github....
and you're on 0.88?
and it's in config/www/github/custom-cards/
did you try F12 and rightclick refresh... hard reload and clear cache in chrome..
so do you have the tracker card installed? can you click on check on the card?
where are you seeing the error
nope, I get "Custom element doesn't exist: tracker-card"
on lovelace
and then in the info tab I get the module error
well I was doing yaml, but I just switched to storage
and this is my config
custom_updater:
mode: storage
show_installable: false
track:
- components
- cards
card_urls:
- https://raw.githubusercontent.com/bramkragten/custom-ui/master/updater.json
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json
- https://raw.githubusercontent.com/maykar/custom-lovelace/master/tracker.json
that looks fine
what about the card in lovelace... the tracker card... what do you have there? (not the resources bit - that seems ok)
the lovelace card? the "custom element doesn't exist: tracker-card"
yes but what do you have in the lovelace file that call it up to display it
- type: custom:tracker-card
title: "\U0001F4E3 Custom Card Updates"
type: 'custom:tracker-card'
ok.. looks fine.
How the heck do I call a script in Lovelace?
Just realised you aren't talking a python script lol.
Seems the card-tracker doesn't load well in FF but does in chrome 😦
@past falcon @tired hare tracker-card uses dynamic imports, this is not yet supported in firefox
in firefox 66 you can enable it, in 67 it should be enabled by default
I'm still having trouble in chrome though
Custom element doesn't exist: tracker-card.
do any errors display in HA log or browser dev tools?
``https://my.web.site/local/tracker-card.js:4:43 SyntaxError: dynamic module import is not implemented
yea I was getting that before, now I'm not getting anything
just doesn't exist
but I am running the old tracker card from the repo post
not version 1.1.1?
what if you click check?
I can't
it's probably reading it from .storage/lovelace
can only run custom_updater.check_all
ok check all
@tired hare From version 66: this feature is behind the javascript.options.dynamicImport preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Is this the correct place for suggesting lovelace feature enhancements? https://github.com/home-assistant/ui-schema/issues or /home-assistant-polymer/ . kind of confused at what the difference is.
@latent moss : Yaaaay .. that worked 😃
Who still uses the lovelace.ui file?
I did until just today
@clever ore only beta's of ff 66 right?
well so I just upgrade to see if it would fix it and I got nothing
even toggling dynamicimport
@past falcon is that new in .88?
na I just decided to switch over
partly cause I was having troubles with the tracker card
much better?
partly cause I know that's the direction it's headed
eh
soso
it is nice to see things change in real time
it's much easier to organize I think in the yaml file
@timid burrow I couldn't tell you for sure (don't use it myself), but I believe it's in 66 release
says March 19 release.... that's going to trip some folk up
how did you switch over @past falcon ?
thanks for that link
it's alittle tricky if you wanna keep your custom components (which is what held me back), but once you figure it out the custom components ahve nice new stuff too
yea
@past falcon do you mean components or cards?
also how do you back up your work now
snapshots?
I'm worried my card will crash on me again
@timid wigeon DON'T reboot - just restart Home Assistant.....
yea just go to edit config, then press the 3 dots again and raw config
just restart server management?
honestly... NEVER reboot unless you do an actual OS update or stuff freezes etc..
yes just restart server
restart server using Putty?
or config tab
you reboot and you have one error in your yaml file and HA won't even start!
NO not in puTTY unless you are in the ssh addon.... hassio ha restart
but do it from config
in sidebar: configuration -> general -> restart
there are maybe 100 threads of people who rebooted and had fucked up their config fle and they are locked out
don't ever reboot!!! that bypasses the config checking when you do a real restart
if HA won't restart check the log and you'll see there is some config error you need to fix and if you rebooted.... well you can be screwed
oh really
how do you know when it's safe if you actually have to reboot then?
I see
you can do a hassio ha check first I think... but you should not usually need to reboot anyway.... unless there is an OS upgrade or something like that... what is your use case for rebooting?
in sidebar: configuration -> general -> check config
hehehe
yeah but that doesn't pick up everything whereas the ssh one does
i usually use the sidebar one though and then when I restart server scratch my head when it doesn't restart and then check the logs
my nuc was up for 70 days until last weekend when I did a distribution upgrade and a bios upgrade
thank god it came back up
thank you for the advice @timid burrow
You are my mentor!
yea Pi for me
@timid burrow Are you using exceptions in your CCH config?
no none
k
I have a pretty vanilla config for your card
I have noticed setting a default seems to keep switching off though
What do you mean?
like I select main config and save but whe n I go back in, it's off again
interesting
your cards are awesome too BTW..
Ty! Possible main_config: false is cached on one of your devices?
I would try clearing CCH's cache on the devices you use it on.
yeah, always on the first lovelace view
it's just my ipad and iphone as well as desktop
ok.... so I have not configured anything in the lovelace card except adding the card
so I should add true for the first card/view?
I have a blank slate now using the lovelace UI editor. Can't add Picture Glance card?
yeah, main_config: true on the first one
oh! thank you. I think I know where the bug is coming from now
ok added to first view and now when I go in it's set
So, I've been trying to track down an issue for a bit now related to your issue
but think ive stumbled on the answer
@timid wigeon do you have an old ui-lovelace.yaml file?
look for an update tomorrow. for now, I need to sleep. night
I still have my backup yea and it was probably the old style
nite and thanks @clever ore
so open the old one in an editor and copy it totally to the clipboard
Ahh! then raw config editor!
then open the editor in the GUI for lovelace and switch to raw mode and overwrite that 100% with the clipboard contents of your old one and save and it will be identical to your old one
yep
wahoo
infact... my dirty little secret is I maintain the old one and do my changes in there mostly and overwrite in raw config all the time
because I hate the way the gui editor mangles the yaml format
and I find it easier to follow what I'm trying to do
I agree with you
the GUI editor is a nightmare for stacks...... <shudder>
sure
Ok, so I checked my config and the configuration is invalid. Platform not found: remote.template
Where is the log to find out where this is?
well it's in the GUI if you go into dev-tools and click on i and then down the bottom load full log
or the file is homeassistant.log (I think) in the config directory
you can do it through samba
Great and now I try my fancy new Config>Restart
yes lol
Much easier! Although I still get the error about system health
maybe #330944238910963714 better place to discuss as we're off topic here now
ok
maybe post some of the log there
so many of my custom things seem to be broken with 0.88 XD Button-card, gauge card mainly
Which was stated in the breaking changes section of the update
i read breaking changes, let me read again musta missed something XD
well skimmed haha
ah, i looked in the actual breaking changes section not above
https://www.home-assistant.io/blog/2019/02/20/release-88/#noteworthy-breaking-changes Note for Lovelace custom card developers: if you relied on the availability of <paper-button> in your code, you will have to update it to <mwc-button> to get a similar component.
Yeah it wasn't in the actual list I suppose
which is why i skipped over it haha
hello everyone. Do you have clock interface card ?
i have one but I think i need a analog clock card
Hey! I am looking for a way to visualize weather data in Lovelace. I am finding a lot of cards that can do this but they all require a certain weather platform. Is there any card that I can use to inout my own sensors? I have two Netatmo stations that I want to incorporate into Home Assistant...
is there an option in a conditional card to have a state A OR B ?
thats not what I want really - currently looking if I can do it via entity filter ...
hmmm ```type: entity-filter
entities:
- media_player.shield
state-filter: - "standby"```
what is wrong with the above? despite the fact that its probably isnt what I want to do ... I want to filter all non active media players but I need more conditions to filter on than just one ...
I’m thinking of forking a couple of custom cards to make them compatible with 0.88.0 and wondered if anyone has any experience of changing the files to make then work.
funny enough this works allowing 2 conditions but still not enough - type: conditional conditions: - entity: media_player.echo_spot_office state_not: playing state: paused
@sharp talon fork and then contribute back I hope?
Is there a way, without creating a custom card, to change font size in only one card?
The names of sensors on my glance card never fit and get shortened, I'd like to make the font smaller, so they'll fit
@mild veldt of course. The devs of the cards don’t seem to be active. I’m guessing if it doesn’t mentioned <paper-button> in the code then it should work ok and won’t need updating.
any easy way to change the location of the unit_of_measurement so it appears before the value not after in a card?
@sharp talon which card?
i hacked a tacky solution but it was bugging me
glance my friend
i have 2 cards in a vertical stack one shows the current weeks kwh using the fantastic new utility meter and i have the cost on the card below using some calculations in a template which shows correct value but its 14.56 £ instead of the currency before the value, my ocd is playing up 😉
i could just use the template and have it with a unit_of_measurement blank to keep the history graph intact but it seems sloppy
text sensor? wow have a missed something else lol
Sorry I really mangled it. A template sensor with text
yes that will work but as i want to keep the history graph you need to define a unit_of_measurement which yes i can define as blank and i think it will work, sort of expected a simple option in glance as it covers most other things i think about 😃
You can have two sensors, one with unit_of_measurement, one without, do you need them to be linked?
like append, prepend for exmaple
i need the unit_of_measurement to work 😃 so i will do what you mention for now and feature suggest the append, prepend on glance cards for measurements without hacking template
thank you for your time
not sure if you know but no unit of measurement equals no history graph
@mild veldt https://github.com/Lopton/button-card (there’s discussion on the master about doing manual updates) and https://github.com/Gluwc/bar-card
@sharp talon there's an active PR to resolve issues https://github.com/kuuji/button-card/pull/60
I don't know what your issue is with bar-card, but as there are no issues logged on the repo, hard to imagine the dev would know a fix was needed
@mild veldt nice. I used the forked version referenced for long press.
Well I’ve not updated to 0.88.0 so don’t know if there is, just trying to preempt before doing the update.
That is not a good approach, IMO
You would have no idea if you made it better or worse
So I update and then try and fix things that are broken? I’d rather wait for cards to be updated and are known to work before breaking things.
That’s fine but you won’t/shouldn’t be the one fixing them as you can’t test
Oh I would test, I’d spin up a separate container and test. Just wanted to know if the changes are as simple as they are made out to be.
Hi guys, has anyone implemented a card just showing a large digital clock? I have used the sensor card to display sensor.time from the date_time component, but it is still a bit too small.
@strong furnace this allows for a clock in the header https://github.com/maykar/compact-custom-header/
oooh, fancy 😃
@strong furnace : if you use the card modder you could set the size yourself
@strong furnace : https://github.com/thomasloven/lovelace-card-modder
Can anyone assist in the yaml with vertical and horizontal cards. What I want, is two gauges stacked horizontally, then a history graph below the 2. Currently I can get the following, but can't get it to work the other way I want.
type: vertical-stack
cards:
- type: history-graph
entities:- sensor.bathroom_temp
- type: horizontal-stack
cards:- type: gauge
entity: sensor.bathroom_humidity - type: gauge
entity: sensor.bathroom_temp
- type: gauge
@summer sluice : like this :```type: vertical-stack
cards:
- type: horizontal-stack
cards:- type: gauge
entity: sensor.bathroom_humidity - type: gauge
entity: sensor.bathroom_temp
- type: gauge
- type: history-graph
entities:- sensor.bathroom_temp```
@tired hare Thank you, I thought it would be something similar to that.
Yeah stacked cards can sometimes give headaches 😛
any idea how to make the history graph into a sensor graph? lol It only shows the temp and not the graph
what do you mean ?
should show a history graph
@summer sluice https://i.imgur.com/LplMg8a.png
I will try to send a screenshot in a minute
the history graph does show, but if I change the type to "sensor" it does not show the line graph
@tired hare
@tired hare Referring to https://www.home-assistant.io/lovelace/sensor/
1 sec
If I use type History Graph, it is fine, but if I use type "sensor" it does not.
@tired hare it shows this instead https://imgur.com/a/FG2U0sf
gotcha ... .. 1 sec again
cards:
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.bathroom_humidity
- type: gauge
entity: sensor.bathroom_temp
- type: sensor
entity:: sensor.bathroom_temp
hours_to_show: 24
graph: line
ofcourse you can change the hours to show bit 😛
@summer sluice : does that work for you ?
@tired hare That does work. Thanks now I am working on adding a entity card above the 2 gauges to show the status of the light. I will try to work that out myself, but will reach out if I don't figure it out.
I've been playing with cards just through the UI but want to switch to YAML where I'm more comfortable. How do I export cards, they must be up in the db because they don't seem to be flat file
lol @summer sluice ... np... just give a nudge in the channel ... if i'm not around someone probably will help you
@tired hare Thanks for you example of the Vertical / horizontal stack. I now understand how they are nested together. Got it all figured out now
yeah ... you should see my remote with the stacking and nesting 😄
@minor scroll open the raw editor from the UI and copy the content
cool
@tired hare Just curious, is there way in the vertical and horizontal stacks to remove the white space between each entity? so it looks more like 1 card?
not really ... you should look into css for that
ok, It was not a big deal, just thought I would check since I didn't see anything anywhere
@summer sluice https://hastebin.com/moyihededa.bash
Hey guys, quick question... i've been thinking for a while about starting a floorplan. with how fast everything is changing, is something coming up that will make this easy? or are examples that people have posted a year or more ago still the way to go?
This might do aswell I guess: https://github.com/custom-cards/vertical-stack-in-card
i don't get it… how does that differ from vertical-stack…?
…oh, vertical-stack, without the card borders? I thought there was a way to do that already…
Hello Does anyone have a problem with gray icon for picture element card?
this is my card : https://imgur.com/5gUDtw0
and my code: https://paste.ubuntu.com/p/nkwrbRP4cG/
all icon are colored but they were gray now.
all function works well
please help
Are you sure they are colored? What does the image show if you open it directly with /local/timer.png
I have updated to the latest hass.io today. I got some errors in my log and some of them said I should move some of my custom_componentes into seperate folder. Now hass.io can't find them at all.
For instance
2019-02-21 19:26:16 WARNING (MainThread) [homeassistant.helpers.config_validation] Found invalid entity_id sensor.ruter__neste_avgang_mot_drbakseiersten, please update with sensor.ruter_neste_avgang_mot_drbakseiersten. This will become a breaking change.
and
2019-02-21 19:26:16 ERROR (MainThread) [homeassistant.loader] Unable to find platform verisureclimate
i have colored item on my UI this morning. But dont know why i got that right now after I worked with my hass
i checked the config already and no error. every single button work well.
Did you have grayscale images before?
You have upgraded Home Assistant @vapid field use #330944238910963714 for general support
But the issues runs in lovelace?
no both errors are from the backend
Did you try clearing cache @severe stirrup ?
It's a function of your browser. What browser are you using?
ctrl/cmd+shift+r
It just doesn't make sense that it would be showing grayscale images. Color is not dynamic on a picture without some pretty hefty css behind it
Do you have any custom resources loaded that can inject styles?
no, have you added anything to resources: for lovelace config?
wait me
I 've just plug out and plugin the power
i will check now
- url: /local/clock-card.js
type: js
- url: https://unpkg.com/moment@2.22.2/min/moment.min.js
type: js```
this is for my clock-card
but I dont know y sometime this clock card is disappear
some time it showed
- type: "custom:clock-card"
@wheat current Thanks
Then that is not the issue if that is all you import.
my custom cards dont work now. card-tools installs but fold-entity-row, card-modder arent found in .88?
is that a question or a statement?
Ok. That decides it for me. You're right @wheat current, It's bad. Let's agree not to do that.
@severe stirrup did you clear your cache?
yes
I al ready tried
but noluck
this is my hass log file.
ignore BLE sensor problem. (it's hass 's problem)
its a statement and question to as if its been seen before or an anomaly.
in glance and entity-button cards, does the icon color not change for on/off on input_booleans?
I did not try card-modder or card-tools before 0.88 but they worked for me
they're the same blue whether they're on or off
I think that was a separate question
what type of card am I looking for to make a row of icons for four input_booleans? I tried custom:button-bar but it refuses to load no matter what I try
this is waht i see in the web console:
card-tools.js:15 Uncaught (in promise) TypeError: Cannot convert undefined or null to object
at Function.getPrototypeOf (<anonymous>)
at Function.litElement (card-tools.js:15)
at customElements.whenDefined.then (fold-entity-row.js:2)
Could that be that it tries to use an entity that does not exist or have a new entity_id?
Update card-tools
im on deb8e3 is that the latest? no update in custom_updater available
Never the less, card-tools is the problem. custom_updater has been known to fail before
Compare line 15 to the source on github. If it's different, you don't have the latest version.
i found the problem
i lost a connection with my
entity: fan.bedroom_fan
that y the button become gray
@forest mica the local version system it uses changed in v4, the first time you start it after that version it assumes you have the newest version.
you can run the service custom_updater.install with {"element":"card-tools"} to force an update
i have copy and pasted the new .js into my config. and restarted. no change
or that 😛
line 15: return Object.getPrototypeOf(customElements.get('home-assistant-main'));
Did you clear your cache?
ive refreshed the webbrowser but not actually gone into setings to clear
I've learned the easiest way (in chrome) is to push F12, then right click the refresh button and select the bottom option.
sure enough cache strikes again
@polar kelp Where is the refresh button? Under any tab?
yes, then you get the contextual options for the right click
you don't get it without dev tools open
It's the same refresh icon you use normally, but with dev tools open
Ahh....now I see it
hello. I just want to make a clock for my lovelaveUI with this code - type: picture-elements image: '/local/fan1.png' elements: - type: state-label entity: sensor.local_time style: top: 50% left: 50% font-size: 7vw color: black
but the clock only stop and does not update
it's only get the first data and not update
How can i get the sensor update every second
Every second? Doesn't that sensor only update every minute?
no with above code
the clock always correct when I restart HA
after that I still be like my pic
not running
Is it updating when you watch it in
?
no sir
Then your component is configured incorrectly for what you are trying to use it for
sensors:
local_time:
value_template: "{{now().strftime('%-I:%M:%S %p')}}"
entity_id: sensor.time```
is this correct
?
What is sensor.time
it's sensor of HA?
I don't see the play buttons on the cards in home assistant and my issue has been open for a while. It works when push the service data.... can I add these manually? https://github.com/home-assistant/home-assistant-polymer/issues/2410#event-2144187869
Does sensor.time_date also create a sensor.time? I don't see that anywhere
it does
I mean, I can't because I don't use that sensor. But I'll take your word for it 😉
it's not always there, unless you add it 😃
Right, that's what I'm saying
I think my issue was mistakenly closed.... how do I request it reopen on GitHub?
Oh you were replying to him
@finite lantern if something is playing does the button show up?
What kind of TV is it
@finite lantern Samsung TV is currently broken...
@finite lantern reopened
Awesome - thank you @mild veldt
I added sensor.time to my sensor.yalm
This is probably a basic question but I've searched and haven't found it. Where can I find a list of the mdi icons?
😬 Well that .... makes sense now.
@elder pendant give you an original site link.
i gave you the sever link will full
you use that with ctrl F for faster search
anyone running a venv on windows 10 home?
There are a few crazy folks who've posted about that in #330944238910963714 before @tacit cave
@split granite I decided to just follow the dev instructions for my first go at this
which will probably do what I want
Yeah, some things won't work, but if you're doing dev that likely doesn't matter
(to you)
Yup don't care, just want it up and running with HA where I can use visual studio
Want to be able to debug and learn js & css
Can You help me? How i can view a single bottom bridge instead multiple cards in lovelace?
What is a "bottom bridge"?
https://www.youtube.com/watch?v=8S7_XqRzBIQ @elder pendant
Oh so it's my worst nightmare 👍
Hi there, I created a view in groups.yaml for my flowers. Now they are showing on my main view and my flower view. How can I hide the group from the default view?
Just remove the card/entity?
How do I do that?
Ah, yes, I already saw that video but the warning that when I enter "editing mode" I will loose the function that all new object are added to my screen scared me
Is there no other to avoid the edit mode?
If you want to customize your UI you have to take control
You shout put this sentence on https://www.home-assistant.io/lovelace/ 😄
I'm trying to use the light card but, I would like to group some of them together under a title. I've gone through all the built in lovelace cards and I can't see a way of doing it as it appears that the stack cards don't allow for a title/name. Am I missing something or is there just no way to do this without using a custom card?
no way to do that without a custom card
ok.... I've been toying with the idea of swapping to glance cards. Maybe that's the better option
The light card is big and flashy and you can't do much with it other than turn on/off and adjust the brightness without opening it up
most cards have hold actions too, so you can still adjust the brightness, it's just buried
yeah, I suck at front end design so.... setting up my UI has been a bit frustrating. I need nice pics for my Glance cards though and...I'm not great at photoshopping lol
I have gimp....but, getting pics that look good is hard
Also, I recommend going yaml mode. You really can do alot with custom cards
I'm using the built in editor.... as far as I can tell it's the same as going yaml mode now right? I mean I'm writing yaml
all yaml, custom cards. Pretty much what you want, but not using the light card
hey @mild veldt do you have your env set up in visual studio?
yeah, I started down the track of custom cards and got warned that a lot of them were going to break in the next release. So, I was avoiding them while that was going on. I was using a the button-card but, that is one of the ones that was broken.
Not sure if it's been fixed yet
they'll always break. It's open source. Best course of action is to stay with a version and update once and a great while.
I usually update once every month. I could see going 6mo to a year without updating. There's no need if you have a stable environment.
and you aren't adding devices
Nothing is stable in my environment yet lol, I'm only 2 weeks into my journey 😛
Having a hard time motivating myself to do the UI because I've started it about 6 times now and keep changing how I'm trying to do it 😛
@torpid notch you’re free to add any wording you like to make things more clear
@tacit cave yaml mode is not a requirement for custom card usage
TIL. Good to know.
With the inbuilt editor is there a way to keep history of edits so I can see what I had (like commit to git each time or something?)
You can put .storage/lovelace in git
yeah, but if I'm saving via the UI it won't commit the change right..... unless there's an event I can hook into. It's not super critical but...sometimes I would like to see what I had a few hours ago
Anyway, I've moved on from that :P
I've got my UI to the point that it's functional (not exactly pretty but, we'll get to that)
So, I've got to light groups and I've got a glance card set up to monitor one of the groups like this:
- type: glance
title: All Lights
entities:
- entity: group.m_d_lights
icon: mdi:lightbulb
tap_action:
action: toggle
And it's working except that unlike all my other glance cards the icon does not show in yellow when the state is on. It stays blue.
Is that just a limitation of working with groups?
(No themes are involved yet)
group of lights or light group?
yeah, so right now it is a group of lights. Should I make a light group instead, I just read about them but, it doesn't seem as clean as using a group
I can reload groups without restarting HA, if I use light groups it would appear I would need to restart HA each time I modify
@mild veldt i tried with a light group and it has the same problem. Icon doesn't change color when turned on
ignore that.... it's working now for some reason after a refresh
im confused about this new custom card url thing
resources:
- url: /customcards/github/custom-cards/tracker-card.js?track=true
type: module
does this look at github now and not locally?
and what odes track=true do now?
does*
@torn sail Not sure, but I cannot get it to work on Firefox. But it works on my ios app.
In firefox, I get an error in the HA log:
ERROR (MainThread) [frontend.js.latest.201902200] http://10.0.1.34:8123/customcards/github/custom-cards/tracker-card.js?track=true:4:43 SyntaxError: dynamic module import is not implemented
Hello everyone! Is the demo.home-assistant.io section down? I can't seem to view any of the demo Lovelace stuff tonight.
Works fine for me
Thanks @elder pendant must be me... 😦
What browser are you using? Maybe try going directly to the first view https://demo.home-assistant.io/#/lovelace/0
is monster card not working with 88 ? am getting "Custom element doesn't exist: monster-card."
i have the file in my www and it's part ofui-lovelace.yaml
it i used it long time ago then remove it
now trying to use it again
@severe vine FF doesn't support dynamic imports yet unless you get nightly https://twitter.com/_developit/status/1090364879377260544
@thorn matrix any errors in browser console?
@mild veldt thanks
Sorry, in the previous msg T9 have killed the text. I resume. Can You help me? How i can view a single bottom BADGE instead multiple cards in lovelace?