#frontend-archived

1 messages ยท Page 171 of 1

timber flint
#

It only happens with PS4 integration ( official ).

clever blade
#

Does anyone know how to apply padding to a vertical stack and not just the individual elements? Tried searching for this, but found nothing.

clever blade
polar kelp
#

Thatโ€™s a lot of unrelated code. How about an mwe?

clever blade
#

That's just one of my vertical stacks i want to add padding to @polar kelp

pulsar bobcat
#

has anyone got an example of a brower mod pop up that just shows button cards

violet mulch
#

Hi, I am trying to set the Y scale for the "History Graph Card". I was unable to find anything.

#

My layout has 4 temperature graphs and the lack of a consistent scale makes it much harder to read

civic stream
#

Not possible as far as I know, would want it too

random cradle
#

Hey folks, I'm having some trouble adding a custom lovelace component via HACS. I have HACS installed and am using another custom lovelace card successfully for some time. I just installed the "Mini Media Player" card via HACS and restarted several times but it is not appearing in lovelace. It DOES appear in the resources tab of lovelace, but not as a selectable card.
Am I missing something perhaps?

wheat current
#

98% of custom cards are not selectable

#

You need to use a manual card for most custom cards

random cradle
#

Oh I see, the only other one I was using is selectable

#

ty

prime falcon
#

Hi! Does anyone allready tryed to add a windows 10 "widget" to control some automations/scripts ? I allready searched on the forum and didn't saw any clue...

ruby geode
#

How would I go about changing the color of a button-card with custom-cards addon when the attribute of an entity changes? I am trying to make my mute button turn red when the media_player is muted. Thanks,

dark dirge
#

there are lots of examples in the docs for custom button card

ruby geode
#

Yes, but I can only update the style based on what the state of the entity is. Rather than an attribute.

dark dirge
#

that's not true

#

you can access attributes in templates

#

there are two ways to approach styling in that card - based on the state, and by specifying a background/icon color with a template

#

example:

#
    styles:
      icon:
        - color: >
            [[[
              if (states['sensor.armed_status'].state == variables.armed_state) return "green";
              else return "#696969";
            ]]]
ruby geode
#

Oh! and this would update based on what?

dark dirge
#

whatever you tell it to do

#

here's an example from the docs that references an attribute:

#
  label: >
    [[[
      var bri = states['light.test_light'].attributes.brightness;
      return 'Brightness: ' + (bri ? bri : '0') + '%';
    ]]]
ruby geode
#
          - type: custom:button-card
            icon: >
                [[[ 
                    if (states['media_player.theatre_speakers'].attributes.is_volume_muted) == true) return 'mdi:volume-mute';
                    else return 'mdi:volume-minus';
                ]]]
#

Tried this ^

#

This came out.. "ButtonCardJSTemplateError: SyntaxError: Unexpected token '==' in 'if (states['media_player.theatre_speakers'].attributes.is_volume_muted) == True)"

dark dirge
#

you didn't match your parens

ruby geode
#

Thanks it worked!

#

There does seem to be a few seconds of delay after you press mute to where the icon/color updates. Is there I way I can incorporate the icon change in under tap_action:?

dark dirge
#

there really shouldn't be a delay

#

if the delay is device-induced somehow, you could manipulate an input_boolean in tap-action and use that in the template

ruby geode
#

It's probably due to it taking time for attribute of the entity to update whether its muted or not.

dark dirge
#

right, so you could maintain your own state in an input_boolean

ruby geode
#

and I would have to define that in the configuration.yaml correct?

dark dirge
#

or in the Helpers section in the UI

ruby geode
#

Alright, thanks for your help. I appreciate it

blazing turtle
#

Hi all... Just upgraded to Home Assistant 0.114.4 and using Lovelace in YAML mode. Everytime the page refreshes, I get a popup window asking to add a card. Anyone else?

ruby geode
#

How do I add multiple actions to a single button in lovelace?

#

Do I have to create an automation?

dark dirge
#

a script

ruby geode
#

So no way to list actions inside the lovelace.yaml?

dark dirge
#

try it?

ruby geode
#

Tried this:

tap_action:
  action: call-service
    - service: "[[[if ((states['media_player.theatre_speakers'].attributes.is_volume_muted) == true) return 'input_boolean.turn_off'; else return 'input_boolean.turn_on';]]]"
      service_data:
        entity_id: input_boolean.theatre_speaker_mute
    - service: media_player.volume_mute
      service_data:
        entity_id: media_player.theatre_speakers
        is_volume_muted: true
dark dirge
#

and?

ruby geode
#

"mapping values are not allowed here" (line 3)

dark dirge
#

you have an extra unnecessary set of parens in there

#

looks like you just want a script

ruby geode
#

alright

vapid field
#

What's the easiest way to link to something in the frontend?

kind shellBOT
blazing turtle
#

Hmm.... blew that! Not sure what the bot did not like.
Im having a REALLY tough time getting card-mod to work at its simplest level... I just want to turn a cards font red...

Tried this ha-card and :host. Code is in that link. https://paste.ubuntu.com/p/SZcnwp4TNt/

I have a number of horizontal and vertical stacks worked in above this so maybe that is related.... Not sure, but I have been working on this on and off (mostly off) for literally months. Im not seeing any indication within the source or the console of the browser indicating that the style is being applied or that card-mod is having a problem.

And I have also read through https://github.com/thomasloven/lovelace-card-mod countless times to see if I am missing something.

Im hoping somebody can point me in some direction.

finite pond
#

Can the unit be changed depending on the state of the entity in mini-graph-card?
E.g. if 1, update else updates??

blazing turtle
#

@finite pond More experienced contributors may have a better idea, but I am thinking a template..... or just "update(s)"? ๐Ÿ˜‰ Too lazy?

finite pond
#

I tried that but it ended up looking untidy

blazing turtle
#

Have you tried a template?

finite pond
blazing turtle
#

You may not need the mod (getting outside my comfort zone here), but how about this...
{% if states['radarr_upcoming'].state==1 %} update {% else %} updates {% endif %}

finite pond
#

Nope. That works inside configuration files only, I think. Probably just doesn't support JS templates.

muted inlet
#

Unless support is specifically mentioned, cards generally don't support templating

finite pond
#

Yeah I kinda thought the browser picks that up

polar kelp
#

@blazing turtle The bot doesn't like messages that are more than 15 lines - including non-code lines.

#

What is the type of the card you are adding the style: to?

clever blade
#

Anyone using the upcoming media card having problems with cover images not being shown? Works fine from sonarr and radarr, but not plex/emby.

finite pond
#

I want it to be.. if 1, Episode else Episodes.

vapid field
blazing turtle
#

@polar kelp It is an entity card, but I tried converting it to a sensor card on its own tab page. But still no go.

#

And thanks for explaining that.

finite pond
#

Is this JS correct when used with config-template-card?

color: >-
            $(states['sensor.qbt_status'].state === 'seeding' ? '#F08B32' :
            '#4E8AD5')
mild veldt
#

@finite pond you want to use curly braces

#

${template}

finite pond
#

Yeah missed that. I replaced those with parentheses lol

sacred parrot
#

I want to display about 10 lines from a text file in my /shared directory on a lovelace card. Any suggestions how to best do this? I managed to get it to work with the builtin "Webpage" card, but the text file changes from time to time, and the Webpage card doesn't seem to refresh on a browser refresh. I tried wrapping the data as an html file with <meta http-equiv="Cache-Control" content="no-cache"> etc. (pretty naive i guess), but it still seems to be cached by Chrome. I should probably be doing this a very different way ๐Ÿ™‚

#

I initially tried getting the data stored in a sensor, but there's a maximum of 255 characters, and I need more

wooden oar
#

I have a problem with states in lovelace with a tasmoticzed 3 way switch. Whenever I use the turn on in lovelace it turns on and immediately turns off. Why?

#

Tell me if I have put this question in the wrong place.

minor viper
#

Question, i've gone from LL mode to Storage mode, and in my configuration.yaml i've commented the input_boleen: part. Problem is that they're still in my Hass after a restart. Do they get moved somewhere in the .storage folder?

#

Seems like it, i could finally remove some under Configuration --> Entities

kind shellBOT
vapid field
#

Hi all,
I need some help

#

My GUI is nog loading anymore

#

and I don't know why

plain pike
#

tried to login on the console?

#

do you have a samba addon and can access your config file?

vapid field
#

I'm on the console

#

ha core logs is in the pastebin above

#

HA is working fine. Alle the automations are working. Just the GUI is not loading.

#

do you have a samba addon and can access your config file?
@plain pike using SSH. I'm on the consol and can access my configuration.yaml

echo rapids
#

cant add the image however it says this is no longer located in //homeassistant any ideas

feral rivet
#

looking for some help with a custom: layout card. I am trying to create 3 horizontal rows of which 1 contains a set of button cards, the other would contain picture-glance card. can anyone take a look at this code and help me see what I am doing wrong https://paste.ubuntu.com/p/n95MdDFcV7/

feral rivet
#

@mild veldt hey brother is the custom: layout-card no longer working?

mild veldt
#

not mine and don't use it, so ๐Ÿคทโ€โ™‚๏ธ

feral rivet
#

my bad you were listed as a contributor with Thomas. Appreciate the response though.

crystal oyster
#

anyone know why it's showing 3 graphs when I only have 2 listed? https://i.imgur.com/5O9xJcb.png

entities:
  - entity: sensor.temperature
  - entity: sensor.humidity
hours_to_show: 24
refresh_interval: 0
type: history-graph
vapid field
#

my camera is just a picture right now

vapid field
#

HA is working fine. Alle the automations are working. Just the GUI is not loading.
@vapid field
do you have a samba addon and can access your config file?
@plain pike It cost me more then a day but a found it.
For some reason CertBot did not renew my certificat.
What is strange is that there were no warnings in chrome en not in de android app "Ariela" and not in "Home Assistant"
I found the cert warning form curl, when I connected on the command-line to the API

curl -X GET -H "Authorization: Bearer ${MY_TOKEN}" -H "Content-Type: application/json" https://${MY_DOMAINNAME}:${MY_PORT}/api/states
curl: (60) SSL certificate problem: certificate has expired

rare smelt
#

