#frontend-archived

1 messages ยท Page 200 of 1

polar kelp
#

Why not both?

rain scroll
#

Hm i just tried to make the new Statistics Graph Card and i can select my Aqara Temperature Sensor entity but then nothing happens only text with "no statistics found" appears?
Can someone help me?

karmic tiger
#

And if you dig deeper:

Home Assistant has support for storing sensors as long-term statistics if the entity has the right properties. A requirement to opt-in for statistics is that the sensor has state_class set to measurement. That means that the current value represents the current value.

rain scroll
#

Uh hm im completely new and don't know to code things, but is this something i can easily change on my own to bring it to work?

karmic tiger
#

Did you read the page I linked you to? It says to open an issue (if you don't know how to code) and has a link with more details (for those that do).

#

If you want to try to code it, you can follow that link and have a read.

#

If you think you understand it well enough and want to try to update it, that's where to start... but if you're completely new to programming, you may find it difficult.

#

This is where you'd open an issue (search first to make sure you're not making a duplicate):

kind shellBOT
rain scroll
#

Yea i don't understand it to code something :D

Thx for the help i try to search if someone has already posted it and if not i write an issue

distant briar
#

oh ffs, i've spent hours over the last day or so making a new page for my dashboard,,, come to use it on a different computer and it wouldn't show the new updated page. and somehow it has saved it so i've lost all that work. i don't suppose there is some kind of way to restore changes? i'm guessing not.

#

i don't understand, why is lovelace so terrible at updating its cached ...erm... everything??

karmic tiger
#

If you didn't take a backup, you're probably out of luck.

#

You do take backups, right?

#

And it's usually not Lovelace that's the problem... browsers do the caching.

#

If you're worried about losing progress on things, switching to YAML mode and using git for version control is one of the best options.

hallow mango
#

so i've set up a grocy docker container (not the addon), and want to add its webui to my sidebar

#

i found the panel_iframe integration, which "works", but it only loads the login page, and doesn't change when i log in

#

like it's always stuck on that one page

#

this is what my panel yaml looks like:

panel_iframe:
  grocy:
    title: "Grocy"
    url: "http://192.168.1.229:9283/stockoverview"
#

i would run it as an addon, but the grocy app for android does not yet support the version of grocy that the addon is based on... and on top of that, the addon itself has issues making it hard to use from within the HA app

vapid field
#

any way to resize UI cards?

#

major shortcoming of frontend are these cards... how is there no easy way to sort and resize them

#

.>

tropic skiff
#

custom cards make it pretty easy to resize cards (I think the best one is a grid card from Thomas Loven at least in my opinion haha)

#

Also super dumb question I just cant figure out how to disable an icon in my YAML

the entity has no icon defined and yet it continues to stay there (I can change it with icon: mdi:lightbulb or some random other icon but I dont know how to hide it)

summer heron
#

Hey really dumb question I'm sure, but I'm still confused after reading everything I can find - HOW do I call MDI Icons? mdi:whatever does nothing, do I need to add something in config to allow them?

summer heron
#

like let's assume I'm not a JS developer... ๐Ÿ˜‰

stoic solstice
#

Anyone know of a calendar card the shows a week view? All I find are month or day views...

polar kelp
polar kelp
polar kelp
tropic skiff
tropic skiff
karmic tiger
#

You just need to follow his GitHub page ๐Ÿ˜„

spare loom
#

Hello everyone, I need some help getting some info on a lovelace card.

#

I'm using the meteoalarm integration to get weather alarms

#

normally, when you put that on an entity card, it just tells you safe or unsafe and if you want to know more, you have to click the card and then click on attributes, to see what exactly is the unsafe event

#

is there a way to make a lovelace card, that will just show me all that information directly, instead of having to manually click through it and into the attributes subsection?

karmic tiger
#

You should make a template sensor that surfaces the information you care about, then display that sensor on a card.

spare loom
#

Can you point me to the relevant documentation on how to do that?

#

for the meteo alarm integration

#

please?

errant plover
#

Specifically state_attr()

spare loom
#

will look into it, thank you.

carmine fern
#

I've got my button-cards setup to use auto color mode for the card. I find though that when switching to that dashboard with a light already on it will flash the colour for a second then go back to black/grey as if it was off. If I turn the light off and on again it shows the colour normally until switching away from that dashboard and back.

sour crag
#

I am trying the new energy-function, I have added power consumption from my tibber-integration, but it doesn't seem to give any data. So I think i am using the wrong sensor. BUt I find no way to modify the energy panel, adding or changing sources and so on. Any tips?

karmic tiger
sour crag
#

oh, thanks, didn't know it had become its own channel

karmic tiger
#

Yes, the same day the feature launched ๐Ÿ˜‰

radiant jungle
#

Sorry if this has been asked before but does anyone know how I can get lovelace to show times in my timezone? I assume it is BST that is messing things up, but graphs are all 1hr out

karmic tiger
#

What timezone do you have set in Configuration > General?

radiant jungle
#

Europe/London

#

@karmic tiger which seems right?

worn helm
#

can you reset the "Overview" card to not be configured by UI?

#

I think there was a popup question about editing it, and someone in the household pressed "yes" on that question

#

(I basically want the overview to show whatever entities I add)

karmic tiger
#

If you check your logbook / history, do the times look right there, Starfarer?

radiant jungle
#

no, they are an hour behind

#

{{ now().tzinfo }}
{{ now().astimezone().tzinfo }}
{{ utcnow().tzinfo }}

Gives me:

#

Europe/London
BST
UTC

#

no, idea if that is right

karmic tiger
#

What install type are you using?

radiant jungle
#

hass os on a pi

karmic tiger
#

You could check with the folk in #330990055533576204 to see if there's anything else you should investigate.

radiant jungle
#

thanks

cold shoal
#

Calling all frontend experts ๐Ÿ˜† . The Markdown card is pretty nice, but it could be awesome if we could use Mermaid (https://mermaid-js.github.io/mermaid/#/) with it. Most of the popular markdown renderers can take some Mermaid markdown, so would it be possible to make it work with the Markdown card? The upside would be dynamic diagrams!

nimble rose
#

Hello! Is it possible for lovelace elements to be aligned with each other?

gaunt musk
#

Hi everybody ! Can you help me to align my lovelace cards ? I want to put an horizontal stack only on browser but not with phone, is it possible ?

#

Masonry layout from custom layout card helped me ! It's okay thx you

carmine fern
#

Is it possible to use images from the \media folder instead of the \www folder for the picture elements card?

karmic tiger
#

I believe not, since the media stuff uses short-lived tokens.

#

www is completely open, so you won't have problems with tokens expiring.

carmine fern
#

Ahh bummer. Yeah that's part of the reason I don't want to use www. Is there another location that isn't open to all that I can use?

karmic tiger
#

Not within HA itself, no.

#

It's not really meant as a fully-featured web server. The www folder is just a nice bonus.

#

If you're able to use external images (I've never tested this), you're welcome to set up your own web server with your own rules.

#

It'll still need to be accessible from wherever you're viewing Lovelace - if that's on some computer at a cafe or the office, your access rules will need to permit that.

kindred karma
#

Hi, anyone knows how to update lovelace climate status with a Tasmota IR blaster?

This is the version I use:
https://github.com/hristo-atanasov/Tasmota-IRHVAC

I am controlling the AC but can't seem to update when I can readings from the remote control (in the tasmota console I see the data)

raven root
#

Question. When I try to edit a card via the ui configurator. The edit and delete bar under the cards does not appear.

#

How do I fix this?

hallow mango
raven root
#

It used to fix that for me hat but not anymore somehow. Good to know that its not just me.

dull hazel
#

Question: How can I make a youtube video embedded via iFrame to Lovelace autoplay on the Silk browser?

I have it set so a video autoplays with other browsers, but I can't get it to work with Silk.

I want this because it will prevent my Echo Show from timing out, letting me leave it locked on my Home Assistant page. I just need to get the video to autoplay.

So is there any way within HA to cause it to autoplay (not relying on the URL addition "&autoplay=1", which is what I have now)? Or maybe some way to force a fake click to make it start playing? Idk.

umbral haven
#

what language are we coding in for the lovelace ui code editor? so i can copy to notepad ++ and code it there to copy it back to the browser

dull hazel
umbral haven
#

it's not tabbing back and forth in notepad ++ correctly lol

summer heron
#

Is there a howto for mdi icons? I can't find anything complete.

dull hazel
#

For a given mdi (e.g. mdi-dance-pole), change it to "mdi:dance-pole" for use in HA.

summer heron
#

Cheers @dull hazel - great to finally have an complete list, but I'm still a bit lost, more than happy to write this up once and for all, but the "usage" section doesn't really give much for the uninitiated.. where does that code go?

#

also npm install @vapid field/font - is that supposed to be somewhere too?

dull hazel
summer heron
#

ah got it

#

cheers, that list needs to be pinned! awesome!

dull hazel
#

No problem.

dark dirge
#

see the first pin

summer heron
#

That's not doco by a country mile ๐Ÿ™‚

dark dirge
#

the second link

summer heron
#

