#frontend-archived

1 messages Β· Page 145 of 1

frosty pelican
#

looks to impact any more info panel that needs scrolling.....just added a screenshot showing another case

#

odd because on the android app it looks correct

pastel valley
#

Hi dont know if this right place to ask, but try to fix today why not getting custom cards working my Hass.IO. First time try to get them working, use picture elements view on my tablet and try to add custom cards there but not worked. Every time i try add custom card i get this error (now try to get this working, but i try other custom cards too and they not worked)

#

Custom element doesn't exist: bar-card.

rustic coral
#

This doesn't seem right:

      - url: /local/custom-lovelace/bar-card
        type: js
#

Change to this

#
resources:
- url: /local/custom-lovelace/bar-card/bar-card.js?v=1.0.0
  type: js
pastel valley
#

try that too, but not helped

#

get this kind view on my frontend

icy patrol
raven nacelle
icy patrol
#

@raven nacelle thanks - however, the weblink still shows in a card

#

i just want the link to display and not inside a card

raven nacelle
#

display where?

icy patrol
#

just under an exisiting card

raven nacelle
#

use a vertical stack

icy patrol
#

i guess everything needs to be in a card?

raven nacelle
#

Yes, things have to be in cards

icy patrol
#

ok

raven nacelle
#

which will stack two cards

icy patrol
#

is there a way i can make the card transparent

raven nacelle
#

don't know....look at themes

icy patrol
#

@raven nacelle
this did it
style: |
ha-card {
--paper-card-background-color: rgba(0, 0, 0, 0.2)
border-radius: 15px;
overflow: hidden;
width: 14%;
margin: auto auto;
padding-top: 0px;
box-shadow: 0px 0px 0px 0px
}

#

with a markdown

heavy pasture
#

I have a strange issue that I need help trying to resolve. I had trouble updating from .104.3 to .105.x. Lovelace would not load and no error messages in ny of my logs. What I have tried is updating and then using samba to modify my Config to just the default and also delete lovelace file. This allowed me to load lovelace in my browser. I then slowly added my configuration.yaml and rebooted to test to see if there were any issues. There were none. I then started addin my HACS custom devices and all that I had before added with no issues. I can reboot and lovelace loads. I then started adding my cards. After one added, I could not load Lovelace after a reboot. They only way that I was able to get Lovelace back was to start again with a default config and no lovelace. This makes no sense. How come it doesn't load safe mode? Again, there are no errors in the logs. Is there anyway for me to try and figure out what the issue is?

mild veldt
#

how are you editing lovelace?

#

lovelace errors would be in the browser's console window, not the HA logs

heavy pasture
#

I have tried in the raw editor. I was going to switch over to yaml mode, but it failed again.

#

The errors were manifest json, iconset.js and I believe a lovelace error. Not up right now. Trying again.

#

.104.3 works great. I have had all types of issues trying to update. First, nothing shows in the config check. I have 11 breaking issues listed, but none of them are any of my addons.

#

ssh, automation and samba work

#

Why I have been trying is slowly load my configuration.yaml, reboot and then see if it loads. All of it has loaded. I then try loading lovelace HACS add on. This seems to work. When I start added my old cards, lovelace fails to load

raven nacelle
#

how are are you adding your old cards?

#

editing ui-lovelace.yaml?

icy patrol
#

i disabled a couple entities in HA via registry - but now i want to add 1 back, where do all my disabled entities go?

split granite
#

Same place πŸ˜‰

icy patrol
#

ahhhh

#

THANK YOU!!!!

heavy pasture
#

I have the code saved in a txt file and I add each card one by one to the raw editor.

#

Without any errors, it is hard to figure out which custom integration / component / add in is preventing lovelace from loading.

mild veldt
#

@heavy pasture did you look at the browser console output?

heavy pasture
#

I did. What am I looking for?

#

I have posted all the errors before and was told to look at either su or core logs and not the browser

mild veldt
#

well I'm not going to scroll through chat looking for when you posted console errors πŸ˜‰

kind shellBOT
heavy pasture
#

well I'm not going to scroll through chat looking for when you posted console errors πŸ˜‰
@mild veldt I'm not asking you to. I will find the error and post. What I asked is what am I looking for?

#

By the way, I posted the error and several others on Github. I am looking for it now

#

20-02-06 16:04:19 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].

mild veldt
#

hmm, websocket issues shouldn't be be related to Lovelace changes

#

Unless the backend is rate limiting the frontend because of bad behavior...I do lots of Lovelace dev work, but am not too knowledgable about the websocket behavior

#

What repo did you report this to on github?

heavy pasture
#

There are several. One is 31560

#

I am a fairly new user, less than 8 months, but I am familiar with coding. I am a retired ee and understand directions, etc. I know I am most likely using something that is custom, untested, etc that is causing the issue. I would like to help and make it better. Just need more knowledge to try and figure out what is going wrong.

#

Unless the backend is rate limiting the frontend because of bad behavior...I do lots of Lovelace dev work, but am not too knowledgeable about the websocket behavior
@mild veldt Is there a different support category I should be posting in? There were a lot of people posting on the forums when .105 came out with very similar issues.

wheat current
#

That was different

#

They did not read, and just updated

#

A good start for you, is to share the active config + browser console logs.

kind shellBOT
heavy pasture
#

They did not read, and just updated
@wheat current What does they did not read mean? I May have a different issue also. I just added to my config.yaml file just the line to change lovelace to yaml. Did a restart and lovelace loaded, but no other tab worked correctly. Right now I am trying a ha core rebuild. My configuration.yaml right now is very basic (default plus lovelace and duckdns). Lovelace is just what HA built. No custom cards added. I have tried a fresh install and using my current lovelace and configuration as a guide I tried to build a similar system. I would only get so far and I would be back in the same lovelace not loading boat. I also tried a fresh install and restore a snapshot and that failed to load lovelace. Something in the code changed from .104.3 to .105 that is causing me issues with my custom system.

wheat current
#

I really dislike that quote "feature", bad move discord!

mortal cape
#

I really dislike that quote "feature", bad move discord!
@wheat current I also hate it

muted inlet
#

@wheat current I also hate it
@mortal cape me too

#

we must go deeper...

split granite
#

@wheat current I also hate it
@mortal cape I wonder how deed the rabbit hole goes?

#

(probably that's it, fortunately)

muted inlet
#

yeah, only two deep

#

bummer

vapid field
#

Hi there, I have a problem with my UI setup: I use the custom:floorplan-card to integrate an SVG-file with some nice effects, etc. into lovelace. This works all very well without issues. However, when navigating on the left menu to another page in HA (e.g., from lovelace to profile or from supervisor to community) to whole web page gets stuck. Also reloading does not work. The browser needs to "stop the webpage" because it hang. When then loading from scratch the webpage gets loaded without a problem, but again navigating to another page gets the browser stuck. This could be verified with firefox, chrome (desktop) and fully kiosk (pad). Any help, suggestion?

muted inlet
#

not now, we're messing with ludeeus

#

jk

#

cleared the cache?

wheat current
#

Good thing the block feature still works

muted inlet
vapid field
#

cleared the cache?
@muted inlet yes. no difference.

heavy pasture
#

I changed back to the standard lovelace ui from the yaml mode and all the tabs work again.

raven nacelle
#

I am sure it is something to do with your ui-lovelace.yaml. Start simple...one card at a time. You mentioned Did a restart and lovelace loaded, but no other tab worked correctly. Sounds like issues with ui-lovelace.yaml

heavy pasture
#

I'll try again tomorrow. I just copied the text file that ha created and pasted it into the ui-lovelace.yaml. I'll start with a very minimal one and work from there.

#

Still not understanding all the connections. Why would Lovelace load but the other tabs not?

raven nacelle
#

what do you mean Lovelace load but the other tabs not?

#

may be you have not defined tabs correctly

heavy pasture
#

When I added in my configuration.yaml the Lovelace.yalm mode and rebooted the overview that shows Lovelace loaded. All the other tabs had errors. When I reverted back all the tabs work again.

raven nacelle
#

yeah, that just sounds like your ui-lovelace was not quite right

heavy pasture
#

Ok. I'll try again either later tonight or tomorrow with the minimal Lovelace.yaml shown in the docs.

#

Why would a bad Lovelace file make all the other tabs go bad?

raven nacelle
#

garbage in -> garbage out

heavy pasture
#

I created the file by copying the raw editor text and pasting it like the direction said. Hopefully with the minimum one I can figure what is going on. My issue is that I am not getting any errors in the logs.

noble galleon
#

I just got HAC up and running. When installing custom cards for love lace, I add the two lines to the lovelace raw config (type: module, and the URL to the .js file)

#

Should that be enough to get the card to appear in lovelace or do I need to do something else, because I don't see anything getting added

muted inlet
#

You won't see a new button for it in the UI, you'll need to do a manual card

noble galleon
#

Ah ok, now I got it, thanks

icy patrol
lavish solar
#

how do the calendar cards (ie atomic) load more than the next event if there are no sensors for it

odd light
#

They don't

#

Limitation of the Google calendar integration

lavish solar
#

Ah. Ok

#

I assumed it did with the calendar.yaml change to get more than 5 events

#

I wonder what the reason is

odd light
#

Question for a programmer haha.

rustic coral
#

try that too, but not helped
@pastel valley Whats inside of your www folder?

split granite
#

@stiff quail No, you can later revert, but obviously all your customisations are then gone

stiff quail
#

@split granite how do you revert?

split granite
#

~irc @stiff quail

kind shellBOT
#

@stiff quail Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.

split granite
#

I think you just have to delete .storage/lovelace, but I've never understood why anybody would want the auto generated UI so I'm not sure 🀷

vapid field
#

How can I troubleshoot the frontend?
When ever i open a overlay/popup the whole page freezes for good


edit:
Huh.. only got this issue with the android app and the brave browser πŸ˜•
Firefox is working fine

stiff quail
#

thanks Tinkerer - I've had a good play and I am enjoying lovelace

#

do you know why this wouldn't work

resources:
  - type: module
    url:
    /community_plugin/custom-header/custom-header.js
    /local/timer-card.js
split granite
#

Two URLs?

#

That's not how it works...

stiff quail
#

how can I get two modules to work?

#
  - type: module
    url: /community_plugin/custom-header/custom-header.js
  - url: /local/timer-card.js
    type: module

Is this the way to get the timer-card and custom-header to work?

split granite
#

Yup, standard YAML

stiff quail
#

thanks πŸ™‚ sidenote: have you ever used Glances?

split granite
#

Not with HA

#

I use netdata for similar monitoring

icy patrol
atomic glacier
#

@icy patrol I haven't used state-switch to 'swap' cards depending on the state of an entity much, but AFAIK it has to hold the place in your lovelace view so it has a place to display when the state matches. Not the same way that a conditional-card does. Which sounds like you may be thinking of πŸ€·πŸ»β€β™‚οΈ

torpid echo
#

I am using custom-header. in the below code, if there a way to check for the active tab to invoke animation only when the referenced tab (with index 3 in this case) is active header_text: >- {{ user|title }} <font size=2>{{ hours12 }}:{{ minutesLZ }} {{AMPM}}, {{ dayNum }} {{monthNameShort }} {{ year4d }} </font><style> @keyframes rotate_ {0%{transform:rotate(-360deg)}} @keyframes sar-utha {45%{transform:rotate(45deg)}} </style> tabs_css: '3': 'animation: rotate_ 2s linear infinite;'

sage lance
#

Just updated to 106.0 and my entity buttons won't change color now when the entity is on

#

Any fix?

odd light
#

that is intended

#

you can manually set them one by one I believe

#

no universal turning back on

sage lance
#

Ok I can do that but how? :)