Hi, I'm a bit confused as to what to do. I'm trying to add a button to toggle my yeelight color 2 bulb in lovelace, I don't want to edit directly in the ui yaml, so I tried using a button card with custom code added to it, though I'm unsure what to do. In my configuration.yaml, I have

  devices:
    192.168.1.11:
      name: 'main'
      model: color2```
I tried adding ```type: button
entity: yeelight.main```
to the code in the button card config, though it's telling me `entity not available: yeelight.main`. How would I go about adding this (do I need to install anything else)? I was also wondering if it's possible to add a color control ui when the button is pressed along with brightness adjustment without editing the yaml directly.
polar kelp
#

If you click the Gear icon โš™๏ธ and then Entities, you should be able to find your light there. There you'll see the Entity ID you want.

rare smelt
#

it doesn't seem to be there. Is there something I'm missing to initialise the entity?

#

Never mind, it appeared eventually

polar kelp
plain pike
#

It cost me more then a day but a found it.
For some reason CertBot did not renew my certificat.
What is strange is that there were no warnings in chrome en not in de android app "Ariela" and not in "Home Assistant"
I found the cert warning form curl, when I connected on the command-line to the API

curl -X GET -H "Authorization: Bearer ${MY_TOKEN}" -H "Content-Type: application/json" https://${MY_DOMAINNAME}:${MY_PORT}/api/states
curl: (60) SSL certificate problem: certificate has expired
@vapid field you didn't leave port 80 open huh?

wet pond
#

guys what solutions do you have for a card in ha that has his locations between other cards, is a conditional card that under certain conditions disappear, but the problem is the space where the card was remain so basically i have card some space where conditional card was and then another card. what solutions there are for this?

tacit cave
#

@wet pond I'm guessing you're using a horizontal stack?

wet pond
#

@tacit cave there are multiple horizontal and vertical in that card

#

i can share the code

tacit cave
#

Probably not much you can do then. You'll have to refresh the page.

wet pond
#

that would not be a problem except when i do the space still remains there

tacit cave
#

if it's vertical stacks, it should play nicely. It does not play nicely with horizontal stacks

wet pond
#

i mean i refresh and still have this space

tacit cave
#

yes but i'm assuming it's a space in a horizontal section

wet pond
#

this is the card

#

fairly complex but simple enough i guess

tacit cave
#

@wet pond I'm not referring to 'whats in the card', i'm referring to what the card is in.

vapid field
#

@vapid field you didn't leave port 80 open huh?
@plain pike No. For a number of reasons is that no option for me.
But I already written a command_line sensor and a automation to fix this once and for all

[[ $(openssl x509 -checkend $((5 * 24 * 60 * 60)) -noout -in /ssl/fullchain.pem) =~ 'will not expire' ]] && echo true || echo false

which is triggering a automation to hassio.addon_restart core_letsencrypt, 5 days before expiration

THX for your time!

wet pond
#

@tacit cave so if the card has in it horizontal steak then i am kinda out of luck?

tacit cave
#

Yep

wet pond
#

damn ๐Ÿ™‚

#

so this is a bug or so? should i fill a bug report? or it's a limitation that can't be solved

tacit cave
#

it's not a bug, the card is reserving the horizontal space. Otherwise other cards would get larger if the space was filled

#

if you want to have it display while filling up that space, make 2 conditional cards that make up the entire horizontal stack.

wet pond
#

can you show me how on my card example?

tacit cave
#

just move the conditional to the entire horizontal stack that contains the card you want to conditionally show. Then make an opposing conditional stack that doesn't contain that card.

#

you have to double your efforts. You'll have multiple copies of the same cards

wet pond
#

you mean: have one card for the summer and one for not summer ? ๐Ÿ™‚

#

just to fill that space

#

genius

tacit cave
#

yep

wet pond
#

i think i can work with that

tacit cave
#

it's just more configuration but it should get you what you want

wet pond
#

i'll try it but i have to do it one card no?

#

else i'll have 2 spaces that will not fill

#

yah doesnt work for me, i'll try more when i have some time

#

ty

golden sentinel
#

How can I zoom all the cards on an android tablet? I have tried Fully Kiosk browser and Wallpanel. On both of them changing the zoom has no effect.

edgy canopy
#

Is there a way to bypass authentication for one device only ? I tried

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.24.80/24

But got an error (HA in safe boot mode)

pine crescent
#

hi all, total noob so not sure if this is the right channel.. Ive just gotten HAOS up and paired a bunch of devices using zwave/zigbee. All the entity IDs come through with long complicated names like "light.dz6hd_1bz_decora_600w_smart_dimmer_level_2", which is long and complicated for automations, etc. I see on the config page I can change entity IDs, does that name formatting have any implications for functionality?

golden sentinel
#

@pine crescent Yeah you can change them to values that make more sense to your

pine crescent
#

awesome, thanks!

teal hatch
#

So I'm testing out 0.115 and have noticed a few minor UI issues, where is the best place to report those? I don't want to necessarily open GH issues for things that may have already been noticed and fixed since the 0.115.0b0 image was built

dark dirge
#

search github and then file issues

#

better to file and dup then not to file

kind shellBOT
teal hatch
#

Cool, I'll toss a few issues up. Search came up with nothing for them, so I don't think they've been reported.

dark dirge
#

As Paulus mentioned earlier, if it's not in Github, it doesn't exist ๐Ÿ™‚

rocky fox
#

For some reason I canโ€™t access file editor from a browser on my pc, through the iOS app it works fine but trying to access through browser I get a 401 not authorised error; anyone know cause/fix?

dark dirge
#

you're using the addon?

rocky fox
#

Yep, I get a yellow line in the supervisor logs that says not valid ingress sessionโ€™
Iโ€™ve tried uninstalling add on and reinstalling

dark dirge
pale dune
#

hey guys, i have a problem with my home assistant. I just setup a wifi switch on my lava lamp, and i want to change the 'on' state colour of the icon for it in lovelace. I tried googling but couldn't see any actual solutions, only vague forum posts. does anyone know how i can do this?

wheat current
#

Cookie handling for the session recently got stricter (same site), if you do anything with cookie handling In your browser (ie. Plugins)

wintry gull
#

Hello everyone

#

Iโ€™m looking at several images of how people have laid out the HA and it feels like my cards are so much more bulkier

smoky depot
#

@wintry gull it's all completely customizable through various means such as custom cards and themes etc

dark dirge
#

card_mod can do a lot for all sorts of cards

glad hinge
#

so i am thinking of making a card that shows a window icon, and the icon tells me visually whether its good to open the windows or not. the criteria for this would be that the air needs to be at a certain air quality (from my purpleair sensor) and also the temperature outside has to be more preferable to the temperature inside. (temp and humidity are in better ranges than current indoors value).

What is the usual way of having this logic defined? So far I could do something like this with node red and alerts, but i'm a lovelace noob.

dark dirge
#

like a custom button card with an icon of a window that's red or green?

glad hinge
#

something like that. but the logic to say red vs green is based on multiple sensors

dark dirge
#

and a template to decide which color based on the two entities and conditions?

#

it's just a template

#

trivial

glad hinge
#

so written in yaml

dark dirge
#

no, a template

glad hinge
#

my only exposure to templates is the value_template that defines the air quality ranges for my purpleair in my config yaml

dark dirge
#

example:

#
                      styles:
                        icon:
                        - color: >
                            [[[
                              if (states['input_boolean.heat_water'].state === 'on')
                                return 'red';
                              else
                                return 'green';
                            ]]]
#

the template can be arbitrarily complex

glad hinge
#

perfect

smoky depot
#

I would just dump that on a custom sensor rather in the button code itself

dark dirge
#

sure, you could create a sensor to abstract the state. but the card needs to manage the color based on the state

glad hinge
#

the custom sensor approach is what i thought of first

smoky depot
#

I meant the bulk of the code to determine the state

#

techically you could have it all on the button without the need for the sensor but it makes the ui more sluggish the more you add imp

dark dirge
#

Lovelace is a bit easier to reload, although template sensors can now be reloaded in 0.115

#

many ways to skin this cat, whether it's red or green

smoky depot
#

can color it, change it's icon.. whatever you need

#

button card is my favorite out of all of them

dark dirge
#

it's pretty great

#

@glad hinge that's a failed attempt because you're just using the built-in button card which doesn't support templates at all

glad hinge
#

i should probably start w/a more basic button card and then learn to customize it

#

ahh

#

it helps if i read the installation section of the github page rather than just assume that the thing called button-card is the same thing

dark dirge
#

sure does

#

although some of those instructions are outdated

#

install via HACS and it should handle the rest for you

#

you can ignore step #3

glad hinge
#

too late. i created a ui-lovelace.yaml cuz it didnt exist and then i restarted

dark dirge
#

it won't use it

#

that's fine, don't worry about it

glad hinge
#

does this just replace the built in Button card?

dark dirge
#

no

smoky depot
#

keep forgetting I need to append "custom" to the front of button card lol

dark dirge
#

I forgot that it gets even more complicated because it also supports "templates", which are completely different from logic templates and simply allow you to reference blocks of configuration rather than repeat them everywhere. And they can be nested, and inherited. the coolness never ends

glad hinge
#

i'm not getting very far

smoky depot
#

always better to start with something small and simple, see how it works, look over the examples and and then build up slowly

glad hinge
#

yeah

dark dirge
#

the examples walk you through it

glad hinge
#

ok, so, starting at the switch.ac example, right? I copy/paste that into a manual card, and it tells me "UI editor is not supported for this config:
Cannot read property 'setConfig' of undefined"

#

syntax of example is different than the hastebin you shared, so i get into it and start editing. remove the quotes

#

i made it a bit farther just starting w/ your hastebin and trying to chop it down

dark dirge
#

I don't use the UI editor, so maybe it has some quirks that make it harder

smoky depot
#

copy and paste is bad form. not only do you not get the feel for how yaml works but it oftens screws it up and you can't even tell where

#

still has to use yaml for the custom button card

dark dirge
#

right, but I think you don't want to start with - in there. the examples seem tailored to YAML mode

smoky depot
#

correct

glad hinge
#

so you guys just do everything from the command line or what?

#

im in a dashboard, i click configure ui, i click the yellow plus sign to add a new card, i go down to manual card. it pops up a dialog that lets me type in yaml

dark dirge
#

I have a ui-lovelace.yaml file that I edit directly

#

it's 1400 lines + 3 other includes files

smoky depot
#

@glad hinge the manual card is a blank slate, you would use that for like say, the custom button card.

dark dirge
#

I much prefer using my own editor + YAML anchors + button card templates

glad hinge
#

i appreciate the tips in the right direction, and i appreciate not just being told to rtfm. i'm willing to stumble through this and im trying to work directly from tfm

smoky depot
#

@glad hinge there are tons and tons of videos and guides that show how to do things. The majority although out of date and should not be followed to the letter still gives you the basic idea of how to do thing in lovelace. like this video https://youtu.be/QEtX0uboxQA. it looks different now, many things have changed but the meat of it is still the same.

glad hinge
#

I can't even get past line 1

smoky depot
#

the beginning always seems daunting and confusing but it doesn't take long to get a grasp and once you have the basics down everything else seems to get more and more easier to understand and do

glad hinge
#

im starting to wonder if i even successfully installed it from hacs

smoky depot
#

when the light bulb above your head turns on you'll be just like everyone else in your shoes at that moment lol

glad hinge
#

i just want one rudimentary example of a custom:button-card i can transcribe into this card configuration page and not have it error out

#

i start typing and after line 1 i get "No card type found

  • type: 'custom:button-card'"
#

enough for one night

dark dirge
#

like I said above, get rid of the '-'

#

right, but I think you don't want to start with - in there. the examples seem tailored to YAML mode

glad hinge
#

same result

#

well, not exact same. now it says custom element doesn't exist: button-card

smoky depot
#

here's a very very basic card

color_type: blank-card
type: 'custom:button-card'
glad hinge
#

yeah so if that is supposed to work then i dont actually the thing installed

#

it shows up in HACS as installed

#

i suppose i should check the logs

smoky depot
#

if you get an error with that then yea something is messed up

dark dirge
#

go to configuration -> Lovelace and Dashboards -> Resources and make sure that HACS added it for you

glad hinge
smoky depot
#

if you don't have a /hacsfiles/button-card/button-card.js as a JavaScript Module you need to add it

glad hinge
#

so, i dont have a ui-lovelace-card.yaml file, nor a ui-lovelace.yaml file

#

i do have the button-card.js file, but it is not located in a /local/ folder, it is located in ~/config/www/community/button-card

dark dirge
#

you don't need one, you're not using it. that's why I said that the instructions are not up to date

glad hinge
#

i cant win

dark dirge
#

hit the "+" on that page and add /hacsfiles/button-card/button-card.js as a Javascript module

glad hinge
#

yeah i've done that

#

fwiw i also dont seem to have a directory anywhere called /hacsfiles/

#

unless it knows how to find it in its actual location

smoky depot
#

you don't really need to find or access that, just need to install through hacs and make sure the resource is added

glad hinge
#

i've done that as best i can tell

smoky depot
#

if you are having issues, you can always uninstall it and try again

glad hinge
#

sounds like a cromulent next step

smoky depot
#

maybe you are moving too fast for custom lovelace cards lol

glad hinge
#

one of these things seems to have worked because it no longer throws the red errors

smoky depot
#

thats good. if you are using the blank-card example i posted you won't see the card lol

#

just a empty space

glad hinge
#

yep

#

is there some long bootup time for HACS or Lovelace after a hass restart?

#

anyway i have a mdi:window-open-variant icon showing up now and i feel like albert einstein

dark dirge
#

HACS takes quite a while to download stuff the first time

fervent vine
#

Not sure of the best place to ask but will try in here! Has anyone come across the "Failed to Reboot, Unknown Error" message when rebooting the host and managed to fix it (It seems to actually reboot)?

arctic thistle
#

as you can see the header is not compact like it should be

dire dome
#

I am not able to generate a long lived access token for some reason

#

when i go to create token, it creates it but never shows me a pop up with the token

#

am i missing something?

finite pond
#

Can config-template-card be used for extracting attributes and presenting them as entity?

#

I've tried this but the card won't appear:

entities:
  - 'states[''binary_sensor.updater''].attributes.newest_version'
variables:
  - '${vars[0]}'
type: 'custom:config-template-card'
card:
  entities:
    - entity: '${vars[0]}'
timber flint
clever ore
#

@arctic thistle Check out https://maykar.github.io/custom-header/#issues for info that could help in troubleshooting your issue. I'd mostly be interested in if there are any errors related to CH in your HA log or Browser's Dev Tools console (ususally found by hitting F12)

#

Also, refresh your browser with CTRL+SHIFT+R to scratch cache issues off the list

#

If you're getting a large amount of errors or it seems more complicated than would be acceptable to discuss here, please submit an issue to the projects gihub with the info requested from the doc's issue link above.

#

Good looking theme BTW

arctic thistle
#

@clever ore just found out the problem since i was using yalm mode i misspelled the resource ... gg me

clever ore
#

No worries, m8. Did you make that theme or is it up somewhere or both?

arctic thistle
clever ore
#

ty, sir

dark dirge
#

@dire dome Weird, I see the same thing. I get a popup to name the LLAT, hit OK, and it's created, but it never shows me what it is :). Can you file an issue?

kind shellBOT
dark dirge
#

You can find the token value by searching for the name in the config/auth file

finite pond
#

I've tried this but the card won't appear:

entities:
  - 'states[''binary_sensor.updater''].attributes.newest_version'
variables:
  - '${vars[0]}'
type: 'custom:config-template-card'
card:
  entities:
    - entity: '${vars[0]}'

Anyone??

elder pendant
dark dirge
dire dome
#

oh thanks.

clever ore
#

@finite pond What are you trying to do there? What you have listed under entities:, isn't an entity and the variable ${vars[0]} would be defined under variables: not placed there. What does the attribute newest_version of binary_sensor_updater return?

finite pond
#

trying to get the attribute. โ€˜0.114.4โ€™

#

i switched those

clever ore
#

and do what with it?

#

0.114.4 isn't an entity so it won't show on an entity card

finite pond
#

ok then can attributes be shown?

clever ore
#

What is the ultimate goal, what do you want it to look like

#

just text in a small card?

finite pond
#

yep

clever ore
#
type: markdown
content: '{{ state_attr("binary_sensor.updater", "newest_version") }}'
#

markdown card, no need for a custom card

finite pond
#

well i sort of want the name and icon, so i was using mini graph card

dark dirge
#

To graph the version numbers? ๐Ÿ™‚

finite pond
#

no, all other cards are the same so it looks nice.

clever ore
#
type: markdown
content: >
  <ha-icon icon="mdi:home-assistant"></ha-icon>{{ 
  state_attr("binary_sensor.updater", "newest_version") }}

EDIT: As Ludeeus explains below, this would be much easier with ```
type: entities
entities:

  • type: attribute
    entity: binary_sensor.updater
    attribute: newest_version