Not trying to be a jerk without putting my hand up to improve the doco though, once I get my head around HA some more I'll contribute ๐Ÿ™‚

dull hazel
#

Well, if anyone figures out a way to make Youtube videos embeded with iframe into Lovelace autoplay on the Silk browser, please let me know. Silk is such a pain to work with, but it's the only option on Echo Show devices.

bleak locust
#

Hi everyone, I have an iPad mounted on the wall. I've been looking for a long time in documentation, forums and google about having a sound when I click on a button, but I can't find a way to make it work. Any suggestion?

pliant snow
errant plover
#

For the one with the bar graph.

pliant snow
#

they are the same, the fibaro one is a clean copy of the other one

errant plover
#

Did you only add the unit_of_measurement later? If so the graph will update in 24 hours.

tropic skiff
tropic skiff
sour plover
#

is it just me or have the last 1 or 2 updates made the front-end extremely buggy again?

karmic tiger
#

Just you

#

If you're having specific issues, describe them.

sour plover
#

nvm I think it was indeed just me..

strange bough
#

hello can someone help me installing custom:button-card i did the hacs instalation and whenever try to create a manual card with type
type: 'custom:button-card'
all i get is "Custom element doesn't exist: button-card." in visual editor

dark dirge
#

Do you see the resource in configuration -> Lovelace dashboards -> Resources?

strange bough
#

yes it is as specified in the github repo

dark dirge
#

What did you put there?

#

Should be /hacsfiles/button-card/button-card.js

strange bough
#

/hacsfiles/button-card/button-card.js is in my url

#

do i need to restart server ?

#

haven't tried that

dark dirge
#

You can. Also clear your browser cache

slow jolt
#

Is there a reason I can login to my duckdns front end but I can't access the front end by ip locally? I can see it on the network

#

from a browser on a laptop is where I'm having issues. My iOS app works fine

strange bough
#

Server restart seems to have fixed it ...

#

Very weird since is only on frontend repo ...

dark dirge
#

reloading Lovelace resources might have fixed it, but that should happen automatically when you added it

cobalt magnet
#

Is there a way to override the locale settings HA frontend gets from the browser? My calendar starts weeks on the wrong day :/

strange bough
#

Is the time on your server set right ?

dark dirge
strange bough
#

Question is there any way to achieve a toggle with an intermitent phase in example a gate automation instead of only on and off state i would like to have opening and closing state or at least one transitional state but input-boolean has only on and off

dark dirge
#

sounds like a cover

cobalt magnet
slow jolt
dark dirge
#

you don't "fix" it, you use the name

#

the alternative is to use a reverse proxy like NGINX that allows external SSL and internal non-SSL connections

strange bough
# dark dirge sounds like a cover

Hmm that seems more of a thing to control the opening percentage , in my case i still have 2 actions but i just want to know when the transition finished from open to close or reverse

dark dirge
#

if you just want a sensor that supports multiple values then use a sensor

#

I don't know where the limitation of the input_boolean is coming from

strange bough
#

I'm using a esp32 to control the gate and i wrote the code myself on the controller side it has 4 states , open ,close ,opening ,closing i just dont know how to bring that to the UI ๐Ÿฅฒ

dark dirge
#

how do you want to expose it in the UI?

#

does your ESP expose a sensor?

strange bough
#

No sensor just mqtt and a relay

#

I keep track of gate state acording to the time it takes to open or close

dark dirge
#

I'm still unclear about how the open/closed/opening/closing information is being made available to HA

#

this seems less about how to represent it in the UI as about how to turn it into an entity that you can then display

#

if you're really asking "how do I make a template cover that shows open/closed/opening/closing", then that's fine

strange bough
#

I guess im stuck at the entity part

dark dirge
#

the UI just represents stuff that already exists

#

how is HA getting this data?

#

4 states , open ,close ,opening ,closing

#

an MQTT sensor?

strange bough
#

No sensor just a microcontroller

dark dirge
#

No sensor just mqtt and a relay

#

how are you planning to get that info into HA?

#

you keep saying "no sensor", but that's not really responsive

strange bough
#

As it is now the controller is subscribed to that input boolean recieves the on and off inputs and does it things

dark dirge
#

what is populating the input_boolean? that's just a helper in HA

#

do you mean binary_sensor?

#

I feel like we have a terminology problem here

strange bough
#

Yeah sorry i am new to this

#

I know how to program the controllers but i have 0 experience with integrating them into HA

dark dirge
#

but you're somehow getting the data into HA? Or not?

strange bough
#

I could publish the states into the mqttbroker

#

Now it's just subscribing

dark dirge
#

"it's" is HA?

#

what exactly does this mean?

#

Now it's just subscribing

tacit gate
#

Hi all, i want to make a custom gauge card, based of the one currently in HA. I kinda miss 2 features that i'm going to add in the custom one. But where do i start?

strange bough
#

the controller is subscribed to a topic
'garage_door_topic"
the input boolean helper is triggering a node red flow which publishes the message on the mqtt broker then the controller recieves the message and takes action

dark dirge
#

I'm confused about what is detecting the state and what is reacting to it. If Node Red knows the state, what is the microcontroller doing?

#

Node Red can communicate directly with HA

strange bough
#

i'm going to do some more reading on it as it is right now the state is only internal on the microcontroller , node red only reacts to the input boolean if boolean input is on sends message to open the gate if it's off sends message to close the gate , i can make the controller publish it's state on the mqtt broker then probabily i need another entity that is aware of that state ...

dark dirge
#

an MQTT cover could take the place of the input_boolean and Node Red integration by combining the current state of the gate and the open/close functionality

#

once it's all part of the same integration, it can be easily represented in the UI. Otherwise, if you just want to surface the sensor state, then an MQTT Sensor can represent however many states you want

strange bough
#

ok i will read into that thank you very much for your time sorry for being such a noob ๐Ÿ˜„

dark dirge
#

np, it seems like you have most of the hard stuff under control, it's just bringing it together. Further questions about how to bring data into HA should go to #integrations-archived

strange bough
#

ok i understand ๐Ÿ™‚

brisk badge
#

i am trying to setup an android tablet with the a dashboard on a browser but i am having an issue when i got in the settings > lovelace dashboard i can't get the popup appear to set one as default

#

i tap any dash and nothing happen....

grave river
#

Is there a way to see events (and the data they contain) that HA is recieving?

dark dirge
#

devtools -> Events

#

But Iโ€™m not entirely clear on what events HA might receive and how

grave river
bleak locust
spiral fulcrum
#

Is there a gauge that allows more than three (ideally arbitrary) severity? Neither the native gauge nor custom-gauge appears to and I have a sensor I'm trying to break into five categories.

regal cypress
#

When editing cards using code editor, is there a way to move (insert/delete spaces before) multiple lines at a time? Like what you can do with VS Code?

spiral fulcrum
gray pelican
#

Does anyone else encounter "backwards" typing sometimes when editing yaml in lovelace?

meager vortex
#

total noob, trying to get a button to show more buttons (to organize and save space). can i get a hint for the right direction?

vapid field
#

I've upgraded to the latest HA and I still don't see the new energy option which I was told should be a menu option in the left bar. Is there anything I can do to see it?

polar kelp
#

Go to #energy-archived and check the pinned message. If that doesn't work, they can help you over there.

vapid field
#

@polar kelp thanks for answering but I can't see a pinned message. Can you send a link?

polar kelp
vapid field
#

oh thanks

summer heron
#

I've got a problem with the ios app - the controls on the main dashboard vanish after a while, while the side bar etc remain

#

this doesn't happen on safari with the same dashboard. only in the app, it's an ipad mounted to the wall so is always on.

polar kelp
summer heron
#

Also, can someone please point me to doco on making an up/down switch (for blinds) where (clearly) up and down can not be pressed at the same time?

strange bough
#

Covers

#

Someone pointed me in that direction yesterday

#

Posted a gif in #diy-archived with my integration , i use it for a garage door ๐Ÿ˜…

tired epoch
#

Hi, i have messed up. I was playing with the HA app and tapped the โ€œtake controlโ€ for the dashboard. Now there is nothing ๐Ÿ™ˆ how do i undo it please

tropic skiff
tired epoch
#

Thank you Tobster18

polar kelp
#

dotsvertical -> Edit Dashboard -> dotsvertical -> Raw Configuration Editor -> Remove everything -> Save

tired epoch
#

@polar kelp thank you so so much๐Ÿ˜…

#

Ok now that i can see my things again, can you mimic apple Home interfase and i also saw when I installed the app in app-store that there is like a home plan. How do i get that look?

split granite
#

You build it yourself

kind shellBOT
polar kelp
#

The bot counts total message lines, not just code.

tight quest
tight quest
polar kelp
#

For less simple ones you can check out template-entity-row

tight quest
#

Works perfectly. Thank you Thomas.

tired epoch
#

Thank you. Will have a look.

#

Does code differ from operating systems or will ubuntu work with Mac os?

split granite
#

What?

tired epoch
#

@polar kelp may i private message you please?

tired epoch
split granite
#

That has nothing to do with the frontend of HA

#

If you're asking about software then the answer is highly unlikely

#

However, it may be that the software in question has a MacOS version