odd light
#

I think it goes under customization

frosty pelican
#

state_color: true

#

in 0.106 more cards support it is what changed i believe

#

havent updated yet so not 100%

sage lance
#

@muted inlet works perfectly. Thank you!

#

@frosty pelican Thank you too!

tropic pike
#

after 106.0 some of my lovelace pages are not showing any cards, even tough they're still present in the lovelace config. Any ideas?

mild veldt
#

@tropic pike any errors in the browser console?

#

@sage lance state_color should be true by default on the entity button. Can you log an issue on the polymer repo?

tropic pike
sage lance
#

No access to PC today. Would be nice if someone could do it quickly

tropic pike
#

@sage lance state_color should be true by default on the entity button. Can you log an issue on the polymer repo?
@mild veldt It doesn't seem that way, i just changed it on mine, and now it works..

tropic pike
#

Problem seems to have fixed itself, thanks for trying to help anyway @mild veldt

wooden latch
#

Hi, with the 0.106 HA Core update, all my Lovelace cards (dual gauge and gauge) are giving the error in the card "Attempted to assign to readonly property."... Anyone able to help with this?

mild veldt
#

@tropic pike @sage lance yeah, I messed up adding state_color to button card. I'll have it fixed in the next point release

sage lance
#

@wooden latch I have that issue with one of my cards that use the mini graph card

#

@mild veldt it was quickly fixed by adding a line but nice to fix it globaly before more users start noticing :)

mild veldt
#

@wooden latch yes, the config is frozen now and custom cards should not be writing to the config. The custom cards need to be updated

wooden latch
#

@mild veldt thanks for the explanation

mild veldt
#

Suggest logging issues on the respective cards if there isn't already one

sweet sail
#

hi, after upgrade to 0.106. I have problem with custom mini-graph-crds, they does not work together with build in cards

split granite
#

Check what version you have installed

sweet sail
#

I had some old version, but upgraded right now to 0.9.3, and it is working, thx

wintry estuary
#

Aah, same issue I have I bet

#

Yep πŸ˜†

split granite
#

HACS is handy for letting you know when you're running an outdated version of something you installed (with it)

frosty pelican
#

we should add that bit to the breaking change and maybe also mention it when we link to the blog post for custom card devs

#

seems a lot of people are gonna run into that one

split granite
#

Yeah, but that'll come up in many releases. Remember to update your custom components shouldn't be a surprise 🀷

frosty pelican
#

yea true

split granite
#

That said, a footnote of Remember to update any custom components isn't a bad thing

frosty pelican
#

i wonder if the frontend can detect if the card is custom and display a friendly reminder to update it

rich trellis
#

Apologies if this is the wrong area, but does anyone know if it's possible to change the names of an entity on the glance card? I'd like to make the names shorter, but not change the entity title in general everywhere else.

raven nacelle
rich trellis
#

Perfect! Exactly what I was looking for, thank you! πŸ™‚

#

Slightly different question. Since the resource is a binary sensor, is there a way to change the label of On/Off to something else?

rich trellis
#

Thank you! Will try to read through this. Moo

odd gate
#

Hi all i just did a upgrade to the new version and now i cant see anything and i am getting a error Don't use 'server_host' options with Hass.io
i am so lost

feral rivet
#

So within the ui when I enable panel mode for view, all the other cards on that page disappear. Anyone able to shed some light on why this happens?

atomic glacier
#

It will only display the first card

feral rivet
#

hey Dino, man I am still trying to wrap my mind around your mobile UI, that is some serious stuff. Well okay that is a bit of an odd setting

atomic glacier
#

...but first card can be layout-card though...or vertical-stack etc...

#

And contain other cards within the first card. That's how you get the layout effect to be what you want

feral rivet
#

I see ok I need to dive into that a bit more

#

Is that what you are using for some of your cards?

atomic glacier
#

Pretty much layout card for all views...flexible

rich trellis
#

@muted inlet so I tried reading through the doc and I've struggling to understand it. I've added the following to my configuration.xml to try and set device_class, but when I run the tool to check the syntax of configuration.yaml, it fails on the line with device_class

homeassistant:
  customize:
    binary_sensor.leak_sensor
      device_class: moisture
muted inlet
#

should be binary_sensor.leak_sensor: (note the colon at the end)

#

though, without your code formatted properly it's hard to tell if that's the only issue

kind shellBOT
#

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

rich trellis
#

Nice that was it! I had to restart home assistant for it to take effect, just reloading config didn't see to update the UI. Thank you for catching that!

rich trellis
#

Sorry one last question for tonight. How do you leverage tap_action on entities card? I see the type is of map and am trying the following code, but it doesn't seem to like that

type: glance
entities:
  - entity: switch.rain_mode
    tap_action:
        action: more-info

https://www.home-assistant.io/lovelace/entities/#tap_action

mild veldt
#

@rich trellis you've indented too far

type: glance
entities:
  - entity: switch.rain_mode
    tap_action:
      action: more-info
rich trellis
#

After removing one space, here's the error I receive:
Expected a value of type {entity,name,icon} | entity-id for entities.1.tap_action but received {"action":"more-info"}.

mild veldt
#

yeah, the UI editor doesn't support actions, but it's a editor error. Not an error in your configuration

rich trellis
#

ah, so it's just a false positive?

mild veldt
rich trellis
#

oh interesting, I didn't even notice that the entities card was different from glance. sorry, still learning. Thank you for the help, I see it's an editor issue, I tried changing the action type and it behaved as expected.

mild veldt
#

πŸ‘

orchid mural
#

Hi guys, are there anyway to change the individual icons of the command line switch i created? Like the command_off button to X icon and the command_on button to Check icon.

#

Trying to do some conditional card in lovelace base on check or x option.

main night
#

ok yeh everyone is having issues with custom-bar card and mini-grpah card i guess we need to wait for updates

#

thats for 106 i ment

slim cave
#

when I click a binary sensor, I see more details below the graph. How do I access them and display them in an entities card? e.g.: device_tracker for my cellphone has gps accuracy displayed when I click the entity.

latent moss
pastel valley
#

@pastel valley Whats inside of your www folder?
@rustic coral thanks for help. Problem is solved now, my resources list be wrong place in my lovelace-ui.yaml

fathom vault
#

is it possible to remove the 'Map' entry, from HA sidebar?

pliant obsidian
#

The maps that HA uses have been updated today πŸ₯³

fathom vault
#

updated?

torpid echo
#

no nothing to do with hiding the map though πŸ™‚

short jetty
#

I upgraded to 0.106 last night and this morning none of my lovelace pages render unless i refresh them

mild veldt
#

@short jetty clear your browser cache and look for errors in your browser's console

remote mango
#

I get Cannot assign to read only property '0' of object '[object Array] error on mini-graph-card, what could be this? Started yesterday after upgrade 106

mild veldt
#

It's an error in how the card handles its configuration. It is trying to write to a frozen config

#

The author will have to update the card

remote mango
#

thank you, will wait! thought I must change something

vapid field
#

hello everybody is this the right channel for a few questions by a newb on the Lovelace UI setup?

frosty pelican
#

man I am so stuck in my ways....i held on to monster card until its death πŸ˜‚ time to switch to auto entities πŸ˜„

vapid field
#

a) I would like to move a couple of those cards to a screen called "Server" with CPU temp, Fastweb ADSL speed etc ... is it possible? What is the best practice for groui

#

sorry grouping things?

#

b) Can I remove those little circles above when I expand them into a full size card below? As an example of this Salotto Temo (living room temp) which is both as a circle at the top but also a Gauge in a card

#

and lastly c) I see beautiful smooter graphs as opposed to the very basice ugly Fastweb card, what type of card would give me more control on graphing a time based value in time?

#

aw sorry really the last one πŸ™‚ The iframe card allows scrolling the image within it. Can I avoid that? When it's on my cellphone instead of scrolling down the UI to the next card, I scroll the map within the iFrame

velvet python
#

Rright click the 3 dots in the upper right and select configure UI. Then click the + sign to add a new tab. I have one I named Testing. I try new cards there and once happy with them i click the 3 dots on the card and move it to my home screen.

frosty pelican
#

well that was much easier than anticipated lol

vapid field
#

Is there an example gallery of how cards look and how they can be customized

velvet python
#

not that I've seen but i havent spen much time looking either. That is why i have a tab for testing.. try a card and if i dont liek it , delete it. move to the home screen when happy. I' havent tried any custom cards yet.

frosty pelican
#

yea this is defnitely a case of "why didnt i do this earlier" lol

mild veldt
velvet python
#

looks cool!

wheat current
#

Did I dream or are resources changing/has changed?

mild veldt
wheat current
#

That will definitely probably break HACS :/

woven merlin
#

Is it possible to combine an Entity-Filter with a 'custom:auto-entities' filter? Looking to show all entities that are doors and are "Open"

