#frontend-archived
1 messages ยท Page 95 of 1
@mild veldt I think I have a couple of links that's not in your list. Easiest way to make sure is to search the words in the repo, right?
hey is it possible to use a sensor as the tooltip for an icon with the picture elements card?
Lovelace is not working in my iphone or the new Beta app but fully working in pc browser. Can it be the panel im using? Would it be possible to have different lovelace per device?
Good Morning folks
I have a query about history-graph. Is it possible to have a button to toggle the entity that is being displayed ?
Anyone know why my "raw config editor" is empty?
Heh. Never realized I only have two cards...
What? https://sharethelove.io/vertical-stack-cards/av-remote Why call that a vertical-stack card? There's only one card in the stack.
Lazy review, was probably me ๐
Will have a look at the entire site in a few mins ๐
By looking at it, it should have been glance card @polar kelp ?
I guess
@latent moss submit a pr if you have a moment. On mobile currently
@subtle rune probably most sure way
@quick gulch icons a tooltip? No, I don't think that is possible in general terms of browsers
@main meteor check that you have 'javascript: latest' in your 'frontend' section of your configuration.yaml
@polar kelp I typed your name out a lot last night ๐
๐ค
Should have copy pasted. I found two mistakes ๐
@mild veldt i do, still not working
@polar kelp you get what you get and you don't throw a fit
anyone using the custom_updater / tracker-card have any idea why its not showing me anything besides the custom_updater?
@placid pivot are you using storage mode?
yes
It doesn't work with storage mode
I'm using yaml files is that not storage mode?
it shows up so I think the tracker-card is working just the custom_updater isn't
Works only in YAML mode
If you still have your ui-lovelace Fe but are using storage mode, it is updating the ui-lovelace file and not your used configuration
That is is .storage
yeah I'm using yaml then
You have it explicitly set to YAML mode?
Then... ๐คท
@wheat current may be able to help, but you'll need to tell him how great he is first. He's got a pretty big ego ๐
yeah I think the card is working right but the component isn't
@placid pivot folow this, and I will have a look ;)
https://github.com/custom-components/custom_updater#issues
will do
Trying again: Anyone know what could cause the "raw" lovelace editor to be blank?
This might be a total newbee question ๐ in order to use the new Lovelace UI, you create a ui-lovelace.yaml file in the config folder and then in the about section of the Hame asstant interface you set the default page to lovelace.. right?
Otherwise you just hit try Lovelace in
and it will be autogenerated
ok thought you had to have the converter installed for that
thx guys
hmm i get "Component not found: Lovelace" when i check my config, end the file is in the /config/ folder
@fading nest I would recommend not creating a file to start and do nothing to your configuration and just use the auto generated mode to get a feel for it
I have added this config on lovelace as iFrame https://hastebin.com/ravosapiru.rb but I can see only one livestreaming the other one I can't see.
anyone know if it's a normal behaviour
Did something change regarding custom-components? in raw config editor my resources block are gone. if i add it it is removed. Worked in 0.85 before i edited the ui.
cant seem to find any references in changelog or issue tracker.
See the pinned messages
thx, have been wondering what that pin was used for ๐
@split granite thank you it worked without panel mode ๐
the only problem is the aspect ratio it not fit perfect the video stream
i can't remember where i've seen it, i'm looking for an light entity card that displays "On since " and/or "50% Brightness" below the light. those make stupid search terms, does anyone know what i mean? ๐
i found light entity row, that's awesome but a bit overkill for the bathroom light
found it ๐ the magic word was last-changed -> https://github.com/thomasloven/lovelace-fold-entity-row/ ๐
My lovelace works in browser but i get errors like "Custom element doesn't exist"
in apad or iphone app
Im using the "javascript_version: latest" in frontend
@mild veldt not icons as tooltip, I want the tooltip of the icon to display sensor data e.g temperature
can someone tell me how to fix this error:
https://myduckdns.duckdns.org/local/custom_ui/weather-card.js?v=1.0.0:1:8 Uncaught SyntaxError: Unexpected token {
need more info
use module instead of js or vice versa in resources
@quick gulch no, that would be templating which is not in core. You could accomplish it in a custom element however
@midnight shadow I changed to module from js but the error is still there
๐ฆ worked for me for dark-sky-weather-card.js
@midnight shadow link to dark-sky-weather-card?
I am using the same card, but the error calls weather-card.js
https://github.com/iammexx/home-assistant-config/issues/4 the initial question is what helped me
the bramkragten one is the lit port, i'm not sure how similar this is
hey, what's the goto documentation/tutorial/video for the concurrent lovelace (looks like there has been quite a few changes since I made my config, so I think I should start over from the beginning)? is it possible to split the ui-lovelace.yaml nowadays?
e.g. I have a custom card for the vacuum, which itself is almost as big as the rest of the current config, so it'd be nice to put that elsewhere
@dim harness checked the pinned messages. modes are explained
@mild veldt yeah, I looked into the topic (as well as into https://www.awesome-ha.com/#lovelace-ui -- some of that is from last summer/autumn, so probably not anymore up to date). I'm looking for some sort of "best practices" guide, e.g. there used to be id but there's path instead of it in the new examples
I'm going obviously for yaml mode
too new and changing to really have "best practices"
so stuff like "always define path", "splitting up tabs to separate files" etc.? I hoped it is not so new anymore, that people have started to form good practices how to organize
Is there a way of having a separate lovelace UI/Config? I'm trying to load it up on my wall mounted tablets (nexus 7 & fire tablet), and they're struggling with all the other views there.
are the cards on ...gallery/netlify.com up to day?
**up to date?
I'm finding it really easy to break the radial sliders
Did I miss something with upgrading and lovelace? I upgraded to 0.85 and the Lovelace UI wont load now
From what version?
0.82
Gosh no.
Well, that'll do it
If you don't read the breaking changes section of every release, you're going to have pain
I typically have pain every release
Gonna try listen to the podcasts a bit more. I was aware of breaking changes to system info, and I think history-stats
There's breaking changes in pretty much every release ๐
Whether they'll impact you... the only way to find out is to read them
๐ฎ
I know
I guess the longer I use HA, the more components im going to have, the more likely i'll have a breaking change
Must stop updating late at night too
Every time.... ๐ฆ
Ah. I see they fixed (or maybe not) the __ (double underscore) thing.
Thanks Lovelace for making me not have to restart to tidy my UI.
Getting there now. Thanks @split granite
is yaml still the preferred method of configuring lovelace and will that be the default when lovelace becomes the default UI?
Personal choice, and no, but you can set it
what's the default going to be? I just rolled a new HA instance and figure I may as well learn the "right" way to do it, but the config docs (unless I'm just missing it) seem to be focused on yaml
The "default" will be JSON, in .storage/lovelace, as created through the built in editor
However, the real default is dynamically generated with no storage ๐
so if I want to get going with that, where do I start. Is there a site somewhere that explains it? I'm sure if you can just point me in the right direction, I can figure it out. I'm on 85.0. Will it all be done through the Customization section of Configuration in the frontend?
duh - I was on the old UI trying to figure out how to cusomize lovelace. Hadn't switched over yet. Thanks. I'm good to go.
๐คฃ
๐ฎ 
And here's the video again, for inspiration (development version, some things are changed).
That... That... That's got some interesting potential
It really does, doesn't it?
Now, if only I could get my Google Home Hub displays showing Lovelace ๐
Bedtime
Hi! I'm trying to setup a shopping list in lovelace. I have the "+ Add object" row but nothing happens when I add something. Anyone running Shopping list in lovelace?
I was curious about this too but implementing the Google Shopping list
Me again. Did something happen to the tap_action: toggle setup? I can't toggle any of my glance cards
Yes
Syntax changed in 0.84. Read the docs
Please read the change logs
@warm meteor I can't figure out how to get it running..
Conf.yaml:
shopping_list:
service: shopping_list.add_item
service: shopping_list.complete_item
Lovelace:
- title: Shopping list
icon: mdi:cash-usd
cards:- type: shopping-list
title: Shopping list
- type: shopping-list
@polar kelp that looks awesome. So many ideas!
@ornate mason checked sharethelove.io and find compact-custom-header
@mild veldt Yeah, I'm already using that. But it still loads the whole configuration.
I don't understand what you are saying your issue is. Performance?
Yes.
@winged zealot that configuration.yaml doesn't look right. Does Shopping List show up in the side panel?
Only the current view is rendered @ornate mason
Hmmm ok.
Weird, when I load it up in chrome there's no problem. But in Wallpanel it's so slow and laggy, it's unusable.
@mild veldt Yes mate.
@ornate mason could it just be the tablet in general?
@winged zealot does it work in the panel?
Yes it seems to work in the panel..
@mild veldt I meant, if I load it in Chrome on the tablet, it's fine, but in the wallpanel app it's unusable.
Well then the app is the problem...right?
Probably. I'm guessing it's using the built in WebView, which isn't as optimised as Chrome.
@mild veldt Suddenly it works, for some mysterious reason.
I would however like to hide it from the panel now.. =/
Not until States is dead and gone will that be removed
I see. This is good enough for me at the moment.
I've changed the configurations.yaml
shopping_list:
service:
- shopping_list.add_item
- shopping_list.complete_item
In case anyone else wonders.
Going to bed now. Thanks for the help!
Great. Sorry @winged zealot didn't get to you
I have an issue with my picture-glance card where tapping and holding my hue lights doesn't bring up the color changing properties
Hey everybody, looking for a little help with a lovelace card
What I would like to do is hide motion when it is at "off"
- title: Master Bedroom TEST
show_header_toggle: false
type: entities
entities:- sensor.master_bedroom_motion
- sensor.master_bedroom_temperature
- light.master_bedroom_dimmer
I guess basically I'm looking for a way to include an entity-filter in an entities card, hopefully that makes sense
@timid wigeon did you setup your hold-action to do that? sharing your configuration would be helpful
~share
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
@verbal osprey you want to hide that single motion sensor when no motion is detected?
entities:
- entity: light.egg_lamp
icon: 'mdi:lamp'
name: Lamp
tap_action:
action: toggle
hold_action:
action: more-info @mild veldt
This is ui-lovelace.yaml
@mild veldt Yep, and I just can't figure out how to include that in an entities card
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
@verbal osprey only way I can think of doing that off the top of my head is to create two conditional cards
that could be a potential feature for the conditional card; the card to display when it doesn't match
@mild veldt Ah that's brilliant thinking out side of the box, I'll set that up real quick and give it a go. Thanks!
Sorry @mild veldt https://www.hastebin.com/zayemapago.bash
is it more-info that is not working, or hold_action that is not working. i.e. if you set tap_action to more-info does it work?
ah it's more-info that's not working
putting it in place of toggle it still toggles
I'm not sure if more-info is the correct attribute either
I'm looking to get the brightness slider, color wheel
In fact with tap_action and hold_action deleted it still toggles. In the docs it says default action is more-info
did you refresh after editing?
no need to reboot
something is amiss here
i don't believe your edits are being reflected
what mode are you in?
If I change the icon to mdi:led-strip it changes to led-strip image. I'm editing studio code from samba share using lovelace interface
@mild veldt Here's what I ended up with, works great (ended up doing the disappearing trick on both motion and door)
https://www.hastebin.com/buhemifozi.css
Thought about getting the window status, but it's already getting massive. Thanks again for the idea!
@mild veldt or what do you mean by mode. Lovelace VS default?
I meant yaml vs storage
Yours doesnโt make sense to me. It just canโt happen. The matching is explicit in the code
I don't have the lights added in configuration.yaml just the hub. Does that matter maybe
Yea but I just have it in the lovelace interface
Hi everyone, I'm trying to get the "Minimalistic media player card for Home Assistant Lovelace UI" working, but it is my first time with Lovelace, so I'm a little unsure how to add the custom js to HA ---
It seems that HA is ignoring my entries in ui-lovelace ... hmm? any hints :)
is it possible for a .js to reference its location so the path to images can be based off that and not hard coded?
I'm trying to use the weather-card.js from https://github.com/bramkragten/custom-ui/tree/master/weather-card and where it is looking for the images doesn't fit with my setup. I found where its hardcoded in the .js and could fix it but rather fix it to be universal if possible and submit a PR for it
Hi guys, I've got a problem with my lovelace config. To be specific with my conditional-card
@placid pivot just change your local js file
@prisma kraken how are you editing your configuration
This is my code:
conditions:
- entity: sensor.netatmo_regensensor_rain_2
state_not: 'unavailable'
card:
type: gauge
name: Regenmenge
unit_of_measurement: 'mm'
entity: sensor.netatmo_regensensor_rain_2
max: 40
0.85? I think there is an issue with gauge cards
That format looks wrong though
I've doble checked
- type: conditional
conditions:
- entity: sensor.netatmo_regensensor_rain_2
state_not: 'unavailable'
card:
- type: gauge
name: Regenmenge
unit_of_measurement: 'mm'
entity: sensor.netatmo_regensensor_rain_2
max: 40```
(maybe ๐คท )
Yes but if I do it your way lovelace complains
Then I'm wrong ๐
According to the conditional page I should format it like i did
The weird thing is it takes up like apx. 10 pixels
If I remove the conditional I get the gauge card
In addition when I load the page it loads a white blank space for the card but then smoothly goes away until there's the above mentioned space of 10 pixels of nothing left.
Any idea what I'm doing wrong here...can't get the custom button to size properly?
https://imgur.com/a/1fBGoSw
- type: horizontal-stack
cards:
- type: light
entity: light.bedroom_light
- type: custom:button-card
entity: switch.bedside_lamp
action: toggle
When using YAML mode for Lovelace since 0.84 my ui-lovelace.yaml seems to be ignored. I can add entities in the WebGUI without them showing up in yaml file and vice versa. What have I missed? I've enabled yaml mode in the configuration.yaml and restarted
@proper notch Did you read https://www.home-assistant.io/blog/2018/12/12/release-84/#for-existing-lovelace-testers?
@split granite Yes, I've created a new ui-lovelace.yaml based on the raw config. But when I manually add entities they don't show up in the GUI. Using the WebGUI I can add them
I think you didn't read it then ๐
If you want to continue managing a YAML file...
For me it's not really clear how to upgrade. I have an existing ui-lovelace.yaml which works great at version <0.84. When I upgrade it seems to revert to my old design pre lovelace. Enabling YAML mode and creating a new ui-lovelace.yaml doesn't seem to do anything. What am I missing?
You don't create a new ui-lovelace.yaml
You configure YAML mode (https://www.home-assistant.io/lovelace/yaml-mode/), and it just works
So my existing ui-lovelace.yaml should just work?
if you enable yaml mode, yes
And if it's not working properly it's probably due to the YAML 1.1 parsing?
Depends... are you getting nothing, a partial config, or what?
I'm getting kind of a partial config. Entities are missing and my custom cards are not working
Everything is in the ui-lovelace.yaml file though
You're 100% sure you've configured YAML mode in configuration.yaml?
Yes, I have: # Enable Lovelace YAML Mode
lovelace:
mode: yaml
in my configuration.yaml and restarted
Does it need to be under the frontend: ?
This is my ui-lovelace.yaml https://pastebin.com/raw/MwLSGnDR
WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template yrwthr, the state is unknown.
INFO (SyncWorker_0) [homeassistant.components.sensor.command_line] Running command: cat /sys/class/thermal/thermal_zone0/temp
/usr/local/lib/python3.6/site-packages/afsapi/init.py:71: RuntimeWarning: coroutine 'noop2' was never awaited
They popped up after the upgrade
Now check to see if the missing entities are missing because they changed ID
Same entity id
"INFO (MainThread) [homeassistant.components.http.view] Serving /api/ to 172.30.32.2 (auth: True)
/usr/local/lib/python3.6/site-packages/afsapi/init.py:71: RuntimeWarning: coroutine 'noop2' was never awaited
self.__session._connector.close()"
Seems to be popping up in various situations
it's INFO...so nothing serious
It seems like it's not able to load lovelace and falls back to the pre lovelace layout based on how it looks
Lovelace is working fine here for me
it's been working fine until I upgraded from 0.83. Really strange
oh...did you check the breaking changes....lot can happen in two releasese ๐
Tip on card simular to card-modder that works with CSS?
I get errors using card-modder and would like to replace it
My light cards start out looking ok but after a few hours (always on iOS tablet running in safari, not the iOS app), they change to full circles and the dimming 'swipe around the circle' stops working.. anyone know if this is an issue I need to report?
HI, any one has an example of configuring lovelace thermostat (along with the climates such as mqtt hvac) to show cooling or heating instead of just the mode cool or heat?
so partial a z-wave question and partial a lovelace question. Just added my thermostat to HA (CT101) and it is showing up as 2 climate entities (heating / cooling) is there anyway I can combine those in the UI?
~crosspost @placid pivot
@placid pivot Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.
I doubt that the template climate device will do what you need, but maybe it will ๐คท
not seeing a template climate on the component list
yeah I don't think so
@polar kelp for your browser-commander idea, being able to say "hey google, damage report", triggers event, and browser-commander brings up the admin monitoring panel view on my display in the kitchen. i will now have my star ship!
I'm gonna need a video of that.
i'll have to build myself a captain's chair as well
oh man...and then have google respond back with the summary
...i'll probably never get around to doing this...my actual smart home stuff is a disaster, I just keep testing new broken things all the time
Same here. I keep wasting time on pointless plugins I don't even use.
I finally started removing some I wasn't using
like I don't need my sonarr/radarr in HA
@timid wigeon yaml - entity: script.menu_open icon: 'mdi:google-chrome' name: Screen Off tap_action: action: call-service service: script.turn_on looks very wrong
https://www.home-assistant.io/lovelace/picture-glance says that service is part of tap_action. You either need to call script.menu_open as the service, or also include the entity_id
You lost the action
@timid wigeon need service_data
Service_data isn't required.
For service-call it is. We don't pass the entity_id anymore
Oh wait. Missed that it was changed to the actual script
You're right
@naive meadow Did you read https://www.home-assistant.io/blog/2018/12/12/release-84/#for-existing-lovelace-testers?
Moved from #330990055533576204
Hass isnt updating my lovelace, ive coppied over my existing conf to the instance and it hasnt updated, all the entities are seen in the unused section
oof
will do now
@split granite Ive pasted my conf in to the raw editor, Its added the pages, but not my tiles.
can anyone help me combine these cards? i like to have the first part as verrtical stack and below the second c ards part as horizontal under it,
https://hastebin.com/jadebosivu.bash keep getting yaml errors cause im not so good at it
Ok, so that's the sections, the tabs
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
Yeah
although i always refer to it as pastebin because in a sence it is a bin to host your code
Pastebin is an actual thing ๐
Only two views, yes
yes
@split granite can i ask you to make a little example for my config, i can take over if i got a little sample trying so hard
@split granite Fixed it, seems like it doesnt like my volumio entity
Ah, cool/weird
no doubt i prob have it named something else somewhere
this gives me https://hastebin.com/gezopixize.bash
YAML Error: YAMLException: end of the stream or a document separator is expected at line 68, column 1: type: horizontal-stack ^
without horizontal stack on last line im getting:
YAML Error: TypeError: Cannot read property 'startsWith' of undefined
Well, that's not YAML, that's what happens when you randomly copy and paste stuff
@fiery temple If you're not using any custom cards, I'd strongly recommend you abandon YAML and go with the built in editor
i am using custom cards
has someone a link/custom-card-name in mind, which spans more than 1 (card-)column? is this even possible, or intended?
like dark weather and custom mini meedia player
@vapid field Not possible as such
Then @fiery temple time to learn how to format YAML ๐
@split granite mmmh, was already wondering why I haven't seen one yet, explains alot ๐
if I want to update my lovelace UI (in YAML mode) do I need to restart HA?
Hm. That's weird... I'm using the custom calendar card, and it's loading fine everywhere, except for on my fire tablet, when using fully kiosk browser... Works fine in Wallpanel and chrome. Straaaange.
I did find a neat little trick to speed up loading on slow tablets though. Make the first view empty (or just a "Loading..." markdown card), then use compact-custom-header to hide it by default.
@ornate mason fire tablets have an old version of webview, usually custom cards don't work with them. if you can root it, i would
Ah, makes sense.
Ah yeah, happens in wallpanel too.
Bugger, looks like it's unrootable. Too new firmware.
I guess I'll try running it as a Chrome web app, though I've had issues with that freezing after some time..
hey guys anybody here good with the History Graph card ?, trying to to a little graph with my Netatmo outside temp
@fading nest check out the mini-graph-card
or are you just having issues with the history-card?
I am just starting out to build my system and would like a graph of the temp the last 30 days
In the UI editor it just seems like i put in the yaml vode but it does not seem to work
and there is not a lot of documentation on the exact format of the yaml
tried this
type: history-graph
"title":"Regn Maengde i de sidste 30 dage",
"entity":"sensor.netatmo_willregn_rain",
"hours_to_show":720
"refresh_interval":60
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
@split granite took me 2 hours but i got it :D
https://hastebin.com/oqeresipap.bash
Tinkerer is away for 22m 3s with a message :point_right: Travelling in the Heart of Gold
shift + enter to do multiline entry
just edit your previous message rather than putting up more or use pastebin/hastebin to share
you have a lot of yaml mistakes. recommend you read up on yaml in general, but for now
type: history-graph
title: 'Regn Maengde i de sidste 30 dage'
enities:
- sensor.netatmo_willregn_rain
hours_to_show: 720
refresh_interval: 60
finaly got it was using the wrong tics ๐
thx @mild veldt but the card "rendere" still reports yaml errors,
YAML Error: YAMLException: missed comma between flow collection entries at line 3, column 7: title : 'Regn Maengde i de sidste 30 dage' ^
but in the little yaml i have done your code looks alright to me, so i am puzzlede why it says there is a missed comma
The syntax highlighting above helps you. Something is obviously different about the first word on the second line in Ians code, right?
i'll fix it as well ๐
thx guys i figure it out, think the problem was in reallity the order in witch the options was written ๐
No
type: history-graph
title: Regn de sidste 3 dage
hours_to_show: 96
refresh_interval: 60
entities:
- sensor.netatmo_willregn_rain
That does not matter
this works
I had a space in between title and :
ok
ohh and a small typo in entities ๐ that was the issue
I am just starting out so the first part i confused JSON with YAML, damn there is a lot to learn ๐
By the way is there a way to rearrange the views if you created them in the wrong order ?
It's never the order
Hi everyone, I have been searching throug this channel and tried all of the examples, but I really having some challenges in added the custom js 'mini-media-play' to Lovelace as a 'new' ressource.
I use the RAW editor of the UI and tries to added to the top of the configuration, press SAVE and when I re-open the editor ... resource are ... gone ๐ฆ any hints ๐ ?
Its a bug in 0.85.0
๐ oki -- well that explains ๐
...any workaround or would that be switching to ui-lovelace.yaml ?
You can try 0.85.1 but its still a bit buggy.
I updated to 85.1 then edited the raw file and still had the same issue.
What I did as a work around and it seems to work 'ok', is to edit the raw file, save, close, close the edit window, then close the browser.
When I reopen the browser after that the changes were saved.
Any new changes and the process has to be done again.
Funny enough I was adding the mini-media-player as well
๐ ๐๐ผ
If it doesn't work in 0.85.1 it might be a caching issue. Clear your cache and reload using ctrl+f5.
@polar kelp That didnt work for me. Had to do the process listed above for some reason.
in 0.85.1 is already fixed
0.85.1 would that be BETA channel ?
yes
if not showing you can always force update with ssh via putty
hassio ha update --version=0.85.1
after update, then you might need to clean cache like @polar kelp suggested
...think that I will try that ... tomorrow ... otherwise I kind of guessing that it would be late ๐
...again ๐
hi @polar kelp youre the invetor of lovelace right?
What the heck? Don't blame me!
could you tell me if !secrets work again on 0.85.1 i as broken for a while, im NOT using the yaml mode, just the new GUI edit on UI
No, I'm not. That's Balloob, like everything else.
owh sorry i tough you was the inventor
!secret only works in yaml mode
ah so you only made the converting yaml to lovelace thingy?
i understand now, thank you @polar kelp ๐
haha dont blame me he says ๐
so you can add more stuff?
@pearl rivet what resolution is that monitor? Try panel: true on your view
2560x1080
Where am I sticking that?
Got it
but its pulling one thing to max width
the first card
is there any way to make it do both?
Got to use a horizontal element
@mild veldt kind of a hacky solution as it only displays the first tile but it works
It displays the first card
no badges either
Make that first card a vertical stack and you can do what you want in terms of stacking other cards
So, I'm curious... The incompatibilities with the old Android Viewport versions. Is it mainly missing native Javascript functions?
Any ideas why did my "resources:" section disappeared? If I edit the raw config, and put the resources back, and save, they don't stay. Poof! gone next time I open it. Did I miss a breaking change with 0.85?
@fathom tree are you on 0.85.1?
it was fixed in that hotfix
ah!
excellent.
on my way to upgrade now
I'm not getting the option to update to 0.85.1 Must be Continental Preference for Europe again...
@fathom tree you can switch to yaml mode until you get the hot fix
Oh ya. Good call. Didnโt think of going back. ๐๐ป
helloi have some questions about lovelace
@unreal wind You have to actually ask the questions if you want answers
Can you do "tile card"-view in lovelace similar to HADashboard?
Are those two even aimed to do the same thing or are they completely made for 2 different purposes?
Well, the purpose of both is to give you a UI for Home Assistant, the goals of them seem to be very different though
Different how?
Well, HA Dashboard is about giving you tiles in a fixed layout, where you have control over the sizing
Lovelace isn't
Lovelace dynamically flows the views, and you have very limited control over sizing
You can do something vaguely similar to HA Dashboard in Lovelace, but only vaguely
Yes
And I'm guessing Lovelace is the more "official" option? In a way that it is supported better by HA and better kept up to date.
Lovelace is the one built into Home Assistant. HA Dashboard is by another dev
As such Lovelace is the only one of those that's official ๐
Of course, "up to date" - the UI doesn't change that much
I've not been worried that my HA Dashboard install is "outdated"
@fathom tree when you not get update available you can force by using putty with ssh
hassio ha update --version=0.85.1
has long is already available in container
https://hub.docker.com/r/homeassistant/raspberrypi3-64-homeassistant/tags/
or
https://hub.docker.com/r/homeassistant/raspberrypi3-homeassistant/tags/
link depending in what RPI version you have 32 or 64 bit
Thanks!
hmm, when I look at https://www.home-assistant.io/lovelace/weather-forecast/ it shows per day forcast, however, in my config it shows per hour forcast, but I don't see any examples on how to specify that anywhere
Is there a way to use a bit more structure in the raw config editor. I noticed that comments are not allowed. I like to stick to the raw editor because it looks it becomes the default one.
nevermind, I overlooked the config happens in the darksky component, not the card itself
@fair jungle No. The raw editor is a workaround meant to be made redundant over time. It has the bare minimum of features.
Hard to think someone would choose to develop, update, support and document two ways of doing the same thing when they could do three, I know.
No offense meant, proton. Yours is definitely a valid question.
Not at all. I only was looking for clarification. I'll think i will switch to yaml until the gui is more mature
Can someone point me in direction of a tutorial that starts from scratch, makes a button in Lovelace UI that user can press to execute shell script found on same device and refresh UI in some way? Sounds like a very basic functionality, but I am having no luck finding such tutorial.
Lovelace is very new and very quickly evolving. Tutorials can be outdated in two weeks or less, so noone wants to make them at this point.
Actually now that I am looking more into it, it seems that I just can't wrap my head around how entities work. All tutorials start from point where they already have bunch of entities that they can select from. For me there are only a few, Sun being one of them.
I'll move to homeassistant channel and ask my question there.
In terms of a button in the UI, https://www.home-assistant.io/lovelace/entity-button/ is the only (stock) button card, though https://www.home-assistant.io/lovelace/picture-entity/ maybe
Can the clock from HADashboard be ported to a card in Lovelace?
You could use https://www.home-assistant.io/components/sensor.time_date/ and a card of your choice
hmm. Not bad. I guess I'll do that.
For the future, I'm hoping someone will turn out a flip-clock, like the old HTC HD2 homescreen clock
If anybody can code js, I'd be forever in your debt if one were to take on the challenge
Raise a feature request on the forum, somebody may see it
~forum
You can find the community forum at https://community.home-assistant.io/
@outer spoke Try this video for Lovelace introduction
https://www.juanmtech.com/how-to-set-up-lovelace-on-home-assistant/
@warm mulch clock flipping card. I like it. I think there is one around already though
The custom-compact-header has a clock in it for sure
@mild veldt I have the custom compact header atm. It serves it's purpose...
But I haven't seen this yet:
https://www.xda-developers.com/files/2010/09/Untitled.jpeg
the old HTC had an animation when the minutes changed, to show the flip...then when the hour changed, the animation was a bit longer and played on both fields (HH and mm)
Any way I can make a button on a picture glance card activate a different Harmony activity depending on which activity was currently active? I would prefer not to have a conditional card below
You could have it call a script, and have the script handle the logic
I feel like adding volume buttons to a media-control card should be something that is done by default. Is it just my TVs that don't have the option?
I can change the volume of them with media_player.volume_up and media_player.volume_down but as that's a service I haven't quite figured out how to get that to be a button on my card yet
I have a sneaking sensation I need to learn templating and scripting to do this ๐
@dense thicket google mini-media-player
i use that as well
What is the correct way to toggle an entity in the new UI editor? My card works but I get this error when saving:
Your config is not supported by the UI editor:
Expected a value of type `{entity,name,icon} | entity-id` for `entities.2.tap_action` but received `{"action":"toggle"}`.
Falling back to YAML editor
anyone using the https://github.com/custom-cards/upcoming-media-card
My light cards start out looking ok but after a few hours (always on iOS tablet running in safari, not the iOS app), they change to full circles and the dimming 'swipe around the circle' stops working.. anyone know if this is an issue I need to report?
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
@mild veldt I keep getting [frontend.js.latest.201812110] :0:0 Script error. and the card won't load
Anyone have a problem with using lovelace ui and duck dns?
Every since going to duckdns on hass.io, when I enable lovelace nothing loads. I just get the HA logo and a "retry" button
The old home assistant UI was so difficult to setup and honestly didn't like the outcome.
I finally jumped on the Lovelace train and there is no going back!
It's so much easier. Seriously, whoever designed this... ๐๐
@polar kelp did ๐คฃ
@old whale seriously though, this is balloob's baby (the founder of HA) but lots of devs have put in lots of hours to get it where it is now
New Roku remote card https://github.com/custom-cards/roku-card
Still a few rough edges to iron out
New Personal Capital card https://github.com/custom-cards/pc-card
@mild veldt did the remote get added to the roku component or is that some custom component?
ah. Is there a roku setting that needs enabling?
no
their local api is dead simple. it's great
should totally be added as a remote in the backend, but didn't want to wait on that ๐
hmm...I can't get it to appear. Maybe I rushed it
I cant see it either. Can access the ip:8060/query/apps though
and going to the query/icon/id works
I did slap it together pretty quickly tonight. No errors in console?
Iโm heading to bed now. Will check back tomorrow
@mild veldt got a Blocked loading mixed active content โhttp://ip:8060/query/apps error in console
np, have a good night
obviously cos im using https but trying to serve http
Hi! Migrated my whole setup to Lovelace yesterday and reimplemented quite a bit of my thing in new better ways. Lovelace ain't that bad when you get over that initial bump ๐
Got stuck on one thing and my Google fu is failing me. How do I create a card with entities from a group?
Have a few group's that auto populate based on scripts and I don't see a good way of recreating that in Lovelace?
https://github.com/ciotlosm/custom-lovelace has a group card that may be what you're after
@split granite thank you. I'll have a look
@smoky mulch @mortal cape ah. I just run locally and donโt need ssl. Should be an easy change.
is anyone here using the air_quality component? id like to get some more infos displayed, does anyone know how?
before I go and start figuring out how to modify the thermostat cards I can find is there any that already support 2 climate entities (one for heat, one for cooling) in a nice UI?
More gooling and I was able to find one https://community.home-assistant.io/t/dual-thermostat-card/85798 so guess I'll just try using that for now
can you give friendly names to badges in lovelace?
can anyone help me defining more state attributes in lovelace? im trying to get more values displayed from opensensemap
@mild veldt right, but it can't be done via the new lovelace UI like normal entities can?
@tepid raft where are you seeing that you can update friendly names in Lovelace on โnormalโ entities (I donโt know what that means)
sorry, here's a link: https://www.home-assistant.io/lovelace/entities/#example
@mild veldt ^
in the list of entities, you can use the - entitiy: syntax to give UI specific configs to an item, which is great because if i have "Master Bedroom Lamp" I can have it only show up as "Lamp" in the master bedroom card, but "M. Bedroom Lamp" in an "All Lights" card for example
so you can edit its name to something different everywhere its visible
gotcha, doesn't exist
submit a FR to ui-schema
customize would still be best for a global friendly name change, however
right, and I have been using that - was just migrating over my UI to lovelace and was trying to get rid of all UI-specific values in my other files
good evening everybody ๐
Hi, I'm just getting started with custom cards. Can anyone tell me whether Lovelace uses a CSS library, and if so, which one? Thanks.
ohh @tepid raft I hadn't even thought of something like that. Right now my UI is very basic through and things (mostly) only exist on one "page" that corrolates to where they are in my house. I have another page with all my automations/scenes/sensors but its more to see them all as I'm still building the UI rather than to acutally use.
yeah, it's useful. and it works with entities right now, just not badges apparently
granted, my badges are global and i don't need to give them specific names right now, but was just trying to get my UI components out of everything except my lovelace config
@tepid raft I think itโs a valid feature request. Suggest you add it to the ui-schema repo for us
Will do! This one? https://github.com/home-assistant/ui-schema
Yeah
hey guys, when the backend changes a theme, it doesn't update unless I refresh or open and close the sidebar
I'm pretty new to HA and i have successfully set up a small configuration for my light switches. Now i am trying to get into lovelace with which i'm failing big time...
No matter what documentation or video tutorial i follow, it does not show me the lovelace ui...it always shows me the default one.
I also have set up a new hassio installation on a second pi.
any suggestion what i'm doing wrong? I followed the tutorial of JuanMTech
whats the url youre trying to access lovelace with
I have the same issue. I am using http://192.168.1.119:8123/lovelace/default_view
i use hassio:8123/lovelace
i also set lovelace as my default going through the i icon on the right lower corner of the sidebar
and i of course restartet ha after creating the ui-lovelace.yaml
also tried with ip instead of the hostname
cleared out the groups.yaml to remove my old groups..... nothing helps
oh and btw, i'm using the latest hassio. just downloaded this afternoon
@signal apex this sounds exactly like what I did. I had it working at one time . I built a new version too and still it only displays the default. If I bring it up in IE, it shows an error in the core-0083506b.js file and it just displays the blue banner. In Chrome, I start with address:8123/lovelace/ and it redirects to default-view which appears to be the normal page. Same happens on the iPad. There is no where to see any errors.
japp...exactly the same here @odd lava
@odd lava : did you also watch and follow the video of Juan?
Yes I watched Juan's and Dr Zzzs , went through all the tutorials. No matter what I do, it redirects to the default-view which is identical to the standard page (I compared the source files). I wish there was somewhere where you could see the errors.
If it didn't redirect, I could at least try to debug it in Chrome.
I had a simple configuration with only some automations and switches. I started with a brand new Hassio and let the Lovelace migration work and it redircets. I ttry updating anything in the ui-lovelace file and no change. Strip it down to a card, type entities with one switch, no luck.
have you got
lovelace:
mode: yaml
in your configuration file ?
no. I thought lovelace doesn't use yaml (??)
just thought the file has to be named like that
Hello everyone!
Is't possible to use jinja templates in secrets in yaml mode?
Only with lovelace-gen
No, wait... No. It's not. Lovelace-gen evaluates jinja before !secret.
Core hass doesn't support jinja in lovelace at all.
Gentlemen...
Can someone tell me what I have to have in my config-yaml to be able to use "sensor: local_time" in my ui-LL.yaml?
I'm stuck on stupid again
how would I declare one?
What are you trying to achieve?
ok...screw local_time
๐คท
That is controlled by the display language in your browser
The browser controls the way the time is controlled
Unless you're using images... of course
You can for elements in a picture-elements card.
๐
And to some extent by using card-modder.
The style parameter injects css into the element.
Don't know if that will help you, though.
I can't post pics here, huh?
use imgur
~images
Please use imgur or other image sharing web sites, and share the link here.
@polar kelp I have Google static map URL in my secrets with jinja template for coordinates. I was using it as URL for Camera components. How can I migrate it to lovelace?
I've followed this https://www.home-assistant.io/cookbook/google_maps_card/
I'm trying to remove the colon and change the color slightly
@warm mulch does it scale well with screen size?
@broken mango Use this: https://www.home-assistant.io/lovelace/map/
there's the template. I just put it in a picture-elements card, with time on top
@polar kelp well it seems I'll have to use it. Unfortunately openmaps don't have good detalization for my region
@broken mango I misunderstood earlier, thought you wanted secrets in lovelace. Why not just display the camera that you already have setup in lovelace?
@mild veldt just realized that. Thanks
@mild veldt exactly
When I first used lovelace I had a default view. Is there anyway to get a yaml of that default view ?
๐คฆ Of course! Good catch @mild veldt
where would I look to find time_date.py?
@fallen seal go back to auto mode and check the Raw editor? Someone,please correct me if that doesnโt work.
~format @silver crescent
@silver crescent 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
cards:
- id: Stue Picture Entity
type: picture-entity
entity: group.group_stue
tap_action:
action: toggle
state_image:
"on": /local/stueon.jpg
"off": /local/stueoff.jpg
whats wrong? "Getting error no image source configured" Just updated and checked the docs but cant find the error
@fallen seal : many thanks! with the mode tag it seems to work now.... strange that nobody ever mentions that in their videos ๐
from what I've read it wasn't necessary until very recently.
Videos become outdated very quickly with Home Assistant
@silver crescent you need a default image source
since your entity is not a camera
so add image: /local/stueon.jpg
wait a minute...
this is all wrong
why do you have a state_image in your tap_action?
that's the problem
@mild veldt that was the way it was setup before the upgrade. ```
cards:
- id: Stue Picture Entity
type: picture-entity
entity: group.group_stue
tap_action: toggle
state_image:
on: /local/stueon.jpg
off: /local/stueoff.jpg
cards:
- id: Stue Picture Entity
type: picture-entity
entity: group.group_stue
tap_action:
action: toggle
state_image:
"on": /local/stueon.jpg
"off": /local/stueoff.jpg
indentation matters
Also, with 0.85 (or was it 0.84) the tap action format changed
@polar kelp the reason I wanted to be able to see the default view was to check if anything had been auto added that I didn't know about. For example, next door's weather station showed up yesterday :-)
I've found that I can drop back to /states and still see anything auto'd so that will do the job.
@fallen seal top right menu has โunused entitiesโ
Just found that as well ๐
@fallen seal I am glad this worked for @signal apex . I put in the lovelace: mode : yaml and it still seems to redirect on me. I also commented out the frontend: and config: options and restarted Home Assistant with no effect. Is there a forced redirect to lovelace\default-view in my code somewhere that I need to remove?
Idea is that from there youโll eventually be able to just create a default card from some entity there as well
@odd lava what version are you running ?
@odd lava just go through 
am I right in thinking that the www folder is relative where the configuration.yaml file is ?
@mild veldt thank you. That is actually what I am doing and just stating the URL that shows up.
www/ is local/ in your config folder
@mild veldt That did the trick!! Thanks ๐
Or, to be more accurate, when you see www/ in your config folder, that's /local/ in the URL
that's what I thought.
I created a file 'test.txt' in the www folder but always get a 404 error.
does HA need restarting when things are added to www ?
@odd lava : sometimes i do forget to restart HA after changing the configuration.yaml. have you restartet after adding the mode tag?
hmm, I thought I'd restarted it since creating the www folder. Perhaps I hadn't as it's now working.
@signal apex - yes I have restarted HA and rebooted the system several times. I would hope that if there was an error with me ui yaml, an error would be available somewhere.
@odd lava : are you using latest version of hassio?
version 1.13 downloaded again 1/9/2019
Is there a way to add css media queries to the horizontal-stack cards? As they flexboxes, I'd like to set them as columns instead of rows when viewed on a mobile.
I have found the issue, I get net::ERR_CONNECTION_REFUSED. Now I just need to find out why.
@restive bolt That's what the normal interface is trying to do if you don't interfere by using stacks. You can tweak the behavior a bit by using layout-card.
in a state-label on a picture-elements card, how can I view all available styles? Is there an API somewhere that I can't find?
@polar kelp Thanks ๐ Seems like it might be the card I'm looking for ๐
@warm mulch It's css. You can experiment using the chrome object inspector
And you didn't happen to set? yaml style: font-size: 15vw; filter: opacity(90%)
I'm using those 2 ๐
then look again
I'm wondering what else might be available
Google css. Anything you find there
and wondering why they don't show under styles in the inspector
They're right there in your screenshot
@fallen seal I give up. Got rid of the errors and still no page. So I completely started over with a fresh hassio image, added the lovelace: mode: yaml, and created my ui-lovlace.yaml file with the example from the "Lovelace/ Yaml mode" page and still nothing. No errors reported anywhere, just get the default page
@odd lava how odd.
can't be of much more help unfortunatly, I've just started playing with lovelace myself
@fallen seal Thanks for the help though. We gave it a shot.
hi all
can anyone see anything obvious why lovelace doesnt like this conditional card?
troubleshooting for a while cant seem to figure it out
there a reason why you haven't used - ?
you mean before card?
are u using yaml mode or the storage mode?
@odd lava you need a minimum configuration if you use yaml mode
I would suggested auto mode if just starting out.
@zenith umbra your conditions should be a list of entities. Look at the docs again
@zenith umbra ```
type: conditional
conditions:
- entity: binary_sensor.slidingdoor_sensor
state: "on"
card:
type: glance
show_name: false
show_state: false
columns: 1
theme: Backend-selected
title: Backyard Door
entities:- binary_sensor.slidingdoor_sensor
thank you very much
why is the camera not expanding?
it was working fine until i put it into a group
type: entities
title: Outside
show_header_toggle: false
entities:
- entity: light.driveway_coach_lights
name: Coach Lights
- entity: light.front_porch_light
name: Porch Lights
- type: picture-entity
entity: camera.front_porch_camera
Picture-entity is a card. You should not put it inside a card.
what should i use then to group them all into a card?
The longer (true) answer then: Either the custom card โVertical-stack-in-cardโ, or set type: custom:hui-picture-entity-card instead.
Iโm on mobile right now, so I donโt want to type out the full explanation...
got it.
man lovelace is so easy and nice looking
the other thing i have a question for is, https://i.imgur.com/YBGZ7cd.png why is it popping out?
im using custom components on those keep in mind*
sounds like next push we will have line numbers to Lovelace 'Raw Config Editor'
thats awsome
would be lovely to see having some language style on it!!!!!
Any reason why a custom card would work then all of a sudden not work
Custom element does not exist. It was working this morning. No restarts, just a page refresh 12 hours later.
Using lovelace, once I added the cameras, they show up as badges within a card, how can I go to previous state of showing a large preview like before
@weak flume and everyone else, there appears to be issues with the lit packages on unpkg.
You should be able to open the js file and apply a similar fix to this for each custom card that uses lit https://github.com/kalkih/mini-media-player/pull/58/files
Oh ok.
Ty very much. I was pulling my hair out
@mild veldt nice profile
Profile pic that is
@mild veldt thanks, i was wondering why the hell my custom cards all of a sudden wasnt working
i changed an int value to something else and everything broke hah
@weak flume wabbalubadubdub
Meh I just disabled the card and went back to stock. The food didn't seem to work for me
@mild veldt what is your change? just dont load LitElement externally and use one thast already available?
var LitElement = LitElement;
var html = LitElement.prototype.html;
would be enough to replace the import statement?
no, exactly as in the PR
var LitElement = LitElement || Object.getPrototypeOf(customElements.get("hui-error-entity-row"));
var html = LitElement.prototype.html;
i guess the fix doesnt work for custom-surveillance-card.js. didn't think hui-error-entity-row would apply to that card or not
it imports another one, repeat, from unpkg, but no localhost:5000 reference in my console about failures there
card just comes up blank
Does anyone know how to make a camera preview back to a regular sized preview and not a badge style?
And the "Idle" next to it is redundant for cameras too
did 0.85 break custom components?
@balmy oxide hui-error-entity-row is just a LitElement in the core project, has nothing to do with if it is used by the custom card or not
@cloud escarp I don't believe so. It appears to be an issue with unpkg. Scroll up through recent talk on the matter
anyone know where the lovelace JSON is stored?
.storage/lovelace
thanks! ๐
Hi @mild veldt . My custom button card stopped working after upgrading to 0.85.1. I attempted your fix to the js file but didnt seem to do anything. Do you expect this to eventually be resolved or should I start converting to another card (I'm using this card extensively)
๐คท
@mild veldt Ha! ok. Thanks
Did you clear you cache?
It is starting to smell like it is something to do with the 0.85 upgrade, but I can't think of anything that could have caused this...
just cleared Cache. Now custom buttons dont show up at all. You may be onto something. I'll keep messing with it. Thank you!!
I have not custom cards working now as well, all showing red "custom element doesn't exist...", was working for 3 days on 85, the past 2 days on 85.1.
Ah. Thatโs good to hear
Just rolled back to 84.6 cleared cache, and same errors...
Thanks for checking that out
is it possible to build groups using templating?
i have some sonoff/tasmota switches that have a bunch of sensors attached to them, like sensor.sonoff_123_energy_current, sensor.sonoff_123_energy_voltage, etc..
i want to build a few groups dynamically based on the prefix sonoff_123_
for every single switch
ideally i want to build this group once, just defining the unique part of the name once, then use templating to build out the rest of the groups
im trying to find a good way to get all of the sensor power usage without manually adding them individually
Somewhat glad to see my decision not to rely on unpkg pay off... I guess...
Yeah that unpkg is causing grief in a few places
It looks as though some error checking in the custom ui config thing isn't sending anything but title and views to the websocket for saving... shoudl also send resources though
will find commit that broke it...
this is the short of it though:
@spare meadow How about the commit that fixed it instead? https://github.com/home-assistant/home-assistant-polymer/commit/07a4505f1e4bd8e9b854007fce4b5b1f07ae750e#diff-f97c5d0acaad74ae1e5f895f215a7741
It should work in 0.85.1.
hello, i just migrated to lovelace with lovelace migration addon, do i need still add this to configuration yaml:l ovelace:
mode: yaml? Because it switch back to old ui
I suppose the "migration addon" generated a ui_lovelace.yaml file? If so, yes.
Then yes
@polar kelp Can lovelace-fold-entity-row show all lights with a certain state? Eg. All on?
I was thinking in having a top sensor saying how many lights are on "5 lights are ON in the house" and then the sub-folder shows the actual lights
I think I could add support for monster-card... been thinking of that before...
I'll take a look at it in a few hours or so
That would be nice!
Is there any way to get a card to go full width without being a panel?
I am having issues with display
Or should I just panel with a vert stack?
That would probably do it
This is a bit of a charlie foxtrot in raw editing ๐ฆ
@main meteor Turns out that wasn't as easy as I thought. Monster-card has hard-coded away the option to use it on custom cards, and the developer hasn't been seen for months.
A pitty! And the monster card is the only card that supports filtering on state?
God this is a complete nightmare
Besides entity-filter https://www.home-assistant.io/lovelace/entity-filter/
@polar kelp That would do it i guess. So templating a "count sensor" and add that as line on and the fold all entities using the entity filter card?
You could try this: https://github.com/thomasloven/lovelace-layout-card
Might have to tbh
hmm two of my custom cards are failing this morning but other ones are working fine. Nothing has changed on my end.
Trouble with unpkg. Check if there are updates for the cards.
well one of them has an update (that seems to remove unpkg) the other one doesn't and it does use unpkg
I'm guessing there isn't a way to fix that manually
@placid pivot just do the same change to your other card. What card is it BTW?
That works if it's just litelement. I don't know if other packages have the same problem.
Just realized this solution might break (for some cards) in the next hass version, when lit is updated...
circle-sensor-card still isn't working
Does anybody know if it's possible to show icon with title below for the views?
So far i was only able to have the title as a tooltip...
It is not.
๐ฆ
thankx
New to Lovelace UI. Does the Dashboard still work the same or do I need to rebuild it?
Dashboard? The appdaemon one?
I bought a Envisalink which was installed in my Vista 21IP panel in the basement. I have it configured to HA but getting HUGE lag on the binary sensors (motion, door, etc). Has anyone experienced this?
envisalink:
host: 172.16.0.5
panel_type: HONEYWELL
user_name: user
password: user
code: '1234'
port: 4025
evl_version: 4
keepalive_interval: 60
zonedump_interval: 30
Its an EVL-4, Firmware Version: 01.02.136A
also -- the allSecure app on my itunes reports zone status nearly instanteously (1-2 seconds). The HA is about 2 minutes sometimes
hm.... anyone know how to fix this without having to change the image specifically?
https://hub.docker.com/r/homeassistant/home-assistant/tags
:latest is not the latest...
0.85 is tagged as latest... not 0.85.1
that's what is causing the issue with the bad ui saving... for me.
meh... w/e i'll just change my image tag i'm using on my container. ๐
uhh if your the docker guy for the project, just tag it
docker tag
cause someone forgot todo that
docker tag ${IMAGE}:${VERSION} ${IMAGE}:latest
Hi. can i stick a "lovalace card" on screen? i put the "clock card" and i want it to be the same place in the screen
what lovelace type would ya'll recommend for a server uptime sensor?
Entities. It has a new timestamp display
Or maybe that's not released yet...
No. It should be
ah ok cool!
i created themes.yaml with midnight theme, added themes: !include themes.yaml to frontend, and get now error : nvalid config for [frontend]: expected a dictionary for dictionary value @ data['frontend']['themes']['accent-color']. Got '#E45E65'
i think my biggest problem with lovelace is sometimes i'm just not sure best way to display somethinghaha
Hello, my custom cards suddenly stopped working, it says the card-type does not exist. has anyone run into a similar problem?
Everyone has today. Unpkg - a repository of javascript packages - is down.
biggest issue with depending on the internet hehe
Check if there's an update for the card, or wait for it to get back up.
ah i see, thanks for the headsup:)
@kind loom Most cards have an update, but for the ones that don't yet, you can find the fix here,
https://community.home-assistant.io/t/lovelace-button-card/65981/267
all of a sudden....the custom button card is not working for me. Anyone else?
sigh
Yes. Look three four messages up or so.
Nothing personal. You have no idea how many times I've explained this to people today.
.broken
Yes custom button card is broken
OFC you fixed yours ๐
with latest hass update, is there a problem with custom components ?
ah yes
3 lines up ๐
@polar kelp Yeah.,...I just saw your message
changed the link and it is working now
I predicted this might happen.
yeah, thnx ๐
So, is there a solution to the problem @polar kelp or best practices, given that we will definitely have custom cards around ?
From what I can tell, pinning lit-element to 0.5.2 in cards that uses it, and clearing the chache should resolve the issue.
yeah I just did that to one of the custom cards I was using (I should put in a PR for the actual card)
looks like a ton of folks are using that card...we need some of those features in our button card ๐
you guys should add the dual thermostat card to the default for zwave thermostats that show up as a heat/cool climates
Ask the dev to implement it in the core ๐
hi,, i had this card dark-sky-weather working but all sudden im geteting custom element doesnt excist,
yestereday i just had to wait and afteer a little 10-20 seconds the card loaded fine, but now it doenst show up just the error
update the card
@placid pivot mm howd you know? there is indeed an update of the card 3 hours ago, ill test the new card
if your using https://github.com/iammexx/home-assistant-config/tree/master/ui/darksky looks like it was update 3 hours ago to fix the issue
xD
cause all the custom cards have broken for the same issue
ah thnx didnt knew
id id read the changelog this time but couldnt find this info in it
@placid pivot thnx working again
hello after hass.io restart i get no lovelace anymore:
here the log:
20:13 components/system_log/__init__.py (ERROR)```
i am on hass.io 0.82.1
i didn`t change anything on my config...
also my button cards stopped working:
There have been issues with custom cards due to the unpkg imports
scroll up, there has been enough discussion on it
but i have not updated because of this ^^
Not updating is not helping you ๐
Also, the import issue has nothing to do with updating HA
it is related to the external dependency in the card....again scroll up
Sorry, missed the answer, had to go, same question: New to Lovelace UI. Does the Dashboard still work the same or do I need to rebuild it? Running HA 85.1, AppDaemon Dashboard. Thanks
Appdeamon are separate from homeassistant
weird, how can i find out what this is: (MainThread) [frontend.js.latest.201901091] http://192.168.1.109:8123/lovelace/0:0:0 Uncaught
something needing to be caught but didn't ๐ค
in syslog every entry ends with #033[0m
Check the browser log too
that's clean
Is it possible to have glance card and in there with light card for light?
Out of the blue my custom card for mini-media-player has stopped working. It's been working fine before but now I get the red card and "Custom element doesn't exist: mini-media-player". How should I troubleshoot this?
Look at most of the posts in this channel from today
@wheat current can we just change the topic of this chat to be about the custom card disaster of 2019?
#cardgate ?
It would be super super cool to have some "package manager" for all these dependencies and a config option to set the custom cards to use a local server instead of needing an outgoing internet connection or depending on cdn's being alive
afaik most js lib's would be installable by npm, right ? so we could go for some npm-package.json for installing the card dependencies.
Hey guys, Quick question.. i just started with lovelace, i used the addon lovelace migration to get a start. but when i now edit the ui-lovelace.yaml no changes are shown even after reboot and cache wipe? and when i edit it from the web. it does nog change that file?
I'd actually recommend not starting with a migration tool at this point, but to jump into the gui editor instead.
If you do wish to use yaml, you must activate yaml mode.
oke, then i'll start using the gui ๐ just 1 other thing, how can i add Custom cards using the gui?
Through the raw editor. But only from version 0.85.1 or later.
Oke, just updated to 0.85.1. thanks for the heads up ๐
@mild veldt do i see here that there is a local lit included in ha? so its better to use youre PR then mine? cause its always a local file you have?
https://github.com/kalkih/mini-media-player/pull/58/commits/4c232de681529b61f9c73653f808d8ed0a332915
vs
https://github.com/kalkih/mini-media-player/pull/60/commits/e1f1ba0532ed50bcef5e09d7ee132d6af3385995
if i understand correctly made some PR's on several custom cards to change the url like this links, should i instead make PR's with the code you wrote in this link
ill read it tomorrow, good night all
@fiery temple I would say local is better but I need to test that in dev as we just updated lit on the core project and want to make sure it plays nice
Iโm also interested to hear about the other cards you updated as I submitted quite a few PRs last night as well
Hey, I just noticed that my weather card is showing me hourly. I'm guessing this happened when I switched away from yweather to darksky. Is there a way to switch this back?
I also got this error that I'm not sure what it means: /local/card-tools.js:43:21 TypeError: document.querySelector(...).shadowRoot.querySelector(...).shadowRoot.querySelector(...).shadowRoot.querySelector(...).shadowRoot.querySelector(...).shadowRoot.querySelector(...).firstChild is null
do you have a custom card for weather or are you using the default weather card
@past falcon card-tools is something thomasloven created. Do you have any of his cards in lovelace?
yea I do
and sorry default weather card is what I'm using
I'll keep an eye on his custom cards then
you need to setup the darksky component to be in daily mode
ok great!
Anyone know how to stop lovelace displaying scatter data as a bar chart?
- sensor.temp_sensor_1
type: history-graph ```
I did expect this to be a graph?
@pearl rivet does the sensor have a unit_of_measurement attribute?
Good question
It does not
I added it
but still have the same issue
Oh, maybe not
just cached
Might need to post an issue about that
as I seem to be getting lovelace caching a lot of stuff
and making up data based on the last point since cached
...yeah...it's caching by design. do you want to go and grab all state history for each sensor on each event on the bus...?
Only the ones on the page I load
I've had it not do that
Having to use Shift-Refresh
I accidentally navigated to Lovelace yesterday for the first time (0.84.6) and it had all my UI etc. Now today I just upgraded to 0.85.1 and when I goto /lovelace/ it's a spinning circle forever... ? The sidebar is the only thing that loads on that page.
This is screenshot of what I see in Chrome inspector. Seems like the upgrade might have broke it https://i.imgur.com/r2ZX4U3.png
@latent moss had you edited anything yet?
Nope
Try clearing cache
This is what I had seen, https://i.imgur.com/iTsL1LX.png was basically the same as my current UI (/states/) except with some yellow errors, i was taking care of them rather than configuring the ui. The only issue i noticed before is that my weblinks didn't transfer over properly, rather than being hyperlinks they were just long urls as text.
clearing cache didn't fix unfortunately
and I added this to config (and restarted), along with the example ui-lovelace.yaml (markdown card) on the docs page. but that doesnt seem to work either. Still a blank white page with spinning multi-color progress circle =/
lovelace:
mode: yaml
Commented out that mode from config and restarted again, still the same thing, pic: https://i.imgur.com/TfCGV1Q.png Can see at the bottom of the window cache is disabled. It appears to be loading things(?) just not displaying them for some reason.
mini-graph-card + pc-card === match made in heaven. more to come
@latent moss check if you have a .storage/lovelace
if so, delete it and restart
@mild veldt i don't seem to have that file, https://i.imgur.com/dSLVY0d.png
I just looked back at your images, I never did open that first one which looks like the auto generator just had trouble parsing you config for whatever reason.
what does your ui-lovelace.yaml look like?
I'm guessing you mean you used the example from here https://www.home-assistant.io/lovelace/yaml-mode/
I would try the yaml mode once more and make sure the cache cleared
๐ค
yeah i used the very first "super minimal example" on that page. i also tried safari in private browsing (which i never loaded HA on before) same issue. I'll try the yaml mode again one more time.
It was working perfectly yesterday aside from the weblinks issue, the only thing i did was remove unused things from views.yaml and check the unused entities page, i never actually made a "choice" on the screen where it asks you to select. Then i upgraded from 0.84.6 (hassio) to 0.85.1 and that's when it seems to have broke.