tired epoch
kind shellBOT
#

@tired epoch When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.

maiden iris
#

How do I edit the energy dashboard? (add a sensor)

polar kelp
#

Configuration configuration -> Energy ๐ŸŒฉ๏ธ - โ˜๏ธ

#

We need more specific emojis

maiden iris
#

huh, that makes sense

#

thanks!

polar kelp
#

Some things do.

lavish bone
#

Hello.

#

i hope this is the proper channel for question about lovelace cards?

polar kelp
#

Probably

lavish bone
#

i have several glance cards with climate information.
i wanted the title text (nice big white letters) to include some dynamic information like "last updated xx minutes ago"
but i failed to manage that, so i am using a markdown card followed by the glance card

polar kelp
#

Nice classic workaround. I like it

lavish bone
#

if instead of the glance card i was using the entities... i could actually insert the markdown in the same card

#

but that's not possible in the glance card? is there some sort of workaournd?
because honestly, the little gap between the two cards is driving me nuts ๐Ÿ˜„

#

(can i post a picture here?)

polar kelp
lavish bone
#

i'll check that out, tho i was trying to stay away from 3rd party stuff for now.

#

(extra possible point of failure, separate updating process, etc)

polar kelp
#

Thirdly, you could put both the markdown and the glance card in the entities card...

lavish bone
#

wait... merge them with an entity card?

lavish bone
polar kelp
#

-type: custom:hui-glance-card

lavish bone
#

ez enough to give it a test

#

brb gonna try ๐Ÿ˜„

lavish bone
#

i am kinda strugling with the proper formatting

#

i hate YAML and it's "leading - and exactly THIS amount of blank spaces" format

polar kelp
#

Start with your glance card in the editor, click Show Code Editor and copy that.

lavish bone
#

yeah did that

lavish bone
#

ok i got it to work.
nice idea. looks better than before... but

#

still not perfect

#

i just wish we could use dynamic data in the title

#

or at least that the glance card had header/footer where we could add stuff

#

this will do tho

#

thx a lot Thomas

plain onyx
#

custom:alarmo-card stopped working any1 know how to add it again .. ?

#

change-notes say this :
Removed alarmo-card. Please install it separately from alarmo-card.

#

how to install separately from alarmo-card

#

there is no card anymore in ha

tired epoch
#

Is it possible to have all your room names under โ€œhomeโ€ and when you tap on the room it opens up everything that is in that room and collaps again when you tap on the room name?

lavish bone
#

heya.
@polar kelp helped me this afternoon to get some nice cards going.
they worked nice but now out of the sudden they stop working
i have big red errors everywhere i made the card with this message:

Custom element doesn't exist: hui-markdown-card.
#

which is weird, because it was working just fine a few hours ago

#

i restarted home assistant, error still happens
i updated homeassista nt (was only a minor version behind) and still same

polar kelp
#

I posted you a link to an explanation. That begun with "IMPORTANT". Read that part.

lavish bone
#

yepp. i thought it would be black or white. either works or not.
it's weird it was working for a few hours then stopped

#

i only made like 5 cards... that is gonna affect perfomance to a point of breaking everything out of the sudden?

#

@polar kelp so if i install hui-element
then just a couple changes in the yaml and everything should work?

polar kelp
#

It's not about you breaking performance. Since you're not using any markdown cards the "normal" way anmore, lovelace don't know about them and won't pre-load it for you.

#

If you add a single markdown card somewhere in the same view it will likely work again.

lavish bone
#

this is quite discouraging for a noob like me...
all i wanted is make everything more compact and show "last updated" in the title...
now i have to read 8 pages of instructions on how to install a custom .js and learn all that ;_;

lavish bone
polar kelp
#

It's likely to work.

lavish bone
#

i'll check this first then

#

yepp. added a basic markdown with a . in it on the first page

#

now everything is working

#

i mean, if this is a dirty trick, i'll have to do it "properly" eventually... but it's just so much info to learn for something i thought was easy and basic to achieve

#

it's like "can you tell me how to say thank you in chinese?" "yes, here, learn these 10 books first" (I don't mean you Thomas, it's the way I generally feel when trying to figure out stuff in HA)

#

๐Ÿ˜‰

polar kelp
#

I'd say it's more like someone replying "well, the translation for 'you' depends on who you're talking to, your relationships and their familys standing in this era of chinese history where the language was defined because... ...not to mention which region of China you are in."

#

That's what I think getting started feels like. There are so many new concepts that you don't even realize are important yet.

lavish bone
#

which doesn't matter because I just wanted to be polite in a chinese restaurant downtown and the answer was "xiexie" ๐Ÿ˜„

#

HA seems easy enough. documentation is there "mostly" understandable for a guy like me...
but some times... something that in my head should be very simple... turns out to be a nightmare of international diplomatic incident proportions

#

i appretiate all the help and patiente @polar kelp

gray pelican
#

Hi everyone. What am I doing wrong here to get a background into this theme I'm using? '

#

Background image

background: center / cover no-repeat url("/config/local/image.jpg") fixed

#

I put the image in my www folder

karmic tiger
#

What's happening?

gray pelican
#

The image doesn't show up as my background

karmic tiger
#

Is this the first thing you've added to www?

gray pelican
#

There's also a community folder in there

karmic tiger
#

Have you restarted HA since creating the www folder?

gray pelican
#

The www folder has been there since I installed HACS I believe

#

But I have restarted since uploading the image

karmic tiger
#

Then it's just your URL that's wrong:
url("/local/image.jpg")

gray pelican
#

And also cleared cache

karmic tiger
#

config/www maps to local

gray pelican
#

Ok lemme restart HA and see what it do

karmic tiger
#

You shouldn't need to restart for that part. Only when you first create the www folder.

gray pelican
#

Still no dice

#

''' clear-dark-vibrant:

Background image

background: center / cover no-repeat url("/local/tampa.jpg") fixed

Colors

text-color: '#DADADB' # Grey text
text-medium-light-color: '#A0A2A8' # Medium-light grey text '''

#

well wtf

#

Trying to use backticks to post code lol

karmic tiger
#

Backticks are the ones that lean sideways. You just used apostrophes ๐Ÿ˜„

#

