#frontend-archived

1 messages · Page 172 of 1

late ocean
#

Has anyone got template based customization working in HA 0.115?

lavish solar
#

looks like there a bug with the drag to order entity list when editing a card. if i drag an item to the bottom it duplicates it. can anyone duplicate it before i open an issue?

#

in 115.0

elder pendant
#

Confirmed. And it adds - null to the entity list causing the card to break if you save it

lavish solar
#

mine doesnt show null, shows then name of the dragged entity

elder pendant
#

Oh it only adds - null if you try to move the duplicate

lavish solar
#

save works, but the dupe'd item doesnt appear.

#

yeah if click the x on it, it leaves a blank line

#

ha, acutally click the x on it removes all instances of that duped entity

elder pendant
#

Yup. Interesting

#

surprised none of that was caught

lavish solar
#

im really good at updating my test environment with each beta... its the testing each beta part that i suck at

#

ive been going through the release notes today and check out all the stuff that I can.

#

that dark template editor is sexy

polar kelp
#

Version 10 released, @prime umbra

prime umbra
#

nice

polar kelp
#

Wait... it doesn't actually contain the changes...

#

Now. 10.1 released

prime umbra
#

@polar kelp confirmed its working now

#

thanks 🙂

zenith yew
#

2 days into homeassistant and i still have no idea how to use some custom modules/badges etc. Even installing HACS 😄

spare aspen
#

Hello everyone! Has someone tested 0.115's calendar card with Home Assistant Cast yet? Calendar shows up but there are no entries ... What am I missing here?

analog zephyr
#

hi folks, i'm taking my first steps into custom card modding 😉 and i'm currently wondering how to read the primary color out of HASS so that it matches the theme?

#

there are config params allowing to set the colors in the card itself but we'd like to fall back to the general primary color

polar kelp
#

