#frontend-archived
1 messages Β· Page 147 of 1
My button: type: button tap_action: action: call-service service: media_player.play_media serivce_data: entity_id: media_player.kitchen media_content_type: url media_content_id: 'http://176.9.36.203:8000/vocalchillout_128' state_color: true name: VocalChillout icon: 'mdi:music'
Hi guys. Can somone get me understand how he get different colors in what seems to be sensor-cards on this screenshot ? https://camo.githubusercontent.com/143ac5b30e04707e548ae21f816f73fb2b413286/68747470733a2f2f692e696d6775722e636f6d2f467876326a72382e706e67
cpu, ram and so on?
That's most likely the custom mini-graph-card https://github.com/kalkih/mini-graph-card
How to force portrait mode in mobile Home assistant app and landscape mode in tablet HA app?
The device itself should manage that, if not try #ios_and_mac-archived / #android-archived
@sweet sail you have serivce_data there instead of service_data
@muted inlet THX
@untold crescent posted a code wall, it is moved here --> https://paste.ubuntu.com/p/587CFbVTjq/
Anyone using Openhardwaremonitor and has a nice layout?
@atomic glacier @polar kelp ππYour advice works. Thanks
Hey, is it possible to declare a variable in the lovelace yaml and then use it some lines under that? Wanted to save some colors into variables at the top and then use them multiple times. Tried with Jinja, but {{ variable_name }} didnt work
{% set _color_red = "#eb4034" %}
{% set _color_green = "green" %}
Tried adding this to the top of my file. But {{ _color_red }} doesnt return "#eb4034"
Trying to use the "Button Entity Row" from HACS, but I keep getting this error in Lovelace: https://imgur.com/a/1vS0ZJF ("Buttons is read only")
@stoic rain looks like the author needs to update it as configs are frozen now
there is a built in buttons row in 0.107
type: buttons
entities:
- entity: script.upstairs_20
icon: mdi:brightness-3
@mild veldt Thanks! That actually let me load my script, but I get this: https://imgur.com/a/KrPTpfb
Doesn't appear to matter, as the buttons loaded! Thanks a bunch!
But what do you mean configs are frozen?
The custom card can't write to them
@stoic rain that's just a warning from the vs code plugin.
Thanks guys!
If I split my automations/scripts etc into folders and separate *.yaml-files per item, will they still show under Configuration -> Automation etc..?
I just installed roomassistant and was wondering what is the best way to display individuals based on their locations in the frontend (picture elements) card
BTW....it works quite well even for iPhones
@raven nacelle I've got that up and running as well, and was thinking a simple floorplan would be great for this. Kinda like I started for motion detection on a per room basis. Something that would just change colors in a room based on who is in it ... any ideas or thoughts on another way to display???
Awesome! If you don't mind, tag me if you find a viable solution π
This issue has been plaguing me for so long. Every since 0.104.0b0 I don't receive updates. If I force it from command line, it works but then the update notice says "Home Assistant 0.104.0b0 is available and you are currently running Home Assistant 0.107.0b6." Why does it want to constantly downgrade to that version? Any ideas?
yeah, it seems to work. Let me update my config on GH
need that for every room
updated the file for more rooms
in the current lockdown times i'm looking to put some pdf files on the frontend containing the kids school tasks for the day.. looking for advice on how to achieve this
iframe card can probably handle that
used a weblink in an entities card.. since tey're pdf chrome can display them in browser - was simpler than i thought π
How do you show a todoist project? I've set up the integration but not sure how to get it to show in lovelace
@full orchid This custom card works well for me: https://github.com/Letherwin/Todoist-List
looking at this old post https://community.home-assistant.io/t/kwikset-910-and-user-codes/8605 it looks like I should be able to see/set user codes in the front end but I'm not finding it. I did find it in the zwave config panel but the codes are wrong? none of the codes shown match the locks codes. known issue? something I setup wrong?
hello friends! how i can rule user rights in home assistant?
Hi basic Lovelace question. How do I change the on/off icon colors?
Even if I just want to change the color for one or two icons?
You can possibly just do it with some crazy CSS - searching the channel may find what you need π€·
Ok, I was just checking there wasn't some easy solution I was missing
there are probably 292 custom cards that can do it
Coloured acetate would do it, as long as the icons are always in the same place on screen π€
I was hoping there was just a line of code that I could add to change the default blue to red for a power icon I'm using
For one icon, no
Ok, thank you
Are there any custom cards out there, that are able to show location history? Like TrackMap or Google Maps Timeline?
I guess it should be possible since all the information are stored in the backend. Something like the history card for maps
hey! can i put in picture-elements image from entity attributes ?
hi, can anyone help with the Cast config settings in lovelace ui
I am trying to cast to an android tablet, I have the ha cast running and logged into NABU CASA, I have an intergration installed GoogleCast, but does not have any casts found, I am a little confused on how to config the lovelace ui for casting
@rustic geyser Till you figure out the Cast, you can always access through browser π
yep I new that just trying to understnd the chrome cast side of things
okay. so the instructions in https://www.home-assistant.io/integrations/cast/ not helping? Pretty straightforward I think
I must be missing something, I have tried putting the cast entity in my lovelace UI I am I guess confused if this is put in a s a separte entry or s part of a card entry, if I could have an example it may help I hve put in the below t the bottom of my lovelace UI but does not seem to work
type: entities
- entities:
- hide_if_unavailable: true
type: cast
view_path: defalt_view
title: Entities cast sample
nothing appears on my cast device, once it logs in it just goes to a blank screen
hello guys again, is there any chance to auto-resize my floorplan and not scrolling down to see whole picture, aspect_ration don't fix this
Hello. I have a doubt. I already have the browser_mod working. I can send a popup card to the tablet. But since media_player doesn't work, it's always "idle"
Hello I have a problem integrating an esp32-cam via esphome. I can see that the cam is online and i can update it via the esphome add-on. But i can not add a camera-card as a resource via my configuration.yaml file. If i check the config it tells me that the resource isn't found. I have put the resource file camera-card.js in my config/www folder and added de resource local/camera-card.js to my yaml file. Am i doing something wrong?
yes
resources are managed in the raw config editor if prior to 0.107 or the main config -> lovelace dashboards -> resources tab
hmm ok my HA version is 0.106.6 so
@mild veldt what file should i edit then?
resources:
- url: /local/www/camera-card.js?v=1
type: module
This is what i added to my configuration.yaml file
in the ui, top right menu, select configure ui
that does not go in your configuration.yaml
ok
after selecting configure ui, go to top right menu again and select raw config editor
OR
upgrade to 0.107 later today and use the handy resource manager
π ok i will upgrade but what do i put in the raw config editor?
what you put in configuration.yaml
that does not work
hmm i'll wait for the update
where do i put it on the top or at the camera view
@mild veldt tanx
hey! some one know if i can put in picture-elements image from entity state or attributes ?
i'm using safari right now. is it normal that i get browser memory use warnings when the frontend is loaded?
Anyone knows how to change the white background of a lovelace view without affecting the others?
I managed to get most of it dark. But I am stuck with a very white background.
https://i.imgur.com/AOEotgd.png
Thanks!
So how do we get to the Lovelacd dashboard setup screen?
I've looked through all the settings and can't find the resources/dashboards page.
Look again
This might be stupid question - With the upcoming change to lovelace if you use 'mode:yaml' having to list the resources in configuration.yaml. Does this mean should you change anything on the resource list you must now restart HA to get the change, where previously you only had to refresh the frontend?
there is a reload service
Hello! I want to see my sensor data as a line in a history-graph, but it only shows up as a horizontal bar. I have set the sensor "unit_of_measurement: Β°C" under the STATES-tab. Any ideas what else could be causing this problem?
there is a reload service
@wheat current Awesome! Was not aware of it. Thank you very much! ππΌ
... and now it's suddenly working again, drawing graphs, after updating HA.
Could it have been a bug?
Sure
And now they dissapeared again, haha.. depending on how QUICKLY I click on the button "hours to show", the probability of seeing a line graph increases
If I add only one sensor to a card, it now shows the bar graph from around 12:00, and the line graph only shows data from around 20:00?
Your sensor probably did not have a unit during the first period
The easy fix is to shut down HA, delete the DB and start HA again.
Or wait 24+ h
hey guys, just upgraded to 0.107.. what happened to my zones?
i dont see the editor or the zones on a map
oh, alright.. ill try that! thanks
Did you see the error in your logs about zone?
@wheat current nope nothing in the logs
even missing the zone editor in settings page..
The zone integration is probably your issue, look at the issue tracker/blog post for similar issues
I have in issue where an unamed media player is stuck on my ui which I cant remove and it is not listed under media_players in my yaml files. Any suggestions where I can remove it?
Look again
@wheat current Okay, I did. Still can't find it, so can you help?
It's named "Lovelace dashboards"
@wheat current no go on the zones, it broke in b7 and b7 and in 0.107, no issues related to zones. I dont have time to debug right now rolled back to B6
Well if anyone else is looking for the answer, the frontend needs to reload first.
@stone basin zones and the zone editor worked fine for me in b7, b8, and now the final 0.107 stable release... Do you have zone: or default_config: in your configuration.yaml ?
@stone basin not broken here. no zone: in my configuration.yaml and using default_config:
nope do not.. should i just add a "zone:" instead?
yes you need either zone: or default_config: in your configuration.yaml in order for zones to work, can be either one.
Sean, zone: didn't seem to work default_config: did
is there a way to
- rename the default Lovelace (overview to ...) via yaml
- change the location of ui-lovelace.yaml?
@latent moss if just add zone: the I am missing lat/long Invalid config for [zone]: required key not provided @ data['zone'][0]['latitude']. Got None
required key not provided @ data['zone'][0]['longitude']. Got None
required key not provided @ data['zone'][0]['name']. Got None. (See ?, line ?).
so default config it is.
@stone basin you can't simply remove default_config without also adding everything it includes
getting "Custom element doesn't exist: hui-group-entity-row." with custom:fold-entity-row in 0.107.0. Do I need to use preload:?
- type: entities
entities:
- type: 'custom:fold-entity-row'
head: group.downstairs_lights
@mortal cape yes I get that but I no longer want to handcode zones (want to use the editor), it seems that I cannot do that without using default_config: for example I don't want the map feature in the sidebar..
@mortal cape I can't just have zone: i need to define a zone just for having it show up.. seems an oversight , am i missing something.
You want UI edited maps, but no map
can't have it all I guess
well i could until 0.107b6 π so some checkin after that changed this behavior
Howdy ya'll
any way to make the font smaller in the thermostat card?
I'm loving the visual preview for Vert/Horz stack cards.
if not in the card yaml, maybe in the config.yaml entry?
hi y'all! I've got a problem with (i think ) a simple answer. I installed this: https://github.com/sdelliot/pie-chart-card - it's in my hassio/config/www/community/pie-chart-card/ folder (installed the same way all my others are added, that work fine). I made sure the js file was there. I've added it in the config/lovelace/resources as a module but when I add it I get Custom element doesn't exist: pie-chart-card.
any idea what i should do to resolve this?
i added all my old ones the old fashioned way, by editing the main file, but seems the new versions of HA use this new editor
can anyone throw me a bone?
oh and i added it using HACS
slowly working this out... 2020-03-18 21:55:37 WARNING (MainThread) [hacs.deprecated] The '/community_plugin/' is deprecated and will be removed in an upcomming version of HACS, it has been replaced by '/hacsfiles/', if you use the UI to manage your lovelace configuration, you can update this by going to the settings tab in HACS, if you use YAML to manage your lovelace configuration, you manually need to replace the URL in your resources.
aha! found the "update resources" button π
so this changed all the resources entries to use the /hacfiles/ path. i renamed the community_plugin folder
and restarted. everythng works as normal. apart from Custom element doesn't exist: pie-chart-card.
fml
forced a reload, now nothing works. all my cards are screwed
About the new multiple dashboards features, if I declares on or multiple dashboards, the existing one will still be the default ?
@grim compass I don't think there's anyone here at the moment.
its ok i will try this out tomorrow
i'll try after work tomorrow too. have a good morning/day/evening π
i have borked my config trying to move to the new lovelace/dashboards setup. I am getting an error saying that "[resources] is an invalid option for [lovelace]".
I am right assuming in configuration.yaml its literally just ```
lovelace:
mode: yaml
resources:
- url: etc. etc.
scratch that im an idiot. fixed
shiiit this is awesome. can have a full dashboard just for settings now
i know what im working on during self isolation
Having problems with HA 0.107.0. i have to do loging all the time i referes on chrome. A new token is genereated
@odd light posted a code wall, it is moved here --> https://paste.ubuntu.com/p/5SWbZ5bFHZ/
@tame dove posted a code wall, it is moved here --> https://paste.ubuntu.com/p/jXd733VqrB/
Ha. I just did the same thing π€¦ββοΈ
I have show_header_toggle: false, still shows up
Have you tried without the quotes?
Now fix mine π€£
header toggles were broken before like it would show on and be off until you flipped it
that one didn't show up until I updated to 107
Mine have worked for a while. Have not noticed your behavior
I haven't even tried that new dashboard thing, I just updated 5 minutes ago
Really cool.
but since I started having snapshots run at 2am everyday and keep a weeks worth in google drive, I update right away now lol.
I run two instances for multiple reasons. I always update my second backup instance and if a config check works I pull the rip cord on the production instance
Looks like you canβt get rid of the default ui-lovelace.yaml.
if I think its that big a deal I'll take a snapshot of the VM, then I can instantly roll back to working.
but in all the time i've run HA, I never had it break THAT bad lol.
and in fact it hasn't broken at all in quite a while.
hi all; just updated to 0.107.0 and now i see this in my logs
Resources need to be specified in your configuration.yaml
i have this in my config
lovelace:
mode: yaml
@odd light , you are correct. Ever since the new schedule where the beta comes out a week before the update, things have really been smooth.
@icy patrol , do you use any custom cards?
I just have lovelace: with no mode
So, at the top of you lovelace.yaml, you had to specify those cards under a line titled resources:. With the new dashboards, those lines have been moved to the configuration.yaml. Read the release notes. Pretty simple breaking change. Depending on your yaml mode, HAss may have made the changes for you and you just need to delete the lines in ui-lovelace.yaml @icy patrol
yeah I use the gui to configure my cards so in HACS settings there was a button to just have it fix it for me.
I still use core in a VEnv
Although I installed OpenMediaVault today and saw a reference to docker.....got me excited
Read the breaking changes man
if i remove; dont i have to enter them in when using a custom card?
Anyone having trouble adding cards or accessing their profile in HA ver 107? CAnt seem to do anything after the upgrade?
HA freezes when adding a card....
Hey, quick couple questions about the new update. Is there a way to cast the additional lovelace dashboards? Can you remove the header so you have a fullscreen panel?
i am trying to add some sort of title bar at the top as per my screenshot:
https://imgur.com/TyWe1Jr
but i am not sure what to use that will go above my entities on the home page and go all the way across
I haven't updated Hassio in over a year. I have a lot of breaking changes I'm working through but I wanted to ask if anyone can tell me why I have like 1000 icons on my main screen and all of the tabs I had created are gone. I remember them talking about it in a podcast episode a while back but I can't figure out which one.
Here is an example
Oh I guess I can't paste a picture here?
you can use imgur to share a picture
the big change that you are experiencing is that the States UI that used groups for the frontend is removed....now you need to use Lovelace. https://www.home-assistant.io/lovelace
it's my local HA ip address with multiple 2 digit numbers after it
way too many things to list from a year ago but thats the big one
I was using lovelace a year or so ago for the tabs but I did the option where I manually update it not let Lovelace manage it. should i turn that option on?
is there any way to salvage the groups I have in my prior lovelace setup?
groups still work, just not for UI purposes
do I need to do it all on the UI then? Can't be done in yaml?
i think you have a lot of reading to do on the docs to find out what you need to chagne to get back to where you are
you can do it in yaml
check the link i sent
I did check the link but didn't see a lot of info. A short demo video
and then it said for help come here or the forums
check the links on the sidebar theres lots of them going over teh views and different cards
Take a Peak at my github and see if it helps
Did you find the UI limiting?
no i just prefer to use yaml honestly
for my dev instance I just let HA handle the UI though
Ah
Thanks for github should be helpful in the coming days
I have a lot of yaml files to go through to remove -alias
yea np, my screenshots are a bit out of date but the gist is still there
is it pretty much just automation where -alias is allowed?
i had them like everywhere. dozens and dozens of yaml to go through. know of any shortcuts?
umm there might be some command line stuff to use but probably offtopic for this room lol
ctrl+f is a little helpful but I don't know how to do a wildcard for a varying length to do a search and replace
oh ya I'm pretty green with cmd line anyway
quick question. are ' allowed in alias names? I notice yours don't use any but I wondered if that is a new rule
- alias: '103.1 Comedy Room Select'
vs - alias: 103.1 Comedy Room Select
You don't have to quote strings if they don't contain anything special. IMO it's better practice though
I did the upgrade but now I cant login to my HA
I get the white background with a blue bar on the top
I tryed to reboot the system but that did not help
Anyone having trouble with freezing when loading history?
yep
Turn up the heat
Am i stupid? Or did the module things for custom cards move?
@white dust Any clues to fix it?
@craggy cave i did a reboot and now it works again
@craggy cave i did a reboot and now it works again
@white dust I tried that a few times and still get an issue.
What is the correct way to load the resources in the lovelace integration?
I did this:
lovelace:
mode: yaml
resources: !include_dir_list ../lovelace/resources
But it didn't load anymore π€
that is a relative path, make sure it's correct
So far I know this path should be correct π€·π»ββοΈ
integrations/lovelave.yaml
lovelace/resources/*.yaml
?
integrations
lovelace.yaml
lovelace
resources
yaml file per card
This is the file structure that I use
no error?
The only error that I get is in the frontend that it won't load the cards π Custom element doesn't exist: fold-entity-row.
how are your resources?
Single file for every type of card
Try changing type: js to type: module π€·ββοΈ
Or just use the UI to manage them, it's super slick!
could it be caching? π€·π»ββοΈ
for strange reason it works again π
I am on 107. I created a new dashboard. But if I make this as "Set as default..." the original "Overview" dashboard vanishes from the side panel.
Apparently, you cannot specify a path for the dashboards yaml. Is it by design?
sure you can, the path is from the key you give it
I mean "filename: /config/lovelace/ui-kiosk.yaml" leads to an autogenerated dashboard, and it shows as "configlovelaceui-kiosk.yaml" in the dashboard ui
That's for the new "multiple Lovelace dashboards" in case I wasn't obvious π
I got a similar issue and cant figure out whats wrong, since I upgraded to 107.1 I get this "Custom element doesn't exist: hui-picture-elements-card."
all other customs are actually working
Also, am I correct that the dashboards are listed in alphabetic order in the sidebar, whatever the order in configuration.yaml?
Hi Guys, I have a small problem since updating to 107(1) - I get an error message on my lovelace page for a thing that is not there. The error is "Custom element doesn't exist: hui-conditional-card." I have never installed a custom conditional card, the YAML for the section just has type: conditional in it. Does anyone have an idea by any chance?
Ah I think i found it, seems to be the custom:vertical-stack-in-card - when it has a type: conditional, it throws the error
if I'm using HACS, do I still need a ui-lovelace.yaml with resources in it?
post 107 resources are no longer in ui-lovelace.yaml, if HJACS or not does not matter
so I can just rm that file?
no
well it's the only thing I have in there. I'm using storage for my setup
ha π
hey all, was the show state option meant to be in 0.107.1 ? I can see it this gif on the release notes : https://www.home-assistant.io/images/blog/2020-03-0.107/lovelace-edit-improvements.gif but it's not on my newly updated version
@wheat current after I've installed a plugin, how do I load it? I installed the custom calendar plugin but it says "Not Loaded
This plugin is not added to your Lovelace resources."
oh. I think I need to restart ha?
does anyone knows why my card is not showing?
cards:
- type: vertical-stack
entity: weather.acasa
name: Home
type: weather-forecast
aspect_ratio: 100%
type: iframe
url: >-
<name_url>
the other ones works perfectly
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
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
hi guys
is there any card which allows to browse and drill down into the areas?
E.g. I want top display the status of the attics ("all windows closed and all lights off = green, else = red"), and also to be able to drill down into the attics "entity" and see the single lights/sensors...
greetings folks
I was directed here from the #330944238910963714 page
I am trying to get the color of a custom icon to change. I have a tplink smart switch that is used to control my exterior lights. in HA UI I want to change the icon from a lightning bolt to a light bulb and I have been able to do that part of the process
by adding ```switch.front_exterior_lights:
icon: mdi:lightbulb
to my customize.yaml
that works and now on my lights tab I have an entity card that looks like this: ``` entities:
- entity: light.bath_light
- entity: light.office_light
- entity: switch.front_exterior_lights
type: entities ```
so I am trying to get the switch.front_exterior_lights icon to be yellow when the state is on and default color blue when the state is anything else (off)
someone mentioned to use state_color: true in the entity card but I am not sure where to add that
and then if I make the state_color: true where to I put the color values for the switch.front_exterior_lights
both the bath light and the office light lightbulb icons are yellow when on and blue when off and I am trying to get the same effect from the switch
entities:
- entity: light.bath_light
- entity: light.office_light
- entity: switch.front_exterior_lights
type: entities
state_color: true
that will make the icon change color again
as for manipulating what color it changes to.. i'm not sure
when I put that state_color: true I get this: Expected a value of type undefined for state_color but received true.
yep, you will.. but it will still work
ok
they are meant to be adding it as a gui option, but until you do it errors.
to use the visual editor you have to remove that line temporarily.
ok I am good with errors
now to figure out where to say when on for example have the icon green and when off icon red
let me try the icon_color: in the customize file
maybe : icon_color: if (state === 'on') return 'red'; else return 'green';
yep
hi there, i love the new lovelace dashboards, is there any way to sort the order on the left side
I thought the lovelace resource change wasn't yet breaking, but my views break unless I move resource to my configuration...
I can't imagine I'm the only one who has this problem, but I can't find any issues regarding this...just the mention in the release notes.
If yaml mode, you need to move them
Crap...did I miss that?
Thanks Ludeeus
Hmm. This snippet from the release blog entry is misleading, then:
This awesome new feature comes with a deprecation if you use Lovelace in manual YAML mode: You need to move the resource section from your ui-lovelace.yaml to the lovelace: section in configuration.yaml. It is not a breaking change yet; we still load them from the previous location if we didnβt find anything in the lovelace: section, however, this fallback is being removed in a future version.
Greetings folks. I have a Light Sensor to measure the light under my sleep number bed so I can then have it turn on other lights in the house. When I try to create a graph for the light sensor it bogs down my Home Assistant to a point that it is unusable. Has anyone run into issues like this with graphs and is there a way to make them work? I have other graphs and they seem to work just fine
The light sensor uses mqtt by the way if that matters for graphing
It may be a data point volume issue - too many data points
https://github.com/kalkih/mini-graph-card may be faster, since it smooths, but that may make things worse π€·
cool let me read this
What do you guys use for smaller light bulb controls?
guys, why my weather card works fine in lovelace but when i am in yaml, it won't show?
What?
@gritty lily posted a code wall, it is moved here --> https://paste.ubuntu.com/p/dfsWNM5XY3/
~share @gritty lily
@gritty lily Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
~rule6 @gritty lily
@gritty lily Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
How you set it up depends on whether you're using the UI to set up Lovelace, or YAML
Yes I read though the release and still didn't understand. I beleive I am using the UI?
Anyone have tips for a compact light controller?
-> Lovelace Dashboards @echo coral
ha wow
okay
thank you
I checked in config but didn't see it initially but yes I know see helpers and lovelace dashboards
thanks
appreciate helping the dummy!
It wasn't obvious to be fair - I expected it to be in the Lovelace config
I ended up exploring the rest of the UI before I saw it π
Can someone help me understand the new dashboard view? I have different yaml files for different views and use the views:
- !include '/config/lovelace_views/lovelace_main_view.yaml' but they don't list in the dashboard view. And now I've moved my resources to the config file my HACS isn't working
Disabling new helper entity doing mess..... After disable entity disappears...
Iβm trying to call a different Lovelace view for my google hub using 0.107 using the cast.show_lovelace_view and putting the view path as Tablet (that being the new view set up) but it errors out. What should I be using?
What's the difference between "module" and "js"?
Hi, how to change state_color for device_tracker on state home
I think standard state is working only for on
I love HACS.
@surreal agate device_tracker does not change color based on state
@hearty plover just use module
Thanks @mild veldt
hmm is there a lovelace changelog for 0.107? or just what was highlighted in the blog?
no one has written one up yet
highlights cover most of it
just bug fixes otherwise, I think
π thank you π
@mild veldt even on ones that say to use "js"?
yes. js is a deprecated type option. use module
Hi. it's possible send a picture with browser_mod ?
hi everybody, i have a lovelace problem since first upgrade from 105 to 106 described here: https://community.home-assistant.io/t/problem-with-lovelace-cards-not-displaying-relations-between-entities-after-last-update/175648
can you help me figure out why i cannot see relations on lovelace cards?
I like the new Media Player card, but in some views I'd like the old one. Is that possible or is the old Media Player card dead and forgotten?
@mild veldt is there any breaking changes in your latest release for the decluttering-card? As far as I can see from the release info there shouldn't, but once I updated it I started to have a lot of "Uncaught (in promise) TypeError: Cannot read property 'state' of null" errors in the console
That's not my card
Oh sorry XD
Got confused while "surfing" github π
I guess then it's more a general question then π
no worries π at some point someone will ask again or notice that message ^^
Ok, thanks.
I have no idea how, but for an enlightened person, I guess you could make a custom card from the old media player card then?
I think I found my issue, I am using the card pre-loader and I did add the decluttering-card in there, that causes the card to pre-load but without any entity or template information attached, which caused the issue in most of the views
@shell torrent someone will have to create it and it can live HACS to see another day
@frosty pelican loved the idea of the way you used the icons in messages from your repo π¨π»βπ§ ...had to borrow a fewπ Thanks!
haha np! i saw it on a reddit post the other day and I was like wait we can do that?? so i spent about an hour updating it all ahha
link?
That's some slick stuff
Hmm...π€ was reading that post and I didn't code mine like :oncoming_police_car: to get π, I just copied the image and pasted it and it worked fine. π€·π»ββοΈ ...you know, how I do my dev work π€£
My Hassio RPi installation doesnβt show new HA updates anymoreβ¦ Iβm stuck on 104.3. Found this error message:
20-03-17 14:11:54 WARNING (MainThread) [hassio.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]
I tried the url in a web browser and it worked fine.
Anybody else seen this problem? Ideas?
You can try using the cli to upgrade
cli?? I would like to get the notifier back working though.
@opaque bayyou can try going to Hassio System tab and then pressing the Reboot (host server) button, had that issue before and rebooting fixed it.
Hey that fixed it! Thanks!
Hello,
Trying to create a few new dashboards under 1.07 and but would like to NOT show the sidebar with History and Logbook for these, anyone got any advice?
TO clarify, not show in the "Users" Dahsboards, i still want it in my "admin" dashboard.
@bright slate https://github.com/maykar/custom-header can limit the other users with kiosk mode, if that's what you mean...
Thanks @atomic glacier ! Didnt know that! Will set it up at once! Cheers
ππ» @polar kelp just started seeing this after 0.107.1 update:
all of my q_cards with fold-entity-rows in them were throwing red blocks custom element doesn't exist **'hui-section-row'**
I added them back in my LL file and then they loaded. No hurry here, just thought I'd throw it out there...Thanks!
@atomic glacier Got the same issue
Im combining the "custom:hui-entity-filter-card" with "custom:fold-entity-row"
with q_cards ?
The preloader fixed the other issues, patch, but it worked for me https://github.com/gadgetchnnel/lovelace-card-preloader
Just combining these to, but now its not working
cards are probably not loading like they used to. May wanna try the link I posted, to get a temp fix
IDK...maybe π€·π»ββοΈ
ill try
@atomic glacier Not working, I get that the card "custom:hui-entity-filter-card" doesn't exist
@main meteor posted a code wall, it is moved here --> https://paste.ubuntu.com/p/sHDJ5wxZ8K/
I did like this, it worked prior to 107.1
~share @main meteor
@main meteor Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
@split granite Its shared here above
You posted a code wall
The bot moved it
Don't do that - share correctly
Two reasons
- It's unpleasant on mobile when somebody drops a code wall
- The bot sometimes has a holiday
Oh, and (3) it's the rules π
@split granite Sorry! I will fix
@split granite Im trying using the in the beginning and in the the end. Thats the way right?
See #botspam for testing π
@main meteor posted a code wall, it is moved here --> https://paste.ubuntu.com/p/f22Nn9smyQ/
@main meteor Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Please read that - that's not post a code wall that's share your code on a website
Please also read the damn rules this time
ask i that thread, I have no idea
@atomic glacier did you try the latest release of fold-entity-row? From yesterday
yes, Version 15. It works fine, just not in q-card for me
@main meteor the one you are having problems with. I added most of my main ones
I updated to the latest fold-entity-row, still not working
I think I know what's happening in the q-card case...
Is the problem for me related?
No.
Your problem is because the custom:hui- was never supported in the first place, but a dirty hack.
I actually got it to load and work without the section row. Was weirdd looking, lol
Like dirty hacks π
It's a damn useful dirty hack, though. So I'll see if I can come up with another.
I have it everywhere...
You could probably force it to preload by adding an empty entity-filter card before the one you posted.
A "std" entity filter card won't work inside a folded row?
Just yaml type: entity-filter entities: [] state_filter: [] or whatever is needed.
Wait.. that will show a small card...
This should work. Sorry for posting pictures of code.
I'm off for a few. 3am here. If you think of anything, just tag me and I'll check in a few hours, thanks again
That should force the entity-filter card to load.
It's ok. I can reproduce the problem, so I can debug it.
So should I add that too?
Yes. Try that as a separate card. Not inside the one you already have, but on the same view.
Or, when I open my eyes and actually look at what your'e trying to do, you could use auto-entities, which does the same thing as entity-filter but better.
Its ok to add it inside the vertical stack?
I guess
Now I get that "custom:fold-entity-row" doesn't exist
My misstake, now it works!
@polar kelp But I get an empty white box, can I hide that?
Cant get it to work, do you think you will fix this in a "better" way? I can live with the empty box meanwhile
I can't really "fix" this problem. But you could try auto-entities instead of entity-filter. https://github.com/thomasloven/lovelace-auto-entities
No, sorry then it all crashed again
It's not a drop in replacement
No I added the new card and loaded it
No other way to apply a state filter to a folded-row card?
hey guys, can someone tell me how I can make an auto-generated frontend like the old states ui?
You can't make it the same, you might get it somewhat similar
damn that's what I was afraid of. Would newly added devices show? Or do I have to go to "unused entities" and look for them there?
That's mainly what will drive me insane
If it's auto generated, newly added devices should show fine
So you don't know if it is yet?
I don't use the auto-generated UI, and never have π
I'm going by what others have said π€·
@heavy pasture posted a code wall, it is moved here --> https://paste.ubuntu.com/p/RyJF7d23Zm/
~share @heavy pasture
@heavy pasture Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
~rule6 @heavy pasture
@heavy pasture Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
I'm not sure why this is spam?
What I was trying to find out why the new dashboard handles code differently than the yaml.
Code wall...
I pasted a very small code
The limit if you read the rules is 15 lines, 18 lines is above that and not very small
@cosmic gazelle just create a new dashboard, call it auto, and don't take controll of it
I was going to try again, but now it is working. I shorten the vertical stack and it worked correctly. I then put everything back and it worked. So now issue. Sorry for violating rule 15.
Get this error in my log..
Resources need to be specified in your configuration.yaml
Got this in my ui-lovelace.yaml
``title: Home Control Panel
resources: !include_dir_list lovelace/resources
custom_header: !include lovelace/cards/custom_header.yaml``
@split granite Thanks again for your help yesterday on how HA interprets yaml files based on the different option of the !includes statement. I wish I had understood this months ago as it would have saved me a lot of time.
@wheat current Got it! Thankyou very much!
you never did
in lovelace you use the entities card
That looks like https://www.home-assistant.io/integrations/light.group/ which belongs in #integrations-archived π
@wheat current I'm having problems having 2 dashboards, one UI controlled and one User controlled...
@cosmic gazelle posted a code wall, it is moved here --> https://paste.ubuntu.com/p/kmnq9XRjK3/
I have created the ui-lovelace.yaml and copied my existing lovelace config
and why are you tagging me?
Sorry, coz you were helping me with this issue?
@polar kelp Can I use a std entity-filter in combination with custom:fold-entity-row?
Hi all. this example should be work ?
Is it a bug or am I trying to do something wrong? The pop-up opens but this error
Is that inside another card? As for intsance vertical-stack-in-card?
I don't think so, should I?
Well if you should use it is up to you, I am just trying to figure out what can be the cause.
I am asking because that kind of error for "non-custom" cards seems to be related to an updated that came with 0.107.0+ that broke some custom plugins that are not yet updated for the new functionality
The code itself to me looks alright, are you using the Lovelace editor or yaml code?
I am already with the latest version. 107.1. I noticed now that the recources should now be separate from the lovelace. I haven't used lovelace.yaml in a while ...
It is strange, but for the popup to work I have to call a service: browser_mod.navigate first and then this browser_mod.popup
That's strange, are you using latest release? As far as I can see you should only use the popup: https://github.com/thomasloven/hass-browser_mod#popup
Card loader should fix that issue. It's a temp patch for the issue with the cards compiling for ver. 0.107.+ @left aspen @sacred quarry
thanks @atomic glacier . but a stupid question, where I put "preload"? because i dont have lovelace.yaml...
is in the RAW?
@left aspen not stupid question. Here is good explanation of how it works with the UI editor: https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
Hi, I have a question regarding lovelace (and especially new feature dashboards), may I ask it here?
This is the place to ask...
Fine
I moved to storage mode yesterday and I'd like to have a yaml dashboard
But I can't figure out where to declare the custom cumponents.
I did in the dashboard yaml file but it says that it does not exist
I put it right after the title of the dashboard, like this:
title: All Lights
resources:
- url: /local/slider-entity-row.js
type: module
thank you all. it works which is wonderful with this card preloader π
As of 107...
https://www.home-assistant.io/lovelace/yaml-mode/#advanced-configuration
@split granite Thanks but I followed that exactly (maybe with some mistakes but I can't see where).
resources goes in configuration.yaml not ui-lovelace.yaml
That's only for the yaml mode. What about the storage mode?
I've yet to use storage mode... somebody else will know for sure though
Okay, thanks anyway @split granite
Configuration -> Lovelace dashboards -> resources
It also said that resources would be looked for in ui-lovelace.yaml if they weren't in configuration, but I didn't find that to be the case.
Like all other fun stuff, it requires the advanced togge to be active under the profile
It should be the case if there is no resources at all under lovelace
I had zero resources in config, all in ui-lovelace, but they were all giving me red bars.
Β―_(γ)_/Β―
Configuration -> Lovelace dashboards -> resources
@wheat current Thanks. Could you please share an example? I can't figure it out.
huh?
mode: storage
dashboards:
lovelace-yaml:
mode: yaml
title: YAML
icon: mdi:script
show_in_sidebar: true
filename: all_lights.yaml
resources:
- url: /local/custom_lovelace/xiaomi_vacuum_map_card/xiaomi-vacuum-map-card.js
type: module
``` Does not work
Can the Markdown Card have font/background color changed and line breaks inserted?
@left aspen not AFAIK, but you could combine 2 big number cards in a vert or horizontal stack inside of a hui-entities-card . I use 3 on my mobile at the bottom for different sensors like this: https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/README.md#mobile-screens
i will check your git. Thanks man π
Have a question surrounding groups with the 107 release
are they completely gone now?
is it possible to include lovelace yaml files when using the UI configurator?
nope, still there
The config check complains on an include statement for the groups.yaml file
I was under the impression that group control was not longer an option via automations
Yes, some of the functionality that was available before, like set_group_visibility, etc.. are gone. The docs for the release explains it better than I can
https://www.home-assistant.io/blog/2020/03/18/release-107/#breaking-changes
The multiple lovelace views are deam awesome!
Is there already a way to force users to a view?
custom-header is what I use ( <-- also use state-switch )
@atomic glacier I have some control statements......will try and remove those. Thanks for pointing that out.
I will check it out - thanks! (holy? you got 14 Google Assisted speakers?!?!)
Nope. 16 now, just added 2 more π€£
My wife asks "4 in every room or what?" (she thinks that I'm a madman for my 3 Alexa speakers)
My wife loves them. Using spotcast on a popup panel for my wall mounts, we use them even more now for whole house sound. Click a button for radio, preset playlists, etc...The price drop on the ver1 Google mins was just too much to pass up..(and patio, garage have them as well π )
also got 2 of them around - but theyre harder to integate (thanks keatontaylor for making it easy for echos)
Hello, all. Ever since, I believe, the .107 release, all of my media control cards except one have been gray. No indication that they are broken, but they seem to no longer indicate activity, and like I said, they are now gray. Did I miss a breaking change?
@smoky peak there was a rewrite of the card, but nothing that should have broken. what kind of devices and what are their current "state"?
They are like TVs and firesticks, etc. Current states on them vary from off to unavailable to idle.
Yes, precisely like that. They did not look like that before, even if in those states.
well read the release notes, it was re-done
Ok, thanks.
So, then followup question. My Spotify media card is light blue, and is idle....why is that one not gray?
π€·ββοΈ cc @raw brook
off - gray, as well
true
Yes, precisely like that. They did not look like that before, even if in those states.
@smoky peak Yes of course they didn't look like this. This is a complete redesign π
Off, Unavailable and Unknown are states where Media cannot be played from. Meaning pressing play in those states does nothing. So they are Grey
Idle - Media Players in Idle mean they are on and can be played to or from. Kind of like an Idle car. Its ready to go. Just put it in drive
hey guys - hopefully quick question: in 106.6 should a template sensor in a glance card honor the state_color: true?
according to docs, yes
@lavish solar a sensor? no. what docs are you reading that say that it should? what would that even mean? a sensor can be literally anything
how can i do !include in raw configuration?
booya, beautiful yellow now - thanks guys!
how can i place the state and label horizontally next to each other in a button-card?
https://i.imgur.com/VoKiAvB.png I dont get it why Im getting this red boxes
because there is no card type switch
beat me LOL
@potent compass maybe https://github.com/Savjee/button-text-card haven't tried it yet, but ...
oops...didn't see in a button part π
because there is no card type
switch
@mild veldt but this was working before..I dont get it
but thanks @mild veldt now its working π
I'm guessing you're not giving us the full picture here. 100% guarantee that explicitly typing type: switch would have never worked
Hello. Does anyone know why this happens? the popup on Nexus 7 (2013) is the normal popup, and on lenovo (tb-7504x) is the entire screen?
if i have a button card with a circle-sensor-card in it. how can i assign the brightness value from the button card to the entity of the circle card?
I'm confused.. trying to figure the new lovelace dashboard function out ..
Am I right by assuming that when I set the main lovelace panel to auto generate that I should keep the resources part in the seperate dashboard yaml files and not move them over to the configuration.yaml ?
@potent compass If I understand what you're trying to do correctly I believe Lovelace Card Templater can help you
yup
oke thanks
normaly it should wok with button card
i saw it in the community topic
I'm using HACS to download and install Mini Media Player for lovelace ui. Once I've done this and restarted HA, how do I use it? I don't see it when I press the + button on the main lovelace screen
@royal talon select manual card. There is no UI editor for it
gotcha thanks!
Good day, is it possible to put the new dashboards into directory and modify the path to them? dashboards: lovelace-first: # Needs to contain a hyphen (-) mode: yaml filename: old.yaml title: Old icon: mdi:tools show_in_sidebar: true require_admin: true
I've tried !include dir/old.yaml it doesnt work tried dir/lovelace-first
Hi guys, why is there as restriction to see the "Overwiew" Lovelace Dashboard when you set another Dashboard as default? Do I now have to move my "Overview" Dashbaord into a custom Dashboard so I can see it when having set another Dashboard as default?
hi all, anyone noticed that using mobile app on iOS or Safari, date rendering from Neato integration is not working ?
@mint geode how do you set a dashboard as default?
nevermind, got it
ha, just realised that you cant set a default dashboard for a user thats not admin since they cant see the dev or conf settings?
Good morning everyone. What do you use in a tablet screensaver? fully kiosk screensaver or use a clock popup? I wanted to wake up the screen to show a camera image (for example)
anyone knows why on the latest 107 release the switch lightnings are not turning yellow?
control works fine with zigbee2mqtt and the switch state changes but the icon doesnt
it seems to be broken between 104 and 105
@wheat current hey dude. not sure what i need to do but if i add /local into the path of my integrations added into /dashboard/resources they work, if not i get red boxes. but as soon as i do this, hacs then says they are not installed. i have a hassio installation running on a pi.
That is expected
is there an update coming to fix it?
no, there is nothing to fix.
You need to use what HACS tell you to use, of ignore the "not loaded" message
@vapid field new feature called state_color. https://www.home-assistant.io/lovelace/entities/
this makes no sense actually. if I have to manually ignore a message with my brain that is not correct, surely thats something that could be "fixed" in the software? sometimes I wonder if im being really dumb, and I think this is going to turn out to be one of those times..
like hacs says "its not installed". but it is.
am I being really grade A stupid here?
im too scared to type "at L udeeus" right now π
Things are in transition right now - don't panic
Until of course it's time to panic...
"things will work out in the end and if they havent its not the end" π
thanks tink!
I keep failing to update my lovelace setup to .107... moved all lovelace resources to the configuration.yaml but I keep getting ugly red boxes
meh.
are there some examples for dahboards around?
I'm also having difficulty getting the dashboards to work without mistery red boxes
The update could do with some clear instructions on different ways of setting it up
yeah I wonder if i could keep my !include files
what is the correct way to add state_color to a card?
when I add state_color: true it works, but gives me the following warning:
Expected a value of type `undefined` for `state_color` but received `true`.
and the visual editor becomes inaccessible
Someone yesterday told me that error is for the visual editor. I did add the state_color: true and it worked
Should have been fixed. What version are you on
Hi, I have recently updated to 107.3 (not on 107.4 yet) and seen the new Helpers interface but it only informs me about ones defined in YAML, not edit them.
Is it too early days to expect it to behave like Automations and Scripts where you can edit the same thing in YAML and the interface? Release notes don't specify and the documentation doesn't seem to have caught up yet when I searched.
Is it possible to move the light switch to the left on the picture-glance card?
@proud osprey the edit capabilities are for helpers made in the UI
@raven nacelle no
Maybe with card mod π€·ββοΈ
I have never used it....I guess I should try it out
thanks, @mild veldt I had a feeling that might be the case at this stage
Yaml will not be supported
hey guys, i have a short question, i maging my floorplan at the moment and i wantet to ask is it posible to dim a light up/down with a hold_action and if i let go it stop dimming up/down?
@left aspen I have used several different methods and find that a browser-mod popup works the best for me. I have a clock popup and a black screen popup that are both full screen. The transition is instant for screen wakes either by motion or camera motion popups. I am currently running this set up on 2 Windows panels, an Android tabl on FKB and my alarm keypad is using Wallpanel. All give the same responses.
@atomic glacier and who do you use as a trigger to run the popup clock? the binary sensor of tablet?
Regular motion sensor and automation. I had the Windows tabs first and they didn't have any external or internal settings to control the screen so I had to figure out another way. Give me a sec and I'll post the link
The night light is the trigger in this automation because I added a motion sensor to a wifi night light. The timer for the light is ran by Tasmota so I could control the length of the on/off time for the motion sensor, (for cool down period to eliminate false triggers). The same automation can just be a regular motion sensor though. https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/automations.yaml#L272-L327 and the scripts are here https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/scripts.yaml#L729-L778 @left aspen
I'm asking this because, imagine, the binary_sensor of tablet is "off" after a 2min delay calls the popup clock. So far so good. The problem is when the binary_sensor goes "on" (due to someone, and here I am calling no command to "on") and return to the "off" state again it will be on delay 2 again, and if I do one popup camera in this delay 2 the popup camera disappears because the popup clock appeared. Due to the delay .. I don't know if I made myself understood
Yes, I have an 8 minute delay for my screen saver before the clock screen is activated. The only real issue for me is when multiple camera popups are trying to open at once, but the result is the most current camera motion popup overrides the others. I only use the FKB setting for time out on the tablets at bedtime and when house is vacated. Other than that the tablet stays on always displaying the clock so there is no actual 'wake up' for the tab, just closing a popup.
maybe my solution with the tablet sensor is to increase it to more than 2min
Yeah, that definitely wouldn't hurt to try.
This set up was originally designed and worked on 2 Windows tablet with no ability to control the on/off or sleep/wake functions. After adding 2 Android tabs, I just left it the way it has been working for almost 2 years. Just didn't have a need to reinvent the wheel
I do like the FKB control for a true browser-mod blackout screen for the Androids, as the Windows tablets never really go off, but they are cheap and haven't burned out yet
yes, good would also be to have a popup clock screensaver identical to android. With clock and date and maybe moving
their automation / scripts are many and help us a lot as an example. You are the king of the popup π
anyone using this currently? https://github.com/sdelliot/pie-chart-card
Hi, Iβm getting a view path error when trying to call a different Lovelace panel, what should I be using if the panel is called Tablet? Using the cast show Lovelace view. I have it working with default view but I want to change the view?
I tried using the view path in the raw config editor which is tablet but it didnβt work...
does anyone know how i can reoder the items on the side panel in lovelace?
especially the new dashboards
can someone explain me what i am doing wrong?
https://paste.ubuntu.com/p/kxnzDSHn9m/
i got 1 light with 3 different switches and i want to put all of them on/off in same time by pressing one image
That's the simplest way of doing that
i tried to group them, but i don't know how to call the group light from groups.yaml in my floorplan
The above isn't a group, it's a light
You then use the light. entity in the service call
here where is my mistake?
- type: image
tap_action:
action: toggle
light:
- platform: group
name: Becuri hol
entities:
- switch.sonoff_hol_intrare
- switch.sonoff_hol_dormitor
- switch.sonoff_hol_living
service: light.toggle
That's not how you do it
You define the light group in configuration.yaml - that creates a light entity
You use that light entity in your Lovelace
aha, ok
@raven nacelle I have used 'dummy' entities to achieve what you are asking. I just added them in and they added a right margin where they should have been, thus moving the switch to the left and out of the way of the timestamp... it worked π€·π»ββοΈ but since then changed my set up π¨π»βπ§
LOL....that works too π
This was waaaayyy before we had any good plugins... when Cioltsom was doing the custom stuff...
I've managed to migrate my lovelace to 107.x but now the interface is loading insanely slow.. it takes 7-8 seconds to completely load giving red boxes while loading. is there any reason for this ? or anything I could/should do to mitigate this ?
@split granite i got this: Component error: lights - Integration 'lights' not found.
i've search it on community forum, but nothing
@gritty lily Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Though, that's really a thing for #integrations-archived
@errant birch the only thing I found that actually works, but still a bit buggy loading https://community.home-assistant.io/t/lovelace-card-preloader/176655
Fully Kiosk Browser is even worse ATM. Have to reload a few times to get everything to display correctly even with the above installed
Is there an easy (IE, no dev required) way to have the configuration>automations list sort by name instead of ID?
@frosty elk hass-cli ?
I was using a custom card called slideshow-card to cycle through a number of cards automatically on my interface. With changes in 107 it no longer works because you can't set the config of the sub cards. I am wondering if anyone has used a similar type of custom card that does work with 107?
forget it figured out how the code the existing slideshow card to work
hope this is the right place to ask
just installed 107 can only see the first 6 cards on add card page when editing ui
cant scroll down to see other cards
I can no longer add cards to Lovelace. HA 0.107.4 Lovelace in UI mode. Whenever I add a card, regardless of type, the save button is not visible but instead a spinning wheel (visibly as if some loading or validation is going on). Content of card is rendering in preview as I add entities using GUI or code but I can't save it, only cancel button is available.
Any troubleshooting tips?
the UI is just horribly slow after 7...(on pi) ...anyone else? especially the dev tools
slow isnt the word..unusable.
Hi guys, I am seeing an odd error in the Console (it seems to have started from 0.107.4 but not 100% sure it's related to that) https://pastebin.com/1mkJpDH9 Any clue? Thanks π
Hey guys, i installed several custom cards and themes from the HACS integration, but how do i utalize them? Is there a general tutorial somewhere?
Most of the custom cards have examples in the install or examples in a forum. I usually read about a card long before I install it. I use a custom card to fill a need that the built in ones do not do. I do not install a custom card hoping to find a use.
Most GitHub pages of the card have examples
Is it possible to load another dashboard when press a "button" or similar?
What is the "Lovelace config panel"?
When I am trying to add a resource with the raw configuration editor, it keeps telling me that I should be putting them in the config panel.
But I don't know what it is referring to, and when searching the documents it comes up blank
(I am adding the dark-sky-weather-card)
Under configuration in the UI
Oh wow, that's much easier than it used to be. Thanks!
Hello everyone! Have a question in regards to the new LL dashboards. I want to create a dashboard just for mobile devices. How will the mobile device know to load the mobile dashboard and not the default dashboard?
@delicate basalt AFAIK you can navigate to the URL via tap_action
@sacred quarry Looks like maybe the card is trying to compile without the entities or something. Have you tried the card-preloader plugin? π€·π»ββοΈ Only thing that has worked for me so far is that
@icy patrol Easiest way is probably custom-header and device_id or just use the URL for the new dash for the mobile login π€
So I would need to manually select the mobile dashboard on the device for the first time?
Nothing automatically? Where it know it's a mobile device?
Not exactly sure, haven't had a chance to make another dash, but the new dash you create should have a different URL that can be used to navigate to...and then use that to open up from your mobile. I'll try it out and make one after coffeeβ so I can be sure.π§
Thanks. π
Just want to find a way to use this new feature and make it all automated. So it know it's a mobile device and to display the dashboard there
i have simple weird question π i see some icon in my card, and i wont set this icon in another card but i cant get the name of this icon. do you know what is this icon name? or how i can check this?
https://imgur.com/a/2LWfxi0
Can dashboards be assigned to users? If so login as a diff user in mobile
@bright berry that's a mdi icon. https://cdn.materialdesignicons.com/4.9.95/
yes i know but i cant find it because it is a lot of icons. i try to check name of this using web developer tools but with no results... π¦
Can you view source to get icon name?
was running .107.1 , had a power failure last night, so it powered off. this morning i turned it on but my front end refuses to load. i have default_config: in my config files. also tried updating to .107.5....but no look. i'm going to continue to troubleshoot but was wondering if anyone else had a problem like this
Raspberry pi?
i am running virtual env on a dsktop
Be worth asking in #672217570283094017 then
Hi @atomic glacier , thanks for the response, that's the thing I don't get, I am not using the stack-card, so which card should I put in the preloader (I am using that for other cards, so it will take no time to add another one π )
@icy patrol I can set what dashboard I want to display in the iOS app if that helps? Itβs under config and dashboards and you can set a default for device
@upper tulip ok so on any new device, I would need to do a 1 time setup and mark it as default on that device?
There is nothing that can be automated?
Yes to the first and not sure on the second to be honest but if you do it once it will always be set to that dashboard
Hi itβs possible in media player to add the picture of match source ? For tv Samsung source is Netflix add picture Netflix etc... ?
@sacred quarry quite honestly, I have had to add pretty much every card I useπin my setups to get my displays on all my devices working enough to be used. I have also switched a few layout configs to simplify the loading process. Nothing independently seemed to fix anything, but a combination of everything got me up and running.
@proven rock should be able to use icon_template for that
@sacred quarry Are you sure you have no stack cards in your Lovelace? Would you be able to share lovelace configuration?
Hey all, I was wondering if it's possible to have a "button" in lovelace that acts as a trigger? I would prefer not to use an input_boolean and turn it off through the automation. I would like to just have a "tappable" button that triggers a service each time it's pressed
derp derp. thanks. Been awhile since I've seen that one!
If you want to run multiple services, put them in a script and call the script
gotcha, perfect!
@atomic glacier I add the icon_template: /local/pictures.jpg and nothing in card π¦
'entity: media_player.samsung_tv_remote
type: media-control
icon_template: /local/5920215.jpg'
Hey guys, I just updated to 0.107, and I can't figure out how to hide the input boolean on a group, any tips?
I googled it, but only found pre-0.107 instructions
Hide it in the UI?
yeah
-> Take control
anyone knows how to make the icon biggers for light cards? https://imgur.com/YPrxB1B
@random remnant
"--iron-icon-height": 41px
"--iron-icon-width": 41px
maybe...?
Is there any way to get 24h time?
It's supposed to be a feature of your browser's default language
Hmmm, which english speaking country uses 24h time?
UK does
Thanks π
@atomic glacier not working :/ it doesn't do anything. it's also mod-card, CSS
That said, I've found HA is hit and miss on what's 24 hours and what's 12 hour... theory and reality sometimes pass each other at COVID-19 isolation distances
Only other way would be to mod the card itself, but waaayyy too much trouble when there are soo many custom cards already out there π€·π»ββοΈ
@atomic glacier fair enough
@raw brook @sacred quarry the custom stack-in-card utilizes the core vertical/horizontal stacks, which is what you're using if I remember correctly
Hi!. I wonder if there is a way to obtain the name of the current frontend theme. There are services to update the theme list, to set a theme.. but none to get the current one
Hi, I just moved from HA 0.105 to 0.107.5. No update as i changed the hardware i can't seem to find what to do with my resources. I went to confinguration -> Lovelace Dashboard. But it doesn't seem i have a resource tab. How can I add this?
Figured it out, profile need to activate Advanced mode
Could somebody give me some hints on installing a custom card through the UI? I'm trying to get this working: https://github.com/benct/lovelace-xiaomi-vacuum-card . I've put the files in the correct location and added the js resource under configuration|lovelace dashboards|resources. I've then added a "manual" card and copied in this: "- type: custom:xiaomi-vacuum-card
entity: vacuum.xiaomi_vacuum_cleaner" but it says "No card type configured.". I'm obviously missing a step or two.
Quick question -- I'm looking for a way to use something like a picture-glance card but have the values of sensors show in the bottom strip instead of the icon. Ie, for a temperature sensor, I want it to show the temperature, not the thermometer icon. Is there a way to do that?
@drifting cove yes, check the docs
@mild veldt Thanks, I have but am now getting "Custom element doesn't exist: xiaomi-vacuum-card"
Then you didn't install it properly
There don't seem to be instructions to install using the UI so I'm winging it. I've put the .js in www and added "/local/xiaomi-vacuum-card.js?v=3.0.1" as a resource, what have i missed?
Thanks @mild veldt , I have. The docs for picture-glance mention "show-state" but there is no place to configure this within the UI editor. Going to try via raw editor, but I wanted to check here to see if this is the proper way to do this.
@elder remnant remove the ?v=3.0.1
@drifting cove not everything is in the UI editors
You don't need the full raw config editor
Hi guys, in configuration.yaml section http, whats the api password, why do i need it and where should i get it from
Just show the code editor when you have the edit card dialog open
Show State (which the raw editor complains is an error but does seem to work) isn't doing quite what I want - it is putting the state value below the icon. I'm hoping to entirely replace the icon with the state value.
It's a warning that the UI editor doesn't support it
You could give a fake icon
icon: mdi:fake
@prisma stone that's an old config item. No longer used as far as I know
why my themes in my profile page is disabled? I removed themes because its obsolete..I had a warning
and now I dont have any theme π
Neat idea - and it does remove the icon, but the spacing is all wrong. But no worries - I can adapt. I was just wondering if there was another card or other config that might do this.
Themes are obsolete? What brought you to that conclusion?
@prisma stone that's an old config item. No longer used as far as I know
@mild veldt so to setup remote access i just need the base_url right?
@drifting cove could use picture elements and make it exactly how you want
@mild veldt still getting the same, restarted but it still says "Custom element doesn't exist: xiaomi-vacuum-card". I'm trying to add this to a new dashboard, maybe thats the issue.
@prisma stone π€·ββοΈ I use Nabu Casa
ok, thanks anyway
@elder remnant no resources are shared among all dashboards
@mild veldt I use picture-elements for a different view. But in this case, I'm trying to display a live camera feed with some sensor data in the bar at bottom. Ie, a view of a room with listings for temperature, humidity, .... Docs don't seem to indicate that picture-element can pull background image from a live camera.
@elder remnant anything in the browser console output?
"Loading module from βhttp://192.168.1.10:8123/local/xiaomi-vacuum-card.jsβ was blocked because of a disallowed MIME type (βtext/plainβ)"
@drifting cove yeah I think you're right. Should probably add that
Could put an image element down and make it the full width
Would have to mess with z-index to make things be above it then though
@elder remnant sure you got the right file?
Would recommend using HACS to manage your custom installs
@mild veldt Looks like it probably isn't! I've opened it up and it looks like HTML, I'll redownload. Thanks.
@mild veldt All good now. Thanks for the help.
So any CSS way to adjust the "state" text one those picture-glance cards to be higher? Not seeing any docs about that and personally know very little about CSS.
why Im getting repatedly Invalid config for [frontend]: expected a dictionary for dictionary value @ data['frontend']['themes']. Got None. (See /config/configuration.yaml, line 23).
themes:```
Is there a way to change the icon by state in Lovelace yet?
hi, just updated to 107.5 and trying to test the new dashboards, i have this in configuration.yaml:
lovelace:
mode: yaml
dashboards:
lovelace-generated:
<omitted>
lovelace-main:
<omitted>
My idea is to link the existing dashboard plus to get an autogenerated one for inspiration π
But the UI loads my existing ui-lovelace.yaml dashboard only. I tried deleting that file and moving my dashboard from it to another file/filename (linked by filename: .. in the lovelace-main: above)
But then the UI breaks because of missing ui-lovelace.yaml file
Any idea what i am doing wrong?
@vapid field I just did the same thing. Here's what I did:
Change second line to "mode: storage" then add a dashboard of type yaml in the dashboards section. Set this to your existing ui-lovelace.yaml file. Restart HA. Your primary view will now be the auto generated one (which you probably don't want. Go to Configuration, Lovelace dashboards and add another view (which will also be autogenerated). Then set your YAML view in the list to be default. You'll still have the original auto-genereated view in the list, but it won't show up in the sidebar.
thanks @drifting cove , your 'Restart HA' tipped me off to try restarting HA π and my changes are now picked up.
I ended up using the above config but removed my dashboard from it, just have the auto-generated one. My custom dashboard is in the ui-lovelace.yaml file still and it works. I did not expect a restart is needed for lovelace? But it works kinda as i expected after i read the release notes. Thanks!
Restart needed due to changes in configuration.yaml. Once done, all changes in frontend won't require a restart.
Hmm, it picked up some changes, enough to break, but not all subsystems i guess without restart. Thanks ill keep it in mind
I'm getting a strange error message with the new update to 0.107 saying "Custom element doesn't exist: hui-entity-filter-card.".. sometimes it works.. other times it comes up with that error
@heavy cove guessing you have it wrapped inside something?
um.. yeah.. it's wrapped inside of a 'layout-card'
You likely just need to update the card. Thomas fixed it for 0.107, I believe
Anyone try out the new dashboards yet
If so, have you tried making one for mobile? Seems like when you set your phone to default for a new mobile yaml dashboard. It is not loading some resources correctly
If I go to the new dashboard url directly. It's fine
As soon as I set that new dashboard to default. Does not work. Even tried cleaning cache
@mild veldt it said it's not been updated for 11 days
my frontend is completely broken in 107.5, upgraded this morning: 2020-03-23 19:29:56 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140611923794704] Client exceeded max pending messages [2]: 512
is it a known issue? It kinda went crazy after I tried to use my new fancy dashboard
going to try restarting...
@raw brook yep, I checked all the files and no view (or template) uses "stack-card", my config is available here: https://github.com/SeLLeRoNe/HA-Config
Thanks for pointing that out @mild veldt , I didn't know that π
hey.. i may be having a brain fart moment and thats okay.. resources are added into the Raw config editor yes?
oh.
okay so all the JS files in the resources will be removed in upcoming releases..
(not modules)
no
resources that are imported with type: js will not be removed, you need to do that
For most custom stuff, just using module instead will work
people with custom cards out there have their work cut out for them as far as documentation.. I have about 20 addons with js instead of module.. thank you for the answer though
19 or 20 of them will work with module
Glance Card question: I have an icon in a glance card that when pressed manually executes an automation. Problem is the icon is yellow unlike all the other icons around it and it drives me next. "state_color: false" does not change it
its of course yellow because the "automation" itself stays toggled on
does the automation run by itself ever?
there may be icon color front end solutions (i have no idea) - but you could create a script that does the same thing and expose it instead of the automation. i think that would work.
actually yah - my original thought was to dupe the automation logic into a script, but yours would avoid that
now what about...
clicking on the icon just running it instead of bringing up another screen where i have to click execute
yeah i'd assume you'd configure the tap action to execute
could have it execute the automation directly too
ahh weird i thought it was that by default
but yeah the script was an easy fix for the icon color thanks
should probably open an issue in github for the state_color: false not working for an automation entity.
@lavish solar what do you mean it doesn't work? Just tested locally and works just fine
Hi. I'm new at HA and trying to figure things out. I can't seem to find the answer to this in docs....which yaml files stores the configs for the entity cards? I mean the configs auto-generated when one uses the UI to create the entity card.
I'm having a problem setting up custom cards, Tried several with all the same results, big-number-card, mini-graph-card, bar-card.
I'm getting a msg "this._configElement is undefined" while manually adding the custom card. Any advice?
here's an example
- entity: sensor.blind_encoder_left
title: Default
type: 'custom:bar-card'
I'm using the latest HACS
OK, I'll answer my own question.
If you copy/paste from the examples, you need to remove 2 spaces from the beginning of each line.
@keen crown The results are in .storage/lovelace as JSON
@keen crown The results are in
.storage/lovelaceas JSON
@split granite hey, hello there π . And thank you!
Hey guys; i created a new dashboard to be used for mobiles devices and when i set it as default on my mobile; i find that some resources dont work and show red squares as well as the custom header
Yet if i visit the new dash URL directly it works
what gives?
@grave forge That's the syntax you'd use if adding the card manually to ui-lovelace.yaml or the raw editor, when it's one card in a list.
If you're using the GUI editor and add a custom card with the orange plus circle thingy, you should just add the single card configuration.
If you want to learn some amazing stuff, take that information and read this: http://thomasloven.com/blog/2018/08/YAML-For-Nonprogrammers/
If you just want it to work ||remove the first - and dedent every row two spaces||.
@polar kelp Thanks, I'll check it out.
Weird question, does the βdividerβ entity work in any cards for anyone in 0.107.5? I have a custom one with text which works, but the default one doesnβt work.
I keep getting the error that itβs an unknown type.
Should work in stock cards, but might not in custom ones.
Well Iβm using it in a vertical stack, but itβs not happy...
type: vertical-stack
cards:
- type: entities
title: Section 1
entities:
- light.light_1
- light.light_2
- light.light_3
- type: divider
- type: entities
title: Section 2
entities:
- light.light_4
- light.light_5
- light.light_6
With the custom:hui-divider-entity-row-trick?
That's not entirely reliable any more.
You can make it work more often if you also have a divider in an entities card somewhere, but it's not guaranteed.
it is a row, so it should be in the entities card @nova perch , not as a card inside the stack
type: vertical-stack
cards:
- type: entities
title: Section 1
entities:
- light.light_1
- light.light_2
- light.light_3
- type: divider
- type: entities
title: Section 2
entities:
- light.light_4
- light.light_5
- light.light_6
@icy patrol unfortunately lazy-loading on some cards and elements related ATM. Try refreshing after page loads. π€·π»ββοΈ Works mostly here on first try, even with FKB..
yea tried for a while and as soon as i set the default to mobile - the custom header does not load correct
cleared cache etc..
custom header may need an update as the rest of the resources load ok
The YAML editor on mobile is really painful to use. Does anyone know of solutions around this? I kinda wish there was some closer attention to that UX, does anyone else ever tweak their frontend on their phone?
hey guys, need some help adding a picture to my profile
@split granite already created the folder www and uploaded the 192x192 pic to the folder... also added the entity_picture: to the customization yaml
but no image shows up yet
=/
man... this is really hard
lol
this is what i have on customize
person.yonathan_faber:
entity_picture: config/www/yoni.jpg
New customize information will be applied the next time the state of the entity gets updated
how long does that take?
How long is a piece of string?
also, the pic should show up automatically on the map?
On the entity in the UI
Please use imgur or other image sharing web sites, and share the link here.
Sure:
-> States -> Click the entity -> Scroll back to the top -> Change the state to something else -> Set state button
i did restart
I've seen examples of DAKboard within TileBoard, but is there a way to embed that in Lovelace? I tried using the Webpage Card to load the URL directly, then I tried using an html file with just an iframe, and load that into the Webpage Card without success. I'm getting the same issue when I go to https://domain.duckdns.com/local/dakboard.html (the page I created to test)
The iframe page loads, but dakboard fails to load anything meaningful
under /www i had a folder named icons. I can no longer see this folder or even go to it manually
yet the icons in there still work and map out ok on the front end
anyway to get this folder to show again?
Show where? How?
under /www
i had a folder named icons
those icons are still being read by the front end
and LL even has a path going to /www/icons
yet i am not able to see the folder
it is not hidden as well
See it how?
How did you install HA?
HASS on a VM
Home Assistant with the Supervisor?
Home Assistant Core in a venv?
Something else?
I'd ask in #330944238910963714 - but the SSH add-on should hopefully show them
yea just recently it went away - always been there before
but its odd because i have icons in there that show up on the frontend still
i will ask HA
thanks
Does anyone else ever tweak their frontend on their phone? The YAML editor drives me nuts.
This is going to be a strange question, but is it possible to put a state icon in a picture element but have no icon show up? I'm trying to use the decluttering card (https://github.com/custom-cards/decluttering-card), but I have a lot of similar picture element cards, but some have 3 switches while others have 2. I'm trying to figure out if I could just put a "dummy" switch in one of those spots
Is there a way to change the icon by state in Lovelace yet?
@lament lava IMO...that's asking for trouble. I guess if it were an emergency, but otherwise...no.
@past falcon either way, but mdi:this-icon-does-not-exist or just mdi:fake will do for the icon
@small badge I use icon templates most everywhere for that, docs have several examples as well as my repo, but I also use YAML
@atomic glacier Doesn't I have to use a template sensor for every entity I want to change the icon for?
You weren't very clear on what else you needed/trying to accomplish. You should be able to assign templates per domain/entity type globally. Or customize per entity for just changing the icon.