` vs '

gray pelican
#

LMAO. Well anyway I'm a few thousand miles from my HA right now

#

I'll pick this up again in a few days I guess

#

TY

signal hornet
#

How do I add VS Code to my sidebar?

karmic tiger
#

If you're using the add-on, it should be an option there. If you're not, you don't.

signal hornet
#

I don't have the option with the addon

dark dirge
#

Ah, but you do

karmic tiger
dark dirge
signal hornet
#

ohhh i see thanks ๐Ÿ™‚

dark dirge
#

Itโ€™s hidden, I guess ๐Ÿ™‚

signal hornet
#

i was trying to add from the edit menu

dark dirge
#

That only manages things that are already there

lime horizon
#

Hi, I'm having a little trouble with my HA. Suddenly I can't connect to the front-end/UI and I can't figure out why. I've tried restarting the docker container I have it running in but that didn't work. I can't connect via the IP address so I've only got the console to work with.

karmic tiger
#

If you have console access, you can check the logs.

#

You can also run a command line config check to see if that highlights any problems:

kind shellBOT
#

Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.

lime horizon
#

I think I already tried that @karmic tiger , it didn't highlight any problems. Not surprised since I didn't make any changes to the config recently.

#

How can I look at the logs?

karmic tiger
#

If you're using Docker, docker logs <containername> from the host. But if it's a connectivity issue, you'll probably also end up checking the logs of your router and any reverse proxies you have.

lime horizon
#

I can do docker info and registries, no logs tho.
Oddly enough I can still connect to the observer url fine.

#

I'm running home assistant OS 6.2, hopefully that makes things a little more clear

#

I'm used to working with the front end, so I'm a little bit new to this.

karmic tiger
fiery ledge
#

has this been noticed before here: on a new format template: sensor, using name: and picture: templates, the dev tools state still shows friendly_name: and entity_picture: in the attributes?

karmic tiger
#

I would assume that's deliberate so as not to be a breaking change for the many thousands of people that already have sensors set up.

#

The terminology used in the configuration of an entity doesn't have to be the same terminology used on the other end.

fiery ledge
#

yeah, probably. It's just that I had changed my naming in quite a few js frontend templates, and because of that these failed to show their (entity_)picture.... So we now have 2 sets of configuration variable namings for the same variables..

karmic tiger
#

๐Ÿคทโ€โ™‚๏ธ

fiery ledge
#

this might be for Thomas, but using - type: entities entities: - type: custom:hui-element card_type: picture-entity card_mod: style: | ha-card.type-picture-entity { box-shadow: none; margin: -16px -16px 0px -16px; } has been working for a very long time, and with the august update stretches the entities card beyond the regular cards width. I need to set margin: -16px -8px 0px -8px; but obviously that is too narrow...

#

all other margin widths in the entities below this use the indentical numbers

#

taking out the history-graph (and keeping the old) -16px margins works alright, so it might also be the graph that has changed?

gray pelican
#

Got it to work using the raw configuration editor per view, but not to apply to all views at once. I think I actually prefer it this way. More flexibility.

dull hazel
#

I have this card from HACS on my dashboard: https://github.com/bramkragten/weather-card

I'm pulling weather data from OpenWeatherMap

Why is the middle right data (that is measured in distance (e.g. mi)) missing for me?

Is there any way to fix this, or alternatively could I replace that with something else (e.g. cloud coverage, UV index, air quality index, etc.)?

grim cairn
#

What would be the easiest way to rotate a mdi icon for an entity in the entities card?

cold shoal
karmic tiger
#

Adding anything to HA that isn't already part of HA is a... new feature.

#

That includes adding new markdown processors.

foggy hollow
#

I have joined Lokalise to update missing translation (Danish), but I can't find this anywhere: New devices discovered. We have discovered new devices on your network. Check it out
Any ideas where that should be translated?

cold shoal
woeful blade
#

\o I loaded the HACS integration floorplan and I have to create a lovelace dashboard using the floorplan-card component, but lovelace is complaining that either custom:floorplan-card or just floorplan-card are missing. Is there a way to see the available components? I don't see it in /resources/

kindred lotus
#

Does anybody has a clue how I can access/use the long-term-statistics data? For example: what's the sum of statistic A for yesterday; or what is the average temperature 12 days ago of statistic B? (So the statistics data; not the states/history table). I do see the data when I take a look with SQLLite browser.

karmic tiger
brisk canopy
#

Is it possible to show a secundary state from another sensor? I guess this need some type of hacs card, but have anyone done this?
I use a glance card and the state is "Hemma" as you can see in the pic, but i have a template that changes it to "Hemma since 18:42" etc, does anyone know if it's possible to make that sensor show as state, instead? Thanks! https://i.imgur.com/DlqZgUV.png

mild veldt
#

@brisk canopy I'd use the template sensor instead and then either navigate to a custom page on tap instead of a more info, or use card-mod to change the more-info to the entity you want to display

#

Hopefully that long of text looks okay as well

#

entities card rows are better for that type of info imo. e.g.

kindred lotus
brisk canopy
cinder plume
karmic tiger
#

With the call-service action.

steady sluice
#

Is there any way to set a defualt effect for a light when you turn it on?

#

My lights always turn on with effects on and I want the effect to be "solid"

errant plover
#

Automate it.

wicked breach
#

Does anyone know if it's possible to "scroll" the badges at the top instead of having them create a second row? They're taking up my entire mobile app screen

vapid field
#

Hey there,

i hope that i am posting in the right channel...

#

I use the simple thermostat card and there i could use a sensor entity for displaying the humidity.
But i do not have an humidity sensor in every room.

If i do not use the sensor, the card get smaller and for that i want to get a template_sensor (or whatever) with an NULL_value.

Do you have any suggestions for me how to achieve that?

kind shellBOT
#

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

vapid field
#

Here is a screenshot with the different sizes to make things a little bit clearer

tired epoch
#

Hi everyone, i cant seem to find Neye3C (camera app) and Ewelink to add? Any other way?

torpid oak
#

Hello everyone,
I would like to use any browser in home assistant. does anyone know how to install browser?

polar kelp
#

I have no idea what you're asking. Could you explain?

karmic slate
#

hi I have a strange issue... Custom element doesn't exist:

#

this happens only on android and firefox on my machine.. on chrome on my machine works as expect...

#

the logs seem to be ok so I wonder what can be so different... android is 11 and up to date

#

both chrome and firefox up to date

#

and I use lovelace storage, not yaml

polar kelp
#

Check the browser console in firefox.

tired epoch
#

Where do i find the โ€œconfirmation yamlโ€ file on my mac?

formal tide
#

configuration yaml?

tired epoch
#

Yes

#

Apologies for the typo๐Ÿ™ˆ

formal tide
#

depends on your installation type

tired epoch
#

Did a youtube help installation. I know it doesnโ€™t help but more I donโ€™t know๐Ÿ™ˆ

formal tide
#

configuration -> install type, look it up

tired epoch
#

Home Assistant OS

formal tide
tired epoch
#

Thank you

karmic slate
#

which is strange cause exists in there

#

and there is another custom that seems to be ok

#

also makes little sense since chrome finds them

polar kelp
#

Itโ€™s probably cache

karmic tiger
#

Sounds like a caching issue then. Try clearing it for that site.

karmic slate
#

i do tno think i ever used homeassistant in firefox

#

ok I wonder if something else happens

#

if I get the full link for the card that tried to load

#

indeed i get a 404 on chrome too

karmic tiger
#

What's the full location of the file within HA?

karmic slate
#

found the problem

#

I think is a bug

#

the card was a symling

#

symlink

#

I would have expected it to be cached by ha if symlink

#

but seems no

#

indeed that solved it

polar kelp
#

Nope. Thatโ€™s a python limitation. So the problem was actually in chrome.

haughty vine
#

Hi
Is it possible to set seconds for input.datetime's from frontend?
both entity-row and more-info dialog only allows editing hour and minute...

gray pelican
#

Does the map show anything but my current location and zones I've created? Can I plot the location of my family on there, life360 style?

dark dirge
#

sure

#

as long as they have device_trackers and person entities

gray pelican
#

Yeah. My wife shows up on a map when I tap on her entity, but not the "map" function in the HA hamburger menu.

dark dirge
#

Nobody will show up there if theyโ€™re in the home zone

icy patrol
#

Anyone use Obihai with HA?

karmic tiger
#

Is there a follow-up question when someone says yes?

gray pelican
#

Oh OK thanks RobC

radiant holly
#

Is there a way to remove the "arm away" and "disarm" button from the alarm card. I'm just looking to see its status rather than control it in this UI

#

It doesn't appear to be in the documentation

radiant holly
errant plover
#

Why is that useful?

cobalt lodge
#

Anyone know how I can use custom button card to change background state based on a different entity to the one the button links to ?

#

I'm struggling with getting a different entities state - I tried '[[[
return (states['input_select.smart_speakers'] === 'Kitchen') ?
'rgb(0, 0, 0)' :
'rgba(255, 255, 255, 0.3)';
]]]'

#

Where 'input_select.smart_speakers' is the other entity I want to check - (I'd ultimately like to have that entities name and the condition 'Kitchen' be variables in the end..)

frail iron
#

anyone know why camera_view: live is not updating my generic static image camera whenever I do a touch file.png ?

#

there's weirdness with having a different image after I click on the picture glance card too

#

the config is:

type: picture-glance
entities: []
camera_image: camera.vnstat
hold_action:
  action: none
camera_view: live
#

the image doesnt even update when switching views

#

I imagine some caching is going on at the source

viral sorrel
#

not sure where to aks this.. but where is the correct process for configuring home assistant to be accessible via https on the local network?

polar kelp
#

I'm assuming it works from outside, but not inside the network?

carmine fulcrum
#

Is there a way to Scale the statistics-graph?
It is used to show me humidity data. It is between 40%-70%. The graph goes all the way from 0-100. It is quite useless like this. I would like to manipulate the scale

viral sorrel
#

no it's not configured for https at all.. i have nabu casa so don't need https from outside.. just internally because multiple addons have a reduced featureset without it

polar kelp
#

Then I recommend you ask in the channel for your install method. You'll need a registered domain or a self-signed certificate.
Or can you just use the NC url from inside too?

polar kelp
viral sorrel
#

well i think i can use the NC internally but it would add latency

#

so for home assistasnt blue i ask in homeassinstant_os?

polar kelp
#

yep

carmine fulcrum
# polar kelp

thank you. I liked the statistical graph but if that is impossible okay..

polar kelp
#

Do you have data points in the range 0-40?

carmine fulcrum
polar kelp
polar kelp
#

That doesn't look like a problem to me. If the range was different you'd lose the blue curve.

carmine fulcrum
#

You are right. I've tried it.
It will never get to 100 but it makes it symmetrical to look pretty if the blue curve is included

#

One last Question. Can the labels be made invisible?

polar kelp
#

Not yet.

carmine fulcrum
#

thx

hard estuary
#

Hi folks, having an odd issue. If I add lock.open_gate to my lovelace UI, only administrators can use it. Normal users get a notification that says "Failed to call service lock/unlock. Unauthorized" any ideas on how I'd resolve that?

karmic tiger
#

lock.open_gate? I don't recognise that service.

polar kelp
#

It's the entity

karmic tiger
#

My bad ๐Ÿ˜„

hard estuary
polar kelp
#

Workaround: write a script that calls the service. Call the script from the tap_action.

hard estuary
inner finch
#

hoping this is the right place to ask - can anyone offer a suggestion why this card gives loads of "Required key "entities.0.entity" is missing" errors? code is:

show_header_toggle: false
state_color: true
entities:
  - type: buttons
    entities:
      - entity: sensor.thermostat_boost
        name: Heating Boost
        tap_action:
          action: call-service
          service: hive.boost_heating
          service_data:
            entity_id: climate.thermostat
            time_period: '00:45:00'
            temperature: 23```
#

actually just realised if I remove the tap_action section I get no errors. so that must be where issue is

mild veldt
#

I think thereโ€™s some config validation errors that were present in some of the recent releases. Which version are you on?