In your css, just put color: var(--primary-color, #aabbcc); where #aabbcc is your fallback default.

#

Or css --my-color: ${color_from_card_settings}; color: var(--my-color, var(--primary-color, #aabbcc));

analog zephyr
#

hmm k

#

currently the card is using

#
var sideColor2 = this.config.sideColor2 ? this.config.sideColor2 : '#b30000'
#

so it'd be great if i could just reference it in the javascript section

#

(which is what I haven't found yet)

polar kelp
#

Well, you could use window.getComputedStyle(this).getPropertyValue("--primary-color"), but that won't update automatically on theme changes the way CSS will.

analog zephyr
#

I see. OK - thanks 🙂 i'll have some modding to do

#

is there a list of all colors HA sets? (probably)

polar kelp
analog zephyr
#

Just found that one 🙂 but for now i'm aiming on the default light/dark themes of HA.

#

Thanks again 🙂

loud thistle
#

Hmm, after that happened more than once already.... How about making the config scanner check for outdated/invalid entities used in configuration and automation? I try my best to find all of them coming with updates and still I way too often forget one and then later am wondering why my stuff is not working as expected. ^^

kind shellBOT
lone halo
#

Hi all, I updated to 0.115 and now my fronted is not responding anymore. The VM in which HA is running is still there so I can se that the system il "working". I tried to use cli command to restore previous version (0.114.4) but after the restore part "ha core info" says that I'm still running 0.115 against 0.114.4. Can someone please support me?
https://paste.ubuntu.com/p/W3T628GqxC/

loud thistle
#

Finding the reason why it does not work might be a better idea, but.... ha core update --version=0.114.4

lone halo
#

I do agree but at the moment the priority for me is restoring all my automations 😢

loud thistle
#

I know that feeling, see above 😛 Well, that command "should" downgrade your Core. Never recovered one of my snapshots tbh aka no clue if it does downgrade by itself

lone halo
#

uhm output is processing....done (without waiting) and then ha core info show always 0.115

#

I tried to restart ha core but it says error

somber crest
#

Hi

#

guys i have some problems with the netatmo integration.

#

this is the example from the homepage

urban canopy
loud thistle
#

@lone halo in that case... No clue i fear

vapid field
#

How do I make HA use 24 hour time instead of 12 hour time?

#

it's showing me PM and AM stuff in the log and it's annoying

wet pond
#

question: did you guys know that media_player card doesn't let you to actually stop the video you playing, just start and pause? why not add a stop button? what am I missing?

frosty crane
#

@vapid field I believe you need to set your system's language to "English GB"

vapid field
#

home assistant system or whatever client I'm accessing from? Because my browser is already using british english

#

my timezones are already set to CEST if that makes a difference

frosty crane
#

Go to your profile settings, there should be a language defined there

#

(Home Assistant profile that is)

vapid field
#

I don't have a profile settings in my menu

#

oh wait I have to click my username

#

ha

#

there we go, english (GB) did the trick

#

thanks

frosty crane
vapid field
#

surprised it's not its own setting

frosty crane
#

I won't pretend I know much about it all to be honest, I just remember coming across this somewhere else before

frosty crane
#

I’m trying to set up an easy way for guests who are visiting my house to access Home Assistant...I’m 90% there and the only thing that’s holding me back is this: https://imgur.com/GfpcWaz.jpg
I’ve got this in my config:

auth_providers:
  - type: homeassistant
  - type: trusted_networks
    trusted_networks:
      - 192.168.10.0/24
    trusted_users:
      192.168.10.0/24: !secret guest_user_id
    allow_bypass_login: true

I've got the bypass login there but users still get the prompt to log in with a username & password or Trusted Networks. I'd assume with there only being one user available to that subnet, they'd be logged straight in thanks to the trusted_networks and trusted_users config combined with allow_bypass_login: true?

whole heron
frosty crane
#

@whole heron is the relevant resource for that custom element in Config > Lovelace Dashboards > Resources?

whole heron
#

oh no, it isn't. weird.

#

before the cards were working, how could this be?

frosty crane
#

I couldn't say to be honest, I was just double checking the basics 🙂

whole heron
#

ah.. is the conditional card not part of the basic lovelace install?

#

just did type: custom:hui-conditional-card because i added this part below - type: vertical-stack what is a custom module

frosty crane
polar kelp
#

That hasn't worked for a while. There are two solutions

#

Well, three, of which the preloader is the worst

whole heron
#

ah

polar kelp
lone kite
#

Is there a way to remove the Calendar entry from the sidebar. I have a card that adapts theshown calendar to the users and its useless if my wife can access my work calendar through the sidebar anyway

polar kelp
#

Click and hold the title, then click the X

frosty crane
#

@polar kelp that's only on a per device basis though isn't it? So @lone kite will have to get his wife to remove it from her device?

#

(Unless that's good enough of course!)

lone kite
#

nope UI config propagates from the admin to all users

#

Thanks, been searching for that for hours

frosty crane
#

Oh, that's my bad! I saw this These settings are stored on your device in the local storage of your browser, this means that this setting is device-based and will be cleared when you logout. which doesn't sound like what you describe - Good to know!

lone kite
#

in that case my phone should still have it

#

damned

frosty crane
#

Does it?

lone kite
#

yeah

#

now that makes it perfectly useless

whole heron
#

maybe I just was watching old cached sites...

#

thanks @polar kelp @lone kite

frosty crane
lone kite
#

wich means i now need a way to restrict certain users from certain entitys

frosty crane
#

Yeah, which is where the permissions aspect is needed unfortunately 👍

mighty tree
#

Hi there, one question. In picture-elements, can I show an image based on its entity state? To be clear, I want to set "the presence" of the image based on the state and not replace the image using state_image. That is, only when a light is "on", then I want to show an image. Of course, I could rescale the image or make it transparent in the "off" case, but I would like to know whether there is a better solution.

frosty crane
#

Nice and easy with a "Conditional Card" @mighty tree

#

Edit the UI, click + in the bottom right and select 'Conditional'

mighty tree
#

ahh right... I need to get more "versatile" with the cards. 🙂 thanks! I use yaml mode... but I got it... also, I now find the transparent image even better as I need the "hit box" for the tap action 😄

frosty crane
#

There may be another way but the only drawback is that you'd have to have multiple cards for multiple states (ie. one for on and one for off)

mighty tree
#

yeah.. i recogn'd that there is the N/A state, which I didn't capture yet

lone halo
#

@lone halo in that case... No clue i fear
@loud thistle I managed it this way: I removed "all" my config and 0.115 loaded. Then tried to fix issue without success (TOO DAMN MANY) and restored previous sn via gui. Man...what a journey.

What piss me off is that I was hoping that a longer development was more secure. Now I have an ERROR output checking my config but only warning inside the log!

gilded swallow
#

Hi all, how can I change the appearance of a switch in an entities card, between 2 lightnings and a "switch-bar"?

mighty tree
#

Is there a way to retrieve the current resolution or deviceID on which the lovelaceUI is currently shown in a way that I can change the font-size of a state-label in the picture-elements card. (I hesitate to define a whole new dashboard yet just for the scaling of the labels...).

thick dagger
#

So I didn't see anything in the breaking changes but is anyone else having issues with the thermostat card after this update?

elder pendant
#

Issues such as what?

thick dagger
#

So if I turn on the AC side of it the setting tries to go all the way up to 162

#

and the card also doesn't display the current temp

thick dagger
#

@elder pendant if you'd like me to send a screenshot to you let me know. Thanks

#

@elder pendant you can disregard. Apparently my thermostat decided now was a good time to also need a power reset so that it could start talking to the network again

main quest
#

666

#

Hello, everyone

#

Excuse me, how to use "hui-entity-editor" "hui-*" in "getConfigElement"

#

@polar kelp Hope to get help, thanks

gilded swallow
#

@polar kelp I wish to do the other way around, I want to have the 2 buttons instead of the switch which I have now..

polar kelp
#

Then set it to true

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?

dark dirge
#

custom_ui is pretty much unsupported now. You’ll be better off using cards that support templates/colors natively (like the venerable custom button card) or card_mod

#

I don’t know if custom_ui broke with 0.115, but it wouldn’t surprise me

supple orbit
#

Is there a good way to embed a lovelace dashboard into another page without loading the rest of HA (e.g. sidebar and header?) Right now I have custom header hiding all thecomponents and trusted users handling an auto-login, but it's a pretty ugly hack.

polar kelp
#

No, there's no way to do that.

supple orbit
#

That's what I figured. Debating keeping it this way or brushing up on my wss://. I'm injecting custom JS into mopidy to use my HA controlled speakers in the output-control panel. Do I deal with what I have or do I make my own? #lockdownproblems.

late ocean
#

thanks @dark dirge I was trying to color/change icons based on state mosty, to be used on PictureElements cards, for example. I am not wedded to using CustomUI but hadn't found any other way to do this at the time... Maybe this has changed?

dark dirge
#

That’s mostly what I want too. I don’t use picture-elements, but it looks like the conditional element + custom element + style may do what you want, assuming that you can encapsulate the logic in template sensors

#

Or someone will come along with the perfect solution 🙂

feral rivet
#

Is there a way to build a card that only shows the the list of stations on my sonos app. I tried something like this, attribute: source_list entity: media_player.sonos_connect type: entitybut want to have a list of the sources not just the current one. Can anyone point me in the right direction?

lucid bronze
#

Hello, Is there anyone to remove this from the logs''20:30:56
Cleared (no motion detected)'' I don't want to see when there is no motion

vapid field
#

Hi, I upgraded to 0.115.1, I got the media browser enabled in my Chromecast card, but I couldn't find out how to enable it for Spotify. Any hints?

frosty crane
lucid bronze
#

I want the detected motion though, just not the cleared no motion... is that still possible?

#

Thanks for reply

frosty crane
#

Yeah, it’ll still work but just won’t appear in the logbook 👍

#

Oh sorry

lucid bronze
#

I want the motion detected in logbook, just the (no motion)

frosty crane
#

I don’t think that’s possible

lucid bronze
#

okay, I can see they added the new history in the ui which is really nice

#

shame its filled up with no motion status's

frosty crane
#

I could be wrong but I don’t think you can have one without the other

elder pendant
lucid bronze
#

genius

frosty crane
#

Haha, I was literally just about to say that after reading the link I posted 🙈

lucid bronze
#

Ha getting so slick

frosty crane
#

Apologies for giving you the wrong information though 👍

lucid bronze
#

What device domain is a motion sensor?

dark dirge
#

They’re usually binary_sensor, sometimes sensor

lucid bronze
#

sorry was leading from my previous frontent question

frosty crane
#

@lucid bronze if you look in Dev Tools > States and search for the entity in question the prefix for the entity will tell you eg. binary_sensor.xxx = a binary sensor

lucid bronze
#

So used the yaml to remove the entity from log book, that worked great, then adding custom added it back but added both the motion and the no motion detected, any thoughts? - https://pastebin.com/mP9eEdgR

frosty crane
#

Do you have an automation adding those entries to the logbook with that script? If so can you share?

lucid bronze
#

urr there both in the pastebin?

#

or im missing something 😛

frosty crane
#

It’s probably my misunderstanding, I assumed that you’d have to call the script via an automation in order to get information added to the log. I didn’t realise just a script on its own could add stuff to the log

#

Either that or you’ve omitted your automation from the Pastebin?

lucid bronze
#

more likely mine im a noob, I took both the code and through them in my configution.yaml and changes few lines

frosty crane
#

Did you restart HA after making the change to your configuration?

#

It sounds like the normal events are still firing so my guess is you haven’t?

lucid bronze
#

I did the removal of the logs first and restarted that seem to work as I went to set it off and it did not show in the logbook

#

I added the part to add it back with the script and now it adds both both

#

I guess they can't be seperated?

#

motion and no motion comes with the entity?

frosty crane
#

I’d love to help but as I don’t fully understand it I don’t want to give you any rubbish advice 👎

elder pendant
#

You might have to give it a different entity_id. It's custom, so call it whatever you want

frosty crane
#

For my understanding @elder pendant do you need to combine the script with an automation or will the script fire on its own?

elder pendant
#

You need to make an automation to call the script. In this case it would be a state trigger only when the motion sensor goes to on

frosty crane
#

Yeah so sounds like something is wrong @lucid bronze as you shouldn’t be getting anything in your log without an automation calling the script

lucid bronze
#

okay going to do just the remove part from the log and see if that part is working

fiery badge
#

heyo. is it expected that 0.115.1 update from 0.114.3 should take over 15 minutes?

#

it seems that one of the integrations isn't properly installing it's new version?

lucid bronze
frosty crane
#

The syntax looks fine to me - You haven’t already got logbook: in your configuration or anything like that?

lucid bronze
#

default_config is but not logbook

frosty crane
#

And the entity_id is definitely called binary_sensor.shed?

#

(Sorry for the stupid questions!)

lucid bronze
#

yes it is, I've just moved the yaml below the default config to see if that was needed

swift marten
#

hey guys I'm having a problem trying to start after upgrading to 115.1 - it's giving me an error that I need to upgrade pillow to 7.2?

frosty crane
#

Are there any errors in the log (not logbook)? @lucid bronze

lucid bronze
#

not related to this no

swift marten
#

I am not reading anywhere that I have to build a wheel for this "pillow" but it seems like that is blocking me from doing anything

frosty crane
#

@swift marten might be best to try the relevant “installation method” channel?

swift marten
#

is this an installation method when all I did was upgrade?

#

and now the frontend won't load?

frosty crane
#

@lucid bronze I’m at a loss then! If you go to Configuration > Server Controls > Check Configuration does everything pass?

lucid bronze
frosty crane
#

@swift marten That’s fair to be honest, I’m new around here and thought those channels weren’t just for installing HA but issues that you have with that setup

elder pendant
#

Nothing should go in the default_config block

#

that's not how it works

frosty crane
#

It’s not sat within the default_config is it? It’d have to have two spaces indented, no?

elder pendant
#

One of your pastes says binary_sensor.presence_13 and the other says binary_sensor.shed so I'm confused at what you're trying to do

lucid bronze
#

i changed it after i realised it was not working as you said about changing it

#

it now is named .shed

elder pendant
#

And you're saying after you restart HA you still see binary_sensor.shed in the logbook?

lucid bronze
#

if I go stand in front of it yes it adds to logbook

elder pendant
#

Well that's not supposed to happen 🤷 I'm not sure what's going on

lucid bronze
#

does my pastebin look fine?

elder pendant
#

looks fine to me

#

assuming the entity_id is correct

frosty crane
#

And you are definitely restarting the whole of Home Assistant? Configuration > Server Controls > Restart?

lucid bronze
frosty crane
#

I have literally no idea then 👎 Something isn’t right somewhere!

lucid bronze
#

wait, does a manual refresh in the top right overide the yaml?

frosty crane
#

What do you mean “top right”?

lucid bronze
wheat current
#

You are sure that it's not just old entries you are seeing?

frosty crane
#

Pressing that refresh button doesn’t restart Home Assistant, if that’s what you’re asking?

#

That button just refreshes in case any new entries have been added to the log

lucid bronze
#

that will obey the yaml that says don't include?

frosty crane
#

Correct

elder pendant
#

no. It ignores excludes if you manually refresh.

frosty crane
#

Oh, I did not know that (sorry!)

lucid bronze
#

ahh maybe my bad then

elder pendant
#

Excluding something from logbook does not exclude it from the recorder

lucid bronze
#

let me check again

elder pendant
#

the events are still recorded, it's just showing you a filtered view

lucid bronze
#

dont press refresh basically then 😄

frosty crane
#

I thought that button would just refresh the logbook entries that you’re able to see - Interesting

lucid bronze
#

I can confirm it is working, was just me refreshing it 😛

#

thanks all, will move onto the next step

frosty crane
#

Next step is creating an automation that calls the script you created every time the state of that binary sensor turns to on

lucid bronze
#

good stuff 🙂

lavish elbow
#

Hello! I'm interested in that if i could modify the minimum and maximum temperatures displayed on the thermostat card?

elder pendant
#

When I said "change the entity_id" I just meant in the custom entry, not the actual entity

lavish elbow
#

I'd like to increase the min and max values (for aquarium heating) or should i use a custom component for that?

lucid bronze
#

sorry what is the ''custom entry''?

elder pendant
#

the script you made

lucid bronze
#

the alias or the entity id in the ''options'' section?

elder pendant
#

the entity_id that you're passing

lucid bronze
#

ahh okay so that one is creating one, gotcha

elder pendant
#

It might work as is, but it depends on how the filtering functions

lucid bronze
#

Gotcha so basically you have a sciprt that says, Log this action, you then have an automation that says if motin detected then run this script that then logs it... nice 🙂

tired thicket
#

how is it posseble that i cant access my rasp pi ? it says ERR_CONNECTION_REFUSED , what can i do about this becouse samba is not working too so i cant access the logs. hope someone can help me , thanks.

sacred turtle
#

Hey All, i have most of my switches in entity lists.. but one of them is pretty major if i hit it by accident.. is there a way for that specific switch to have it prompt for a confirmation before i toggle the power?

mild veldt
#

I have a custom card, restriction-card that will help you with that

#

Should add simple toggle switch confirms to core though

sacred turtle
#

I've actually removed it from my interface, because as i'm sat here trying to figure it out, i've realised that if i hit that power toggle.. i wont actually be able to turn it back on as it powers off my proxmox server lol..

#

i'll have to hit the tasmota interface to power it back on so i just need to document the IP

#

its one of those rabbit holes.. i'm now thinking i need to move my HASSOS off my main proxmox server.. but that in turn means that i'd have to add mroe hardware.. and remember the HASSOS Ip as the main proxmox runs my reverse proxy too.. so maybe that needs to be on seperate hardware.. i think i'll just document the plug IP 😄

#

i have a very basic IPAM that i wrote myself.. but again.. that'll be down if i power off the server 🙂

errant bone
#

I upgraded to 0.115.1 and now it can't find Weather-card or multiple-entity-row. Anyone else have this problem or know how to solve it?

#

Actually.... it's working in the web ui but not the mac app. Fixed the mac app with a close and reopen.

civic stream
#

Anybody else having problems with HA and Safari 14.0?

wheat current
#

Update to 0.115

mighty tree
#

@polar kelp Sorry for bothering you again. The custom:hui-element card, does it work with iframe? I get an error that the card_type is not set, although it is clearly set:

  • type: custom:hui-element
    card_type: iframe
    Any idea?
#

Sorry, I made a mistake elsewhere... explaining the problem gave me the hint...

hushed wasp
#

How can i change code-editor-background-colors ? after update i have invisible colons and dashes.

#

Where can i find the file ? 😄

#

or can i change the color another way ?

#

No need helpt anymore, i fixed it ! :p

mighty tree
#

can i reload the sensors without restarting HA? Couldn't find this in the UI.

muted inlet
#

What sensors? Lots of new things can be reloaded at configuration > server controls in 0.115

finite pond
#

How do I remove the margin on the left and right of cards that's new in 0.115.0?

mighty tree
#

a template sensor... hmm I hesitated to update now... but why not 🙂

queen rivet
#

Wasn't it possible to turn off mediaplayers through the default mediaplayer card before?

I think it used to be in the popup that you get when clicking the 3 dots, but I can't find it there or anywhere else.

indigo shuttle
#

Hi all,

https://ibb.co/6v4TbpH

I am attempting to load ha front-end on a crappy old tablet I had lying around.
I am using fully-kiosk browser.

Based on the colours, it seems I am getting to ha, but it is not loading correctly...
Could this be a hardware issue?
I haven't even seen the log in prompt yet, so it can't be due to the lovelace contents.

raw brook
#

If it's old. The webview may not be updated enough to run it.

#

@finite pond you can't

#

@queen rivet it is possible if your media player is on or off to show the power button if your player supports on and off. If you aren't seeing that I would raise a bug in the frontend repo

queen rivet
#

I just noticed that the Off button appears when I start playing something. So the power button is missing when the mediaplayer is idle (but still on). Will submit a bug for that.

devout hatch
#

How can I hide certain card if some entity is unavailable_

#

?

mighty tree
indigo shuttle
#

Thx NKDZCK. Let's give updating apps on it another shot. (I suddenly remembered why I hate troubleshooting old android devices)

strong cargo
#

I have a custom button card in which i use a sensor for text color, it doesn't like the variable primary-text-color. If I put e.g. white it works. Any suggestions ?

            - '--text-color-sensor': |
                [[[ 
                if (entity.attributes.cpu_use_pct > 80) return "red";
                else return var(--primary-text-color); 
                ]]]```
errant grail
#

hi 😉

#

Someone would know how can i remove the scroll bar on the right ?

finite pond
#

@finite pond you can't
@raw brook just to be clear, I meant the padding on the left and right of cards. Surely that can’t be right since the frontend can be customized in a very nit-picky manner.

raw brook
#

You cant

#

There is no variable that we have available to modify this

#

Sure maybe you can hack it via a custom card or custom header

#

But not via a theme or easily way

polar kelp
#

Ackshyually

#

With card-mod you can do it in a theme

#

I need to take like a week off work some day to document that. It's got so much potential.

smoky depot
#

is there a way that maybe I am not seeing to push a media file from within the new media browser to a player? I don't think there is cause i haven't read anything about it yet, but wanted to ask as I am setting this up.

#

nm i see how it works I think

zenith yew
#

is that the way the if statement is possible

#

where should i read more, i found that somewhere on the forum

#

how is that functionality "inline if" named

devout hatch
#

Im having this horizontal stack, and I want to implement conditions for each light

#

but I cant figure it out where to put type: conditional conditions: - entity: light.bedroom_wardrobe_left_light state_not: "unavailable"

#

also I need condition and for the right light

mighty tree
#

you want to hide those lights from the horizontal stack if they are unavailable?

#

From your pastebin code, I would assume that you have to split up these lights to individual cards and surround each of them with the conditional card as in your example

frosty crane
#

now that makes it perfectly useless
@lone kite I was just listening to the latest podcast - At 1:03:30 Paulas actually mentions making what you want into an actual feature in the future 👍 Thought I’d let you know as I heard it and thought of this conversation

devout hatch
#

I added just one card, but how to wrap it?

lone kite
#

@frosty crane Thanks for letting mr know. i was just reading through the article and it sseems a rather large hassle to exclude access to just one entity for 1 user. Having an actual permission system would allow for some pretty powerfull stuff. Like me forbiddiung my kids to switch the lights off in rooms other than their own

mighty tree
#

I guess something like this:

- type: horizontal-stack
  cards:
    - type: conditional
      conditions: #first light
      card:
        type:'custom:light-entity-card'
        ....
    - type: conditional 
       conditions: # second light

Does this work?

devout hatch
#

sorry this is the right example

#

with one card

mighty tree
#

updated the code example. I would try something like that.

#

of course, this is not complete. the actual condition is missing

devout hatch
#

ok, tnx I will try and let you know 🙂

#

here it is..all in red 🙂

#

something Im missing apparently

#

here is the code from the image

mighty tree
#

wrong indentation. move everything from "-card" two positions to the right

#

card is nested in the conditional card and not in the horizontal-stack card

polar kelp
#

Remove the first - and dedent EVERYTHING two spaces

mighty tree
polar kelp
#

The slider-entity-row uses the slider that's built into lovelace, so it can't be changed much.

mighty tree
#

Ahh, I see. I thought that there might be css magic possible to apply there, but I am not really in to web dev 🙂

grim beacon
#

Hello! It seems like that a long press on a switch in 0.115.1 doesn't work anymore to show the history dialog of the switch. Is this correct? Has this feature been removed?

mighty tree
#

The slider-entity-row has the nice option: hide_when_off: true. Is there a way to achieve this (without a conditional card) in case the entity is unavailable?

#

Oh boy, it seems to work "out of the box". The doc is just not saying this.

polar kelp
#

Huh?

#

Oh, yes, that's probably what it would do...

full sand
#

My fold entity rows got broken after updating to 0.115.1, any idea where to look for a fix?

#

Also my mini-media-player custom elements got broken

polar kelp
#

Can't reproduce.

#

Perhaps with some more information, e.g. anything at all...

full sand
#

I don't really see anything wrong in the logs

#

4th server restart in a time span of 30 minutes did the trick

#

so I guess all good now

hot stag
#

Is it possible to have badges show ping times?

sharp badge
lavish elbow
#

Hello! I'd like to create an automation where i'd manually input a number the number minimum is would be the last number from the automation's last run. For example if i typed 5 the last time it starts from 5, is it possible with automation helpers or should i use a database to store the last values?

white glade
#

How do I call a script through the UI?

#

The Netflix Script is the Script that I want to call

dark dirge
#

I don’t know what the ‘Netflix script’ is, but it’s less about the script and more how you want it to appear in the UI. You could use a button card, for instance

white glade
#

Yes it should be a button

#

I just need to know how to call it

dark dirge
#

Did you read the docs?

white glade
#

Yes but I dont understand it 😅

dark dirge
#

That’s hard to fix

white glade
#

Ohh wait... Its working kind of

#

When I hit the button a pop up is comming up with the details and there I can call it...

#

can I do it to run immediately?

dark dirge
#

The one example in the button card docs is for a calling a script

white glade
#

where? (link?)

dark dirge
#

What docs did you read?

white glade
#

this one

dark dirge
#

That’s not for the button card

white glade
#

this one?

#

IT WORKS!

white glade
#

How do I make a switch (on/off with 2 scripts)?

mighty gorge
#

Is it possible to prevent an image in the Picture card from being stretched past its original dimensions?

EDIT: Very janky workaround; use Picture Elements instead with a transparent background and set max-width: 100%

EDIT 2: That's still not quite doing what I want, but it's closer.

LAST EDIT: I settled on the following:

style:
  left: 50%
  margin-right: -50%
  max-width: 100%
  top: 0
  transform: translate(-50%, 0)
vale wave
#

Hello folks, I'm running 0.115.1, docker version. Just noticed that the UI configuration validator seems to run forever. Has anypne else noticed this?

finite pond
vocal ingot
#

Hi,
I am looking to customize a couple of sensors to use specific icons per state. the device class is using icons I don't like, so i want to assign different once. Was hoping to easily do this in the customize.yaml, but don't seem to find the right way...

#

has anyone does this and can give me a hint

polar kelp
#

@finite pond you also need to set card-mod-theme to the name of your theme. See line 2 in that file

finite pond
#

Thanks! That worked nicely!

maiden dagger
#

is it possible to !include something and then add additional arguments to it? I feel like I've done it before but I get an error now. e.g.

            cards:
              - !include ../../cards/house_info.yaml
                gridrow: 1 / 1
                gridcol: 1 / 3

error: "mapping values are not allowed here"

#

I want to define my cards in separate files but keep layout together

#

this is in a custom:layout-card

#

aha, just found lovelace-gen

#

new toys \o/

devout hatch
#
  cards:
    - type: conditional
      conditions:
        - entity: switch.zone_1
          state: on
        - entity: switch.zone_2
          state: off
      cards:
        - type: vertical-stack
          cards:
            - type: 'custom:light-entity-card'
              entity: light.bedroom_wardrobe_right_light
              header: Bedroom Right Door Lights```
#

@mighty tree @polar kelp thanks for your comments, Ive tried several different options but Im still in a red zone

#

this is shorthend code, due to simplicity, for better view

polar kelp
#

Where are you entering this? Becasue what you have there is one card in a List of cards.

devout hatch
#

yes, Im trying just to figure it out how to put conditions for each card (left and right)

#

so, I need to wrap each card with conditional card but without success

polar kelp
#

Ok, so it’s the conditional card complaining about no card type?

#

Try card: Instead of cards:

devout hatch
#

No card type found

#

still the same error with card instead of cards

mighty tree
#

can you enter the full code again? the error of indicates wrong indentation

#

of == often

civic stream
#

I set a statistics sensor to look at the last 24h of a temperature sensor. Everything works except that it seems to lag 2 hours, i.e., the 24h window starts from two hours ago and then covers 24h back from that. This is on HA OS on a NUC. System time is correct. What could the reason for this be?

#

Wrong channel, sorry.

mighty tree
#

I have a question regarding css animation within a picture-elements card. Originally i tried to change positions and fading using keyframes with a state-label. This didn't work, probably the state-label is not a real card and animations wouldn't work. So, I used the custom:button-card. Here also, the animation did not work that I defined in the picture-elements card:

      - type: picture-elements
        image: /local/lcars/rightS_generic.svg 
        styles: |
          @keyframes mymove {
            from {top: 0px;}
            to {top: 120px;}
          }

What worked is to define this animation in the extra_styles area of the custom:button-card. However, then I need to redefine the same animation in each button-card. Is there a better way? Where is my error?

devout hatch
#

intact code

mighty tree
#

@devout hatch You need to follow exactly the syntax given in the conditional card. Your code has several errors. Based on your example, I made a running code snippet that works for me. See here: https://hastebin.com/quhusufevo.css
The main issue was the following:

- type: conditional
      conditions:
        ...
      cards: <--- Needs to be "card"
        - type: vertical-stack <--- remove the "-" and then move everything two spaces left
          cards:
mighty tree
#

has my message been deleted?

vapid field
#

hi everyone

#

I recently updated my system and in my tablet, in the side menu the Notifications and User icons won't show up

#

does anybody know why?

devout hatch
#

thanks @mighty tree now its working

#

can I put a template into one of the properties

#
head: switch.bedroom_led_light_trafo
label: Bed LED Strip
open: false
entities:
  - entity: light.bedroom_go_color_bed
    toggle: true
    type: 'custom:slider-entity-row'
  - entity: light.bedroom_go_temp_bed
    toggle: true
    type: 'custom:slider-entity-row'```\
#

open: false => if(light.bedroom_go_temp_bed and light.bedroom_go_color_bed are both equals to unavailable states)

#

and open: true => if one of those entites are off/on

dreamy tendon
#

Anyone have ideas why some things on the floorplan are scaled differently on desktop (Windows) than on mobile (Android)?

devout hatch
#

can someone please tell me how to hide some entites that are unavailable

#

also I want to add slider when they are available to be presented with a slider

#

For someone reason I cant paste it into hastebin

kind shellBOT
dreamy tendon
#

There's a custom card that allows you to hide stuff. I can't remember the name of it from the top of my head though

#

Conditional something

devout hatch
#

yes, but Im using auto-entities with fold-entity-row and also slider-entity-row cards

dreamy tendon
#

It'll be card within a card in that case

devout hatch
#

I really dont know why this is not working

#

it shows me the fold entit row and the entites allright

#

but it does not hiding when those entities unavailable

teal tree
#

I hope this is the right place – I have searched the online documentation, but could not find any info - I have a z-wave dimmer module in HA and I want to connect to a flood light that is not dimable - is there a way to configure an HA dimmer to be a straight forward on/off switch in the UI (no dimming)?

lime warren
#

OK I have a purely stupid question. Met.no blew up on me after upgrades, I had some badges & sensors that were looking at sensor.weather_temperature and working great, and now, no dice. Of course I can do {{states.weather.home.attributes.temperature}} and get what I want in a template, but how do I put that in to a lovelace badge or a lovelace gauge or whatever?

teal tree
#

Could you be referencing yr.no - i thing that went on the last update...

lime warren
#

yeah I saw that breaking change, but..didn't think it applied to me

errant grail
#

Hi

#

Why --ha-card-background does'nt work with blur ?

#

Is there any way to blur the background of my cards ?

lime warren
#

OK well... here's the better question. Can I show a state attribute (states.weather.home.attributes.temperature) in a lovelace history graph without making a template sensor of it?

#

because as far as I can tell all my met.no sensors turned in to state attributes.. which is FINE... but

#

or check to see if I've been using yr.no

#

I installed met.no from the integrations UI, it's dead simple, and have deleted and reinstalled it too

#

sensor.weather_temperature just used to...work

dark dirge
#

that's just the way the integration works. I think you're stuck with template sensors for what you want to graph

#

otherwise, you're stuck with a PR or FR

lime warren
#

OK, so how in the heck did I have sensors before 115 is the thing - Not that it matters now

#

it was just the update to the new API

dark dirge
#

and yr.no went away in 0.115

lime warren
#

but did yr.no provide sensors?

#

I'm interested in where my life went wrong 😋

#

maybe I've just been doing it wrong all along

dark dirge
#

hard to say since the yr.no and its documentation have been scrubbed, but you're using a different integration now

lime warren
#

well... no matter. I have an ESPhome and a nice SHT sensor strapped to a tree

#

Thanks for the help all the same folks

errant grail
#

Nobody would help me ? 🙏🏽

lime warren
#

@errant grail Your screen looks real pretty....

errant grail
#

Yes but i would like to add blur effect on background cards

mighty tree
#

anyone used card-mod styles together with the style entry of picture-elements card?

nimble reef
#

hi, I'm trying to activate a scene with a button card and getting an error that the scene.turn_on call doesn't contain entity_id
but afaict it does. what am I missing? https://pastebin.ubuntu.com/p/Q9HMVZpzvp/

dark dirge
#

you need to add service_data:

nimble reef
#

that worked! thanks

mighty tree
#

I try to get a custom:swipe-card in a picture-elements card running. Although the dashboard tells me that it has been loaded, i get an error that the custom element doesn't exist. Any hint?

vocal kiln
#

would it be possible to get some slight differentiation between the favicons for home-assistant.io and the actual homeassistant frontend?

mighty tree
#

can you anchor a card to another for layouting? (do not mean the yaml anchor)

wide nymph
#

hello all. how i change the image of the button on UI ? the image in my local media

alpine dagger
#

and NoneType: None

smoky depot
#

@alpine dagger the error 255 is usually a a no connection or connected refused error sent by SSH. It can also be an error sent from the remote for a bad script. but generally it's a connection issue.

vocal kiln
#

nice, thanks @smoky depot

smoky depot
alpine dagger
#

what don't get is it works fine through terminal

#

but calling it through shell_commands and entity button isn't going well

alpine dagger
#

@smoky depot thanks will give it a try

#

Hopefully works

zenith yew
#

Is this just me or it's general situation. I have a card showing the binary sensor status. Once i click on it, i get details that are corect, howevet, despire sometimes showing correct value, usually it toesn't update on the dashboard although when ic lick on the sensor i get exact detailed view.

random cradle
#

Hi everybody, I'm trying to create a weather card on lovelace which displays my own personal weather station info (ambient weather station) but I'm having a hard time getting something that looks nice. Is it possible to create a weather.XXX entity out of a bunch of sensor entities? The ambient weather integration only provides sensors, not a weather.XXX entity which can be used with the default weather card.

polar kelp
#

There is (used to be) a custom card meant for DarkSky with a ridiculous ammount of options. I think you can use that to specify a separate sensor for each parameter.

#

I think you should be able to find it by googling Dark Sky Lovelace Card or something.

#

Also, someone should make an mqtt weather integration.

wheat current
mighty tree
#

Is it possible to define anchors for different dashboards? An example defined them within the customize object, but this is not dashboard specific. Basically, I want to define pixel sizes for different dashboards and replace only the file for the anchor and leave the UI-yaml files with pointers to the anchors the same.

polar kelp
#

Yaml anchors? They only work within the same file.

sterile wharf
#

Is there a way I can prevent data from deleted devices from appearing in the History page?

mighty tree
#

Yes, Yaml anchors. That is a pitty... I guess I will try then either the decluttering card or lovelace-gen. Not sure what es better for now.

#

@polar kelp Is lovelace-gen still maintained or encouraged to use?

polar kelp
#

To an extent. I've had a bit of a burn-out on custom development, but I'm slowly getting back into it. Though I'm not aware of any current problems with lovelace-gen.

#

(probably mainly because I don't use it)

mighty tree
#

ahh, okay. And what do you use instead, if I may ask? The ambition is to reuse YAML-code as much as possible for different screen sizes and so I would like to define constants at one place. 🙂

polar kelp
#

I'm full out in the GUI now

mighty tree
#

ohh wow. I didn't expect that.

#

Do you use speech instead?

polar kelp
#

Automations

#

Bet you wouldn't expect I have a total of 2 lovelace plugins installed either.

mighty tree
#

No... I wouldn't. As I dive deeper into lovelace. Somehow you are the backbone of some of the most important custom cards and now knowing that there you don't use it, is a bummer. 🙂

polar kelp
#

Don't worry - I still like developing and improving them.

mighty tree
#

Hehe, good to here. I experienced this in many open-source systems. A large user base is key to get a large dev base and so to survive. So stay healthy and thanks for your effort.

desert lantern
#

I hope someone can help me. I am not even sure where my problem lies. What I want to do: start netflix/disney+/amazon video on my android tv by clicking on a picture of the according logo in the frontend. I figured, putting a call-service adb_command with logged adb shell command there might do the trick. Mind you, I have no idea what any of it means. I just went through the android TV documentation and tried to follow along...but it doesnt work.

#

I don't know if I made a mistake in the yaml or if I don't use the shell commands correctly or if I need a script for that (tried that, script editor in HA is still.... well...)

dire dome
#

since my most recent update, my first page of my home screen will not load. I t will show for a second and then it disappears

#

anyone know how to torubleshoot?

polar kelp
#

Any custom plugins?

mighty tree
#

@polar kelp Unfortunately, lovelace_gen seems not working: File "/config/custom_components/lovelace_gen/init.py", line 57, in _include_yaml
raise HomeAssistantError(exc) -> during loading.

dire dome
#

@polar kelp yup

#

ill see if any need to be updated

polar kelp
#

Start by removing them, then.

dire dome
#

😔

polar kelp
#

Then, if it works, add them back one at a time.

dire dome
#

will do

#

im overdue for a front en cleanup anyway

polar kelp
#

@mighty tree That error should also have told you "Unable to include file <filename>", as in !include <filename> was not found.

#

You could start with custom-compact-header, if you have that.

mighty tree
#

That is correct... it seems to several lines down and I haven't connected it with that. I followed the documentation with "-FILENAME" without space between "-" and "FILENAME". But, obviously I made somehow an error there. Thanks

dire dome
#

@polar kelp ?disablech fixed it

mighty tree
#

@polar kelp Ok, I tried now a couple of things, but I don't get to the error here:
omeassistant.exceptions.HomeAssistantError: mapping values are not allowed here
in "/config/lifesupportRightMenuS.yaml", line 3, column 8
Here is the line:

# lovelace_gen
type: picture-elements
  image: !file /local/lcars/rightS_generic.svg 

So, it is just an image. The error exists with and without the !file command. Any idea?

fringe pier
#

New user <--- Just got HA up and running and did basic configs. I went through the integrations wizard to add my ring cameras. For the video doorbell, the sensor to report/show battery life is not showing up on the dashboard (the circle/badge at the top of the overview page). However I do see it in the entities list under integrations.

split granite
#

Top right corner dotsvertical -> Take control and then you can do what you want

fringe pier
#

I thought that was for "advanced" users

#

Wow, that is easy

#

Cool stuff!!!

mighty tree
#

Never mind...

dark pewter
#

So uh... today suddenly my home assistant started doing this:

#

oh i can't upload images

#

basically it doesn't load.. but it also isn't showing errors

#

in the console no errors, all return 200 ok

#

ha core logs doesn't show anything wrong

#

Just removed all data from the application from storage, and it keeps doing the same 😦

#

Note that, in chrome (which i never use) it works fine

#

well wtf.. I restarted my browser and all is well xD

polar kelp
#

@mighty tree ”mapping value is not allowed here” is almost always an indentation problem.

#

Oh. You solved it. Good

kind shellBOT
mighty tree
#

@polar kelp Good to know. 🙂 It came in fact while I tried to do something with lovelace_gen. While refactoring, the indentation error happend 😅 But now, I try something crazy?! with Jinja2. The idea is to have some global variables:

lovelace_gen:
  screen:
    PC_screen:
      button_text_size: 14px
    Tab_scree: ...

Then, pass the actual screen to a yaml file:

  - !include 
    - lifesupport.yaml
    - screen: PC_screen
#
font-size: {{ _global.screen[screen].button_text_size }}

In the square brackets, I want to evaluate the variable passed through the include, to get the corresponding variable. But, it does not work.

charred fable
#

Does Color based on icon state? toggle in entity cards not work for Person types with Home/Away?

polar kelp
#

@mighty tree That's not easy, but it can be done to some extent with the tojson and fromjson filters. I think there's an example in the readme.

mighty tree
#

Thank you for the pointer. I had it somehow running but unstable. I often get "unknown error" in lovelace. Just once, it worked but then never again. I'll try the suggested tojson option. Thanks again!

ionic lichen
#

Hello - I had the zwave graph working via custom_panel but after an upgrade to .115 it is no longer showing up in the side panel.

#

panel_custom:

  • name: zwavegraph2
    sidebar_title: Z-Wave Graph
    sidebar_icon: mdi:access-point-network
    url_path: zwave
mighty tree
#

Got it working, even without the tojson

_global.screen[kind].button_text_size

The downside is that I have to restart HA when I want to test it. Reloading lovelace is not sufficient.

fringe chasm
#

hello All,
might not be the right place to ask but do you know if there is a way now to add a custom panel (my router's admin page as a link) to the left panel of the Home Assistant GUI?

#

in other words is panel_iframe still working?

mighty tree
limber mist
#

what do people use for a floorplan visualization these days?

#

seems ha-floorplan uses some outdated components

mighty tree
#

i have switched to picture-elements card with an SVG

limber mist
#

ah so that's basically the same thing

mighty tree
#

not quite

#

the floorplan has the advantage to manipulate every object in the svg. The picture-elements card just renders it, but no access to the elements in the svg. However, you could place existing cards on the SVG using picture-elements, which is not possible with floorplan

limber mist
#

I see

#

I wonder if there's a lovelace version

mighty tree
#

of what?

limber mist
#

floorplan

mighty tree
#

yes. there is a floorplan card.

#

Still not maintained, I guess.

limber mist
#

does look a little dead

gilded swallow
#

Anyway of getting a state_attr display in a custom:button-card? (without creating an additional sensor for it..)

normal shell
#

is there any way retrieve and display some kind of artwork for YouTubeTV/Netflix/Hulu, etc. in the Media Control Card or Mini Media Player?

near knot
#

I know there are facets of having mutiple accounts which are under development still, but I've notice that regardless which user logs in, the first lovelace panel (the leftmost on by default with the url .../lovelace/0 I think) is ALWAYS shown. Even if that screen is hidden from that user. I that a known thing already?

#

BTW I'm loving it so far: I can let my kids control their bedrooms, but not each others'! Whoot!

hollow sky
#

Hi, where can I find the code for the vertical stack card included in home assistant, I want to make a custom card but I want the editor similar to vertical stack, Thanks

livid folio
#

Hi there ... I've setup a 'map card' with device trackers and assigned entity pictures and wondering if there is a way to set the 'round/circle' element as transparent? Here is an example of the current image ... Ideally I'd like to remove the white background ... https://imgur.com/a/Tbn7HFO

charred fable
mild veldt
#

@normal shell that'd be on the integration to provide

#

@gilded swallow yes, you can use temates in the card itself

#

@charred fable person/device_tracker is not colored

echo notch
#

Hi, I am trying to install custom cards, and I put this in new "Resource" - /local/button-card.js . However I am not sure where to actually put the js file, the system doesn't seem to find it. I tried to create "www" folder in /config but that doesn't seem to work. I an on Pi

dark dirge
#

You need to restart after creating the www directory, but this would all be much easier with HACS

kind shellBOT
#

Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out. They even have a Discord server for issues with HACS itself.

echo notch
#

I did see HACS mentioned, so you'd recommend installing it?

dark dirge
#

Yes

echo notch
#

hm i'll look into it. Rebooting doesn't seem to fix the issue. Just to make sure - i try to add new card and type: - type: 'custom:button-card'

#

and it says No card type found

  • type: 'custom:button-card'
#

I assume it's because it couldn't load the .js file for some reason?

dark dirge
#

Just stop trying to do this manually and install hacs

echo notch
#

haha ok 🙂

dark dirge
#

It will do all this for you

echo notch
#

I am also trying to learn the system a bit, with limited success in this case 🙂

#

I did get my first few templates to work though, so I feel good about that

dark dirge
#

Everyone uses HACS, it’s no sin

muted inlet
#

Not me 😛

echo notch
#

Where can I run that curl command? Do I need to ssh in? I don't see SSH/Terminal in the add-ons

dark dirge
#

I’ll bet luudeus doesn’t use it

#

Enable advanced mode in your profile

echo notch
#

doh! I see it now. I only enabled advanced few min ago to mess with Resources, and didn't realize SSH is there now

echo notch
#

ok, HACS installed and custom cards as well

#

and built my first dynamic garage door/open closed card, thanks @dark dirge !

trail iris
#

Evening, looking for info on how to authenticate via ip, as in if I come from 10.2.3.4 then I am user "kiosk" to force the user?

#

I understand "trusted_networks" gives a list of available users, including admins. Can I limit to one specifically?

last compass
#

hi all.. wondering is there a page on community forum that people show their lovelace configuration.. need to get some inspirations...

#

😊

smoky depot
radiant stirrup
#

hey so none of my dockers are starting after an update

#

how do i get the backup folder out of the HA docker on hassio

radiant stirrup
#

or get the box working again

smoky depot
#

@radiant stirrup did/do you have ftp access? this on an rpi?

radiant stirrup
#

nope and no its on vmware esxi

#

@smoky depot

smoky depot
#

oh, then I can't help ya lol

radiant stirrup
#

ah shit

#

haha

last compass
#

@radiant stirrup need to know how you build the system.. running raspbianOS?

#

are u making it headless?

#

SSH working?

radiant stirrup
#

hey this is on vmware esxi home assistant OS

#

nothing is running

last compass
#

if you can get into the unix core.. then there is a lot of way..

radiant stirrup
#

we've got the console for the box

last compass
#

can you enter the console?

#

if yes.. the fastest way is to back up your home-assistant folder

radiant stirrup
#

yeah we're just trying that

#

problem is getting it off of the VM

last compass
#

did you run portainer?

radiant stirrup
#

so we've made another VM disk and we're trying to mount it

last compass
#

can you access it?

radiant stirrup
#

no portainer

last compass
#

you should

radiant stirrup
#

its a pretty vanilla setup

last compass
#

portainer is a good safe if you have it running

radiant stirrup
#

we have it on another box

#

just nothing to do with HA

last compass
#

alright.. one thing I dont like about running hassio./supervisor is not being able to handle each docker manually

radiant stirrup
#

yeah thats fair

last compass
#

which this happen like yours then basically you kind of f**k

radiant stirrup
#

yeah......

#

so copy files to another VHD and make a new box?

last compass
#

anyway as long you have the directory backup.. you should just run the hass installation again..

#

be sure to downgrade hass

#

cause the problem might happen due to breaking change

radiant stirrup
#

yep

#

so unless theres a better way to get files

patent lagoon
#

Is there any way to sort entities in Entity Card by state? Need this for my fuel price card.

radiant stirrup
#

we've done a port scan and nothing is open

last compass
#

mine keep breaking up due to running watchtower

#

already have idea on how to change it hahahaha.. but have no time to implemeted as of yet

#

but I'm not running hassio so, its much simpler and easy.. just fixed the hass...

radiant stirrup
#

ahh

#

i think we might have to SCP the files out

last compass
#

yup

#

ssh is the best way

#

in my case used FTP apps through SSH

#

and its should also work

#

scp from VM to VM should also work

#

@smoky depot is there a pages on community pages?

radiant stirrup
#

how do i install ssh?

#

theres no docker so i cant run the ssh server

#

so id have to install ssh on the HASSIO OS

last compass
#

you need to install SSH on your linux based OS

#

heeemmm hassio OS

radiant stirrup
#

yeah idk what OS it even is

#

apt isnt on there

last compass
#

sorry.. for hassio you need to install ssh from its..

#

😫

radiant stirrup
#

from its?

last compass
#

you need to install it from home-assistant

#

which is crash and you have no access to it

radiant stirrup
#

correct

last compass
#

again that is why I'm avoiding this methods

radiant stirrup
#

yeah just need to get my files back

last compass
#

did you manage to get into command line?

#

using SCP?

radiant stirrup
#

not yet

#

we are in commandline in the vm

last compass
#

but you cant access the content of the vm huh?

#

or you can?

radiant stirrup
#

we can see it with ls

#

just need to work out how to move it off

last compass
#

scp install on the machine?

#

those commandline should be available

radiant stirrup
#

i've got root access

last compass
#

then those command line should be at your disposal

radiant stirrup
#

that doesnt get me files

last compass
#

try to downgrade.. so your hass can run

timber flint
#

"Automatically close connection" in Profile Settings is always changed back to "ON" after a restart/time spent, I cannot say for sure which one indicates, I just see this is the 15th time since last week I modified this. Any Idea? Thank you 🙂

wheat current
#

It's a user/device setting, so if you open a new browser/client and/or log out, it will reset

mighty tree
#

I have a question regarding style and card-mod. Usually, you have a style attribute in every card, such as the swiper-card:

style: 
  top: 430px

Now, if I want to add custom CSS to change, for instance, the scrollbar color, I am supposed to write something like this:

style: |
  ::-webkit-scrollbar-track
          {
              -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
              background-color: #F5F5F5;
          }

How can I combine both style attribute definitions?

copper lotus
#

Having a weird problem with browser_mod after updating to core 0.115.2 for some reason popups ignore the device_id: this and display on all open devices. Any thoughts?

stoic rain
#

is "type: buttons" a proper card type?

#

or is it just "button"

mighty tree
#

don't know. just try it? 🙂

rigid horizon
#

Is there any way of getting 24h notations on stuff like logs AND having the language to english? Setting it to swedish does the trick but i don't actually want to see my stuff in swedish, i prefer english for that 🙂

polar kelp
#

English (GB)

feral rivet
#

hey guys is it possible to have the input select of one card control the display of a separate card? I have looked at the stock card and I am not seeing anything.

maiden dagger
#

@feral rivet condition card maybe?

#

or custom state switch card for more advanced stuff, change whole layouts

mystic hound
#

Hey guys. I have just installed and have been having fun learning. I edited my config file to add my Yamaha Receiver and its working. I am trying to figure out how to add a volume slider and have read through several forum articles and am not grasping it. Anyone feel like helping out?

maiden dagger
#

I can give you a few pointers but no time to go in depth

#

install HACS if you haven't, it gives a nice frontend for installing additional features created by the community

#

after you put in your github personal access token it may take a while to get set up - 15m+ - so be patient and don't restart HA

mystic hound
#

thanks @maiden dagger

feral rivet
maiden dagger
#

we'll need to see what you have above the yaml where you're getting the error

feral rivet
#

when an input_select option is selected then i want it to change the now playing card.

maiden dagger
#

so when you select dining room, it should show the now playing card for the dining room, correct?

#

and when you select bedroom, show the bedroom card?

feral rivet
#

yes

maiden dagger
#

one minute

#

a condition card can only show/hide a single card, so you need a totally separate card for each media player you want to show/hide

#

there are other ways

#

but lovelace updates fast

#

you won't see any flicker even if cards are being removed and replaced

#

auto-entities would also allow you to use input_booleans to turn media players on/off so you can have multiple active at the same time on one card

feral rivet
#

wow ok. so the first option may not be the best as I have currently 4 sonos media player which means 4 different input. having to create a card for each does not seem very "smarthouse". The auto-entities is interesting but based on what you have stated this would only work if it was the same card.

maiden dagger
#

I don't think there's anything necessarily wrong with your approach

#

nothing wrong with having 4 conditional cards

#

just pointing out some other ways

#

depends on whether you will ever want to see more than one at a time

#

and whether you'd want them to be on the same card, or separate cards - purely an aesthetic choice

feral rivet
#

yes I would if there were 2 mediaplayer on at the same time I would like to see the now playing card scroll through them possibly every 30 sec, but to really make it smart I would not want it to scroll though if the only thing playing was the grandfather clock automation.

#

"and whether you'd want them to be on the same card, or separate cards - purely an aesthetic choice" not sure I understand this part.

maiden dagger
#

automatically flipping between 2 cards gets a bit tricky, I'll put that aside for now

#

I'll show you

#

on the left, 2 players on one card

#

on the right, 2 separate cards

#

if you use auto-entities, and show/hide players on a card based on some helpers (input_*) the two players will be on the same card

#

if you use condition card, as in the example, they'll be on separate cards - one media player per condition card

#

it may help to give a bit of background

#

I'm sure you know by now what entities are

#

each media player is an entity, your input_select is an entity, etc

#

cards typically present data from those entities in some way. your card where you select a media player is an entities card

#

entities cards can show several different entities at the same time, so you could potentially show ALL your media players on that one card

#

but since you want to show/hide media players based on other factors, you need another card that can do that

#

the only card with that ability that's built into HA is the condition card

#

that card will evaluate your configured conditions and then show/hide another card

#

technically that card, that it's showing or hiding, is INSIDE the condition card

#

key concept there: cards can be nested, one in another

#

so the condition card is only really a card in a very loose sense, it's more like a container for another card

#

so we know we can put an entities card (which can show multiple media players at the same time) inside a condition card to show/hide it

willow garden
#

hello i have issues with the mini media player (https://github.com/kalkih/mini-media-player). I get always the message that it dosnt exist. I already tried the suggestions under "getting errors?". it worked well until it stopped working 😦

maiden dagger
#

but you want to show/hide individual entities

#

so you'll need 4 separate condition cards each containing 1 entities card each containing 1 entity

#

or you'll need a card that can show/hide entities - e.g. auto-entities

#

@willow garden did you install it using HACS or manually?

feral rivet
willow garden
#

manually

maiden dagger
#

then use the example I gave earlier

willow garden
#

are you talking to me?

maiden dagger
#

no

willow garden
#

okay 😄

#

was confused

maiden dagger
#

lovelace will report that a card doesn't exist for two reasons generally

#
  1. the file is missing
#
  1. there's a javascript error in the file causing it to fail to load
#

check browser dev console network tab, search for "media", look for 404 errors

#

and console tab for javascript errors

#

and /config/lovelace/resources to make sure it's actually set to load

#

but if it suddenly stopped working I don't know, maybe an HA update broke it and it needs to be updated?

#

use HACS, makes this stuff pretty fool-proof

#

trivial to uninstall/reinstall stuff to fix it and it takes care of nonsense like browser caching

willow garden
#

the cache shouldnt be a problem using it in inkognito. i will try your tips, thanks.

mystic hound
#

@maiden dagger I installed HACS, but get this: HACS is waiting
HACS is waiting for Home Assistant to finish startup before starting startup tasks been about an hour

hot stag
#

I am attempting to convert the output of a sensor that is showing bytes recieived to Mb. I've tried a few different syntax - here are the current versions: https://paste.ubuntu.com/p/nxBjkWQVth/

#

With no parens around the float section, I don't get any rounding.

livid folio
#

Hey again ... Is anyone savy with CSS/card-mod style and would be able to help me out in regards to attempting to remove the white background on the marker/entity_picture on the Map card? I've managed to do this in Chrome Inspector but struggling when it comes to knocking up a 'style' element to do this ... https://imgur.com/gallery/vBOYVPH

glacial willow
#

Hi guys, I'm trying to use Markdown in lovelace UI but it not working. I think it should be quite easy, but I'm really struggle here, any help?

      content: |
          O carro está estacionado em: {{ states('sensor.car_location_address') }}```
polar kelp
#

Is this in a stack card or something?

glacial willow
#

Is this in a stack card or something?
@polar kelp , yes. It is

polar kelp
#

And what is the problem?

glacial willow
#

Is not loading the interface

#

Unknown error

polar kelp
#

Interesting. There are only 19 places where that error message appears, and none of them are anywhere near lovelace

#

So when you added this code, the interface stopped loading, and I suppose you're stuck there because you can't remove it again?

azure elk
#

@hot stag, I already encountered this issue. The only way I found to avoid it is to use a variable:
{%set s = states('sensor.arris_sbg10_router_b_sent') | float / 10**6 %} {{s|round(1)}}

#

Oh this apparently is working :

#

{{ (states('sensor.arris_sbg10_router_b_sent') | float / 10**6 ) | round(1)}}

dark dirge
#

this is pretty weird syntax: (float / 10**6)

#

yes, that last one will work

#

without the parens, you're just rounding 10**6

hot stag
#

@azure elk Thanks! That did the trick. Took me a minute to see where the open paren was.

#

@dark dirge I was grasping at straws at that point. My coding skills are ... rudimentery at best. 🙂

lavish elm
#

hi. all the codes in my customize.yaml file are not being loaded. any clue?

cerulean pulsar
#

Is there a way to give a user a default dashboard? (Use: want to give my wife the specific buttons she wants when she connects to hass. 🙂 )

#

Just added a bunch of stuff she asked for, for her WFH setup, and I don't want to make her crawl through views to find it all.

dark dirge
#

Yes, in the profile

cerulean pulsar
#

Is that in the Users tab?

#

Oh, "Default Dashboard for this Device" once you're logged in. Got it, sorry!

open coyote
#

Hi guys, I have an issue since 115.2 (I think) I'm stuck on the blank retry page

#

if I clean up storage & cookie I can access again, but if I close my browser and re-open I'm stuck again

#

same for the android app

#

private navigation do the trick but I do not want to be forced to launch it and log in each time I wanna go on HA

formal tide
#

is it possible to customize the media browser view?
e.g. display a list or sort by ?

#

and I have customized my sidebar in one browser but it did not apply it on other devices,
I believe this is correct behaviour but how can I make these changes for all browsers/devices?

open coyote
#

I think it is saved in localStorage

formal tide
#

ok so I thought about that... and don't see any possibility to make this sync across devices 😄
thanks anyway

wheat current
#

You can create a custom js file that is loaded in HA that sets the values in localStorage on load

formal tide
#

I see what you did there, this could also make a good custom component

wheat current
formal tide
#

goddamn

astral sail
#

Hi, I've got an issue with state-label, state-badge, these are just keep stacking into left bottom corner and I can't move them by css's style, top, left positions etc.

#

- type: state-label entity: climate.ground_floor_temperature prefix: "Ground Floor Temp " tap_action: action: navigate navigation_path: /lovelace/2 style: top: 50% left: 50% font-size: 20px

polar kelp
#

Indentation

#

Everything below style: goes two spaces to the right.

#

Same goes for your tap_action: section.

#

In yaml, whatever: starts a new block that continues on until the next line which is indented to the same level. yaml for_example: everything: here belongs: to the same block: but, this: is: an entirely new: one unrelated to whatever: is in for_example

astral sail
#

thanks mate, got this, dunno why it has been copied without spaces, anyway I've got this correctly, still doesn't work 😦

maiden dagger
keen belfry
#

Guys, I need you help for a sensor that has its data in its attributes. I can't rely on the state value because it is not updated on regular basis. I'd like to generate a graph with the data in the attributes. Is that possible? I don't think template sensor may help in my case.

polar kelp
#

Why not? A template sensor can turn an attribute into a value and that can then be graphed.

keen belfry
#

Because the sensor, each time it is updated, gathers the history water consumption (days of the current month, and the last months). And I'd like to graph the data in the attributes and not from the database. If I'm not wrong, if I create a template sensor, I will have a unique value entered into the database and associated with the date it has been gathered right?

polar kelp
#

Yes. Without some form of timestamp-value stored, you can't make a graph.

keen belfry
#

Can I change the date associated to a value without doing it directly in the database?

polar kelp
#

Tell me again what you have, please.

keen belfry
#

Let me show you the attributes

polar kelp
#

Oh...

keen belfry
#

As you can see, on the 23rd, I still don't have data from the 22nd

#

So I cannot rely on the instant I have it

polar kelp
#

Normally, in cases like this, I'd advise to make a template sensor that finds the latest value and over time builds its own history.

#

That's probably still doable here, but with some really advanced black jinja magic.

keen belfry
#

That sounds good. Anything I can read about building history?

#

What do you mean by "doable here"?

polar kelp
#

What I mean is if you had an attribute which was a list of the last 30 days data in order, you'd read the last piece of that into a template sensor, and in 30 days you'd have 30 days of data.

#

But in this case getting the last piece is kind of tricky

keen belfry
#

I'd says that it's the last non null value. But how to associate it with the right date

polar kelp
#

The last non-zero data would always be for todays date, right?

keen belfry
#

Nope

#

In the example I sent, it was for the 21st

keen bobcat
#

is it possible to do something like this in an entity option? fallback: {icon['mdi:leaf']}

keen belfry
#

But it can be 4 days ago, that depends on how the webservice is willing to provide it

polar kelp
#

Wow that's useless...

keen belfry
#

Absolutely

keen bobcat
#

if I make it {sometihng} is outputs [object Object]

keen belfry
#

But unfortunately, that's the only way we can have data regarding water consumption here

polar kelp
#

The only solution I can think of is to make a custom card for it...

keen belfry
#

I was thinking about that

polar kelp
#

@keen bobcat Try putting quotes around it.

keen belfry
#

And drawing the graph with the data in the attributes and not getting it from the db, right?

polar kelp
#

yeah

#

I'm not aware of any cards that do that.

keen bobcat
#

what would be the correct format though? I was guessing with icon[mdi:icon] which doesn't work

polar kelp
#

What is it supposed to do?

keen belfry
#

I don't know how much easy it to hack the mini-graph card. You did it right?

polar kelp
#

Nope

elder pendant
#

One of the few that was someone else 😜

polar kelp
#

It's made by my neighbor, pretty much.

#

Seriously. We live in the same small town in Sweden. Never met.

keen belfry
#

That's a coincidence

#

I'm going to investigate if I have some spare time

#

Thanks Thomas

#

Have to leave

formal tide
#

why is the sidebar menu burger not working on my surface tablet? only touch, cursor works fine

cursive saddle
#

Where's the best place to report a bug (with log excerpt) causing the Media Player Card to fail to display cover art after upgrading to v115.x?

dreamy raven
#

Hey guys, hoping someone here can help me out with this (most likely) easy question. I've been searching high and low for a way to have an entity on my dashboard add all of the devices from Shelly. I know it's possible, seen it somewhere on a blog not all to long ago, but like I said, I've been searching high and low and can't seem to find it. Anyone can point me in the right direction on how to approach this?

grim beacon
#

Simple question: How is it possible to show the history of a switch in the current version of Home Assistant? In the previous versions, a long press brought up a dialog showing the history but that doesn't seem to work anymore ...

mild veldt
#

@grim beacon that should still work. Which version of HA are you on and which card are you using?

#

@dreamy raven are you looking for something dynamic? auto-entities is probably what you want. If you just want to add all entities from a device, go to the integration's config page and select "add to lovelace"

grim beacon
#

@mild veldt Thanks for your response. I am running 0.115.2. As far as I remember, when I performed a long press on the name "Office" in the screenshot below (not the switch image), a dialog popped up showing the history. Now it just turn on/off the office light. I am using custom:layout-card

#

Seems like that I can't upload a small image here.

kind shellBOT
#

Please use imgur or other image sharing web sites, and share the link here.

grim beacon
timber patrol
#

anyone able to help steer me in the right direction to make a decent sensor card for my Xiaomi humidifier?
when i put it on entity card i can only add 1 attribure? i want several..

#

basicly these 2 combined into 1 card/tile? so i have the "click" controll options, but still see those 3 value's
https://imgur.com/a/NesUMUM

dreamy raven
#

@mild veldt Something dynamic idd. I'll have a look at auto-entities, it just has to be able to do some kind of filtering, so only add the entities that start with light.shelly* for instance. But Thanks for the response, I'll have a look and see what I can find.

mild veldt
#

@dreamy raven yes, that will support that

#

@kind shell works for me in 0.115.2. Check your config that you don't have something populated for the hold_action

raven quartz
#

Is there a way to make a button which calls a service with different data on press (hold) and release?

mild veldt
#

@raven quartz I believe that is a function of the custom button-card

vivid cobalt
#

I used HACS to install card-tools and auto-entities, but I don't see any /local or /community_plugin folders anywhere... where did they get installed?

#

oh, nvm, they told me when I installed: /config/www/community/lovelace-auto-entities

#

seems their location is ever changing

dark dirge
#

that one is pretty consistent for HACS

#

but you refer to the files in there with /hacsfiles/xxx and it redirects

outer gulch
#

the historic graph just continues drawing the last known value of a sensor, even if the sensor is currently unavailable.. is this correct behaviour?

near knot
#

Hi. How do we assign devices to different areas? All my old areas and their contents have been ported over but they're mostly out of date now. Thanks.

dark dirge
#

from the cog in the upper right of the device page

unreal urchin
#

can anyone tell me why this service call isn't working from a picture elements card? works fine from 🔨 > Services - action: none hold_action: action: none image: /local/btns/volumeUp.png style: left: 67.2% top: 88% width: 12.2% tap_action: action: call-service service: remote.send_command data: entity_id: remote.theater_hub command: - VolumeUp device: RX-V675 A67B39 delay_secs: 0.5

#

the error i get is Failed to call service remote/send_command. required key not provided @ data['command']

#

had to change to service_data i guess

#

what the difference is, 🤷‍♂️

muted inlet
#

Lovelace uses service_data: instead of data:

unreal urchin
#

aha, thanks

dark dirge
#

because it just had to be different

unreal urchin
#

and here i am missing an easy WTH entry

mild veldt
#

One line change

near knot
#

from the cog in the upper right of the device page
@dark dirge Thank you! I swear I tried clicking every other thing on devices and areas. Never even saw the cog.

timber locust
#

Hi

#

I've a question about mini-graph-card and the group_by: hour function.

#

Is this the right channel?

polar kelp
#

yes

timber locust
#

Ok. thx.
I've a issue and don't know why this happens. I try to explain what I want to achive and what I did.
I've a sensor which measures rain. This sensor is based on utitlity_meter. Configured hourly. So every hour the counter gets resetted.
I did now a bar graph with mini-graph-card. I want one bar for every hour 08:00-08:59.

So I did the following:
https://paste.ubuntu.com/p/jwrK8HzQth/

#

The problem I now see is that group_by: hour soesnt work propperly as it shows bars with timeframe like 08:45-09:30 or 22:30-00:14

#

I expcet that it should exactly use 22:00-22:59 for one bar in the graph. Anyone know what I do wrong?

#

Ah one more thing I want to mention: with group_by: date i do not have this issue... this is wokring fine and always uses 00:00-23:59

spark fern
#

Hi All, can I ask, are you able to set inputdatetime on the frontend gui? I'd like to have an option for guests to enter their custom bedtime via tablet interface?

neat olive
#

Hello everyone!
I've created template binary sensor and added it into the lovelace. It's all working fine, but the states of this sensor is "on/off" while I need them to be "yes/no". As far as I understand, I need to apply device class to change that appearance, but in list of predefined classes there is no one that will have "yes/no" states.
Do I need to create new device class and if so, how can I do that? I didn't found any docs about that.
Moreover, maybe I just need to customize my entity, but I didn't figure out how I can do what I need via customization.

placid swift
#

Hello, If i understand correctly: there is no easy way to add a lovelace ui to a specific user? I want to be able to make one page for my parents to control their lighting. But i can't figure out how to hide all the other stuff.

mild veldt
#

@placid swift create a separate dashboard for them

placid swift
#

I did now, and the only downside is that its browser/device bound. But after asking them they will only use 1 mobile phone for it so its fine! 😄

waxen prism
#

Is there any way to stop panel mode webpage cards from reloading when revisiting? I have a node-red in a panel and when I get back to it, it reloads.

#

This is always open in a browser tab.

dark dirge
#

@neat olive You can either switch to a template sensor and return yes/no, or use a card that allows you to change the displayed state name (like the custom button card)

outer gulch
#

what's the easiest way of putting a background-image inside a media player card or a vertical stack card?

hybrid berry
vapid field
#

can someone help me out with a picture card entity - I am trying to point the card to the photo to use.
Ive dropped the photo in a folder created (www) within the config folder (and restarted HA)
So would the address be : https://192.168.1.123:8123/local/testcard.jpg even though the photo is in /config/www/

hybrid berry
#

yes if you have ssl installed otherwise only http

#

you should be able to preview it in your browser

vapid field
#

I will see if i can

#

ah ok - I can , but i have to accept a security error - so the ssl might need updating ( i though letsencrypt did this )

#

i cant see it on http, only https

hybrid berry
#

so everything is fine? If you can access everything via https there is no issues with the certificates

smoky peak
#

Just curious...has there be any discussion or planning to allow for the configuration of groups in the frontend/UI?

hybrid berry
#

there actually has been a discussion about this yesterday with the frontend devs... altough i don't know the results of the call

mild veldt
#

light groups would probably be the most likely. but any such change requires a backend change to move it to a collection which complicates things

formal tide
#

dev tools say everything is alright

#

anybody knows what has changed with click/drag - essentially focus - on cards in 115?
seems like the dev is baffled too

mild veldt
#

@formal tide I commented on the issue

vapid field
#

Is it possible to override the displayed temperature for a certain thermostat card in Lovelace?

formal tide
#

awesome thank you! so it should temporarily work in 115.3?

mild veldt
#

No guarantees that's the full issue, but it sounds like it without looking at code

#

@vapid field can you elaborate?

vapid field
#

I have a thermostat card displaying the current_temperature value of the climate entity it is linked to. But I want it so display the temperature from a different sensor

mild veldt
#

@vapid field maybe you can use the generic thermostat integration to do that?

vapid field
#

@mild veldt I see how that would work, but that does lose some functionality that the climate integration offers (dehumidify-only, fan-only mode etc.), the generic thermostat is a more binary solution..

#

I'm guessing I'm going to have to look into making a custom Lovelace card and integration some sort of current_temperature override function?

civic trout
#

I started seeing this Entity Not Found on the middle top icon of lovelace overview but I can't tell what that icon was for to fix it. It's the one between Updater and Sun

short jetty
#

how does one use attributes in an entities card?

open coyote
#

Hi! Anyone having login issue? I'm regulary (once a day) stuck on blank page with retry.
On android I have to stop the app, clear storage, than manually log in again 😦
it is doing the same from a simple browser, once a day I have to remove session token related cookie to solve this.
I'm on 115.2 btw

#

that's pretty annoying

#

did not have this issue before the upgrade from 114

frail flax
#

Hi! Anyone having login issue? I'm regulary (once a day) stuck on blank page with retry.
On android I have to stop the app, clear storage, than manually log in again 😦
it is doing the same from a simple browser, once a day I have to remove session token related cookie to solve this.
I'm on 115.2 btw
@open coyote I came here to find a solution to the same (or similar) problem. The first tab I open HA in loads without issues, the moment I attempt to open it again (2nd tab or restarting my browser) it just give me 'Unable to connect to Home Assistant'. I have to clear cache & cookies before it loads again.
Running 115.2, getting the same issue in both Chrome and Firefox

open coyote
#

I just saw there is a 115.3 released

#

maybe this issue had been fixed

#

gonna test

frail flax
#

Initial tests on 115.3 looks like it's been fixed

frosty fiber
#

Everytime I add
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

To my config yaml my front end of haasio wont start

#

does anyone know why or what command I can use to see why the front end wont start?

#

Firefox gives the error "The site at https://192.168.1.20:8123/ has experienced a network protocol violation that cannot be repaired."

#

I've checked the cert that letsencrypt gave me and it seems valid

open coyote
frosty fiber
#

Seems to be valid 😦

#

but thank you

willow dove
#

hi, I'm trying to fix the xiaomi vacuum map card, which currently uses the camera_thumbnail webservice (see https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card/blob/master/dist/xiaomi-vacuum-map-card.js#L662). Since using that ws is deprecated, I'm trying to replace that with a call to this._hass.callApi('get', 'camera_proxy/' + this._config.map_camera), but that doesn't seem to work to get binary data. I also tried to just set the src attribute to '/api/camera_proxy/camera.entity' but that gives a 403 Forbidden error, since it's not using the bearer header. Any idea on what to replace the hass.callWS camera_thumbnail call with?

frosty fiber
#

fixed it, had to specify my base url

#

seems like alot of guides say its optional

civic trout
#

I started seeing this Entity Not Found on the middle top icon of lovelace overview but I can't tell what that icon was for to fix it. It's the one between Updater and Sun https://imgur.com/a/LR1zkIx

cyan lintel
#

How do I change the icons used for open/closed state of a cover from window to garage?

formal gulch
#

I'm attempting to use picture-entity. I've got /config/www/ created, rebooted HA, yet everything under there when referencing /local 404s. Any ideas?

#

@ me if you have ideas

mild veldt
#

@civic trout just remove that badge

#

it is in the view config once in edit mode

#

@cyan lintel customize the device class

civic trout
#

@mild veldt what badge is suppose to be there? I'd like to fix it and not just remove it

mild veldt
#

do you know how to edit the dashboard?

civic trout
#

when in lovelace, I click on the 3 dots and hit configure UI, right?

mild veldt
#

yeah, then hit the pencil for the view you're on. then there is a tab for badges

#

that will list the badges you have

civic trout
#

oh, gotcha!

#

thanks

cyan lintel
#

@mild veldt configuration.yaml > homeassistant > customize_bglob > "cover.garage_*" > device_class = garage ?

#

err s/customizebglob/customize_glob/

mild veldt
#

@cyan lintel I don't remember for sure. There should be some docs on the site regarding device_class customization

cyan lintel
#

Is there a place in the UI to see the class for the cover entity to see if it took?

#

or in the cli?

mild veldt
#

you can do the customization from the UI, yeahj

#

configuration > customizations

dark dirge
#

If you customize it, it should show up in the attributes of the entity in devtools -> States

cyan lintel
#

Worked using the UI. What I had in the configs didn't. meh

meager marsh
#

Is it possible to use the state !home or the equivalent for state based images? I have a picture entity card and I want to display a b&w image when I am anywhere except home. I have it set to not_home: but that doesn’t work when I’m in another defined zone such as work.

glass maple
#

Trying to figure out if this is a just me problem. When I go to scenes I can create a new one, but then nothing shows up in the UI. The scenes.yaml reflects what I've created though. Has anyone had this experience?

frigid obsidian
#

I'm trying to wrap my head around the proper way to add PTZ control for my camera to lovelace. I would like a dropdown menu that, when selected, will fire off a REST API call. The syntax for the URL is just a GET.

My question is do I need to define 14 different "rest_command"s then somehow wrap those with a dropdown or can I variablize a single rest_command?

mint geode
#

Has anyone an idea how I could add the media browser button to the mini-media-player card?

livid folio
#

Hi there ... I've recently setup the 'opensky' integration and have push notifications sent when a plane is flying over my house. The sensor itself (sensor.opensky) open has the output of how many flights are overhead however the automation setup manages to capture the actual flight number via an event ( {{ trigger.event.data.callsign }} ). I am struggling to try and capture this value in order to display it in a card instead of simply the amount. Does anyone know how to capture this value and include it in some sort of card (Glance)? https://imgur.com/a/vCo9Ql7

mint geode
#

Or look into the event-sensor custom integration, that creates a sensor from events

livid folio
#

Shweeeet thanks!

mint geode
#

First you'd need to get the event to a sensor, then display that

livid folio
#

So in my case:
platform: eventsensor
name: OpenskyFlights
event: opensky_entry
state: callsign

livid folio
#

Thanks @mint geode ... Got it working!

gilded swallow
#

Guys, i'm trying to learn how to play more with "custom:button-card",
but for some reason i'm getting an error with this one, and I can't understand why..

Could anyone help, please? :)

https://paste.ubuntu.com/p/jyZjQQmD5m/

dark dirge
#

Your syntax is wrong

#

You’re using = instead of == for one

gilded swallow
#

still...

#

new code + error

dark dirge
#

Do you intend home to be a string?

#

If so, you need to enclose it in quotes

gilded swallow
#

forgot to add ' around home

#

😛

#

thanks

dark dirge
#

Yes

#

Np

calm swallow
#

hi all , i'm trying to set up a 2am job to turn off all the lights just in case they've been left on. Can't see a simple way in the UI to make a group?

#

is it possilbe to make a group in the UI?

gilded swallow
#

How could I use the icon (from the last post) in the custom button-card, that it will fill the whole card, and use as a background...? So I could place, let's say, the 'name', 'icon', 'label' - ON TOP of the icon (which is a entity_picture)..

smoky depot
gilded swallow
#

It's a bit hard to understand (for me at least) from that example, how can I set a one-frame background.. I don't want any animation or changing pictures..

south meadow
#

is there a way to force the integrated calendar-card to show the list view by default and not the month view?

foggy hornet
#

Can anyone help with correct syntax: I want to show brithness of my lamp (data.new_state.attributes.brightness) but i dont know how to write it in this context: [[[ return (states['light.lampa_baksida'].state) ]]]

twilit sleet
#

any one have idea, i renew my certificate like i do every 90 days, all pas fine but still i cannot enter from outside of my network, and i i will check on SSL Checker
that say my certificate is expired .

#

Valid from June 14, 2020 to September 12, 2020