wheat current
#

And again with the writing and helping, you OK @clever ore ?
Blink twice if someone is forcing you

clever ore
#

๐Ÿ˜‰ ๐Ÿ˜‰

wheat current
#

But I guess not may know that (since no one reads the docs) ๐Ÿ˜„

finite pond
#

I was using the entities card exactly for this purpose but I like mini-graph card better.

#

But thanks for your help maykar.

clever ore
#

Sounds like you want to make something that resembles mini graph card, without a graph that has an icon and attribute text. That would likely require quite a bit of card-mod love with some CSS skills (using the markdown card from above) or creating a custom card yourself.

#

Or even using card-mod to hide the graph portion of the graph card.

alpine dagger
#

I've got these commands on my configuration.yaml

shell_command:
  test1: 'ssh pi@192.168.1.2 python3 /home/pi/sensors/light_left_on.py'
  test2: 'ssh pi@192.168.1.2 python3 /home/pi/sensors/movement_detected.py'

i can't seem to create a button / call them

echo rapids
#

has any added the animated weather card please help

kind shellBOT
#

@echo rapids Don't ask to ask, just ask your question. Then people can answer when they're around.

When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
echo rapids
#

currently updating to 0.115, however i am having trouble using the animated weather card. on i have added it to rescources, and followed the online guide however when adding the file structure to www. folder location it wont let me

elder pendant
#
  1. What's the exact error message?
echo rapids
#

something like file location does not exsit in //homeassitant

#

and the animated card within the UI configurator, wont work either, i have to select manual card.

polar kelp
#

@alpine dagger shell_command adds a service for each command. Call the service with a button.

kind shellBOT
polar kelp
violet hawk
#

Thanks so much! Just started a couple days ago!

outer gulch
#

How do i change the password of another user?

#

I'm an admin

wheat current
dark dirge
#

I think you wait for 0.115

#

or that

timber flint
#

Hi Community, I would like to see a sensor's actual status on my Apple Watch. I use this {{ (states("sensor.motion_kitchen_last") }} . This is giving back the result: 0.5 . This data is in hours. I would like to add "hour" text after the data 0.5. so the data would be 0.5 hour on my apple watch. How can I add this to my sentence?

#