tiny trellis
#

This may have been a question that has been asked a few times now, but why do my fan no longer show up in an entities card?

muted inlet
#

What do you mean?

polar kelp
#

@wheat current Yes, that's an anoying one. But I'm sure we'll solve it. It breaks lovelace_gen too.

tiny trellis
#

in the entities card it shows that an item has basically gone missing. I have double checked the item and it is correct

polar kelp
#

@woven merlin auto-entities can do that by itself. Compare to the example with entities that are lights and on.

woven merlin
#

Thanks I'll look for the examples and go from there.

muted inlet
#

@tiny trellis you sure the entity ID matches?

tiny trellis
#

yes triple checked it

vapid field
#

@mild veldt thank you it looks very nice

wheat current
#

Adding support for the new, will probably not be that hard (at least not for HACS), but supporting both the old and the new πŸ€·β€β™‚οΈ

polar kelp
#

yeah

wheat current
#

Good thing I implemented a minimum HA version HACS looks for, worst case I can just use that πŸ˜›

mild veldt
#

@wheat current just breaks the "add to Lovelace" part, right?

wheat current
#

That and all cards will show as "not loaded"

#

I'm guessing, will pull dev branches this weekend and try

tiny trellis
#

Well guess the fans issue is not important now. Just updated hassio and now when it tries to start this is the error I am left with "[FATAL tini (7)] exec /bin/entry.sh failed: Exec format error"

tulip pagoda
#

Is there any good documentation on what to CSS when creating a theme... All main divs and ids?

vapid field
#

is it possible to have a gauge that has a normal (say green) range between 40 and 60 and "too low" (under 40 in red) and "too high" (over 60 in blue) ??? For humidity

tulip pagoda
#

@vapid field Mini Graph Card (Custom card)

vapid field
#

@tulip pagoda thank you. sorry but first time user ... do I find the custom cards in the same way I do for the standard ones or do I need to add them in some other way?

#

I do not see them jusy by clicking the orange ADD button

tulip pagoda
#

HACS is the easiest...

kind shellBOT
#

@tulip pagoda Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.

tulip pagoda
#

@vapid field Sent picture how it can look and some of the config...

#

You need to read up on custom components

vapid field
#

ok thanks

feral rivet
tiny trellis
#

this is the fan in an entity card issue that I am running into
Unknown type encountered: entity.
type: entity
entity: fan.jasco_products_14287_fan_control_switch_level

mild veldt
#

remove type: entity

#

I assume a custom card wrote that to your config previously

tulip pagoda
#

In themes i have nice rounded borders round each card... Creating a vertical stack i want borders round the entire stack...anyone who can drop me the css ids ?

mild veldt
#

@tulip pagoda you're only option is the custom vertical-stack-in-card as core stacks are not cards

tulip pagoda
#

AFAIK he must have themed it?

#

The processor use inside of System

mild veldt
#

those are just rows in the entities card

fierce coyote
modern breach
#

yeah, my fkin keyboard does that once in a while, unplugging it makes it stop for me

#

but else, no

fierce coyote
#

for me its on every computer, like macbook and pc, ..

feral rivet
#

I am trying to wrap my mind around layout cards. I have an example from HACs that I have copied and pasted . I want to card take up the whole space , but no change to the code are showing this. Can anyone take a look and point me in the correct direction to fix this. https://paste.ubuntu.com/p/Z5gnG8zHmx/

split granite
#

If you want something to occupy the whole window, make it a panel

feral rivet
#

so when I toggle the panel switch in the ui I am only able to add one card? Do I add panel: true to the code ? if yes is there a particular spot?

split granite
#

You add one card, which could be a layout card holding other cards

keen agate
#

Is there an easy way to add links to the sidebar that open in a new window/tab ?

velvet python
#

yes. edit your config.yaml file. I have a link for my router page

#
  router:
    title: Router
    icon: mdi:network-router
    url: http://192.168.1.1
keen agate
#

in configuration.yaml ? just put anything like that? ie.

mysite:
title: mysite
url: myurl
?

#

i get an error integration 'router' not found using your example

velvet python
#

sorry.. i missed the first line

#
panel_iframe:
  
  router:
    title: Router
    icon: mdi:network-router
    url: http://192.168.1.1
keen agate
#

that doesn't open in a new window or tab though does it? it opens side the ha ui

#

i basically want an <a target="_blank">my link</a>

velvet python
#

oh right, switches the tab you're on

#

you can right click and open in a new tab though

#

goota run. good luck!

keen agate
#

thx

atomic glacier
#

@feral rivet IMO...unless you are very familiar with grids you will drive yourself nuts trying to learn layout-card with those settings. I had to search to find this old post, but it is a more basic working example.
Here:
"lovelace-layout-card basic example:
screenshot: https://imgur.com/a/HsQLL29
code: https://paste.ubuntu.com/p/Vkz22WbTcv/ A bunch can be done with this layout style for anyone needing direction..."

tulip pagoda
#

is there som sort of divider i can add in glance

mild veldt
#

In glance, no

#

There is in entities card

jade bough
#

I have been using home assistant for a couple weeks now and have been looking for some dashboard examples with not much luck. anyone have a good spot for me to start at?
Mainly interested in just seeing what other people may be doing so I can get some ideas on how I want my layout to look like.

feral rivet
#

@atomic glacier thank for that man, that does look a lot simpler

feral rivet
#

so Dinotech, this card is vertical, If I want to take up the whole page how do I make that happen?

feral rivet
tawny lynx
#

With the latest push, I love the map being in the more info when clicking a person entity...but it clamps the map extent to the ground, and even if you zoom out, it zooms right back in - and I can't tell where someone is. Is this only me, or is this a bug?

ancient harness
#

dang.. upgraded to 106.1 and tons of my cards broke :S looks like they're still broken in upstream with some open issues 😦 damn me and my eagerness to update

muted inlet
#

Can always roll back

ancient harness
#

eh, it's just some button rows that i don't use a lot, so i'll live with it for now

atomic glacier
#

@feral rivet for starters...max_width has to be this way in layout-card: max_width: [5%, 70%, 5%, 15%, 5%] not an array.

feral rivet
#

@atomic glacier so I did not place them that way once I copied and pasted into the manual card , that's the way it saved. I manually changed them.

atomic glacier
#

yeah, I forget you use the editor. Changes things up a bit...

feral rivet
#

Lol yep

#

So for this to work, I would need to work in yamal, but I would loose all my other cards and settings.

atomic glacier
#

Should work in editor, it's just different format, but works the same. Let me get a really simple one that should get you going

gilded veldt
#

hey guys how do i refresh app.yaml with out rebooting hassio

#

is it possible to do so?

feral rivet
#

Thanks much. Hoping to be able to create 3 views using layout card. Mobile, tablet and desktop

atomic glacier
#

just a test layout

#

oops! ignore the last entity, copy error

feral rivet
#

How do I get the max width to show this way in the card and not change up?

clear echo
#

Since the latest update, my Garbage Collection card is bugging out, I found out that mod-card is giving issues and it just outputs a red card with an error.
I found out that changing mod-card to auto-entities helped it function again.
However now my whole home screen is empty and not showing any cards anymore.

My current code uses a custom:auto-entities for the card type, and custom:card-templater for the 3 garbage picture-entities.

#

Sorry i mean the picture entities uses card-templater

#

and the whole card is a auto-entities

#

I can change the picture-entity type to mod-card ad the home screen is visable again, but then the name(status) of the 3 garbage icons is showing its entity name instead of the remaining days untill collection.

polar kelp
#

... huh?

vapid field
#

General question, with all the push for UI config handling You guys think there'll be a way to edit picture elements via GUI? That's only thing I hate about YAML, placing things on my floorplan is pita

clear echo
#

@polar kelp was that towards me? I can post the code to make it more clear

polar kelp
#

Why are you using mod-card with a card that has a ha-card element? Mod-card is the workaround to be avoided at all cost.
How can auto-entities replace mod-card? They do totally different things

#

And did you update to the latest card-mod?

clear echo
#

I got all the updates for the cards, I havn't created the code myself, just dived into HA, still figuring stuff out, loaning codes from others.

#

This code is giving me an empty home screen

#

This one is showing the 3 garbage collection buttons, but giving the entity names instead of the amount of days left to collect.

polar kelp
#

Is your repo private?

clear echo
#

And as I said, I'm just dipping my toes into HA, trying to learn from the code I use.

#

Hold on

#

Could you try again?

polar kelp
#

The links work now, but I have to run. Sorry.

clear echo
#

No problem, thanks

polar kelp
#

I'd recommend you start over with this one. And work from the inside out. Start with the picture-entities card, then add style: to that, and then - once that's all working - wrap each picture-entities in card-templater.

clear echo
#

Alright, thanks, I'll look into it.

rose garden
#

Hello, I'm trying to use ADA or MOPIDY and it does not detect my vmware soundcard in hassio, can anyone help?

short vale
#

Has anyone profiled the front end? The entities page is very slow to respond and makes safari and chrome unresponsive when you have say 700 entities,.

#

Also there seems to be bugs with removing entities. I select all matching a filter, and I go to delete, I have 40 selected and it's like do you want to delete 3? I click yes any way then my selection always says 0

split granite
#

@rose garden I'd try in #330944238910963714 to start with - that's nothing to do with the frontend

short vale
#

Also, noticed last night if you have any automations or scripts defined in yaml on disk. You can go through adding a new one via the ui but it never saves. It doesn't tell you why, this is a bad experience.

split granite
#

That should still work, lots of people have done that before

#

Of course, the recommendation is don't do that

#

Split your own automations out from automations.yaml

short vale
#

yeah, I don't have any in that file, it's a dir merged list. But thinking I just need to move everything into .storage and get over the fact that they all live on github :\

split granite
#

If you've only got automation: !include_dir_... then that's the problem

#

You need automation: !include automations.yaml for the editor

short vale
#

ok

#

I'll convert that

split granite
#

Worth opening an issue though

short vale
#

ok

#

think it's worth opening for the front end issues I'm seeing too

#

I should just dig into it and figure out what's going on

rose garden
#

@split granite I thought it was only for instalation, I'll try there, thanks!

short vale
#