inner finch
#

2021.8.8 (latest) but this has been happening for a while, I've just been putting off fixing it!

mild veldt
#

I I donโ€™t think it is on your end, I saw it yesterday as well and Iโ€™ve changed nothing in months.

#

Open up an issue on GitHub, please. I think the config validation has went too strict

inner finch
#

sure will do!

mild veldt
#

I could have sworn I saw a PR related to it a week or so ago but am not having luck finding it now

inner finch
polar kelp
#

Yeah, that's a stubborn error. I'm sure it's been fixed at least once.

summer bison
#

I have setup ESXI stats on my server and am now trying to get decluttering-card and flex-horseshoe-card to work with it. But keep getting errors, Configuration errors detected:
unknown tag !<!include> (31:43)

kind shellBOT
analog summit
#

How do I change the icon color of an entity based on a numerical state value?

shrewd bay
#

I think this is a very easy one - I've installed custom cards via HACS - when I try to add it to a page I get - type: custom:simple-clock-card

dark dirge
#

Remove the leading โ€˜-โ€˜

shrewd bay
#

Hahaha jesus

#

thanks

dark dirge
#

Iโ€™m psychic

worthy compass
#

so how do i theme my dashboard with background pics

summer bison
#

anyone have any luck with the above?

brazen estuary
#

my terminal is all greyed out, can anybody pls help?

errant plover
#

I have some paint.

#

What terminal? Where?

brazen estuary
#

this is my terminal, everything is the same grey hahaha

#

?!

polar kelp
#

Patience. We have lives too.

wispy niche
#

hello
I want to use the map card to track the position of a device with GPS inside. The problem is about the precision of the sensor. Is that any chance to ajust the position on the nearest road ?

karmic tiger
#

That would be the responsibility of whatever is reporting the coordinates.

wispy niche
#

Ok thank you

glad sail
#

Hello there! is this the right channel to get help about why my illuminance sensor is not available in the long term statistics-graph card?

karmic tiger
glad sail
#

I have an ESPHome illuminance device, I checked and to my understanding, it has all the needed attributes:

state_class: measurement
unit_of_measurement: lx
friendly_name: BH1750 Illuminance
device_class: illuminance

So I am looking what else I could do in this case. I guess there is no other "author of the integration" I could contact.

karmic tiger
#

Well you haven't said which integration it is.

glad sail
#

What could be wrong with this entity? What is missing for it to be available in the statistics-graph?

karmic tiger
#

Which integration is it...?

glad sail
#

ESPHome

karmic tiger
#

Then there's an author... the ESPHome team.

#

Feel free to check the issues on their GitHub page to see if it's already been reported. If it hasn't, report an issue.

glad sail
#

ok, thank you.

fast beacon
maiden iris
#

Im trying to add cards to a dashboard, but theyre not being added. Im adding via the UI and I do see them appear in the raw yaml

#

i am perplexed lol

#

is there a maximum amount of cards on 1 view?

#

I can move the last visible card down and the next "invisible" card is now the last card

#

oh when I move the last card down it just disappears

#

Ah I found it, everything after this markdown card wasn't showing: - type: markdown content: '[object Object]': null title: Something

signal hornet
#

I have a button with a scene attached and this is my config:

type: button
tap_action:
  action: toggle
entity: scene.full_blacklight
#

but I get this error 'Failed to call service scene/turn_off. Service not found.' when i press it

#

even if the scene is already off

#

the scenes work when i activate them manually

polar kelp
#

That's half correct and half a bug. Scenes can't be "turned on" or "off". They're "called" "applied".

karmic tiger
#

Doesn't help that there's a service for scene.turn_on. That's confusing ๐Ÿ˜„

#

But yes, no equivalent to turn off a scene. Using a toggle makes no sense.

signal hornet
#

So what's the best solution? Do I need to create another scene?

karmic tiger
#

Best depends on what you're trying to achieve ๐Ÿคทโ€โ™‚๏ธ

signal hornet
#

I really would like just one button

#

to turn on and off the scene

karmic tiger
#

Well since you can't turn off a scene, what do you consider as 'off'?

#

The state it was before? Some other state?

polar kelp
#

Scenes are like saves.

signal hornet
#

i have full blacklight and partial blacklight, when either is turned off, I want all lights off

#

reguardless of which is turned off

#

i feel like this is probably easily solved with node red

polar kelp
#

Then what you actually want might be two light groups.

karmic tiger
#

Then create a scene with all lights off. You'll probably end up making a template switch where the 'on' sets one scene and the 'off' sets another.

signal hornet
#

okay

karmic tiger
#

Or what thomas said smart

signal hornet
#

Im a bit confused how two light groups would work?

#

actually i understand nvm

polar kelp
#

It's not a perfect match. But the alternative is three scenes.

#

...which actually probably would make for a better UX...

karmic tiger
#

Yeah, toggles don't feel a good fit here.

#

Pick a scene from a selection. When you want something else, pick another scene.

signal hornet
#

sounds good, not the worst solution

nimble hamlet
#

Hey all. I need some help with a really simple button but it feels super complex. I want a simple button on the front page that has a default value to heat the room to. I can make a script to call to set the temp/fan and turn the heating on. That's not the issue. But how can I display that the heating is on in this button. I'm using custom:button-card but i just cant figure out how to pull out the status of the heating to show it on the card. I'm getting stuck on which entity to read. The thermostat card can display it mind so im sure it can be done

mossy pier
nimble hamlet
#

These are the buttons. Pressing them just calls a script, but im looking for them to show if the heating etc is already on. https://imgur.com/a5v7s9Y

#

I need to show only heating is on from an entity that can display heat, cool or fan

velvet beacon
#

How can I attach a device tracker to a person?

honest coyote
signal hornet
#

I am using OpenHardwareMonitor to get used storage, but it only reports storage as a percentage. How can I calculate/set a gb_used attribute?

radiant holly
hallow mango
#

anyone else having the issue where you can't edit lovelace cards?

#

i can go into edit mode on the dash and (sometimes) the "add card" button shows up, but not "edit" on the cards themselves

#

seems intermittent and sometimes fixed by switching tabs but not always

mossy pier
signal hornet
#

Well I know the math I mean how do I actually set that attribute?

#

or show it that way in the front end

dark dirge
#

Create a template sensor that performs the calculation or use a card that supports templates, such as the markdown card.

signal hornet
#

thanks

signal hornet
#

works great

gilded timber
#

Is there and nice way to create icons based on the Wifi signal strength? I found ideas how to do that with 0-100 RSSI values - but not with dBm values.

karmic tiger
#

You'd do it the same way, just with a different range of values.

gilded timber
#

I get the signal from my ESPhome devices. And I am not sure what's the best approach

#
  1. make a custom card with templates for the Dashboard
#
  1. create a template for the icon on the ESPHome
#
  1. create a sort of shadow sensor with the data of the sensor and template it in HA
#

i guess 1-3 is possible

errant plover
#

Just add device_class: signal_strength

gilded timber
#

thx