I mean something like {{ (states("sensor.motion_kitchen_last") + "hour" }} or something like this.

polar kelp
#

{{ states('sensor.motion_kitchen_last') }} hours, I think

clever ore
#

{{ states("sensor.motion_kitchen_last") + " hour" }} doesn't work?

timber flint
#

maykar I know that was just an example how I mean this question.

#

thomasloven Thank you, I didnt thought thats so easy. โค๏ธ

polar kelp
#

Either solution should work, I think.

clever ore
#

sorry mine was a question

timber flint
#

Ah sorry.

clever ore
#

{{ states("sensor.motion_kitchen_last") }} {{ "hour" if states("sensor.motion_kitchen_last") < 2 else "hours" }}

dark dirge
#

extra credit

wheat current
#
{%set s=states("sensor.motion_kitchen_last")|int%}{{s~(" hour")~("s" if s>=2)}}

@clever ore โ˜๏ธ

clever ore
#

show off

polar kelp
#

{{(s~(" hour")~("s" if s>1)) if s else "now"}}

clever ore
#

heheh

tribal estuary
#

Where do you guys store images like floorplan that can be accessible from HA?

#

Not sure if I should do the www folder

polar kelp
#

That's the best place.

#

Or a subdirectory of that

lime tendon
smoky depot
#

@lime tendon there are examples listed on that page https://github.com/kalkih/mini-graph-card#example-usage if you are using the UI to add these you would pick Manual Card then leave the - off of the first line,
this

- type: custom:mini-graph-card
  entities:
   - sensor.illumination

would be this

type: custom:mini-graph-card
entities:
 - sensor.illumination
lime tendon
#

@smoky depot yup and this get error

Error: Custom element not found: mini-graph-card

smoky depot
#

means you have not installed the custom card correctly

lime tendon
#

is in config/lovelace/resources and /hacsfiles/mini-graph-card/mini-graph-card-bundle.js

#

all seems to be ok !

smoky depot
#

try adding it like this

type: 'custom:mini-graph-card'
entity: media_player.livingroom
#

ops

#

there fixed lol

polar kelp
#

Also try refreshing your browser with F5

vapid field
#

hi, is there a way to have a website integrated to lovelace like https://open.spotify.com/ to be able to browse it straight from the dashboard?

polar kelp
#

No, wait. It's there, but it's called "Webpage".

true moon
smoky depot
#

@polar kelp love your rendering for the graphical interface for the choose option in automations etc. really hope you can meld that in to the ui

true moon
#

If i setup the card like a normal picture entity its working

#

type: picture-entity entity: camera.foscam_camera aspect_ratio: 50%

polar kelp
#

@smoky depot I'll try. Not sure it fits in the general style as it is, but it'll get there.

smoky depot
#

it would fit it if when you clicked on a node the right displayed the current ui option for that action

polar kelp
#

@true moon the laws of thermodynamics state (with some interpretation) that things usually work in one (1) way, but there are infinite ways in which things can "not work". Which specific one applies to you?

smoky depot
#

the way choose nests itself now can get crazy but if the choose was split into what the normal ui seperated actions is like then it would be fine

true moon
#

@true moon the laws of thermodynamics state (with some interpretation) that things usually work in one (1) way, but there are infinite ways in which things can "not work". Which specific one applies to you?
@polar kelp ill make a pastebin ;')

polar kelp
#

Or just tell me how the not working manifests.

#

Do you get no card? Do you get an error? Did your computer explode? Does it show a still image?

true moon
#

Cant see image

#

And the controlls are not working

#

If i call the foscam.ptz service manually i can controll the camera

#

But i cant get it to contoll from the card

timber flint
polar kelp
quick gate
#

hey, I want to create a Button on my dashboard (default view) for my homematic dimmer to set on "tap" dimmer level to "20". I'm really new here and have currently no knowledge

#

I think this is the right way

service: light.turn_on
entity_id: group.living_room
data:
  brightness: 120
  rgb_color: [255, 0, 0]

how and where to use/put this code?

smoky depot
quick gate
smoky depot
#

no that's the built in default button card

quick gate
#

but there I can't set the dimmer level

smoky depot
#

I think there are a few different ones, so once you learn how to install and use custom cards you might find something you like better than what I linked

quick gate
#

I just want to turn of the dimmer with dimmer value 20, then with other tap "off"

smoky depot
#

I guess I'm confused. does the normal light card not do that already? I thought you wanted a one tap card that turned on the light to brightness of 20 or whatever

quick gate
#

yes. 1. Tap = Dimmer level "20", 2. Tap = off

#

if I use normal light card, dimmer level is always at 100 on 1. tap

smoky depot
#

think you can do that with scenes. be better for someone who actually uses those to comment since I have never touched them since they were released lol

quick gate
#

hmm, ok I try to figure it out, hard to understand all for a newcommer ๐Ÿ™‚

smoky depot
#

custom cards can do what you want, so like i said above. once you dive into it and get acquainted and start to branch out you should check all the many cards there are available

quick gate
#

the thing is in "Which card would you like to add to your "Home" view?" I don't have "custom cards"

wheat current
#

"manual card"

quick gate
#

"manual card"
@wheat current ahm then I see the code editor

smoky depot
#

they are third party, not part of HA built in.

#

they are for AFTER you get the feel and learn HA lol

#

but for now using something "built in" i think scenes can accomplish what you want I just don't use them to be able to help you

quick gate
#

okay, I need a lot of time ๐Ÿ˜‰

smoky depot
#

you'll get there

white kindle
quick gate
#

is someone using homematic ccu2 with home assistant here?

smoky depot
quick gate
#

oh thx

quick gate
#

is there any list with all Icons?

somber crest
#

Hi together ๐Ÿ˜‰

white kindle
#

Has base_url depreciated? I think this may be the reason why tts is broken

outer gulch
#

how do i reset the password for a user?

#

is that possible without deleting the user?

wheat current
outer gulch
#

ok, so this comes in a future update? ๐Ÿ™‚

#

but for now i have to delete the user and then readd it?

wheat current
#

Yes and yes :)

outer gulch
#

what about banned ips? do i need to restart h-a?

#

after removing, i mean

feral rivet
somber crest
polar kelp
#

In the card configuration like in the example just below the list of options.

somber crest
#

"with the manual option"?

polar kelp
#

Yes

somber crest
#

ill get:
UI editor is not supported for this config:
Cannot read property 'setConfig' of undefinedYou can still edit your config in yaml.

polar kelp
#

Or wait, what?

#

That means the card has no UI editor, and you have to edit your configuration in yaml, just like in the examples.

somber crest
#

but where to put it?

polar kelp
#

That's two different error messages you got mixed together there, btw...

#

How did you install the card?

somber crest
#

with HACS

polar kelp
#

Did you refresh your browser with F5 after that?

somber crest
#

yes

polar kelp
#

Where do you get that error warning?

somber crest
#

do im allowed to post a picture

polar kelp
#

Try now

somber crest
#

there it is

polar kelp
#

Ah. I see

#

The problem is that the examples in the readme assumes that the card is one in a list of cards. But yours is a single one.

#

Remove the - from the first line, and dedent every row one step to the left and you should be good.

somber crest
#

oh wow

dark dirge
#

Thatโ€™s true of a lot of card docs. Someone was struggling with the custom button card docs yesterday in part because of that

#

Instructions assume yaml Lovelace config

polar kelp
#

Yeah, unfortunately. It's a left over from the dark ages on yaml-only config

somber crest
#

that is so nice

dark dirge
#

Resource location is another issue in many instructions, and HACS doesnโ€™t always handle them for some reason

somber crest
#

interesting, doesnt work. Need to check wich module they use

#

do you know why i dont have a ui-lovelace.yaml?

#

at /www

#

?

polar kelp
#

1: ui-lovelace.yaml generally isn't needed anymore
2: If you need it, it goes in <config dir>/, not <config dir>/www/

#

If you don't have www/ just create it manually, and then restart Home Assistant once

somber crest
#

thanks thomas

#

so lovely from you

#

isnt there normaly entityยดs for the xiaomi vacuum cleaner ?

#

i see functions when i click on the entity , but at frontend i cant put it on

oak wraith
#

Hello,
I seem to be having an issue with adding a Person via the UI. It seems to revolve around the picture key, where I get the error extra keys not allowed @ data['picture']. Got None whenever I try to click Create or Update on an existing Person. However, if I try adding a picture I get the error Error: Unknown error. Has anyone seen this issue before? Google is literally returning zero results for the quoted extra keys not allowed error.

#

Also, the debug output basically prints the same: ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140258131660864] Error handling message: extra keys not allowed @ data['picture']. Got None
Apparently the "Unknown error" doesn't print anything via the debug output.

feral rivet
#

can I use a custom fold entity row card with input select options?

hazy rapids
#

Does anyone know how the History works?

#

It's just one giant .png image

#

Is there anything I can do with it?

torn stratus
#

I have an idea an was thinking if some one has already a solution for it. I have at my first page of lovelace a graph of the previous 24 hours outside temperature. It would be super cool to have in the graph for example the 12 hours data and forecast for the next 12 hours (from some external service). Is this possible?

lime tendon
#

Hello, im looking better looking card for history-graph of simple monitoring if device is on or off

rare smelt
#

Is there a way to play a sound through the browser i.e. when a user presses a button (lovelace yaml)

smoky depot
#

like push any button in the ui?

rare smelt
#

Yes

smoky depot
#

the answer is no

rare smelt
#

Are there no custom integrations for it?

rancid arch
#

I have searched for a browser yaml-file editor for HA, like the one available as addon in HASS.io. Now I use VS Code to remote edit the config-files over ssh. Anyone who know if there are any web-based editor for the ordinary HA installation? ๐Ÿ™‚

smoky depot
#

Are there no custom integrations for it?
@rare smelt not possible with every button in the ui. you "may" find something that is specific to the element it's part of but nothing universal

#

I have searched for a browser yaml-file editor for HA, like the one available as addon in HASS.io. Now I use VS Code to remote edit the config-files over ssh. Anyone who know? ๐Ÿ™‚
@rancid arch I don't understand, anyone who know what?

rare smelt
#

Ok, is it possible to just play a sound to the browser through the ui at all

#

Like if I was using a custom button card, add a play sound event or something to the tap action

rancid arch
#

@smoky depot clarified.. ๐Ÿ™‚

smoky depot
#

@rare smelt i have never seen anything like that, not saying it's not possible or that it don't exists but not seen it myself

#

@rancid arch if you are looking for a browser driven file editor there are many out there, infact I thought vscode had one

rancid arch
rancid arch
#

๐ŸŽ‰ That seems very interesting! ๐Ÿ™‚ Thanks @smoky depot !

#

But it looks like a HASS.io add-on: "Search for the "Visual Studio Code" add-on in the Supervisor add-on store and install it."...

smoky depot
#

you were linking the file editor addon

rancid arch
#

Yes, but in my installation (HA on docker, Ubuntu) I dont have the HASS add-on store... Or is there any way to get it?..

smoky depot
#

ah, i can't help ya there. you'd have to ask someone who hasn't stepped into the 21st century

#

||that was a joke||

rancid arch
#

Ah, I see... ๐Ÿ˜ฆ Then I understand. I didn't run HASS, because I wanted to run some other containers along on the same machine...

smoky depot
#

can try searching the forums or even using the search feature on here. others have gotten what they wanted and I'm sure someone has made a guide how to accomplish but that is outside my scope since that is not something I do

rancid arch
#

Yes, I think I may be able to install a VSCode editor in a container and give access to the files in HA... I'll continue to look for a solution! ๐Ÿ‘

polar kelp
rancid arch
#

@polar kelp Yes, that's an idea I have thought about.
Have not found a way to authenticate in a good way.

My setup is: Public web-front server running NGINX (handles SSL cert...) reverse-proxies (to a local ip) my docker server with HA.
So when running VSCode in an I frame, I would prefer not to expose VSCode in my web-front-server, instead I want the HA to relay the connection and authentication in some way... But I don't really know if its possible with HA... Have seen there are some Camera stream integrations that can relay/proxy LAN camera streams.

unique bramble
smoky depot
#

make it a switch

maiden dagger
#