@split granite It wasn't a merged list after all automation: !include config/automation.yaml hmm, any ideas on this one? Perhaps because it's not at the root? Well this has to do with the front end not allowing me to edit or add existing automations.

split granite
#

(see what I wrote)

short vale
#

I can move it to that channel but this has to do with the front end not allowing me to edit or add existing/new automations.

split granite
#

Well, sorting out your include isn't about the frontend

#

The problem there is that you're including a file that the UI isn't editing

#
automation: !include automations.yaml
short vale
#

I'm just stating it's a simple include and my automations are working but my sole problem is I can't edit it or add new ones in the ui

split granite
#

Because you're including the wrong file πŸ˜‰

short vale
#

and there are no validation messages or errors in the ui. It's just a terrible experience :\

split granite
#

So open an issue

#

I'm pretty sure though that it's editing and saving just fine

#

Your config:

automation: !include config/automation.yaml

Correct config:

automation: !include automations.yaml
short vale
#

looking.... yep I see a new file in the root (I don't want any of my configuration in the root), it's just not respecting my configuration location and it's not updating in the front end... that's the problem. I'll create an issue

split granite
#

Sure, but ... that's not how the editor works

#

The editors edit specific files

short vale
#

it should throw an error then πŸ™‚ If the yaml file isn't in the right spot

#

fail fast!

split granite
#

That's a you problem πŸ˜‰

#

You've configured HA to ignore the file

short vale
#

not ignore, I told it to load it from where I want to, using a config structure many many people are using

split granite
#

Well, then I wish you luck with opening an issue on that one... I doubt you'll have any luck 🀷

tiny trellis
#

does anyone know an easy way to set the duration for timer from the frontend?

short vale
#

like to auto log out?

tiny trellis
#

No, like I need timers for items (lights, food and such) and I need them to be albe to have a custom duration established in the frontend

kind shellBOT
#

The input_number component allows the user to define values that can be controlled via the frontend and can be used within conditions of automation. The frontend can display a slider, or a numeric input box. Changes to the slider or numeric input box generate state events. These state events can be utilized as automation triggers as well.

# Example configuration.yaml entry
input_number:
  slider1:
    name: Slider
    initial: 30
    min: -20
    max: 35
    step: 1```
mild veldt
#

Soon you'll be able to configure those on the frontend as well

#

No yaml at all

split granite
#

That'll be nice for those new to it

mild veldt
#

I'm looking forward to dynamic timers, which would really be the best solution for @tiny trellis

split granite
#

Aye

muted inlet
#

oooo fan πŸ‡¨

tiny trellis
#

I appreciate your help. Just got to add a few extra steps to do what I need not too bad for now.

tired willow
#

I am looking to integrate barcode scanner to my HA instance. Anyone has done something similar?

tiny trellis
#

Recently just had a new addition to the family and wife keeps cooking meals and getting side tracked and not hearing the timers in the kitchen. Time to make the entire house yell that food is done.

odd light
split granite
tiny trellis
#

@odd light I have it as a node red timer node now. But I have not found a way to change it easily.

odd light
#

Double click the node?

tiny trellis
#

I mean yes, but I need to be able change it from front end. Wife does not have access to nodered and never will.

tired willow
#

@split granite ok, will try the integration channel

sage epoch
#

Hey friends. I have this coming up in my config checker, but I can't, for the life of me, find it, what's referencing it, where it is. Scripts, automations are blank.

Component error: automation.reloadhomeassistant - Integration 'automation.reloadhomeassistant' not found.

#

oh my lord, I found it.

#

line 1 of configuration.yaml - why, I have no idea.

#

because I did not place it there. Anyway, crisis averted, thanks for listening!

feral rivet
sage epoch
#

I have discovered entities that I need to turn into devices.

#

like some Tuya lights

#

And some VeSync plugs

vapid field
#

anyone to help use mini graph cards? I have installed HACS and installed the mini graph cards in its plugins but I am at a loss on how to use the card inside Lovelace (when I click on Configure UI and hit the orang + button I do not have the choice of the mini card nor do I have a ui-lovelace.yaml' ). THANKS

sage epoch
#

@vapid field Mine looks like his, for example

#

lemme find it

vapid field
#

@sage epoch thank you very much

sage epoch
#

@vapid field I use a horizontal stack, and that's how I've got it used at the moment, does that help?

vapid field
#

ok in what file do you have that? I only have a configuration.yaml file as far as I know (warning beginner here) πŸ™‚

#

not sure where I have the cards I have defined via the UI customization interactive interface

sage epoch
#

@vapid field That is using the Lovelace UI editor, top right ---> Configure UI

vapid field
#

ok

#

when I do that I ususally click on the large orange Plus signs

#

and choose the card type

#

but the mini-card is not amongst them

sage epoch
#

On the bottom right, yep, then you can do "Manual card"

vapid field
#

aw ok

sage epoch
#

In that manual card, is where you can specify the custom card type

vapid field
#

OK thanks a lot will try

sage epoch
#

type: 'custom:mini-graph-card'

sage epoch
#

@vapid field in HACS, you have to make sure you integrate that into your lovelace raw UI,

#

Edited: Some plugins will have you click a button to add it automatically, some don't. This one doesn't, you have to add it manually

#

It should ask you to click on it, and in your lovelace UI, if you click "edit raw config" you have to add that line:

  • url: /community_plugin/mini-graph-card/mini-graph-card-bundle.js
    type: module
vapid field
#

OK FOUND IT !!!! When trying to add cards use the three little vertical button up on the right !!!! Finally found it πŸ™‚ Thanks

#

but that text is already there I think .. the first two lines say:

#

resources:

  • type: module
    url: /community_plugin/mini-graph-card/mini-graph-card-bundle.js
#

and on the RPi4 filesystem I see ./ha/homeassistant/www/community/mini-graph-card/mini-graph-card-bundle.js

#

ok thanks a lot @sage epoch, now that I copied your example in a manual card it works !!! Slightly annoying I have to remember the device names manually though 😦

vapid field
#

can anyone spot the error in this mini-graph custom card? The first subcard with just the red line works but the second one in which I attempt changing the color line with thresholds gives an error -> https://hastebin.com/hubalibipu.bash

modern breach
#

haven't tried that card myself, but the only thing I can see is that in the example the thresholds are the other way, starting with low and goes up while you have the other order

frigid gale
#

Did last update disable state colour on entitys ?

mild veldt
#

@frigid gale entities card? 0.105 did, by default. Check the release notes

frigid gale
#

yea entity card sorry

#

how can I get it back

#

buy custim

mild veldt
#

well, you could read the release notes

#

but the answer is by adding state_color: true to the card

frigid gale
#

okay thanks

mild veldt
#

but seriously, always read the release notes

frigid gale
#

yea I did but mine didn't change until 106

#

or I did not notice it

mild veldt
#

you did not notice or your stuff was cached

frigid gale
#

Is there an easy way to implement state_color: true to all of the UI?

mild veldt
#

use an IDE and ctrl + f 'type: entities'

frigid gale
#

In which file ?

mild veldt
#

if you use the UI to edit, open the raw config editor

#

otherwise, ui-lovelace.yaml

woven merlin
#

Is there a way to control the placement of cards in LoveLace where they're FIXED in place vs. moving when you resize browser?

mild veldt
#

@woven merlin layout-card

woven merlin
#

I’ll look that up

tender roost
#

Hello

#

I haven't been able to find a solution on the forums. I updated to the latest build last night. I tried the new sensor card.

#

My sensor card shows up but the graph is blank

#

I've wait thinking maybe it needs time to populate

#

Nothing still so I clicked on the card

#

It says, "No state history found"

muted inlet
#

check your logs. do you see anything like "database disk image is malformed"?

tender roost
#

Ok I'll look now thanks

#

@muted inlet yes

#

Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('hacs/config', '{}', 'LOCAL', '2020-02-28 22:09:58.622716', '2020-02-28 22:09:58.655746', '1ea1a9e86431419385f465bc551d4284', None)] (Background on this error at: http://sqlalche.me/e/4xp6)

muted inlet
#

delete home-assistant_v2.db and restart home assistant

tender roost
#

Ok ty

#

Ok that didn't help

#

But I figured it out

#

I uninstalled the disk space integration from HACS

#

Thanks as it helped me track down the problem

rose garden
#

Anyone can help with mini graph card?

#

Im trying to make an daily consumption bar graph

odd light
#

I'm trying to add a custom card, how do I do this part?
Add to your lovelace global config as type: module
Add custom card (works best in panel mode): - type: 'custom:zha-network-visualization-card'

#

I got it

#

what is panel mode though

#

like I can't delete the card

#

where is the raw config stored?

#

I need to totally remove this card I think from frontend

mild veldt
#

Well that's not a card so...

feral rivet
odd light
#

it was a card, and some other stuff, I got rid of all of it LOL

mild veldt
#

@odd light zha-map is an integration

odd light
#

yes, and then there is a card

#

it shows the map of your stuff

mild veldt
#

yes, but they are two distinct things

odd light
#

well one of them barfed on itself

mild veldt
#

I run them both without issue

odd light
#

well thats awesome for you lol I had issues.

mild veldt
#

explain

odd light
#

and its not like its complicated to set up.

#

so like, I couldn't add a view to front end anymore, it would do nothing, if I tried to delete the card it did nothing, if I tried to go into something like configuration it wouldn't load.

#

its like it broke my whole interface in strange ways, but I could see the card and my devices on it.

mild veldt
#

sounds like a browser cache issue

odd light
#

I wanna say I tried loading it in incognito but I can't remember now.

mild veldt
#

so you created a new view, added the card and turned on panel mode? or did you try adding it to a view with other cards?

odd light
#

well no, first I added a custom card to a view I already had, then I went to make a new video to do panel and it wouldn't let me.

#

yes

#

it said works best with panel, not it will break your interface unless you do it this way

mild veldt
#

wouldn't let you do what?

#

turn on panel mode?

#

@odd light what version of core are you running?

odd light
#

sorry, no it wouldn't let me do panel mode after I added the card to another view, which I think is what broke it

#

I'm on 105.5

#

haven't gone to 106.2 yet, been hearing people say they had issues.

mild veldt
#

very strange, I added it to a view and experienced some issues as well. But after removing still having some strange issues when editing cards; chunks not loaded in time. not sure what's going on

odd light
#

I thought you said it was working fine?

mild veldt
#

It has been. I can't say for sure that things are directly related

#

the card itself is pretty resouce intensive due to the library it uses

#

might be affecting performance and how quickly some pieces of code are loaded

#

the edit mode stuff is loaded on demand, and I saw that failing to load sometimes

odd light
#

I installed the guys card through hacs ans its not working in a new view picking panel mode

#

should I do it manually?

mild veldt
#

I did it through hacs

odd light
#
  • type: js
    url: /community_plugin/zha-network-card/zha-network-card.js
mild veldt
#

module

odd light
#
  - title: zha_scan
    path: zha-scan
    panel: true
    badges: []
    cards:
      - type: 'custom:zha-network-visualization-card'
mild veldt
#

I think

odd light
#

his installer did it that way lol

mild veldt
#

those are two different cards

#

there's the network-card which is a table/grid

#

and the visualization-card

#

the visualization-card should be type: module

odd light
#

Custom element doesn't exist: zha-network-visualization-card.
type: 'custom:zha-network-visualization-card'

mild veldt
#

what you posted for network-card is correct, it can be type: js

odd light
#

okay

mild veldt
#

so did you only install the network card?

odd light
#

and /config/custom_components/zha_map

#

do I need something else?

#

the module also?

#

zha-network-visualization-card-master

#

I got farther earlier haha

odd light
#

okay yeah

#

hold on

#

so 3 things, argh

mild veldt
#

you don't need the zha-network-card

#

I find it useful, but you don't need it

#

it doesn't use data from zha_map, it just shows data from zha itself

odd light
#

I think I have everything actually but am I missing something from lovelace config

#

I've only got this

  - type: js
    url: /community_plugin/zha-network-card/zha-network-card.js
#

oh you have to configure that thing

#

so I have custom_components/zha_map

#

and I added zha_map: to my configuration.yaml

#

what am I missing

#

okay its working

#

lol

#

good lord

#

I see the nodes and stuff on a black background

mild veldt
#

yep

#

i started on a rewrite of the visualization card tonight, see it can't be trimmed down and polished

odd light
#

it started making my HA run like crap again so I just got rid of it, I dunno why it hates me install.

modern plume
#

hi everyone, I am trying to have a card where, if i click on a timestamp, it assigns the current time and date

#
type: vertical-stack
        cards:
        - type: entities
          title: Plants
          show_header_toggle: false
          entities:
          - entity: input_datetime.plants_time
            name: Watered Plants
            icon: mdi:flower
            tap_action:
            action: call-service
            service: input_datetime.set_datetime
            service_data:
              time: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
#

the problem is that

#

oh, i guess i am missing an indentation on action

#

πŸ˜„

#

but yeah now that the indentation is fixed, the datetime doesnt get correctly updated, it stays the same

split granite
#

That looks to be a datetime not time

weary karma
#

@modern plume I haven't used input_datetime, but I suspect you'll need to specify the entity_id in your service call, otherwise it won't know which input_datetime to update

split granite
#

That does help too πŸ˜‰

modern plume
#

isn't that what i am doing on the first line of entities?

split granite
#

Nope

#

That's for the card not the service call

modern plume
#

oh

split granite
#

After all, you may be making a service call on something else

modern plume
#

yeah makes sense

split granite
#
            service: input_datetime.set_datetime
            service_data:
              datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
              entity_id: input_datetime.plants_time
``` _probably_
modern plume
#

uhm, no luck. reading the docs a bit more to see if i can spot the issue

split granite
#

The log file will likely have something useful

modern plume
#
{{ as_timestamp(now().strftime('%Y-%m-%d %H:%M:%S')) }}
{{ state_attr('input_datetime.plants_time','timestamp') }}

return

1582970153.0
1577833200.0
#

so I am not sure why this is not working 😦

#

log doesnt seem to show anything related to this

#
            tap_action:
              action: call-service
            service: input_datetime.set_datetime
            service_data:
              datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
              entity_id: input_datetime.plants_time
#

oh weird

#
<template state input_datetime.plants_time=2020-01-01 00:00:00; has_date=True, has_time=True, year=2020, month=1, day=1, hour=0, minute=0, second=0, timestamp=1577833200.0, friendly_name=Last Time Watered @ 2020-02-29T10:58:54.194468+01:00>```
#

what's the last part?

#

that seems to be the correct timestamp

#

or is that just the time when the info was retrieved?

#

friendly_name=Last Time Watered @ 2020-02-29T10:58:54.194468+01:00

weary karma
#

@modern plume Per the docs, try:

            tap_action:
              action: call-service
            service: input_datetime.set_datetime
            service_data:
              data_template:
                datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
              entity_id: input_datetime.plants_time

(Note the addition of data_template: above the datetime:)

modern plume
#

thought it was it, damn, but no luck still

#
tap_action:
              action: call-service
            service: input_datetime.set_datetime
            service_data:
              data_template:
                datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
              entity_id: input_datetime.plants_time
#

trying to call this from the developers tools now

#

and i get an error

#

Failed to call service input_datetime/set_datetime. extra keys not allowed @ data['data_template']

weary karma
#

What did you put in the Service Data box?

modern plume
#

service data looking like

entity_id: input_datetime.plants_time
data_template:
  datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
#

and if i remove data template

#

Failed to call service input_datetime/set_datetime. Invalid datetime specified: {{ now().strftime('%Y-%m-%d %H:%M:%S') }} for dictionary value @ data['datetime']

#

but the example shows "datetime": "2019-04-22 05:30:00"

#

oh is it the format of m and d that should be capital?

split granite
#

No

#

The format is correct, check it in Templates πŸ˜‰

modern plume
#

yeah already did, i just dont understand why it doesnt like the datetime specified

#

in templates it shows as 2020-02-29 11:32:32

#

which seems to be the correct format

weary karma
#

Oh, I misread the docs. The data_template would be instead of data in a regular automation etc - but for a tap_action you'd have to replace service_data... but I'm not sure if there's such a thing as service_data_template

#

as a test, try a static date/time like:

            tap_action:
              action: call-service
            service: input_datetime.set_datetime
            service_data:
              datetime: "2020-02-29 23:34:00"
              entity_id: input_datetime.plants_time

and see if it sets it as expected

modern plume
#

i dont think thats it cause if i do

entity_id: input_datetime.plants_time
datetime: "2019-04-22 05:30:00"

it works

#

oh wow, read my mind πŸ˜„

#

oh man, this is annoying

#
entity_id: input_datetime.plants_time
date: >
  {{ now().timestamp() | timestamp_custom("%Y-%m-%d", true) }}
time: >
  {{ now().timestamp() | timestamp_custom("%H:%M:%S", true) }}

this also doesnt work (taken from the docs)

#

starting to think this might just be broken somehow

#

i think i figured it out

#

no i didnt

#

i did the Fill Example Data which resulted in

entity_id: input_datetime.test_date_time
date:
  date: '2019-04-22'
time:
  time: '05:30:00'
datetime:
  datetime: '2019-04-22 05:30:00'
#

but that's possibly an error with the example data

#

anyway I tried and do it this way and still got an error

#

(just with datetime)

weary karma
#

I think the issue is that the tap_action doesn't support templating, so you'll have to take a more roundabout approach. Create a script, hit the menu button for the first action/step in the sequence and choose to "Edit as YAML" (as the UI doesn't support data_template) and paste in:

data_template:
  datetime: '{{ now().strftime(''%Y-%m-%d %H:%M:%S'') }}'
entity_id: input_datetime.plants_time
service: input_datetime.set_datetime

Then once you've saved the script, edit it again and check the URL for its ID (i.e. script.1582973996257), and put that into the following in your card:

    tap_action:
      action: call-service
      service: script.1582973996257
modern plume
#

mmm never worked with scripts but i'll give it a try. but just to clarify, i am trying to call the service from the dev tool, skipping tap_action entirely

weary karma
#

Yeah, I don't think the dev tool supports templating either.

#

Once you've created the script, there will be a little "play button" next to it in the list of scripts - you can click that to test it before you put it into the tap_action

modern plume
#

do i need the url? can't i call script.scriptname ?

#

(asking because i usually set things up directly in my yaml files, skipping the UI

weary karma
#

I don't see a way to name it like that from the UI. If you set the script up directly in YAML, sure, call it whatever you want

#

the URL was just the easiest way I could see to get the entity ID from the UI

modern plume
#

ok cool

#

ok so here's te neverending story

#

if i manually call the script via the dev tools, it works, the timestamp gets updated

#

if i call it via the tap_action, nothing happens

#

ffs XD

#

but i feel like we are definitely closer no

#

w

weary karma
#

It works via tap_action for me - I set up an input_datetime to test with and tested the script approach before I posted it here... what's your current yaml for the card?

modern plume
#
- entity: input_datetime.plants_time
            name: Watered Plants
            icon: mdi:flower
            tap_action:
              action: call-service
            service: script.plants_time
#

oh

#

indentation i think

weary karma
#

That does look like an indentation issue πŸ˜‰

modern plume
#

oh shiiiiiiiiit it works ❀️

weary karma
#

πŸ‘

modern plume
#

man, this is awesome, thank you so much

weary karma
#

no worries

#

Might be worth putting in a feature request for data_template support in various places - the dev tool, but most importantly in Lovelace card actions πŸ˜‰

#

(that's assuming there isn't already such a request, of course)

modern plume
#

i'll look into it. now i just need to make my card not to look like ass, wire up some notifications, and my plants will be safe πŸ˜„

#

"hey shitbag, you havent watered the plants in 3 days"

weary karma
#

Heh. I've gone for the more automated approach of using Mi Flora sensors in the pot plants at work, with HA sending a Slack message when a plant needs watering

modern plume
#

yeah didnt feel ready for that level of engineering πŸ˜„

#

i've got too many plants anyway ;d

#

but it is tempting to stick a buncha sensors

weary karma
#

Fair enough. I'm pretty sure the price of the Mi Flora sensors went up after I bought my first batch, and not by a small amount either. They're pretty good though, a complete drop-in BLE sensor - and you can either add them directly to HA, or (as I've switched to due to reliability issues with bluetooth on the Compute Stick I run HA on) an ESP32 with ESPHome, which just listens to the sensors' BLE broadcasts and relays the state back to HA

modern plume
#

any way I can "merge" an entity and a markdown card?

#

just would like to have some markdown at the bottom without having to separate two cards

fathom vault
#

@modern plume you could use a vertical stack to embed them both, but you lose ability to edit visually via lovelace

modern plume
#

i do have a vertical stack but they are still separated :S

fathom vault
#

oh you mean a border is appearing between them?

modern plume
fathom vault
#

hrm, not sure, sorry :/

#

if i understand this correctly, it creates an entity which generates markdown

#

and then you may be able to just add that to your entity card instead of a markdown card, not 100% sure though

modern plume
#

thanks

weary karma
weary karma
#

I've had an automation set up to switch between the default theme and a "dark" theme based on time of day for quite a while now, but I'm having some trouble when trying to set up a separate theme for use on a greyscale e-ink screen (one theme for all times of the day). I'm getting weird crossover between the "backend-selected" theme (the dark one right now) and the manually selected theme - for instance, I can't convince the text within cards (other than their headers) to be visible, because it's white in the "dark" theme and my e-ink theme makes the card backgrounds white. Does anyone know a way to stop this crossover?

#

It's quite odd - the ha-card polymer component seems to set the --primary-text-color to white all by itself when the "dark" theme is enabled on the backend - even though I'm specifically setting primary-text-color: '#000000' in my manually selected theme

heavy cove
#

I keep getting my tablet which logs in using it's own account and I have 'Custom Header' installed and this use automatically goes into KIOSK mode... The thing is.. every 45-60secs it does a page reload/refresh.. is this normal? can it be stopped? it's distracting when you see it out the corner of your eye have the page refresh

wintry estuary
#

Hey, I have a history stats sensor that I want to display a graph of. I would like a bar chart, with a bar for each day. I have the interval set to start at 00:00:00, and it ends at now. The sensor displays the proper time, but I am unsure how to display it in a meaningful way. I tried mini-graph-card but I couldn't get it to display the right values ..

gaunt elm
#

Not sure if this is a front end question, but I'm having a problem accessing my HA web from an old ipad 2. It just skips the uname/pw form and says "accessing from [HA LAN ip address]" before it says "something went wrong" . All other devices works just fine. Here's the log: https://hastebin.com/vemovinuga.sql. Can anyone please help me?

mild rock
#

Hey all, good evening. I feel a little bit lost and I need some advice. What is the best practice (in your opinion ofc) to create a Lovelace dashboard? In my actual setup I divided rooms to tabs and I can't be sure is it useful or not? So what do you prefer? See your entire home in one page or divide the rooms, floors etc to tabs and pages. Thanks a lot!

split granite
#

Use what works for you

#

I have an overview tab (showing all the lights and sockets that are currently on, the rooms that are occupied, windows and doors open), a tab for HA Floorplan, one tab for each floor, and then a bunch of admin tabs

#

That works for me - though really I rarely use any of them

mild rock
#

@split granite thanks for your answer do you use conditional cards to for lights or is lights & sockets always there?

split granite
#

Entity filter cards

mild rock
#

and one more thing ( I am not so sure that is it related to front end) Is there a way to delete discovered devices from integration page? I have a Ikea tradfri gateway couple months ago HA still thinks that there is a device but I totally disconnect it from network so it stuck somehow and send notifications time to time

#

thanks tinkerer I will look at it

split granite
#

#integrations-archived would be where to ask about that - I think you have to remove the integration, but you you can disable and hide things

placid galleon
#

I've created a "Horizontal stack card" with 4 entities in it (they are temperatures) is there any way I can remote the small thermometer icon to the right of the title?

#

it seems everything I tried, affected the "content" of the card but not the title of it (where the icon is located)

mild rock
#

@split granite entity filter is a great card. Thanks for the tip πŸ™‚

split granite
#

Yeah, I like having only things I need to know about in the default view

kind shellBOT
small badge
#

I have a little problem with mini-media-player. I have an Onkyo AVR and wanna see in the UI which source is currently selected, therefore I am using attribute, but nothing is highlighted. The buttons themselves work as expected.
Here is my config: https://paste.ubuntu.com/p/y5YfkwwzSB/

#

Okay, I figured it out. I have changed the id (formerly pc and game) to the "friendly names" in the config.

    sources:
      pc: "LibreELEC"
      game: "HTPC"
uncut wave
#

I feel like I might be stepping on a land mine here, but what's the deal with areas and groups? Areas can be configured on the front end, but I can't really figure out what to do with them past there. I can't add areas to an entities panel to toggle things on and off in them. I can configure groups in the configuration YAMLs, and then I can add them to the front end entity panel.

Is this just an oversight or are areas intentionally not set up for this type of use case? If not, what use case do areas really have?

mild veldt
#

@uncut wave areas just haven't been fully realized yet. More to come

uncut wave
#

I figured that might be the case

#

Is there a road map for them? I am interested in contributing but don't want to just recreate groups

mild veldt
#

@uncut wave there's probably some info in the architecture repo, but I'm not sure

uncut wave
#

Thanks for the info, I appreciate it

turbid root
#

If one does not exist, Id really like to get some advice on how to go about constructing one, polymer is a lot more sophisticated than previous frameworks I've used (bootstrap/django etc)

weary karma
#

I'm trying to make a device-specific theme, and I currently have backend-selected themes based on time of day. For some reason, the primary-text-color in the device-specific theme is being ignored if the backend-selected theme is a custom theme which also changes primary-text-color - so I end up with white text inside white cards, making it unreadable. Does anyone know how to either make the device-specific theme "reset to defaults" before applying, or to at least force its primary-text-color to "win" over the other theme's?

#

It seems weird that it tries to apply both themes - I would've expected manually selecting a theme to override the backend-selected theme, not to apply on top of it.

weary karma
#

Given that the description of the frontend.set_theme service call is Set a theme unless the client selected per-device theme, this definitely seems like a bug.

weary karma
upper zephyr
#

just updated to HA 0.106.2 and the google theme from Juan looks white in the panels. anyone have a way to fix it?

odd light
#

which was the card that lets you filter entities AND hide it when they aren't 'on'?

dreamy tendon
#

Just updated Home Assistant and getting this in the logs and some cards are not showing. What's the issue with monster card and how to fix it? ERROR (MainThread) [frontend.js.latest.202002205] https://myurl/local/custom-lovelace/monster-card/monster-card.js?v=1:111:28 Uncaught TypeError: Cannot add property entities, object is not extensible

#

Alright, took about three seconds of googling: Monster card has been decprecated in favor of it successor, auto-entities

steep jewel
#

oh wait it doesn't support another base path, nevermind me

proper mesa
vapid anchor
#

hi guys

mild veldt
#

@vapid anchor that's states UI. Read 0.105 release notes.

vapid anchor
#

ok i will check

#

@mild veldt i already read the problem is in app phone apears everything ok, only in web brower

mild veldt
#

you are looking at /states and not /lovelace

#

Go-to developer tools > info
See what the default is set to for that device

vapid anchor
#

yes i already do that but in few seconds change back to the same

mild veldt
#

Try clearing your browser a cache

vapid anchor
#

but in a few seconds come back to another

#

i already clear the cache and no changes, i put it back like a charm, and when i click in "global vison" turn back all and show was i show in image

mild veldt
#

try a private session

vapid anchor
#

ok i will try

#

apears ok, but without the theme

#

i think its the cache -.-'' i clear again and close everything and its work -.-''

split granite
vapid anchor
#

thks @split granite i will check

crystal moat
#

Anyone knows an easy way to get the background of lovelace to black? I've only managed to get the cards themselves to be black.

vapid anchor
#

@split granite sorry for call you, but i want to do this directly on group not in card, because my card have to groups

split granite
#

You can't

#

Not unless you can find some custom card that does that, but I don't know any

vapid anchor
#

ok thk, i have to think a little bit to see what i do...

odd light
#

wasn't there a card that lets you regex entities on a card that only shows ones meeting a state filter?

vapid anchor
#

why this didnt work ?

drowsy belfry
#

Good evening Guys... Might I ask a quick question about Icon color / states ?

#

I wonder why the input_boolean icons have colours on lovelace glance cards based on state, but when it comes to binary_sensors they just dont have colours...

#

I'd like glance cards to show entities with icons depending of their state...

#

This seems like a real simple and basic need and tons of discussion is going on about using template sensors, and custom_ui and so on...

#

But using template sensor adds a second entity - while custom UI is an extra addon

#

I mean if I use the entity_filter card than the entity again has teh colours - but just by itself it doesnt...

blissful anchor
#

how yo revert back to 105 in hassio on Pi?

split granite
blissful anchor
#

oh

#

I thought I was there πŸ™‚

burnt shard
#

sup guys,

i got this led strip (rgb_color: https://prnt.sc/ra0iuy) .. when i click on the entity i get this screen where i can dynamically select the color (https://prnt.sc/ra0j8q).. i want to move this into one button. this button should contain a tap action (which turns on the strip) and a hold action (where i can pick the color like in the second link).. any hints for me?

#

i would like to use the custom button card plugin from hacs

proven rock
#

HI, when I test to add ifram on overview the ifram is smal , I put 100% but the ifram don't size all the large page

#

do you have idea

#

? 😦

#

thank's

zenith crescent
flint heron
#

So I added my Sony Bravia tv to lovelace. If I add the entity, all i see is a play button but if I click on the component, it gives me options for a source and volume. I want those addtional features on the main lovelace ui

turbid root
#

which renders the paper-tabs, but I cannot work out how to initialise iron-pages

#

as im not sure how to put the following into a custom panel:

kind shellBOT
turbid root
#

any advice would be greatly appreciated - I'm trying to solve for my post the other day:

Does anyone know of a tabbed card that I could use as a panel? I'd really like to be able to drill down from the views menu, into foors and rooms - and with the number we have, a submenu similar to this: https://www.patternfly.org/v3/pattern-library/navigation/horizontal-navigation/img/menu-bar-two-level@2x.png would really help there.

Where this would be used along with @polar kelp's fantastic state-switch card https://github.com/thomasloven/lovelace-state-switch#hash

quiet sky
#

OlΓ‘! Does someone is having problem to create buttons using lovelace UI after 0.106 update?

#

the error is: "Expected a value of type undefined for state_color but received true.""

shrewd badge
#

hi, i dont know where to ask my porblem about cast on google hub.

noble galleon
#

Is there a place where people post their customized cards with the code? I'd like to see more examples of what people are able to build

noble galleon
#

In lovelace, is there a way to view a list of activity for a binary sensor (motion)? There history graph is nice but if rather just have a list of on events with the duration and time of each

north stream
#

I have a view that has like 50 cards in it that were auto generated like media_player.plex_chrome_7 etc. Since I took control of the lovelace UI It won't let me delete that view because it has cards in it. Is there any way to delete those cards in bulk? Deleting them one at a time is extremely tedious and I want to avoid it.

north stream
#

Solved: Didn't know there was a Raw Config editor.

finite horizon
#

I gat a question about Lovelace config. Am I in the right channel ?

#

Question is : on a sensor card, I use line graph. I'd like to have the X and Y axis values. Is it possible ?

jade bough
#

anyone know how to disable kiosk mode with custom-header? I enabled it to test and now I can't get back to my menus...

mild veldt
#

?disable_ch

#

@finite horizon yes if you have history and there is a unit of measure for the sensor

jade bough
#

Thanks @mild veldt. That saved me from having to restore from backup

swift ingot
#

@fading sorrel advised me (@twitter) to switch to Lovelace (I was under the impression that I already was, but apparently not...). Because I have everything in YAML, I added lovelace: mode: yaml to my configuration.yaml (See: https://www.home-assistant.io/lovelace/yaml-mode/)

fading sorrel
#

Uh

#

If you are running Lovelace in YAML mode that is fine

#

Your twitter message was about groups and views

swift ingot
#

Now, when I reload the UI, I get Lovelace. I had Groups defined as Views, and that is not supported any more.

fading sorrel
#

You are now mixing up things

#

the 'view' parameter on a group is not Lovelace related

swift ingot
#

So, I copied my groups.yaml to views.yaml, and switched Name to Title, and Entities to Badges

fading sorrel
#

a group is a group of entities in Home Assistant (the engine), which is not related to how it is visual represented in a Lovelace view

swift ingot
#

(I hope I'm not mixing up thing, but moving from one config to another...)

fading sorrel
#

you can represent a group entity in Lovelace

#

but the view option on a group, is not for Lovelace

#

that is for the states UI, which is deprecated (pre-Lovelace)

swift ingot
#

But I want to save my old groups-as-views as real views, which I need to specify differently.

mild veldt
#

@swift ingot views.yaml is not a thing

#

Do you still have your groups.yaml in place?

swift ingot
#

@mild veldt I know, but I had to keep it somewhere. I still have my groups, and I see that I 'must' somehow "Create a new file <config>/ui-lovelace.yaml and add your Lovelace configuration" by copying from the raw YAML that Lovelace configurator can generate.

mild veldt
#

No, you don't need to do that

#

Remove the lovelace section in configuration.yaml and restart

#

Then go to <ha-ip>/lovelace and see how it looks

#

You should see your groups properly represented

swift ingot
#

Yes, they are. But, I also wanted views.

mild veldt
#

You can then take control of the UI by going to the top right menu and selection Configure UI

#

One you have taken control you can move things to views

#

From the UI itself

#

much easier, IMO

heady gorge
#

HI all, I am Dhanish from India, I am new member in this community, I have a query related to the more-info dialog opening from a custom-card which I created. Do I need to wait for the current conversation to finish?

swift ingot
#

I'll see if that works, after I've removed the 'Lovelace' section. Last time I clicked 'Configure UI', it told me that I needed to take care of everything myself, and when I clicked to consent, I got a popup saying 'Save failed'. Now, it seems to work (I get arrows in the UI). Not sure why it wasn't working in the first place, but thanks for your patience!

#

...and time

heady gorge
#

I am trying to find an example on how to open the more-info dialog from a custom-card. Can anyone pointout any examples or starting point.

mild veldt
#

@swift ingot yeah, no problem

heady gorge
#

I am able to extend the HTMLElement to create a card and is able to show in the view. What I am aiming is that, I just need to open the default more-info dialog on a button click in the card.

#

I have added the button on card called "More Info", and I am hoping to open the more-info dialog pressing this button. I am able to run a function in js by adding an event listner, but after that totatlly blank. 😒

mild veldt
#

@heady gorge

    const event = new Event("hass-more-info", { bubbles: true, cancelable: false, composed: true })
    event.detail = { entity_id }
    this.dispatchEvent(event)
heady gorge
#

Thank you so much for the update. I will now be able to figure it out

fading sorrel
#

Sorry got called away there for a sec, glad it is resolved @swift ingot πŸ‘

heady gorge
#

I will watch the conversations over here to make myself more familiar with the frontend development.

#

Happy to see you all working hard to build such a great platform

#

Hi, Got it working. Thank you so much.

craggy schooner
#

is there a good way to count the number of lights that are on in lovelace?

#

would love to have a "9 lights currently on" type thing

mild veldt
cosmic trellis
#

I'm using MQTT to push info from various sources into HA. Unfortunately, HA isn't seeing integers as numbers. Is there a way to tell HA that sensor data is numeric instead of string?

dull sandal
#

Hello,
I've encountered a problem that I haven't been able to fix. I recently downloaded custom card Fold Entity Row to be able to put my entities in a foldable card to save space in my UI. But I can't seem to get it to look like a card. The only way I got it to work was using section and there is no styling.

My code is here. imgur link to how it looks in my frontend included in the text at the bottom.

mild veldt
#

well it's not a card, it's a row, per the name

#

it is meant to be put in an entities card

dull sandal
#

@mild veldt Yeah I figured as much, sort of. Since it seems to be used for groups of lights mostly such as spotlights.
Is tehre anyway to style it as a card, or is there any other custom plugin that enables a folding card sort of?

split granite
mild veldt
#

@dull sandal you could do something like this

#
entities:
  - entities:
      - entity: alarm_control_panel.home_alarm
        states:
          - arm_home
          - arm_away
        type: 'custom:hui-alarm-panel-card'
    head:
      entity: alarm_control_panel.home_alarm
    type: 'custom:fold-entity-row'
show_header_toggle: false
type: entities
#
entities:
  - entities:
      - entity: light.office
        type: 'custom:hui-light-card'
    head:
      icon: 'mdi:gift'
      name: My Card
      type: 'custom:template-entity-row'
    type: 'custom:fold-entity-row'
show_header_toggle: false
type: entities

use the template-entity-row if you want to not use an entity for the initial header

dull sandal
#

@mild veldt Yeah, that is a slick solution if there is an entity to build the fold card upon. I'm looking for something to create a fold and then populate the fold with entities. Maybe that isn't currently possible or there hasn't been created a plugin for it

#

Maybe I'll let it be unfolded as of now since I don't need the plugin that badly. I thought it could fix what I wanted.

safe pilot
#

I'm not sure where this problem belongs but I'll stick in here as it manifests itself in the frontend. If I restart the ha server either with "ha core restart" or via the server management controls in the frontend, it restarts but the frontend never comes back until I do a hardware reboot. Pressing F12 to look at the console while the frontend is broken gives this:
core.019f4c68.js:1 WebSocket connection to 'wss://192.168.100.5:8123/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
e @ core.019f4c68.js:1

#

It's like the web server never comes back. It's reproduceable after the system has been running for 10-15 minutes, core will restart fine before then after a hard reboot - IYSWIM

upper zephyr
#

Anything having issues with there themes going white in the panels? If so how could I fix it

mild veldt
#

@dull sandal have you looked at auto-entities?

blissful anchor
#

updated hassio to latest, it fails to load some of my tabs , i have to refresh page
very annoying
i reverted back, all good, reupdate to latest again the simptom
haapens on ios apps (ipad, iphone) and browser (chrome and safary)
https://share.getcloudapp.com/NQuZr8jK
on all browsers, all devices , including the ios app v2

sweet sail
#

hi, I have each room in own lovelace tab, is there some kind of button, on panel, which I'll place on 1st page and will be linked with selected lovelace tab, then when I touch it, I'll be switched to configured tab ?

mild veldt
#

@blissful anchor you cleared your browser cache?

blissful anchor
#

yes

#

tryed incognito too

mild veldt
#

@sweet sail you can use the button-card and specify the navigation_path

blissful anchor
#

if i refresh the tab with problem it shows the content, but then another one fails that previously worked
is 100% reproducible
I did downgrade and update to latest twice

mild veldt
#

custom cards?

blissful anchor
#

few

#

happens regardless if the tab has or not custom cards

mortal cape
#

which custom cards are you using @blissful anchor

blissful anchor
#

mini graph card

mortal cape
#

that was definitely a problem card

blissful anchor
#

oh, there is an update

mortal cape
#

oh!

#

lol

blissful anchor
#

for the mini graph

mortal cape
#

yes

blissful anchor
#

is there an original alternative to that?

mortal cape
#

well see if the update addresses the issue first

safe pilot
#

I'm not sure where this problem belongs but I'll stick in here as it manifests itself in the frontend. If I restart the ha server either with "ha core restart" or via the server management controls in the frontend, it restarts but the frontend never comes back until I do a hardware reboot. Pressing F12 to look at the console while the frontend is broken gives this:
core.019f4c68.js:1 WebSocket connection to 'wss://192.168.100.5:8123/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
e @ core.019f4c68.js:1
It's like the web server never comes back. It's reproduceable after the system has been running for 10-15 minutes, core will restart fine before then after a hard reboot - IYSWIM

sweet sail
frail flax
#

Hi all, I'm struggling with the cast to Next Hub Max, starting with the demo at https://cast.home-assistant.io/, when I click show demo and select my Nest Hub, it shows a blank white screen, not even the Hass ❀️ Nabu Casa logo is showing

blissful anchor
#

problem went away, custom card needed the update

mild veldt
#

@sweet sail should be under tap_action

blissful anchor
#

oh wait.. in the meantime i forgot I reverted back to 105.5 :))

#

i will move back to latest and report...

sweet sail
#

@mild veldt thx, now it is ok

blissful anchor
#

back to latest 106.2, all good

sweet sail
#

is mdi icon supported on button card ? this example does not show icon

- type: button
            name: outside
            tap_action:
              action: navigate
              navigation_path: /lovelace/outside
            show_icon: true
            show_name: true
            state_color: true
            icon: 'mdi:bulb'
mild veldt
#

@sweet sail are you sure that's an actual MDI?

sweet sail
#

I saw it somewhere in doc, but that is maybe outdated, You have right, when I tried another MDI, it works..

calm rock
#

Hi all, Im having a hard time with my lovelace config , one of my views disappeared completely , if i refresh the page i can see the view for a split second after that all goes to white , i can see in the "raw config" that the configuration is there , this si the first time something like this happened to me, i have tried to reboot, restar, reload backup , nothing , NADA , same thing still happened , any ideas ?

iron locust
#

So I've got my hassio.local/lovelace/default_view, how do I make a new lovelace entry like hassio.local/lovelace/office that will just be for my Fully Kiosk tablet in the office?

atomic glacier
#

custom:state-switch or Compact Header

iron locust
#

Was that for me? I don't mean just a new card, I mean whole new URL to browse to

atomic glacier
#

yes..another view has a different URL

iron locust
#

I'm 100% lost. I'm a nerd, I've got a good grasp on the non-lovelace aspect, but what you're saying doesn't make sense to me. When I google those things they look like custom addons for lovelace

#

at this point I don't even see a lovelace.yaml in my /config dir

mortal cape
#

@calm rock got an out of date custom card?

#

@iron locust did you take control of lovelace?

calm rock
#

hi , @mortal cape , i have just updated all HACCs but same ..

mortal cape
#

was one of them the mini-graph-card?

iron locust
#

nope, that looked pretty final so I didn't want to hit until I was sure I needed to

#

so I take it that's the first step?

mortal cape
#

@iron locust then you're not going to see a lovelace.yaml

calm rock
#

minigraph YES

atomic glacier
iron locust
#

but what if I don't want to just have a new view, what if I want my office tablet to have an entirely different lovelace setup than my bedroom?

mortal cape
#

@iron locust you're in automatic mode. You take control and that's "level 2" where you have control of the UI and can add cards from the UI and also the raw editor. Level three is "yaml mode" where your layout and card choices are strictly yaml. No UI editing.

iron locust
#

Can I jump back and forth between 2 and 3?

#

I've done the "take control" part

mortal cape
#

ok, now if you go up to those same 3 dots you'll see "configure ui"

#

and you will be in edit mode

#

You can add views, add cards, add badges to views. When you integrate something in to HA now it will no longer appear automatically. You'll have to specifically add a card for whatever it is yourself

calm rock
#

@mortal cape if i select "panel mode" for that view then i can see the first card, but when back to normal and refresh , just the whole page for a second , and then all white , nada

iron locust
#

got that so far. I feel like I can play with the WYSIWIG editor with no problem, where does it store the YAML if I want to hand edit outside of the browser window?

mortal cape
#

it doesn't store yaml. It stores json in the hidden .storage directory. But there is a "raw config editor" in those same three dots. You can "yaml edit" that way, it will still be stored as json in .storage

iron locust
#

ok, thanks again

mortal cape
#

I'd stick to this mode for a while. There's plenty to do. You can make views that look completely different from one another.

iron locust
#

when you're talking about level 3, are you takling about clicking "edit" under a card then clicking code editor?

atomic glacier
#

🀐

mortal cape
#

no. that's still level 2

#

That's why I'm saying there's plenty to do and tons of custom stuff you can edit still by hand. When you're familiar with it more, then hit up @atomic glacier for advanced stuff. πŸ˜›

iron locust
#

oh derp, I see the YAML mode now

mortal cape
#

The built in editor is still level 2

#

level 3 you lose all of this

iron locust
#

that's ok. I'll play with it a bit, but I'd like to add in a nice interactive floorplan. I've got the assets complete mostly

mortal cape
#

You only have a separate file(s) to edit. There is none of this UI editing. (in level 3)

iron locust
#

so I've got these three views: https://i.imgur.com/4hB6pQM.png , is there a way I can have a URL that ONLY shows the bedroom view without the tabs for "Home" and "Office" at the top?

worn parrot
iron locust
#

ah, it comes full circle now

worn parrot
#

But that's going to need you to filter on deviceID, etc

#

Yes πŸ˜„

iron locust
#

got it, thanks, and thanks @atomic glacier

worn parrot
#

Perhaps in the future we'll see some more built-in access controls. We just within the last year or so got off of a single API key so who knows what's to come?

iron locust
#

Just finally moved into my house after three years of renovations so now I get to play with HA for real. I've been messing with HA in preparation for about a year.
It's come a long way in just the year.

worn parrot
#

Now if I could just stop somehow IP banning myself from within the same network over reverse proxy that would be great πŸ™‚

iron locust
#

I just got one of the netgate appliance routers in the mail a couple of hours ago. Can't wait to see how badly I can screw myself with pfsense

worn parrot
#

pfSense is amazing.

#

I've used it for about 3 years now, built a $400 10Gb/s router and it's been rock solid.

iron locust
#

I really am looking forward to playing with it. I'm in pretty deep with Ubiquiti, but I just didn't want their gateway

worn parrot
#

Ahhhh yeah the gateway is hit or miss, especially if you start adding on Suricata and Snort and pfBlockerNG

iron locust
#

it's not a fun homelab if everything is in a pretty GUI

worn parrot
#

hey pfSense isn't bad.

#

the old days (red UI) it was quite 2000esque but it's quite a bit better.

junior iron
#

Hi guys , I wanted to know if it's possible to have a card that dislpay only when the state of an entity match a value.

#

I want for example to display mqtt stuff only when the lwt is "on" meaning the hardware is connected and display something else when last will or death is "active"

#

I've tried with the state-switch card but the card use the default state instead of the correct one (my entity is a binary_sensor display on or off in the dev tools but "connected disconnected" in lovelace)

junior iron
#

Yes that's what is tried to use but no luck

junior iron
#

i try the conditional card as well but nothing shows up

ivory compass
#

hello

wheat current
#

Yes

ivory compass
#

it doesn't seem to make much sense

#

the two entities are scripts, why does it behave differently?

wheat current
#

It will if you read the documentation for script ;)

ivory compass
#

is it because of this?
"If a script contains only 1 action, the wrapping list can be omitted."

wheat current
#

Further down

ivory compass
#

Sorry, but I didn't understand

ivory compass
#

Thank you very much for the clarification. Now it became clear

stone basin
#

@here, the new addons page under supervisor is all pretty with icons, but has lost the ability to show addons that can be updated.. (i dont use auto-update), is there a feature request to add this functionality back?

wheat current
#

There will be a colored line in the top of the card if it has an update

stone basin
#

There will be a colored line in the top of the card if it has an update
@wheat current when was this added? or is to be done?

wheat current
#

The same time as the icons

stone basin
#

hmm.. i am not seeing this, however I have do not have any addons that need updating as of now.I will keep an eye out for it.

wheat current
#

left has update

stone basin
#

thanks. skin issue.

#

will fix it and push and update to slate.

wheat current
#

it uses accent-color

stone basin
#

i do have that in my skin.. anyhow next time I see an update i see why I cannot see it.

jade bough
#

I have posted in several forums and researched the web for the past week and for some reason I can not find the answer I am looking for.
I want to add a picture to all my person entities and have the picture show up on the badge on each view I have it added to.
I also want to add a new icon to my scene entities and have that show up on the badge on each view I have it added to as well. I have uploaded the picture I am testing with to my server and added the config to my customize.yaml file but neither are working. Is there a good "How To" for this kind of thing?

safe pilot
#

I'm not sure where this problem belongs but I'll stick in here as it manifests itself in the frontend. If I restart the ha server either with "ha core restart" or via the server management controls in the frontend, it restarts but the frontend never comes back until I do a hardware reboot. Pressing F12 to look at the console while the frontend is broken gives this:
core.019f4c68.js:1 WebSocket connection to 'wss://192.168.100.5:8123/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
e @ core.019f4c68.js:1
It's like the web server never comes back. It's reproduceable after the system has been running for 10-15 minutes, core will restart fine before then after a hard reboot - IYSWIM

blissful anchor
#

hi, i removed some devices from recorder, but they still exist in history

#

I added new ones that appear now, but the ones I deleted from configuration are still there

#

any ideas?

#

the deleted ones are some 5 sensors and 2 track device. one tracked device is gone but the other and the sensors are still present

blissful anchor
#

hmm.. deleted the db and all good now, weird

frosty pelican
craggy schooner
#

Is there anything additional i need to do to get the dark themes dark? I've tried a few of them, but the panels stay white regardless of what i do

wheat current
#

"the panels"? πŸ€”

craggy schooner
#

cards*

wheat current
#

refresh your browser

craggy schooner
#

done that

wheat current
#

remove the theme option on the card config

craggy schooner
#

hm

#

not sure where I'd find that

wheat current
#

Then you have not set it

#

and my guesses has run out, so you need to share more logs/config/screenshots

craggy schooner
#

This is Google Dark theme, it still has the card colors from the Google Light Theme

wheat current
#

clear cache

craggy schooner
#

still the same

kind shellBOT
wheat current
#

That's just the past 24h

craggy schooner
wheat current
#

if windows ctrl+shift+r

craggy schooner
#

yeah I changed it to all time

#

yeah have hard reloaded more than i can remember

wheat current
#

use inkognito window

craggy schooner
#

also same problem in incognito

#

on ipad

#

on phone

wheat current
#

Then the theme is broken, make it better

craggy schooner
#

tried with google light, google dark, synthwave, slate etc.

#

all have the google light panels

#

the settings have the card cards

#

oddly enough

#

rstarting HA again

#

off chance it might help

#

Suddnely.. weirdly it works.

craggy schooner
#

can you see which custom card types are installed somewhere?

wheat current
#

types?

craggy schooner
#

added layout-card from HACS

wheat current
#

no card is "installed", they are downloaded and refrensed in your configuration

craggy schooner
#

type: custom:layout-card doesn't seem to exist though

#

trying to figure out of it didn't install correctly

wheat current
#

Click the "open card" buttong in HACS, if you see a wall of code, it's downloaded

craggy schooner
#

yeah its downloaded.. can see it in my file structure.. just doesn't seem to trigger on the custom type

wheat current
#

is it in your resources?

craggy schooner
#

ah