#
[13:33:20][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[13:33:20][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[13:33:20][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[13:33:20][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0```
#

THX!

torpid echo
#

Can the picture card not access the files from the allowlist_external_dirs: ? I am unable to display the images from the the images stores in the files exposed there

torpid echo
karmic tiger
#

The docs are open source if you want to make improvements to them.

signal hornet
#
type: markdown
content: >
  {{% if is_state('sensor.mundus_svr_ssd2sc240g1cs1754d117_488_load_used_space',
  'None') }}
    Offline
  {{% else %}}
    Online
  {{% endif %}}
title: MUNDUS-SVR

I'm trying to configure a markdown card to say "Online" or "Offline" but none of what I tried seems to be working

dark dirge
#

that's not valid template syntax

#

logic syntax is {% xxx %}

#

you have a mix of {{%, }}, and %}}

signal hornet
#

oh dumb me

#

thanks, sorry

#

its always the simple things

dark dirge
#

np. you could also condense that to:

#

content: "{{ 'Offline' if is_state('sensor.mundus_svr_ssd2sc240g1cs1754d117_488_load_used_space', 'None') else 'Online' }}"

signal hornet
#

cool, thanks

thorn ridge
#

Hi guys, im looking for a button that (when i press it) unfolds entities (ie: lights). I've seen it somewhere on the forums but atm unable to find it..

stray salmon
#

how can I override the entity type? I thought there was a menu for it but I'm coming up blank

shut river
#

i've got 3 scenes containing multiple philips hue lights at different settings, eg. on, off, and dimmed. i'm trying to figure out the best way to create a card with a button for each scene that will somehow show which scene is selected, so i can know from another room if the lights are all on, off, or dimmed. scenes don't seem to have a usable status, so that seems out. i've created scripts around each scene, which do show a status of on/off, but only while the script is running. am i thinking about this wrong? any ideas on how i should approach this?

stray salmon
#

jeez just didn't look low enough in the list lol, I was convinced it was under something else

karmic tiger
shut river
#

sure

#

i totally get that

#

is there some other approach i can take?

karmic tiger
#

Maybe an input select, then you can use the state of that?

#

Set the input select to the name of the scene you activated. That could even form part of the scenes themselves.

shut river
#

can i set a script to report that it's active based on some custom criteria, like say if a particular light entity is on or off?

karmic tiger
#

Scripts are stateless too. I just made a recommendation.

shut river
#

hmmn

#

sorry, i was typing that as you were typing

stray salmon
#

My question is why do you care?

shut river
#

is it possible to have an arbitrary entity whose state is derived from some logic?

stray salmon
#

a helper

#

I have one that holds a number then a script iterates through it when buttons are pushed. Pull in the value increment use that the send the right command, etc

#

still not sure why you care which scene is active, typically you just set the one you want when you want it.

shut river
#

i want to know from another room if i left the lights on in this room

#

and i was hoping to optimize the card by just showing the 3 scenes i have in the room as buttons and show the active state as states of those button icons

stray salmon
#

why not just group the lights and have an entity?

#

if someone changes a single light in the scene manually then your scene button is wrong

shut river
#

ok, so if i have the lights grouped and have an entity, how do i create buttons that will set all those lights to preset brightness levels

#

i may be misunderstanding your suggestion

stray salmon
#

you make buttons that call a scene

#

You want to know if lights are on from another room

#

my suggestion is to handle that

shut river
#

ok, so right now, i have 3 buttons, each of which call a different scene

stray salmon
#

a scene doesn't know if its been modified, its a set and forget thing

shut river
#

yep, there's no state. got it

stray salmon
#

if something outside of the button modifies a light indicating what scene is active is now saying something wrong

shut river
#

sorry, i'm having trouble parsing that sentence

stray salmon
#

lets start from the beginning. Having something indicate what scene is "on" is worthless because things can modify light settings

shut river
#

right, there's no way to detect from a set of lights that they're all set to a setting that matches a given scene

stray salmon
#

calling a scene sets a state one time.

shut river
#

so there's no way to detect that a scene is active

stray salmon
#

if you want to know if lights are on, you create a group with all the lights you want to know about

shut river
#

i get that i can't query a scene entity to get its state

stray salmon
#

you're thinking a scene is more than it is

shut river
#

ok. so i can create a group to let me know the state of all the lights in that group

stray salmon
#

its just a group of commands basically

mild veldt
#

Yugami, he gets it

stray salmon
#

group may not be perfect, depending on the lights in the group

shut river
#

so what i'm asking is how to get these 3 buttons in my glance card that each trigger a different scene to show an active status based on which scene was last selected, if that's even possible

#

and i know i can't get it from the scenes themselves, because they have no state

#

so i was wondering if each button could maybe launch a script that set some variable like "active_state" to "on" or "off" or "dim" that i could then use to show the status

mild veldt
#

You could create unique template sensors for each scene type, but I really question if itโ€™s worth it

stray salmon
#

you can create a helper and write out a value to it and use template sensors

shut river
#

ok, i'm looking up template sensors now

thorn ridge
#

Thanks @dark dirge do you know if it's possible to add this to an excisting button? ie: when i press a button it shows entities in there?

shut river
#

it may not be worth it, but i'm trying to learn HA by solving a few specific problems

dark dirge
#

Right, not that

paper spear
thorn ridge
#

hmmm, i saw this post there someone has a button, for instance livingroom, (with state information in THAT button) and on press it shows entities (in that room) and other information

dark dirge
#

You canโ€™t

thorn ridge
#

im trying to recreate that

#

can i copy a link here?

mild veldt
#

Okay well you can hack it maybe but it could also break at anytime

#

You can put a button card in an entities card

mild veldt
#

that's the custom button card

thorn ridge
#

hmmmk

mild veldt
thorn ridge
#

ok that looks really dificult

#

ill be playing around with that

mild veldt
#

When they click on it, is an expansion or a new view? I typically do a new view for stuff like that using the navigate tap action

thorn ridge
#

i think its a new view, atleast, it's what it appears to be

mild veldt
#

yeah, so just create a new view with all the entities you want to show

#

and then on your main view, use the navigate tap_action to show it on click

#

or double or hold or however you want to

#

you can also make the view not visible in the tab row so it looks a bit cleaner

thorn ridge
#

gosh thats a very nice summary there

#

i better be going to work

stray salmon
#

but I question the

dark dirge
#

Itโ€™s a fine word

stray salmon
#

do I have to template sensor if I want to invert a sensors meaning?

#

I have 2 sensors that are ON when I want them OFF - inverting them will prevent a lot of logic issues I think

#

when writing automations

mild veldt
#

it might be that you need to set the device class

stray salmon
#

I'm kinda bastardizing this sensor

mild veldt
#

But yeah, if that doesn't work for you, you can template them out

stray salmon
#

I'm using a door sensor hooked to a pressure pad to detect presence in bed

#

the door sensor sends on when no one is on the pad

#

I just feel I'll screw the hell out of the logic if I leave it that way while writing automations

thorn ridge
mild veldt
#

no, I assume that's a custom popup dialog in the pic

thorn ridge
#

hmmmm

mild veldt
thorn ridge
#

for now ill build on a firm basis

#

it already looks sweet, thanks for getting me started

tacit gate
dull hazel
#

Can I make the Alarmo panel not appear for non-admin users? Other panels like from integrations like AdGuard Home, HACS, and Node-RED are all smart enough to know to not show themselves to non-admins. Only Alarmo has this problem. Granted, if a user taps on it, they get greeted by an "Access is blocked" error, but I'd rather they just not see the panel at all. No, I don't want to disable the panel on a device-by-device basis, as I like to give guests to my home access to a guest profile, and that would be annoying.

#

Also, I'm looking to remove the calendar panel without losing the ability to make automations dependent upon my calendar. Again, I'm not interested in just hiding it, but to prevent it from generating in the first place.

bitter bolt
#

can the name: field in a button card have line breaks with multiple lines?

craggy whale
errant plover
craggy whale
#

@errant plover I added the following to my config, and I get values, but it does not seem to be changing over time. did I miss a piece?

sensor:
  - platform: template
    sensors:
      upstairs_temperature: 
        friendly_name: 'Upstairs Temp.'
        value_template: "{{ state_attr('climate.upstairs', 'current_temperature') }}"
      ground_floor_temp:
        friendly_name: 'Ground Floor Temp.'
        value_template: "{{ state_attr('climate.ground_floor', 'current_temperature') }}"
errant plover
#

That looks ok. Add a unit of measurement to each sensor though.

#

They should update when the climate integrations update.

craggy whale
#

can I change an Attribute in Developer tools to test?

errant plover
#

Yes you can

craggy whale
#

Thanks! That's got me sorted.

carmine fern
#

Can anyone help me with the custom button card? I've got an issue where if a device is on and I switch to the dashboard with the button on it the button will flash the on colour temporarily then go back to the off colour.

#

If I turn the device on via the button the colour will show permanently until I change dashboard again

unkempt skiff
#

Does anyone know how I can edit and add events to a calendar?

#

^something like an editable calendar card

#

Does that exist?

dark dirge
#

I believe that the calendar integration is intended for other integrations to populate it, not as an interactive tool

unkempt skiff
#

So there's no way to do that?

karmic tiger
dark dirge
#

right, you need to use whatever method the integration feeding the calendar supports for adding events

thorn ridge
#

Hey guys, for some reason i've got my UI text all grayed out. So im not talking about Lovelace. Im talking about the text in the shell itsself. Someone got an idea where i can set that (back) to gray?

https://ibb.co/N6Hdfm2

dark dirge
#

Change your theme in your profile?

shut river
#

is there an example anywhere of a brightness slider for a group of hue lights?

thorn ridge
#

I have removed themes

#

when i recovered from a snapshot

#

im just trying to get that text to black

gentle thicket
#

Happy Sunday All! I have a general knowledge/education question.....
I use a lot of custom: button-cards and would like to change the properties of them (name, color, etc) based on values/states of OTHER sensors/entities. Unlike templates in HomeAssistant, they use Javascript formatting and I'm struggling to learn it. Can anyone point me to a good resource where I can try and gain some knowledge about the commands/syntax required? Thanks!! ๐Ÿ™‚

dark dirge
#

it's pretty straightforward. here's an example from the docs:

#
        - background-color: >
            [[[
              if (states['input_number.test'].state == 0)
                return "green";
              return "red";
            ]]]
dull hazel
plucky ivy
dull hazel
unkempt skiff
#

Can you make the built-in /map route display location entities? Or should I use a map card for that

errant plover
#

Pretty sure the map only displays device trackers. The map card can display geolocation services and location entities as well.

unkempt skiff
#

Sorry I meant device trackers. Device trackers show up in the map card but not in the map sidepanel. Is this configurable ?

errant plover
#

The only place they wont show is when they are home.

unkempt skiff
#

Thank you very much

gentle thicket
trail frigate
#

hi, new to HA. Is there a way do fully customize the frontend to my liking ? Especially Colors and Style of Widgets/Buttons and overall look ?

errant plover
#

Yes.

#

Start by searching for "Themes" in the documents then lookup card-mod.

#

There are fully customised themes available for download, e.g. Dwain's Theme.

carmine fern
errant plover
carmine fern
#

As a fellow Aussie can I ask how you set the automation for bin day? I was literally looking into this just a few hours ago but couldn't decide the best way to go about it.

errant plover
carmine fern
#

Thanks very much ๐Ÿ˜€

grave vortex
#

Hello, I have a status indicator / input select which can take three different stages:

  • working
  • ended
  • off

defined as follows:

input_select:
  machine_status:
    name: B2B Status
    options:
      - off
      - working
      - ended
    initial: off
    icon: mdi:machine

I want to visualize those stages, working = red, ended = yellow, off = red. How can I do that in a lovelace card? Pls note the user should not change them, just see them, in one tile.

Thx a lot for pointers!

errant plover
#

If you don't want the user to be able to change the state you should create a template sensor to report the state of the input_select and put that where they can see it instead of the input_select. To change the colour depending on the state you will need card-mod. https://github.com/thomasloven/lovelace-card-mod

sly pulsar
sly pulsar
#

Oh thats amazing! Thx:)

cloud pike
#

for all the previous convos i've seen, i stumbled on this feature of the detail of a timer on a dashboard that shows the countdown of an active timer. Is there a way to represent this in the frontend? https://imgur.com/JTOcaBC

trail frigate
#

i am a complete noob, installed HA few minutes ago. how do i install the HACS ?

cloud pike
trail frigate
cloud pike
#

check your installation by going configuration > info
Under System Health, check the value of Installation Type

#

which aligns with the installations listed on the instructions

trail frigate
#

Home Assistant OS

#

okok, thank you!

trail frigate
#

i have problems connecting the spotify add-on

#

i click configure , a page opens, you are done (connect) you can close this window

#

then i get back to HA and the wheel keeps spinning or it says canceled

distant briar
#

can someone please tell me how i can apply themes? i've used HACS to download a few but can't seem to work out how to change anything to them

distant briar
trail frigate
#

i put my spotify login in the configuration tab and created on the dev page my token, but where do i put it ?

karmic tiger
trail frigate
#

where do i find the configuration.yaml ?

distant briar
#

depends on how and what you've installed HA on

trail frigate
#

rasp

distant briar
#

using docker?

trail frigate
#

nope

distant briar
#

do you know linux at all?

trail frigate
#

not really, i used openhab before and had some funky stuff to do there, but i'm not a dev

distant briar
#

i'm not using raspberry so i don't know for sure

prime plinth
#

Hello comrades! please tell me how to make control for the device in lovelace. The device accepts the number 0-10-20-30 -...- 100 in mqtt
This is the valve opening percentage. Should I use the type of roller blinds?

trail frigate
#

i found a video, but in his config.yaml is already something with spotify, but mine is kinda empty

distant briar
#

but according to the documentation its located in ~/.homeasssistant

#

"kinda" empty?

trail frigate
#

my config file so far

`# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

Text to speech

tts:

  • platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
`

distant briar
#

you won't have much in configuration.yaml unless you have added it yourself. doing anything in the GUI doesn't change that file

trail frigate
#

ahh okay, thought adding addons would add some stuff by itself in the config

#

okay, i need to copy that in, thanks

karmic tiger
#

This is not the channel for this discussion.

trail frigate
#

oh sorry, i am in frontend, tschuldige ๐Ÿ™‚

trail frigate
#

how can i group lights ? i want just one (grouped) switch for all the lights on my main page

trail frigate
#

can i put attributes in an elements panel ?

kind shellBOT
dark dirge
#

@trail frigate

trail frigate
#

sweet thanks, is there no way with gui ?

dark dirge
#

no, you need to set it up in YAML

trail frigate
#

hmm, okay thank you

obsidian pier
#

hello any idea what card are they using in this example? https://prnt.sc/1qgcvbk it is from a theme but no mention on of the cards

#

or how could it be done a glance-like card for persons

dark dirge
#

You could probably do it with two custom button cards

#

In a horizontal stack or layout card

obsidian pier
#

well that maybe but the home, and battery % sensor? how would that b? in the button?

dark dirge
#

See the docs for the custom button card

#

Itโ€™s very flexible

#

Maybe a picture elements card, but I donโ€™t know anything about it

vivid cobalt
#

is there something like the webpage card that supports cookies?

vivid cobalt
#

looks promising...

#

(but I want to be able to scrape out html and display that on a dashboard... hmm)

viscid kite
#

how to show a camera entity in the picture element? access token changes frequently. I am using the following code.

- type: picture-elements
  image: "/api/camera_proxy/camera.kajer_beti_ronbot_livemap?token=985d42c8e164864354cd7a4144fba9e680d96f20a8833a24e5f22b772f1d4723"
hollow elk
#

This may be a silly question. Inside an entities: block, is it possible to declare an entity from an attribute? Or do I need to create it in sensors.yaml first?

karmic tiger
#

You'd create a template sensor and use that instead, yes.

hollow elk
#

Ok awesome, cheers ๐Ÿ‘Œ

unkempt skiff
#

Is it possible to make home assistant work in an old browser, like safari on ios 10 which doesn't support import()

karmic tiger
#

Nope

unkempt skiff
#

f

karmic tiger
#

You'd have to make a lot of changes to the source code, so you'd basically be maintaining your own fork of the frontend repo.

feral rivet
#

I am using the picture-elements card as a background for my tablet ui. recently I started having 2 issues which I think may be connected in some way. Issue #1 is when I place my Dashboard in edit mode, I do not get the "Edit" at the bottom of the card. Sometimes a browser refresh fixes this, but most of the time it does not. Issue #2 is that the elements that I am attempting to add to the picture elements card don't consistently show up unless I do a browser refresh which most often still does not solve the issue.

polar kelp
#

I've just started running into #1 myself. Switching view usually works.

feral rivet
#

I have tried this out with Microsoft Edge,Firefox and Chrome, all which are giving me the same results. I have rebooted my device and made sure all browsers are updated. What other options do I have.

#

Yes that has help a few times, but I am unable to make it work consistently. Not glad you are having this issue, but glad someone else can attest to what is happening.

polar kelp
#

Disabling all lovelace plugins would be a next step.

#

I just realized it only happens for me on views using a layout-card layout.

feral rivet
#

interesting

#

So almost all my dashboards use layout card, but only one dashboard consistently has this issue

feral rivet
polar kelp
#

I usually go to Configuration -> Lovelace Dashboards -> Resources and just change all the URLs to something that's easy to restore, like add a 1 to the end.

#

That should be ok with HACS too (once restored)

feral rivet
#

Well that is not working our well at all. After going through and placing a 1 at the end of each URL such as this/hacsfiles/banner-card/banner-card.js1 My views are all saying custom elements does not exist. Did I miss something?

grave phoenix
#

Hi,

Have a bit of issue trying to get https://github.com/DBuit/light-popup-card working with https://github.com/DBuit/Homekit-panel-card. I've got those installed in HACS along with https://github.com/thomasloven/hass-browser_mod. My card configuration is:

type: custom:homekit-card
entities:
  - title: Test
    popup:
      type: custom:light-popup-card
    entities:
      - entity: switch.fan_lights
      - entity: light.desk_lamp
      - entity: switch.ceiling_fan 

Tapping on the buttons toggle the entities as expected, but long pressing does not bring up a popup. Anything I'm missing or doing wrong?

feral rivet
#

Does anyone know how far one might need to roll back in order to clear this up?

stone plaza
#

Hey all - I'm having a little trouble understanding how multiple media folders work. I set up 2 as the documentation suggests, one as /media and another as /mnt/recordings. The second folder doesn't seem to actually show up as browsable. Do multiple folders even display? Or is it only the first one that shows in the Media Browser tab?

cursive wave
#

My picture-entity card broke some weeks ago, probably with some update, it portrays a broken image rather than one of the state_image's. I have checked that both of the images are accessible at the given address, any ideas?

entity: lock.front_door_lock_door_lock
state_image:
  unlocked: /local/danlock_unlocked.png
  locked: /local/danlock_locked.png
tap_action:
  action: toggle
show_name: false
show_state: false```
dark dirge
#

where are they specifically located?

cursive wave
#

Give me a sec and I'll fetch the actual location in the docker container

dark dirge
#

just in your config directory. Should be /config/www

cursive wave
#

They are located under '/config/www/danlock_unlocked.png'

dark dirge
#

maybe clear you browser cache?

cursive wave
#

I tried, also happens in the android app

dark dirge
#

try from an incognito window

cursive wave
#

Nope :/

dark dirge
#

no idea, then

cursive wave
#

Thanks for quick reply and your feedback

dark dirge
#

check HA log, check browser console

cursive wave
#

Nothing of interest in neither

trail frigate
#

i installed KIBIBIT Theme, and i changed the background-image to another url, but it stays the old one even after Hard-Refresh of the page ( STRG+SHIT+R)

trail frigate
#

since i installed the Theme, which i currently not use, my Primary/Sec. Color gets back to default every time i click on my profile, WHY ?

plucky ivy
#

How can I go about using !include with a card to split things up?

#

Nothing seems to work.

dark dirge
#

Iโ€™ve done it with views

#
views:
  - !include view-climate.yaml
  - !include view-cameras.yaml
#

I wouldn't recommend doing it at a card level because it makes it a pain to modify those files - you need to touch ui-lovelace.yaml to have HA pick up the changes

plucky ivy
#

Okay, thank you!

plucky ivy
dark dirge
#

in theory, the items that go under it. you know you can only !include if you're configuring that dashboard in YAML mode, right?

dark dirge
#

so what does your card config look like?

#

I just did a quick test:

obsidian pier
#

hello! dunno if right channel, i'm trying to make a dashboard for system resource usage but i added the

#

ยดtype: network_in
arg: eth0
- type: network_out
arg: eth0ยด

dark dirge
#
  - badges: []
    title: Test Include
    cards:
      - type: button
        entity: switch.fr_table_lamp
        tap_action: !include tap_action.yaml

tap_action.yaml

action: call-service
service: switch.toggle
service_data:
  entity_id: switch.fr_table_lamp
#

works fine

obsidian pier
#

but i'm getting unkown data using any type of card

dark dirge
#

is that a card type?

kind shellBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example

Don't forget you can edit your post rather than repeatedly posting the same thing.

For over 15 lines you must use a code share site such as https://paste.ubuntu.com/.

obsidian pier
#

i'm using glance atm and entity

#

but getting this

dark dirge
#

I have no idea what you're trying to do

#

those aren't valid card types

obsidian pier
#

just show network incoming and upcoming trafic

plucky ivy
obsidian pier
#

from the server's network adapter

dark dirge
#

what's in the file?

obsidian pier
dark dirge
#

ok, this isn't a frontend question

plucky ivy
dark dirge
obsidian pier
#

oh i see jeje mb i will ask there thank you

dark dirge
#

which isn't allowed

plucky ivy
#

I'm not editing with UI.

dark dirge
#

where do you see that error?

plucky ivy
#

After clicking "Save" in that image.

dark dirge
#

still looks like you're editing in the UI

plucky ivy
#

Oooooooh.

#

I get what you mean now.

dark dirge
#

editing in "raw" mode isn't the same as the dashboard being in YAML mode

tame shale
#

hey guys is there a way in lovelace to require a confirmation on a button press?

sacred axle
#

anyone use an Amazon Fire tablet for their lovelace UI? If so, how is your performance with rtsp streams for multiple cameras?

plucky ivy
radiant holly
shut river
#

does anyone know why i'm seeing all sorts of errors when i add a buttons entity into an entities card and any of the buttons have a tap_action defined? If I omit tap_action there are no errors, but since the button entities are scenes, I don't know how to turn them on otherwise

dark dirge
#

somebody else reported that in the last few days

shut river
#

ah bummer

dark dirge
shut river
stone plaza
#

does anyone know what the point of defining multiple media source folders is? Only one actually shows up in the Media Browser

jagged vapor
#

I am currently using https://github.com/Villhellm/custom-sidebar this repository to customize the sidebar and it works well for both admin and user accounts. I don't want to have all the sidebar items in the user accounts which were mentioned as true in the admin account. I just want to know if this is possible... Can some one please help me? @elder pendant

karmic tiger
#

You can now customise the list of items in the sidebar from each user profile. Some of the custom tools that modified the sidebar/header no longer work.

jagged vapor
karmic tiger
#

It's not a YAML thing. It's a UI thing.

jagged vapor
tired epoch
#

Hi everyone, im trying to make a path but it just doesnโ€™t work. What am i doing wrong here?

#

views:

  • title: BRAAI
    path: BRAAI
    cards:
    • type: light
      entity: light.5862030184f3eb79a442
    • type: button
      tap_action:
      action: toggle
      entity: switch.bf70edf95a3f32f2f9ygir
      icon: hass:spotlight
      name: BRAAI LIGHT
      title: BRAAI
#

Path to is

#

This is the button that i want to use the path from.

#

views:

  • title: Home
    cards:
    • type: button
      tap_action:
      action: navigate
      navigation_path: /lovelace/BRAAI
      icon: mdi:cog-transfer
      name: TOETSE
      title: TOETSE
errant plover
tired epoch
#

Are you regering to dashboard default?

#

Referring*

tired epoch
#

What im trying is to have a dashboard with cards for my rooms. When you tap on a room it takes you into the room with that contains all the devices inside that room.

errant plover
jagged vapor
errant plover
tame shale
#

anyone know how to make a submenu on the top bar? So if you went to Home it could have another menu along the top in that view to take you to subviews?

#

I thought there was a project but the developer stopped maintaining it because he couldn't keep up with deveopments

polar kelp
jagged vapor
#

yes. True..I want it to be permanent...Is there any way to do it?!

tame shale
#

I found this

#

thanks....reddit

polar kelp
#

And that answers your question... how?

tame shale
#

oh yeah I had a different problem I solved ๐Ÿ˜‰

#

I thought iASked about that one too

#

but don't worry you don't need to hear it now ๐Ÿ™‚

#

saved you the trouble except to just say "this guy is crazy" to which I would say only half a cup of coffee in

#

so since you saw my question originally, any recommendations?

polar kelp
#

Afraid not

tame shale
#

theres probably better way to organize lights by room anyhow - just new to the game so I was trying to build an interface my family we familiar with, from a different system

#

See Room Name and then Switches underneath, and then the tabs on the top for ALL / On / Favorites

shut river
#

is there a way to set the background of an entities card to be a camera feed image, or do i need a picture glance card?

shut river
#

also, in the example photo at the top of https://www.home-assistant.io/lovelace/picture-glance/ the icons are right-aligned and there's space between some of them. in my card, the icons aren't right-aligned, and i can't figure out how to create a space between icons. any suggestions?

polar kelp
#

Entities that can be toggled, e.g. switch, light go on the right. Icons that indicate a status e.g. sensor, binary_sensor go in the middle.

shut river
#

ok, so i guess my lock.front_door can't be toggled... hmmn

#

apparently its state is either locked or unlocked

#

is there a way to create a facade entity for that that can be toggled?

#

or is there a way to define what goes in the middle and the right side of the card? i only see one entitites key

#

i see, it auto-detects where the entity should go based on the entity itself

#

so i need to figure out some way to make a proper toggleable entity for my front door lock

#

is there a concept in home assistant of creating an abstract entity, that has its own state, possibly derived from another entity's state, that can trigger other actions when turned on, off, or toggled?

dark dirge
#

Thatโ€™s a template switch

#

Youโ€™ve pretty much described it exactly

shut river
#

awesome!

#

@dark dirge is there a way to just use the current icon of another entity as the icon_template?

dark dirge
#

If itโ€™s an attribute of that entity, yes

shut river
#

i don't see it as an attribute if i go to developer tools, but the icon does show in the info popup and when i show lock.front_door as an entity in a card

dark dirge
#

Then, no

shut river
#

ah bummer

dark dirge
#

You can figure out what icon itโ€™s using and just use it directly

shut river
#

yeah, it has locked, unlocking, unlocked, and locking states, and 3 different icons

#

i can do it manually, but i was hoping to avoid it

#

@dark dirge that worked perfectly, thanks!

warped yew
#

Is there a good place where one can find inspo on dashboards?

tame shale
#

like a gallery?

#

that would be fantastic ๐Ÿ™‚

#

but there isn't, that I know of

mild veldt
#

@warped yew people share on the forums and reddit

tame shale
#

I see lots of youtube videos

#

Loven's stuff is pretty amazing

#

but I don't know how to use it ๐Ÿ˜‰

#

and really I can't see the pieces I need demos to really place it

#

just how my itty bitty brain works

#

really if NabuCasa was smart they would make some templates for the newbs and or those who don't want to be bothered and sell them ๐Ÿ™‚

#

template / theme packs

#

look at fortnite

#

my kid has spent a fortune on costumes for fake characters ๐Ÿ™‚

thorny badge
#

I am pretty new to home assistant. I have it installed on a raspberry PI4 with an external SSD. I have a couple issues that hoping I can get some help. Firstly everything I have setup will work for about a week then everything stops working and I cannot access the webpage. I have to reboot the PI and it will work for about another week and then stop again. I thought it might be getting hot and shutting down so I started historizing the CPU temp and it never gets to hot.I do have some errors in the log file but I cannot figure out how to fix them. Also, I am running ZHA and deConz with two different coordinators. I wonder if that is what is causing the issue

sly pulsar
#

Decluttering card will work only for yaml lovelace?

proven oar
patent lark
#

is there an easy way to make a card (gauge in my case) with set data im just showing someone what it can do

#

it would be a static data gauge that i input the data hardcoded

marble palm
#

I've got a dashboard set up using trusted_networks and allow_bypass_login to avoid having to log in on it, but whenever the dashboard loads, it pops up a "would you like to stay logged in" message. Is there any way to get rid of that, that anyone knows of?

tame shale
#

cant you answer the question one time? saying yes?

tame shale
#

someone said to ask her

#

It happes in IOS

#

never saw it in safari

#

I think its ios

thorny badge
icy patrol
#

hello; i have a sensor that produces a value of Text123' I am looking for a way to have that apostrophe removed from the value (as seen next to the 123)

#

that value always changes but the apostrophe is always there

dark dirge
#

{{ "foo'"[0:-1] }}