Does anyone have browser_mod.set_theme working, or know a good alternative that doesn't require setting the backend-selected theme? Other browser_mod services work but not that one. browser_mod 1.1.6, HA 0.114.4. Tried on a totally fresh install with no other custom components or frontend stuff, just HACS and a theme

unique bramble
#

make it a switch
@smoky depot how? define MQTT switch first.. and then use that as light?

maiden dagger
#

can you post the yaml for that card? looks weird

smoky depot
#

@unique bramble yes it would show the light as a switch with a simple on/off

unique bramble
#

ok

rare smelt
#

How would I go about displaying a custom text inside a custom button card depending on an entity's state? I'm tracking on one of my devices is_muted, and if it is true, I want to display the text "muted" on the card, otherwise display"unmuted"

wet pond
#

anyone can help me with zha-network-visualization-card

#

for some reason it just doesnt want to show up

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

resoure is set to: /local/zha-network-visualization-card/zha-network-visualization-card.js and file path is: <ha folder>/www/zha-network-visualization-card/zha-network-visualization-card.js

#

what am I doing wrong?

smoky depot
#

path to resource is probably the culprit

wet pond
#

checked it is not

#

except if /www is not references as local

wheat current
#
  1. As stated in the docs, you need to restart 1 time after initially creating the www dir.
  2. After that make sure you define the resource in the correct place (Configuration -> Lovelace dashboards -> Resources if you are in storage mode, or under the lovelace: key if you are in YAML mode), and you use the correct URL.
    2b) /local/* in the browser maps to config/www/* on the filesystem.
    2c) To validate the URL paste it after the URL you are currently using, http://homeassistant.local:8123/lovelace becomes http://homeassistant.local:8123/local/card-folder/card-name.js
  3. After changing (adding/removing) resources, you need to do a hard reload of the web page for it to be loaded.

If it still does not show, the card might be broken check for logs in the browser console, or you missed something in step 1-3.

#

||In a perfect world everyone was using storage(UI) mode and HACS, then it would not be an issue, since HACS would handle all of this||

wet pond
#

@wheat current ty, unfortunate for me local/picture/picture.jpg works but local/zha-network-visualization-card/zha-network-visualization-card.js is a 404 not found paths are correct 100%

#

this is very wierd

wheat current
#

If 404 then no the path is not correct

wet pond
#

is copy pasted

smoky depot
#

never rely on copy and paste

wet pond
#

haha

#

not even after a docker container stop and start

wheat current
#

That will not magically make a file appear

#

could be cache? try incognito mode

wet pond
#

from what i've read on this customcard some other ppl to had this issue

#

one discovered a misspeled word

#

but i've fix all this

wheat current
#

in config dir, run find -type f -name "*.js"

wet pond
#

incognito no go

#

only sees files from your addon HACS

#

not the dir with this file

#

I did this directly in docker container

wheat current
#

Then you did it wrong and it is not in the correct folder

wet pond
#

idd I did

#

and i know why now

#

because i was working on old path where like a nab i did not deleted old files, I moved all containers volumes under new dir

#

and i did not deleted old path

#

like a biggest nab in here

#

that find fallowed by a ls did the trick for me

wet pond
#

yes @smoky depot it was ๐Ÿ™‚

#

I am a big boy I admit when I am wrong

#

now card loads but i see 1970-01-01 00:00:00 ๐Ÿ™‚

#

so still not working yet i've let zha scan

wet pond
#

yah works well

#

ty @wheat current and @smoky depot as well

feral rivet
#

trying to build a thermostat card using a series of cards. In my first card, if I only want to show the current temperature, would i use entity_id: then the entity climate.ecobee_lite3? Does anyone have an example they could share?

mild veldt
#

@feral rivet don't really know what look you're after with that. I don't believe entity_id is used by any card, but you haven't stated what card you're trying to use

feral rivet
#

I am trying to build a thermostat like this https://i.imgur.com/VIlgQvg.png. I am going to start with a custom:layout-card. I do think that your example has captured exactly what I was looking for. ๐Ÿ™‚

#

thanks @mild veldt

mild veldt
feral rivet
#

Lol that is true. I was so focused on the design that I did not realize that it was very close.

#

to what I wanted

oak wraith
#

I seem to be having an issue with lovelace's Person interface. I'm getting the following error anytime I try to update or create a person: ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140258131660864] Error handling message: extra keys not allowed @ data['picture']. Got None

#

Has anyone seen this before? Or has clues as to what I need to check on to get it to work?

grave charm
#

Guys how to filter out only "Home assistant started" in History please?

quick gate
#

HI, I don't know if I'm right here with my question, but: How to set a static IP address to my HASS ?

#

I tried it via CLI "ha network update eth0 ..." but this doesn't work

elder pendant
quick gate
#

thx

lucid bronze
gusty wing
#

Hi guys, i just did a fresh install of hassio and there seem to be stuff missing like "check config" and "base URL" in the configuration menu
any ideas?

#

SOrry got it, had to turn on advanced mode

blazing turtle
#

Hi all... I am trying to use card-mod to change the color of a unit of measure next to a value on a card. I have finally gotten the value to change, but the unit wont change. Looking at the source, the color is being overridden by var(--secondary-text-color). Anyone know why thats winning over card-mod where that isnt happening on the value class? Happy to share code if that is helpful.

potent epoch
#

how do you make an icon bigger in a picture element card?
I read that you can use --iron-pixel-height: 11px in the style, but this doesn't do anything for me
like

    entity: cover.front_gate
    title: Front Gate
    style:
      left: 95%
      top: 5%
      --iron-icon-height: 100px
      --iron-icon-width: 100px
    tap_action:
      action: toggle```
#

transform: scale(2,2) did the trick

kind shellBOT
tepid rivet
#

Hi Everyone - Hoping to get some help.

#

Recently got Nortek Zwave/Zigbee HUB and connected to my HA VM (Proxmox)

#

Nortek is working and I'm able to connect with Zwave devices (Inovelli Red Dimmer).

#

I connected a Leviton DZS15-1LZ Switch that I was using with SmartThings but trying to move things away from Cloud.

#

I'm able to use the Leviton but having problem with LoveLace UI and properly reflecting the state of the Switch. Here is what I'm encountering:

#

Starting with the Switch Off.

#

Clicking toggle turns (via Lovelace) Switch turns ON (light comes on) and toggle briefly moves to ON but moves back to OFF after a couple of seconds.

#

Clicking toggle ON again (via Lovelace) leaves Switch ON (no change) but now moves toggle to ON and stays there.

#

Clicking toggle OFF (via Lovelace) now turns Switch OFF (light turns off) and toggle briefly moves to OFF but moves back to ON after a couple of seconds.

#

Clicking toggle OFF again leaves Switch OFF (no change) and now moves toggle to OFF and stays there.

#

Any ideas why it takes 2 toggles for state of this Leviton switch to be proper in Lovelace?

hardy ferry
#

does the entity state change?

#

if you wait longer does it ever switch back to on? maybe that integration does not provide a state back to ha. no idea never used any of that zigbee stuff

tepid rivet
#

the entity state doesn't change until I toggle it the 2nd time

#

the switch will toggle on/off the first toggle (not the second)

#

and the entity state will toggle on/off the second toggle (not the first)

hardy ferry
#

does it show the state in your hub thing?

#

and how long does it take to update?

tepid rivet
#

it must change because the swtich turns on

#

and then turns off

#

but only after 2 toggles

#

toggle actions

#

can't understand why the entity state doesn't change the first itme

hardy ferry
#

like i said check that it actualy updates its state. might be some logic in ha that overrides the state if you toggle it multiple times or something

#

like in your zwave hub thing. does it show it turned on?

quick gate
#

Hi all. I'm playing with my homematic roller shutters, can open and close them but how I can set a position? cover.set_cover_position is not working, what I'm doing wrong?

quick gate
#

ok, got it. I have to use the "entity_id" in data

outer gulch
#

When looking at the map/location for a user it states a timedelta. I have learned over the years that this is the last time the device was in a known location. But at the same time the current location has no timestamp, so one doesn't know how long ago that was. Is there a (simple) way to get that - preferably in the same view?

lucid bronze
untold lark
#

the guide looks outdated

#

do i need to add the jukebox-card.js file to the resources of lovelace

#

?

#

i did that but what now

#

?

#

can someone help me

smoky depot
#

I can already tell the path at which you added the jukebox-card.js is probably incorrect

untold lark
#

thats the name of the file

#

there is lituarily no good radio card

#

but i think no one can help me it looks like

smoky depot
#

@untold lark if you copied the file path from that repo then it's likely wrong, infact I see it showing two diffrent paths lol

glad sluice
polar kelp
#

It could all be done with picture-elements, but that might be custom-button-card. That one does way too many things at once...

smoky depot
#

it's custom button using the grid feature

#

has to be

dark dirge
#

is there nothing that it cannot do?

alpine dagger
#

Any advice on calling shell command through button?

#

Got my shell command, my entity button.. but getting an ususual error ๐Ÿ˜ฆ

smoky depot
#

is there nothing that it cannot do?
@dark dirge heh I use to feel that way too when I dived into using it

#

@alpine dagger issue isn't the button triggering the shell command but the command itself

alpine dagger
#

๐Ÿ˜ฎ

#

how do i get it to uhm.. execute the shell command?

wintry gull
#

Hello everyone. With simple-thermostat how is one supposed to turn on the ac? I just get off

frank cape
#

Hey, just installed some dual white under cabinet led strips and looking for a good light card. Anyone know a card that has brightness and temperature?

#

Mostly see RGB color wheels.

#

Default light card shows brightness on main card but need to click in for temp

smoky depot
frank cape
#

yea I saw the 2nd one you posted, not crazy about it since you need to pre-define options it looks like

#

I will take a look at the other though, thanks!

smoky depot
#

there are more out there i am sure,m you just gotta hunting for them

frank cape
#

do HACS stuff always need a restart?

#

been awhile I installed something from it and getting a not-loaded boarder

frank cape
#

meh, something about it pointing to the wrong resource. might have bad config after moving from hassIO to standalone docker

#

card was installed a /config/www/community while resource was point to /hacsfiles/

#

still can't get the card to show up though

finite pond
#

Can template-entity-row and slider-entity-row be combined? @polar kelp ?

polar kelp
#

No

smoky depot
#

@frank cape /hacfiles/ is correct

frank cape
#

@smoky depot is there somewhere I link haciles to the community directory where the module was installed?

frank cape
#

hum then I guess I have another issue if that is already the hacsfiles src

wheat current
#

cache

frank cape
#

browser cache?

#

what that also cause it to error if I open up the code editor and type out the type manually?

wheat current
#

Depends on the "error"

frank cape
#

it was the red box for the card saying "card not found" or along those lines.

#

but yea, looks like cache

wheat current
#

"card type not found"?

cosmic imp
#

but i can't get the slider and controls in one line. if i use the slider from thomasloven toghether with the customuii then nothing appears, but only the custom ui doesn't show a slider. Where can i find more info on this? can't find it on his github. thanks

smoky depot
#

I have not seen anything with those two together but you could probably achieve something that looks like that using two cards and a horizontal stack

frank cape
#

where is the source code for the built in cards? in the FE github repo?

#

I am really not finding what I want, pretty much the basic light card, brightness wheel around the icon but add temp slider somewhere.

#

but don't like how there is no icon and just basic switch

#

am I wrong to go about this by RE how the basic light card is built and seeing about adding a temp slider?

smoky depot
#

you can always build your own card or do what many do, mash together multiple cards to look like one using custom cards

frank cape
#

I was thinking about building my own, was going to use the built in card as a starting point so to speak, "reverse engineer" how that one works and probably pull most of that code

#

not a FE person though, JS maybe but CSS never suited me

smoky depot
#

I believe there is a boiler plate card to help with constructing one out there

frank cape
#

@smoky depot this or you thinking something more specific

smoky depot
#

you can get way more creative than that using some of the custom cards

frank cape
#

you mean there is more out there than just horizontal and vertical stacks??? ๐Ÿ˜

smoky depot
#

@frank cape lol, all depending on the time you want to invest there is no limitations really

frank cape
#

yea I would love to really solve it by developing a custom card, if anything to learn the FE components better... But as I type this I am bouncing on a yoga ball with a 7 week old strapped to me

#

time is limited. haha

smoky depot
#

I think building your own would take longer, but it would probably be easier to maintain and fix should any updates break something

zealous furnace
#

Hello everyone, my weather forecast is showing some circular icons with an exclamation mark inside in place of some of the forecast images. Iโ€™ve not been able to find any other references to this behavior. https://imgur.com/a/YVSLiYA

Iโ€™m using the National Weather Service as my weather data source and havenโ€™t done anything to customize the card in any way.

My area is currently under tropical storm/hurricane advisories so perhaps it is something to do with that? Should I open an issue on GitHub?

smoky depot
#

Hello everyone, my weather forecast is showing some circular icons with an exclamation mark inside in place of some of the forecast images.

My area is currently under tropical storm/hurricane advisories so perhaps it is something to do with that? Should I open an issue on GitHub?
@zealous furnace world is coming to an end would be my guess. kidding, but I never seen that before but almost looks like the author might have coded that in as a place holder should it not be able to fetch data instead of the card borking.

zealous furnace
#

@smoky depot that was my line of thinking too but wanted to make sure. Iโ€™ll open a GitHub issue for it. Maybe at the very least the icon could be resized to match the size of the regular icons.

smoky depot
#

was probably something put in and then never touched again

livid folio
static cloud
#

for a lovelace button is it possible to execute a script without the use of service-call?

smoky depot
#

@livid folio i like the red drop shadow glow ๐Ÿ‘

#

for a lovelace button is it possible to execute a script without the use of service-call?
@static cloud not sure I follow. if you are referring to executing a script just by simply using the script's entity id in a button, yes it will trigger it

static cloud
#

When i click on button it only opens to more info then has an option to execute from there.

smoky depot
#

@static cloud not sure what you have set, but you can change the tap action to toggle

static cloud
#

tried that tap-action shows as toggle. - entity: script.lg_tv_power
type: button
show_name: false

smoky depot
#

you must got something off

static cloud
#

if i execute with info page showing it works properly using 0b115.0b9

smoky depot
#

unless there is something about the built in button card having some issue with executing scripts by id that i don't know about, it should work.

static cloud
#

i will check more details. I also know it will work if i change to a service-call and then reenter details. Just trying to simplify it.

cunning ferry
#

Hey I might missed this or am doing something wrong but when adding a new TAB to the frontend I only see the ICON I've selected even though I've added the tab's title as well. Is this default behaviour?

muted inlet
#

expected

elder pendant
#

Don't give it an icon if you want to display the title

cunning ferry
#

Okay good, I thought I might have mixed something there

spare meadow
#

I might be looking for a custom-card but does anyone know how to conditionally display a card based on the user. (if user A display card, if user B do not display card)

#

(my google-foo is weak...)

hazy dawn
#

hi guys. how can i set the button card to trigger my scenese? is that possible?

dark dirge
#

Of course

kind shellBOT
dark dirge
#

scene.turn_on

alpine dagger
smoky depot
#

@alpine dagger the error 255 can be a couple of things, no connection or the script returns the error.

alpine dagger
#

hmm i can run it through terminal

#

but pressing button throws error

main scroll
#

I want to integrate my own app into hass, can anyone point me in the right direction?

dark dirge
#

do you just want to display an iframe from another web app (or front end for a service)?

main scroll
#

hmm that might be a good alternative @dark dirge thank you

latent moss
icy patrol
#

anyone know how to make a dummy Execute button in HA? I just want to use that button for nodeRed to run an action

dark dirge
#

@icy patrol Seems if itโ€™s a โ€˜dummyโ€™ button that it literally does nothing. What do you actually want it to do?

icy patrol
#

i want node to catch that and run some commands

#

i dont want to use a toggle switch

dark dirge
#

Make a button card. But you need to figure out what you can do that you can โ€˜catchโ€™ in NR

icy patrol
#

in NR; i can then then watch for the state on and run stuff

dark dirge
#

In any case, itโ€™s not a โ€˜dummyโ€™ button. I guess youโ€™d need to toggle an input_boolean or something like that

#

Better to ask in #node-red-archived , because you can make a button card do anything. So the question is really a NR question

icy patrol
#

thinking since script makes that Execute button

#

that there is a non sense script i can make

dark dirge
#

@golden mulch Not a Frontend question. Check in #integrations-archived , and investigate the scrape integration

icy patrol
#

to maybe refresh something

golden mulch
#

@dark dirge thankyou

dark dirge
#

My point is that you have to do something if you want to trigger on something

glad hinge
#

looking for an example where a custom button card icon and color change based on some logic from a couple of different sensors. one way I can think of doing this is creating a new sensor entity in my config yaml and just defining a new value template there, and then defining different styles for each state in the button card definition. I think this will work. but I'm wondering if there's a way to do the calculations in the definition of the card itself, and if thats a bad idea for some reason

#

but thats just using one entity. i want to base the card display on multiple entities

#

to be specific, if outdoor temp is more desireable than indoor temp, AND outdoor air quality is acceptable, then display a green open window icon. If air is bad quality, display purple closed window icon. if air is good quality, but outdoor temp is not desireable, display red or blue (too hot or too cold) closed window icon

green raft
#

I've created a custom sensor to determine my daily energy costs/ROI from my new solar system using tariffs. This value can be either negative (for costing money), or positive (for generating money). Anyone know how I'd go about using the mini-graph-card to display this on a daily basis? I can't just use either MIN or MAX, because it's really just the final value for the grouping for the day.

#

So it really needs a "last value by group" aggregate.

#

D'oh. Should really have read the docs for mini-graph-card first. Already implemented a first and last aggregate.

novel dragon
#

Hey folks. Is there a way to have a lovelace entity filter panel where the entity list is a search? I want "every light in $ROOM" even if I add them later.

smoky depot
sweet palm
#

Hey i have a ton of zigbee devices with batteries and i would like to have a card showing the one that is running low on battery.

I have created a template:
`{%- for x in states.sensor -%}
{%- if x.attributes['device_class'] == 'battery' and x.state | int < 90 and not 'phone' in x.entity_id -%}

  • {{x.entity_id}}
    {% endif %}
    {%- endfor -%}
    `

Is it possible to get this list shown as entities and their state somehow.

I have been looking at https://github.com/iantrich/config-template-card, but i am not sure if this can do it for me

hollow perch
#

So with 114 they introduced dark mode so that if you are using a dark mode on your device HA goes into a dark mode as well (no theme). I really like this, but have one issue... my garage door buttons are almost impossible to see which is active.

anyone know the easiest way to fix this?

lament swallow
#

Just a basic question! I am using HA to keep track of a water tank level. So, I added a Picture Elements Card to user interface with the water level information on it. The picture shows a full water tank. I have other pictures showing water tanks in different levels.

Question 1: Is there a way to change the picture according to the level?

Question 2: Is there a way to choose the image size in lovelace? It is so big!

brisk badger
#

anyone able to help me setup my first script where I want to flash a light on / off forever? - I have tried using the GUI and it flashes once and stops - Cancel that, I've sorted it - the repeat has to go first not last.

novel dragon
#

@smoky depot that exactly! Thanks!

#

I was hoping it'd be something built in

oblique thicket
#

hi all, i'm running HA using docker (if that matters), when I click on a sensor on a lovelace dashboard, i'm getting this history of all sensors below it instead of just that one

vestal sierra
#

i setup a raspberry pi 4 as a kiosk using chillpie-kiosk and it works great but the entities are a bit too large for the screen without scrolling using the standard lovelace dashboard. Is there a better dashboard for 7" screen or a way to make the default dashboard entities smaller?

tight steeple
#

Does anyone have a decent way to make a vertical Slider?

wheat current
#

transform: rotate(90deg);

tight steeple
#

That will work but the finger gesture is still horizontal

wheat current
#

I think there is a custom card that does it

tight steeple
#

I have seen a custom card but I would like it to look like the stock Lovelace one and I don't think it did

wheat current
#

That is hadashboard

tight steeple
#

So it is

#

Do you remember what the custom card was called?

soft turret
#

Hi! So with automation builder is it a bug when under actions I write something into the input box(for ex. under delay) and then when I delete everything from the box to change it, it says "No UI support for action:"

feral rivet
tight steeple
#

Your image doesn't really explain alot, at least to me, care to elaborate?

feral rivet
#

@tight steeple My bad I was trying to get all the information together, but kept forgetting that I don't have the luxury of hitting enter to go to the next line.

tight steeple
#

So the input select needs to be stretched horizontally?

feral rivet
#

yes

tight steeple
#

Have you tried column_width: 100%

feral rivet
#

No I only did the max_width:. I will give that a try

tight steeple
#

What is the slider entity row card doing? Is this giving you the volume slider?

feral rivet
#

The slider card is giving me all my controls. I could possible use a horizontal stack for this as well.

#

colunm_width: 100% did not change anything on the layout.

tight steeple
#

I can't get a layout card to stretch anymore than that either, even if I set to something stupid like 10,000px that's the max it will go

feral rivet
#

yea I am not sure why the card is being limited

#

I have tried a lot of things before coming here.

tight steeple
#

I would guess it's a limit of HA or layout card

#

I'm still not sure what the slider entity row is doing, the 3 buttons are from the button cards right?

feral rivet
#

yes

#

Not sure what the thought was to selecting that card type.

#

I will change that card type to a horizontal-stack.

tight steeple
#

May aswel because it's not using any of the layout card features

#

What does it look like if you take out the slider entity row?

feral rivet
#

So I was wrong the slider card was there for the volume. Now I remember exactly why as well. When you hit the volume buttons below. the response time is extremely slow. so i was trying out the card with the slider to see if I like that better. That said I don't believe that the slider is a good option when considering a tablet that will be wall mounted, but my thinking could be off.

tight steeple
#

I personally prefer a slider over a button for volume control so I can jump straight from say volume 2 to 10 without having to hit the button loads of times but each to there own, nothing wrong with the way you do things if they work

feral rivet
#

lol that's the thing, I am not sure what will work best I am just putting things together.

oblique thicket
#

hi all, i'm running HA using docker (if that matters), when I click on a sensor on a lovelace dashboard, i'm getting this history of all sensors below it instead of just that one
@oblique thicket anyone have any thoughts on this? I swear previously when I clicked a sensor on the dashboard I only saw the history for that one sensor

tight steeple
#

Yep my sensors only show history for that sensor

#

Maybe there all in a group or something? I don't really use groups so never noticed it's behaviour

oblique thicket
#

i'm not sure how i would have gotten them into groups

#

even when i look at the entity here: /config/entities and click the three bars in the top right, i get all sensors in the history

tight steeple
#

Not sure, a bit out of my league I'm afraid

oblique thicket
#

odd, it seems to be something related to my nginx proxy in front of my instance. if i hit the instance directly with http, i get the right graph, with the nginx SSL connection, i get all the things

#

yep, that was it. tweaking my nginx conf resolved the problem, though unfortunately i didn't record what the previous config was so i know what fixed it ๐Ÿ™‚

twilit gull
#

Im using this card but for some reason when i change the theme it doesn't update the text colour, in dark theme the text should be white and in light theme it should be black but its just black all the time

feral rivet
glad hinge
#

RomRider's custom-card button-card is different than lovelace button card, right? so threads about the lovelace button card are not necessarily applicable?

#

from looking at the config options on both pages it looks like the custom-card button-card is inclusive of the lovelace button card but with additional functionality

glad hinge
#

well a trick to find some examples seems to be googling "type: 'custom:button-card' -github"

#

so thats useful

#

@feral rivet I dont know the answer of your question but in reading the github page for the custom layout card, it looks like he specifies column_width: 30% for example. Can you just specify the width of each column as a percentage?

#

or maybe column_width: [70%, 30%]

#

also you have a typo on line 26, colunm-num should be column_num

#

unless im dumb

#

which is likely

true merlin
#

is it possible to use an attribute as secondary_info in an entities card?

#

i want to use the 'item text' from a 17track sensor as the secondary_info on an entities card

#

so that it shows the latest tracking info, as opposed to showing the last time it checked for updates

broken marsh
#

hours_to_show: 80 not working on badges? When I click on a badge, can I get a longer history somehow?

split granite
finite pond
#

How do I map the state of a device_tracker entity in button-card? E.g. home -> on, not_home -> off

wheat current
split granite
#

Yeah, but the link for the CDN is handy for folks

#

Since it's pretty common for people to ask for a list of the available icons...

wheat current
#

.mdi

#

Maybe @kind shell could parse that file and respond with a updated link

split granite
#

Anything's possible ๐Ÿ˜„

broken marsh
#

Even longer history on badges? ๐Ÿ™‚

wheat current
#

sure, when the dialog is open, click the title

feral rivet
#

morning, can anyone else please take a look at the earlier post around and issue I am having with custom:layout-card not properly taking the assigned column_width:

#

I have addressed both points made by CMDR Etienne Champeaux, but still getting the same response.

broken marsh
#

Ludeeus, hehe... was that a joke?

wheat current
#

no?

broken marsh
#

I meant a longer period of time. Not just a wider graph ๐Ÿ˜›

wheat current
#

oh ๐Ÿ˜…

broken marsh
#

It's only showing the last 24 hours I think

wet pond
#

i have google calendar setup and working, the HA introduced lovelace calendar that is very nice, but I would like to make it start the week on Monday not Sunday like it is now, how do i do this, TZ is set correctly, locale i don't know where to set it up, usually those kind a things are tied to locale

#

anyone can help me resolve this?

#

there is nothing here about this ๐Ÿ˜ฆ

zenith yew
#

guys, is it known bug, putting multiple horizontal cards in a vertical one + addind several butto cards within horizontal one there has a bug. No enough indentation

#

in code

glad hinge
#

@feral rivet if you post your latest code I would take a look and see if I notice anything else, sometimes fresh eyes help

mighty tree
#

Hi guys, I have an issue with my lovelace frontend and the forum does not help. So, I have a view with a custom:layout-card defining a horizontal 80 20 layout. Then, I have a picture-elements card in the first column and a vertical-stack card in the second column. The picture-elements card uses an svg as a background (i case this is important). So, here is the problem: With the custom:layout-card, the web page freezes after 2-3 view changes. Removing the custom:layout-card solves the problem, but then I cannot have these specific column sizes. In case it is important, I needed to add the preloader extension to load the picture-elements card (otherwise, I get the hui-custom error).

feral rivet
#

@zenith yew is this reported in some type of release or forum? Is there a work around for this?

zenith yew
#

@feral rivet well, manual indentation fixed it. Although i would have to go back and start all over again to confirm it one more time. Maybe it's only the case once the first card is made. The one which gets vertical > horizontal > buttons

mighty tree
#

Okay, I found an ugly workaround. I will make the picture-elements card full screen but add space inside the svg. Then I will add a custom:vertical-stack-in-card, in which I can add any other element that was supposed to be in the other column... seems not the right way, but might just work

delicate surge
#

Can I ask about HACS here?

dark dirge
#

not ideal

brisk badger
#

SSL/TLS not my strong point here... and I don't need to access HA externally (I'll VPN in if I have to) however, I still want to secure my hassio.local:8123 from http to https. What's the easiest way?

#

Is it possible to use letsencrypt for a hassio.local address?

vital sand
#

Does anyone know what the criteria for the order in the history page is? It seems totally random to me

pallid pier
#

Is there way to add editable helpers to lovelace? That is, I have a input_number and want to add it to the dashboard as a slider.

vital sand
#

you can add a slider card and set the helper entity_id on it

#
entity: input_number.test_helper
name: Test helper```
#

That's an example

pallid pier
#

When I try that, i get a "Custom element doesn't exist: slider-entity-row."

vital sand
#

THat's a custom card, yuo have to install it

pallid pier
#

Ah I see

zenith yew
#

Guys, i have some static pictures but my public port and private port when i'm in home are different so i want to be able to open the photo despite the way of accessing the homeassistant. For example it's a photo in www/something.jpg and i can access it in local network like: https://example.com:8123/local/something.jpg and if i go on 4G on my phone i can access it like https://example.com:7654/local/something.jpg how can i make my dashboard card to switch or to open which ever is present

#

Is there a way to "get url" so that i can change that URL part

#

?

#

Ou, looks like i can remove the url path and just use the URI ๐Ÿ˜„

zenith yew
#

Is there a way to override css of some cards?

#

forexample to remove map + - buttons

#

?

keen belfry
#

Hi, don't know if that has been raised or not but just updated Safari to v14 and each time I want to toggle a switch, it reloads the webpage.

wheat current
#

Apple sucks

keen belfry
#

๐Ÿ˜„

wheat current
keen belfry
#

I was on it and about to delete my question.

#

Thanks

#

Will be shipped in release 15?

wheat current
#

That or a patch shortly after

keen belfry
#

thanks again (and see you early on zigbee channel)

#

I confused you with Tinkerer ๐Ÿ˜”

wheat current
zenith yew
#

How can i remove those autogenerated sensors in the top of the lovelace dashboard?

polar kelp
#

By taking control of the interface by manually editing it or by giving them an area so that they're moved into an area card.

zenith yew
#

@polar kelp i did the first thing, already made some cards there, so if i understand you correctly, i should just create new dashboard without those and make things i wanted?

#

ou.. sorry

#

i see it now

#

Like

#

badges

#

in the

#

dash config

polar kelp
#

yes

zenith yew
#

thank you @polar kelp

polar kelp
zenith yew
#

It is a nightmare to add/change anything besides the default things.

polar kelp
#

Only the first few times, then you get the hang of it.

zenith yew
#

I would not say that this is not great product but 1. forums are usually without help, and 80% of cases when i find someone asking same thing that i need, actually the solution starts at the point below which i don't understand how to to the things

#

2 hours i spend trying to figure out how to use soem thirdparty time card and i didn't make it

#

everything seems so simple and actually it's not.

#

If i open topic asking that there is 20 different informations i have to give

#

for someone to help me

smoky depot
#

@zenith yew like any learning curve it just takes time and patience

zenith yew
#

this one is particularly steep

mighty tree
#

@polar kelp Hi Thomas, I have a problem using the custom:layout-card. I use this in combination with the picture-elements cards. I need to use the preloader addon to avoid the problem of "custom element doesn't exist hui-..." However, the frontend gets stuck when switching the views (between 2-3 switches, reproducibly). My guess is that this has something to do with the lazy loading functionality of lovelace behind the scenes, but I am not sure. Do you have any hint for me?

polar kelp
#

I really don't think you need the preloader. Certainly not for layout-card.

mighty tree
#

When using the layout-card and defining the picture-elements card inside, I get the "custom element doesn't exist hui-picture-elements-card" error. The preloader has fixed it, but caused(?) the frontend stuck problem.

#

My workaround is that to use only the picture-elements card in panel mode and defining there "custom:vertical-stack-in-card" elements. But this produces yet another obstacle that the vertical-cards in the picture-elements card get automatically scaled down when they are positioned to the right boarder.

polar kelp
#

What versions are you on?

mighty tree
#

latest... let me check

#

0.114.4

polar kelp
#

And what does your browser console say about layout-card?

mighty tree
#

browser console? ... can you help me? ๐Ÿ™‚ I don't see the version in HACS, but at least, I cannot update it there anymore. ๐Ÿ˜‰

polar kelp
#

If you use chrome, press ctrl+shift+j and you should see some green text with "LAYOUT CARD XXX IS INSTALLED"

mighty tree
#

ohh, it might reference to an old manual istallation... thanks for the hint, will report the layout version. one sec ๐Ÿ™‚

feral rivet
#

hey thomasloven, are you able to take a look at my config for a layout card, that I have provided with a column_width: - 70% - 30% but where it card is split 50/50?

polar kelp
#

That's not a layout-card. That's a horizontal-stack.

mighty tree
#

Ok, sorry for the late response. I needed to code the layout-card again to see the effect of loading. The problem is I don't see LAYOUT CARD XXX INSTALLED but an error. So, I guess it might point to an old resouce of the layout-card (feeling stupid).

feral rivet
#

I'm confused, because it does sit inside a layout-card.

mighty tree
#

layout-card.js:1 Uncaught (in promise) TypeError: n.setConfig is not a function
at r (layout-card.js:1)

#

I will verify that the HACS layout-card is loaded and not an old one. Let me get back to me.

#

to you ๐Ÿ™‚

#

Hmm in lovelace.yaml it points to /local/layout-card.js, which should be correct. But, the last changed file attribute is Jan 6th 2020. This can't be right, is it?

polar kelp
#

lovelace.yaml isn't even the way to define resources anymore. You do that in configuration.yaml under a lovelace section or in โš™๏ธ -> Lovelace Dashboards -> Resources (requires advanced mode)

#

@feral rivet ```yaml
column_width:
- 70%
- 30%
type: horizontal-stack

mighty tree
#

ohh, thanks for the hint. It seems that I need to move some stuff. Could this be the issue? Will do the change now.

polar kelp
#

It certainly could. I believe the problem you're experiencing was fixed back in February-March sometime.

mighty tree
#

ahh ok. I'll come back as soon I fixed the yaml files. I wasn't aware of this change and the forum ages very badly when searching for code.

dusk topaz
#

having some issues with a card. It is a custom stack in card with a nested custom state switch which then has various cards nested. Evedrything works great until I add my third state and cards. Once I get there I just get the spinning circle in the card editor like if something were not formatted correctly. I am starting to think that this could be a line or charecter limit in the editor. Can anyone she some light? Are there any limits?

vapid field
#

hello everyone, i'm trying to use mini-graph-card. I can't do it. at best i have a blank page ... can someone help me?

dusk topaz
#

I use that card all the time post your code I will help you

vapid field
#

i installed with hacs, this is version 0.9.4

mighty tree
#

Hmm, so I moved from ui-lovelace.yaml -> resources: ... to configurations.yaml -> lovelace: resources: ... add it shows under dashboard->resources the layout-card. However, it don't see that is is loaded in the browser console and I still have the problem that the whole frontend gets stuck (this is why it took some time).

vapid field
#

I added the line in configuration.yaml.
Then I made a new ui-lovelace.yaml file
I made a copy and paste to have the same pages

mighty tree
#

I now try to re-install card-layout since you said that this problem has been fixed.

vapid field
#

how to reinstall the layout-cards ?

mighty tree
#

A custom card from HACS can be re-installed

vapid field
#

I reloaded the layouts, everything works except the page where I want to use mini-graph-car. There is only the blindfold

#

I'm lost ...

#
  • badges: []
    cards:
    type: 'custom:mini-graph-card'
    entities:
    - sensor.memory_free
    icon: 'mdi:server-network'
    path: informatiques
    title: Informatiques
mighty tree
#

Sorry, haven't used the mini-graph-card yet. Have you tried a minimal example and little by little adding complexity until it brakes?

#

the sensor entity has not the right intend, I would say

dusk topaz
#

@vapid field - sensor.memory_free needs to move over two spaces and what is the path attribute i do not see that in the documentation for mini graph card

#

@vapid field actually looks like all of your indentation is off

mighty tree
#

@polar kelp Thanks for the discussion. After re-installing the addon, I saw a changed HACS instruction for a different path to the js file (i am not sure why I have seen an old description there although I updated the addon. only after a re-install I saw the correct and latest file location). Now I see LAYOUT-CARD 1.3.1 IS INSTALLED and the frontend is not stuck anymore. Yay... now preloader seems to be still required for the picture-glance card and iframe. Also, I am now getting a "too much recursion" error when using "'custom:vertical-stack-in-card'" in picture-elements card.

#

ok, the recursion problem was also caused by too old js files and a re-install solved it. Now, only the preloading issue remains. Is this an actual problem to use the preloader addon and should be avoided?

polar kelp
#

The preloader is a patch to fix a problem with cards that should really be fixed in the cards themselves.

mighty tree
#

ahhh I see thanks again Thomas! You helped me a lot. ๐Ÿ™‚

polar kelp
#

A better solution would be to let the card developer know their cards don't work as supposed, or in case you're trying to use like a card in an elements position or a row in a card position or something; you can use this: https://github.com/thomasloven/lovelace-hui-element

#

In your case, I think that's what you actually need.

mighty tree
#

that's right. This seems to be the card that I actually wanted. ๐Ÿ™‚

strong cargo
#

On the default theme, can I enforce dark mode with an automation ?
I can't find the solution...

polar kelp
#

It should be sending calling frontend.set_theme with mode: dark, but I can't get it to work...

strong cargo
#

I tried that also, not working...
Only setting manually in the user-profile does the job.

spark fern
polar kelp
#

@strong cargo Confirmed no way to change mode at the moment

strong cargo
#

@polar kelp bug or new feature ?

polar kelp
#

New feature coming up. mode: dark means it sets the default theme when your system is in dark mode.

#

So I was way wrong on what that did

#

(won't be in .115)

strong cargo
#

Other question, i don't seem to find the answer: can you change the name and icon of the default lovelace dashboard ?
I use YAML configuration, and for other created dashboard this works, but not for the default.

tight steeple
#

Does anyone know what would cause a t.setConfig is not a function error?

polar kelp
#

Could be lots of things. Custom card?

tight steeple
#

Yes it's the swiper card, when I first save after writing the code it works fine but if I refresh or reload the app then I get that error

tribal sundial
#

I want to represent the hierarchical relationship between the elements in a system that is being eavesdropped by an integration (and exposed as Sensors, Climate devices, etc.). Roughly Controller (a device) -> Domain -> Device, and Controller (a device) -> Orphan device. I currently have this as JSON. How can I best expose this to the user via the Web UI? Using device state attributes doesn't really give an overview of the system.

polar kelp
#

Sounds like youโ€™d need to make a custom card for that.

tight steeple
#

Does anyone know what would cause a t.setConfig is not a function error?
@tight steeple

Seems like a bug in the card, a reinstall seems to have fixed it for now

elder pendant
#

Can anyone verify that the new sidebar rearranging feature is broken in Chrome? It works fine in Firefox, but this is what it looks like when I try in Chrome https://i.imgur.com/WtNW7Jg.gif

#

Chrome version 85.0.4183.102 on Windows 10 fwiw

polar kelp
#

Cache cleared and all that?

elder pendant
#

Yup

polar kelp
#

Let me spin up a container

elder pendant
#

uninstalled all custom resources, incognito

feral rivet
#

I need some help with a determining the best card for my use case.
My HA system has a few sonos devices and in the Dev Tools> attribute I have source_list which has all the stations that I have saved in the SONOS app.
I want have all my saved stations either displayed on a card to the right on my custom:mini-media-player card in which I have hidden all of the controls and feature. I am also open to having this card be a drop down as well.
What I don't want to do is create specific buttons for these station that may be changed from time to time.

wheat current
feral rivet
#

Yes I have done some searching and have not found anything like this.

polar kelp
#

Works for me on macos, @elder pendant

#

And chrome on Windows 7

elder pendant
#

Damn, I don't know what's different then. @wheat current yes it appears to work there

wheat current
#

Sounds like cache

elder pendant
#

idk how it could be

polar kelp
#

The only thing that should surprise you about caching is when it works the first time

wheat current
#

Any console errors?
If you look at the element with the "sorted" ID, is it hidden?

elder pendant
#

They all have class hidden-panel mindblown

#

but why

#

Wait, no

#

only two of them do: dev tools and config. The others just don't exist

wheat current
#

I was wrong

#

"sortable" was the ID you want to look for

#

I suspect it has display: none;

elder pendant
#

yup, that's it

#

I can manually fix it, but it stops working on refresh

wheat current
#

That was fixed

#

What version of the frontend do you have?

#

Should be 20200917.1

elder pendant
#

oh ffs. docker-compose pull without running up -d ๐Ÿคฆ

#

thanks โค๏ธ

polar kelp
#

O_o so what were you actually running?

elder pendant
#

beta 11

polar kelp
#

Ah. Makes sense

elder pendant
#

Rookie mistake ๐Ÿ˜“

#

sorry for wasting everyone's time. I'll go back to my hole now ๐Ÿ™ƒ

polar kelp
#

Well, you prompted me to update.

prime umbra
#

0.115 when clicking edit the side bar, the done button wont show anyone with same problem?

elder pendant
#

What browser?

prime umbra
#

chrome

elder pendant
#

Cleared cache?

polar kelp
#

Click and hold

#

Wait

late ocean
#

hey guys, I have just updated HA to 0.115 and as a result I am getting an error when starting up, indicating customizer cannot be loaded. I had installed customizer as AFAIK it was the only way to do template base global customization. Has anyone run into this?

polar kelp
#

I need to learn to read

#

And also, I have the same problem...

prime umbra
#

i have cleaned the cache

#

alot time and nothing

elder pendant
#

hmm, works for me on Windows 10 Chrome

polar kelp
#

The icons wiggle, right? Just no done button?

prime umbra
#

yep

polar kelp
#

Same as me then. Well. Refreshing the page seems to save the changes anyway, so ๐Ÿคท

prime umbra
#

@polar kelp you thing has to do with the Favicon changer cause the title is change?

polar kelp
#

oooooh! Of course it is!

prime umbra
#

๐Ÿ™‚

polar kelp
#

That's pretty much the only thing I have

#

I'll do something about it

prime umbra
#

ya sense me and you only problems

#

hehe