#frontend-archived

1 messages Β· Page 186 of 1

heavy pasture
#

Thanks, I'll look at the template sensors that I made and see what I can to

shell island
#

i am unable to find it in HACS

stiff oasis
#

Anyone has any ideea if i can make card-mod plugin styles apply instantly/be persistent? Everytime i refresh the page, the cards that use card-mod plugin transition from stock to card-mod attributes and feels really weird. thank you!

feral rivet
#

In a picture-element card can can I bold the font and change the size of the text?

rich eagle
#

Should be possible through a custom theme you can assign to that card.

vapid field
feral rivet
#

awesome . thanks

feral rivet
#

I am working on this card https://imgur.com/kVPP33u. it's a picture element card. How can I gain some space between the prefix: Temp and the temp reading?

vapid field
#

use quotes:
'prefix: "Temp " '

feral rivet
#

man your awesome

#

thanks again

vapid field
#

you're welcome

feral rivet
#

tried it . getting this error can not read an implicit mapping pair; a colon is missed at line 5, column 21: 'prefix: "Temp"' ^

vapid field
#

remove the single quotes. thats me not knowing how to insert code. should be prefix: "Temp "

feral rivet
#

got it

wintry gull
#

Hello. I’m trying to make a panel mode so I can place all my entities with coordinates but I can’t get the background to just be one color that auto adjusts to the screen. Can this be done?

#

I don’t want to have to scroll

median harbor
#

I am trying to understand a perceived inconsistency in why a button's icon changes for one entity but not for another. One button is a switch.myswitchname and the other is remote.myremotename. both buttons are configured the same, both entities have an on and off state. The switch icon changes color on toggle_action. The remote icon doesn't change on toggle_action. This seems odd at face value? This remote icon is the one i want to change color. https://imgur.com/a/vVxPPWG (the remote icon button and remote enitiy row point to the same entity.) In my mind any entity that has a primary state of on and off should behave the same as a switch entity, with the state_color: false being the overirde for this)

#

sometimes errors only show below the visible edit box - and given the edit box doesn't max to viewport size its easy to miss. (though i know that wasn't the case in this example)

median harbor
scarlet cipher
#

So I have a weather card in Lovelace that reports the rainfall. The data via my phone is 0.14". Lovelace shows it as 0. Is there a way to make it show a specified sig digit precision, like .01" ??

median harbor
#

What does the raw attribute data say in developer area?

scarlet cipher
#

@median harbor You're right. The developer tools area lists it as zero. I can see it on the separate display (local digital screen sold with the device) and on the app on my cell phone, and both read .15 inches. Looks like its the data that's the problem, not the precision of the display. Thanks for the insight.

median harbor
#

Does the device have a rest API? If it does Try retrieving the data and storing as a float variable.

somber crest
#

hey guys, is it possible to change icon color ? Depence on the state of a entity i mean

vestal rain
#

I made a helper (DAYS as a number) . How do i round it of? It shows 3.0 days now.

median harbor
somber crest
#

Oh oK πŸ˜‰

nocturne lagoon
#

what kind of dark magic is lovelace using to cache the UI panels?

#

I can add it via iframe just fine

#

but editing it is a pain, because the UI is cached somewhere

#

changing the iframe html or the svg directly does butkus, I even removed the files and it's still there 🀣

rich eagle
#

Did you disable caching in the browser network tools?

calm skiff
#

Hi, its not possible to establish a default tab per user?

nocturne lagoon
#

with no Etag or anything

#

but now I've got two tablets with the app installed, both have cached a shitty intermediate version of the .svg

#

how do I get the app to clean the caches?

rich eagle
#

For Android in the Android OS app settings (Clear Cache button?).

#

iOS = no idea πŸ˜„

wintry gull
#

What’s HAs default font called?

rich eagle
wintry gull
#

Ok thanks

#

Which style of roboto?

#

Regular?

dawn acorn
#

They are using a few. Use chrome tools and inspect

scarlet cipher
flat steeple
#

how to have a filter card display attributes ? i want to show entities based on there state of course but instead of state as display i want an attribute

median harbor
#

there are a bunch of custom cards if you google, if all you want is to display an attribute you can do it in an markdown card, for example ``` type: markdown
content: >-
<center> Current Activity: <b> {{
states.remote.basement_harmony.attributes["current_activity"] }}

rich eagle
#

Entities Card can also display attributes without needing templates.

limber pine
#

Has anyone here experienced that the dialog box for adding new cards to the lovelace config is completely empty? It only contains the title "Which card would you like to add?", the two tabs "By card"/"By entity" and the cancel-button. Survives through restart/reboot and cleared cache, no errors thrown in the log.

limber pine
#

@rich eagle
Browser logs are not my strongest side.. All I can spot appearing when navigating to the dialog box is an error which ultimately says:
Could not load content for webpack://home-assistant-frontend/chunk.7300d4bae90e6e7ac85d.js (HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME)

rich eagle
#

No real idea then. There are a few forum and GitHub topics with that error. Perhaps they can shed some light. Perhaps any reverse proxy or other network elements are blocking something here?

limber pine
#

That's what I'm suspecting too, I'll just keep looking πŸ™‚

raw finch
short holly
#

Is it possible to navigate to a specific picture entity card via lovelace uri?

#

I.e. if I want to go to a specific view within my dashboard it would be
/lovelace/camera_view
but I want to go directly to a sub-card within that view?
/lovelace/camera_view/doorbell_entity_card

worldly sage
karmic tiger
vapid tapir
#

is calendar card with dark theme bugged? the "today" button doesn't show the text

#

its just an empty button

worldly sage
karmic tiger
#

Just make sure to pay attention to the warning:

If you are accessing Home Assistant over HTTPS using SSL, you cannot access HTTP sites through an iframe panel.

worldly sage
#

ohh wait, i think i read that wrong, i want to click on them and then open that site in a new tab

rich eagle
faint cloud
#

hey folks, I'm setting up a simple dash for my printer- does anyone know if it's possible to either colorize mdi:icons or gauges?

rich eagle
#

Define "colorize".

#

For gauges you can define a green, yellow, red value range.

polar kelp
#

Oh! Haven't gotten to use this in a while... hang on

vapid field
#

Hello and appologize if this is the wrong place to ask. Searched google/forums/etc... I'm on Home Assistant 2021.1.5. Trying to increase the size of the font in the Calendar Card. I tried adding the following to a custom theme and assigning the theme to the card. But no luck. Is this possible? Thanks
fc-event-time: '20px'
fc-event-title: '20px'

rich eagle
#

I have no calendar setup, so I cannot really check. In my list of CSS vars I found this: fc-small-font-size. Perhaps setting that changes anything.

vapid field
#

Ok, thanks. I can change that and see what it does

rich eagle
vapid field
#

Great thanks. If not too much trouble, if you can let me know what you did for it to work.

#

I need to do more testing but I also have it inside vertical stacks and grid cards. So not sure if that is causing issues or not

rich eagle
#

Just added a line into my theme:
fc-small-font-size: 20px

vapid field
#

Ah, thanks! Just tired it and it worked.

#

I'll have to circle back and figure out why that vs the other two styles I was dealing with. But thanks again. Really appreciate it!

rich eagle
#

What you listed are CSS classes. Those cannot be used in themes. What I listed is a CSS var that is used in the existing rendering of the calendar.

vapid field
#

Ah, ok. Thanks. Now I get it. I'm sorry, I am new to CSS and themes. That makes sense now. So next time I'll look for the css var in the rendering vs css classes.

timber flint
#

Hello Community, Found today again a bug, I would like to know others seen it also or im the first and should create issue?!

#

If I go to a page where I want to create a new Card, I go to Add new card, select manual, wriring the code, looks perfectly, Click to Save. But it does not appear. On the other site I can do it easily, but I also cannot move it here.

#

Restarted HA / Host 2 times already. so Its not stucked or something.

karmic tiger
#

What custom cards do you have installed?

timber flint
#

Its entites card.

#

but doesnt matter what type of card Im trying to create. I tested it.

karmic tiger
#

That wasn't the question.

timber flint
#

Last time I installed battery-state-card

karmic tiger
#

List all the custom cards you have installed.

timber flint
#

since the problem seen only this.

#

I checked now, but all the others I have since one year.

#

the problem started since I installed new version.

karmic tiger
#

If you're not going to answer the question, you're not going to get help.

#

But if you think it's that card, uninstall it and test again.

timber flint
#

button-card
Purifier Card
Simple Thermostat
Roku Card
Battery-State-Card
Card-mod

#

I just find it intersting why only on one page.

karmic tiger
#

Who knows?

#

But if it's that custom card, log an issue on that repo.

timber flint
#

I try to remove it restart HA and check it again.

#

The uninstallation of the card and a restart didnt solved the issue.

#

other custom thing I didnt installed since months.

karmic tiger
#

Keep uninstalling one by one until it works. Then add the other stuff back one by one until it doesn't.

timber flint
#

Ok! I'll do like that.

karmic tiger
#

If Lovelace was broken, more people would have an issue. It's likely to be one of your custom cards (or even a combination of them).

timber flint
#

Yes looks like that, this is why I first wrote here to get information if somebody else also have this issue or its mine.

#

Looks like the new update was not perfectly handeld by one of the custom stuffs, and they need to update too. I'll check.

#

and inform them if thats true.

#

Oh that looks bad!

#

I checked the configuration of the whole site.

#

All the saved cards inside, about 30. and I only see 5!

#

so its written into the code but didnt showed on the gui.

#

Ok looks like its my browser.

#

I try to clean everything and start it again.

#

ah no I found the guilty one. I found one more installed card, Vertical-Stack-In-Card.

#

if I delete it and clean cache and login I can see all , of course with error because cannot find vertical-stack-in-card but all of them is there!

#

@late anvil as I know you are the dev of verticak-stack-in-card, please can you take a look at my problem? looks like the custom card made the issue.

late anvil
#

I'm not the dev of vertical-stack-in-card, but of stack-in-card. Small difference :p

timber flint
#

sorry my mistake!

#

@frank garnet Can you please look at this for me? Looks like vertical-stack-in-card made the issue for me.

#

or @polar kelp you are also part of credits, If I does not disturb you. If you would be so kind to look at the issue.

#

I can shortly describe if needed.

polar kelp
#

I don't touch anything having to do with vertical-stack-in-card.

timber flint
#

Ah okey. I just saw your name in credits. Sorry

polar kelp
#

Try stack-in-card instead.

late anvil
karmic tiger
#

Tagging everyone you see contributed to repos you use is considered rude.

#

Some may not mind helping... but there's no need when other people can help.

timber flint
#

I think I was the gentliest I can be, not as you, sorry for saying this.

#

But sorry if I did something wrong.

karmic tiger
#

You demanded help from three different people.

kind shellBOT
#

Generally, don't tag people to ask for help - it comes across as bad manners, you’re demanding somebody answers you. It’s different if you’re thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.

Similarly, please don’t DM (direct message) people asking for help. It also comes across as demanding, and means that others can’t learn from what you do.

Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on).

timber flint
#

Thank you thomasloven, your hint solved my Issue. I hope I didnt took too much from your time.

#

Really the vertical-stack-in-card was the source of the issue.

#

@late anvil Nice one mate, you can be proud, thats a really good working card!

late anvil
timber flint
#

Of course thats what I wanted but without knowing its a problem by a custom card or just a user error by my side not worth to open an issue this is why I came here.

prime axle
#

when in doubt....blame @slow wave

#

#WordsToLiveBy

vapid field
#

@rich eagle sorry to bother again. If you still have the calendar up to check something. I'm trying to find if there is a css var to also change the size of the day that is shown above the list.

ivory horizon
#

Any reason that a user profile's theme selection doesn't stay after logout and login?

quaint lake
#

I renamed a device, and renamed the entities of the device, but the dashboard still shows the old names of the entities

#

even if i remove and re-add the entites to the dashboard card it still shows the old names

radiant holly
#

With the entities card, is it possible to compress the figure information, My firecube information from the Unifi integration says 4739.930304 I'd like to reduce it to 4739

quaint lake
#

@radiant holly Yes, you have to create a template sensor, then add that to your dashboard:

sensor:
  - platform: template
    sensors:
      outside_pressure:
        friendly_name: "Outside pressure - in"
        icon_template: mdi:gauge
        unit_of_measurement: "in"
        value_template: "{{ '%0.2f'|format(states('sensor.lumi_lumi_weather_pressure'))}}"
radiant holly
#

Thanks πŸ™‚

hidden creek
#

Hello, I need some help trying to add a custom card through dashboard. Basically following the custom card code for foscam. I can see the preview of the card but there's no save button.

vapid tapir
#

Is there a way to disable the default Overview lovelace dashboard?

#

instead of having to choose a different dashboard for every single user

vapid tapir
#

The default overview dashboard is mess of every entity in HA, I don't want it to be the default for every single devices that connects

frail bridge
#

Weird question again, is it possible to emulate a chrome cast display in a Lovelace card?

#

I can only view my security camera through A Google home display, or the Android app, and I don’t know of a way to emulate an Android app in a Lovelace card

#

Sorry for the weird capitalizations, my iPad is weird

rich eagle
radiant holly
#

Is there a way to add a custom cover to either the default media player or mini media player when the service is unavailable aka off? I'd like to add the Plex Logo as the cover when its in that state

rich eagle
radiant holly
rich eagle
#

True, hence my proposal to raise a feature request in the frontend repo so we can add a better option.

radiant holly
vapid field
#

hello, i have a problem with ui, after HA i switch tabs and come back to HA after a while whenever I click in any icon on the side menu (or top) path changes but page does not until i hit F5, is there an issue I can follow regarding this? Tried searching in GH but can't find it 😦

lusty oracle
#

hi all. I'm trying to add a part of a website to my home assistant dashboard. is there a possibility to use the webpage card but only show a certain DIV of that website? i can't find the api for this part of the site: https://www.vrt.be/vrtnws/nl/services/weer/ i would like to only display <div id = "weather-react">

twin tusk
#

i did that with scrape sensor

lofty drift
#

How can I remove dependency of Localize API and just run my instance over local translation files

lusty oracle
twin tusk
rich eagle
lusty oracle
#

I really like the visuals the site uses. guess i'll have to recreate it myself then. thanks for the info @twin tusk

rich eagle
lofty drift
#

I don't want third party API to communicate to my instance...even if its just about strings

rich eagle
rich eagle
lofty drift
#

So you mean that once the json files are downloaded...it never makes use of the API?

rich eagle
#

Correct

lofty drift
#

Hmm..got it! I thought it keeps calling the API whenever their is update on localize project. Thanks!

hidden creek
rich eagle
#

Then either your YAML is incorrect or there is a bug πŸ˜† .

#

When I add a new default picture-element I also cannot save. But as soon as I change a character, I can. Sounds like a bug.

frozen olive
#

Is there a way to load a default image on a picture entity? For example im using mine for cameras, but if the camera is offline, it looks a bit rubbihs

karmic tiger
frozen olive
#

Hmmm but isnt it the same card i'd be loading

karmic tiger
#

What do you mean it's not the same card?

frozen olive
#

I mean, it is the same card

#

like this, top one has no feed because its off, just want to change that image really

karmic tiger
#

Yes... so show something else instead. Using config-template-card.

#

From the examples:

card:
  type: "${LIGHT_STATE === 'on' ? 'glance' : 'entities'}"
  entities:
    - entity: alarm_control_panel.alarm
      name: "${GARAGE_STATE === 'open' && states['alarm_control_panel.alarm'].state === 'armed_home' ? 'Close the garage!' : ''}"```
#

Normally, you'd have to hard code a value to fields. That custom card lets you use templates instead where normally you can't.

polar kelp
#

Or use conditional and replace the entire card with something else.

karmic tiger
#

Or that

#

I just figured if it's a picture elements card, maybe only one component needs to change πŸ™‚

frozen olive
#

ah think i understand now, let me have a play

frozen olive
#

Ah, hmmm. Seems its not done on a state, it tries to call the Nest API via HA which fails

karmic tiger
#

But you surely have a way to know if it's failed, in which case you show another feed (static image) instead.

frozen olive
#

Im not sure how it works, the card config is literally

type: picture-entity
entity: camera.outside
#

They were added in automatically when i setup the Nest integration

karmic tiger
#

What state does that camera have when it's offline/broken?

frozen olive
#

Im assuming theres something in the camera domain that returns an offline image which is what I see

karmic tiger
#

No

frozen olive
#

they're all idle regardless of if they're active or not

karmic tiger
#

What about attributes?

frozen olive
#

they're all like that, even the Nest ones

#

that's why im assuming the card tries to get that entity picture using the access token, fails, and shows that default image

karmic tiger
#

Well if you can't tell when it's offline, you can't change anything based on it being offline.

frozen olive
#

and no way to change that offline image either, hmmm must be a way to change the default offline image

#

Dont suppose theres an addon that can execute some JS and return a result as a config value or something

#

then i could call the endpoint, see if it responds and use that

karmic tiger
#

That's be a Lovelace thing. Could be possible, I just don't know how

halcyon basin
#

Hi guys and gals, I have some lights that do not report their brightness, but i'd like to use them in my floor, how do i edit this have the mixblend work correctly when the light is on and off?

                opacity: >-
                  ${states['light.wled_2'].state === 'on' ?
                  (states['light.wled_2'].attributes.intensity / 255) : '0'}
karmic tiger
#

What endpoint? How would you know if it's online? That would be an #integrations-archived thing anyway to create that sensor, Evo

frozen olive
halcyon basin
#

sorted. Sorry guys and gals.

distant juniper
#

@polar kelp I think I found a bug in hass-browser_mod. I was looking through the code to figure out how you get the hassConn. In connection.js you have: window.setTimeout(() => this._do_connect(), 100);. I couldn't for the life of me find _do_connect(). I've grepped all of the frontend, backend, browser mod, and card-tools. I'm guessing it should be this.connect()? Not sure how that bug hasn't manifested itself but figured I'd send it your way.

polar kelp
#

Seems you're right. Thanks.

rich eagle
vapid field
#

Hello. Question regarding automatic refreshing of the calender card. I have Home Assitant 2021.1.5 and using the calendar card with default display of dayGridDay on a Fire Tablet. Today when I checked the calendar it was still on Monday. Is there a way to have it automatically refresh?

vapid field
inland dirge
#

HI I updated to 2021.1.5 I can't change cards in Dashboards why the RAW option disappeared???

#

I don't have RAW capability, I can't edit RAW

rich eagle
#

Clear your browser cache

inland dirge
#

I did it first

ked dam edit DASHBOARD I can't edit the header
only cards

rich eagle
#

Any custom cards used for the header? Did you try in private browser mode?

inland dirge
#

there is no need to write something to config.yaml in the new update

#

yes I use Custom Header

karmic tiger
#

Custom header is deprecated, remove it.

inland dirge
#

aha

how to make kiosk mode for user if I remove Custom Header

#

I do not want the user to use the menu bar

vapid field
unique egret
#

Is it possible to have a badge display the value of an attribute from an entity? (Besides copying that attribute into another entity I mean.)

vapid field
#

Hello when I go to overview then I clic on the 3 dots for edit dashboard end then 3 dots for Raw Configuration editor, I have a blank page without any code line, and I can do nothing. How can I activate this? Thanks

twin tusk
#

u activated advanced mode ?

halcyon basin
#

I'd like to separate out my lovelace and move to yaml mode, I can see that i'm wrong, but not sure why.

lovelace:
  mode: yaml
  views:                          !include_dir_merge_named lovelace/
vapid field
#

Yes and I have the same problem inside the card configuration I have only visual editor

twin tusk
#

u don't have switch to code on lower left card?

vapid field
#

I don't understand can you explain please?

twin tusk
vapid field
#

When I clic for switching in code editor I have a blank page too like raw configuration editor

twin tusk
#

what is your setup in config ?

vapid field
#

It's a new Homeassistant_container installation on debian 10

twin tusk
#

so. in config.yaml u have default_config: and that's it i suppose

vapid field
#

Yes exactly

twin tusk
#

then it should be possible to go into raw editor...but since u don't have nothing....maybe first u need to have some entities

vapid field
#

I have installed camera and wifi switch but the problem was the same. Then I have delete it.

twin tusk
#

but what u want to do in fronted if u don't have anything? ...is beyond my understanding

vapid field
#

Actually I have entities but I have no cards

#

I wan't to modify cards with code and not with the default visual editor

twin tusk
#

simpyl put a card then switch to code or choose manual card

vapid field
#

Yes I can insert a card without problem, I can edit it, but when I switch to code it's seems to be unavailable. No code appear.

twin tusk
#

what is the input? show a scrrenshot something

karmic tiger
#

Are you using custom header?

frail bridge
#

Is there a way to open an app with a button on lovelace

karmic tiger
#

An app? Where?

frail bridge
#

like on my phone

#

my family uses wyze cameras

#

and I want to add a button that will open the wyze app

karmic tiger
#

Nope. Not without some magic outside of HA.

frail bridge
#

oh well :/

karmic tiger
#

HA buttons do HA things. This can include calling a service. What phones?

frail bridge
#

ios and android

#

oh well

karmic tiger
#

You're probably outta luck with the iOS ones but you might be able to do some magic with notifications and Tasker on the Android ones.

frail bridge
#

That's what I thought

#

one idea that I had was opening the app using a url?

#

but Idk how that works on ios

#

oh, "wyze://" opens the app on ios

halcyon basin
#

I'm just switcing to yaml mode for my lovelace config, but for some reason none of my hacs components are loading. I've got this in my ui-lacelace.yaml file:

resources:
  - url: /community/config-template-card/config-template-card.js
    type: module

any idea what i might be doing wrong?

#

turns out it was in the wrong place.

vapid field
#

hi guys

#

anyone know how i can access home assistant frontend access logs

#

of its webserver

faint cloud
faint cloud
polar kelp
#

It’s been used for exactly that in the past.

#

But, it’d be easier for you to just set a state_image.

faint cloud
#

@polar kelp yeah, it doesn't look like there's an easy way to do what I wanted :/

vapid tapir
#

How to just delete the default lovelace dashboard entirely

#

every time I login I have to go choose my real dashboard as default and it's getting annoying

sour coral
#

Is there a way to import a file into a Lovelace section?

hallow mango
#

with com.hualai being the package name for the wyze app

#

it's possible your package may be different... I am in the wyze beta from play store, so I'm not sure if the non-beta app has a different one

lusty oracle
#

is it possible to have a 'legend" on the Y-axis of the custom:mini-graph-card. like on the history graph card, you see the hours on the bottom

#

like in the example card

rich eagle
rich eagle
potent nova
sour coral
crude crystal
#

Hi all, I'm not sure which channel this is meant to go in so apologies in advance: I'm getting the following message when trying to update HA - WARNING (MainThread) [supervisor.jobs] 'HomeAssistantCore.update' blocked from execution, system is not healthy

#

Does anyone know what might be causing it?

twin tusk
#

probably u use supervised install on ubuntu....restart should do it

azure elk
digital lynx
#

Im trying to learn more about customizing lovelace i found a website but its not really clear how to set it up properly. is there a tutorial somewhere in which a beginner can understand how to do it?

crude crystal
#

@twin tusk Diamond. That's done the trick. Thanks byud

#

bud*

obsidian mural
digital lynx
#

yeah. first of all i cant find ui-lovelace-card.yaml while i have setup a whole dashboard. does this mean i need to make it manually? where are my dashboards stored made from within the ui

rich eagle
#

Dashboards created through the HA frontend are stored internally in JSON format in the .storage folder. Not expected to be manually changed.

What the docs seems to describe is an older manual YAML approach. Never seen/used that myself.

digital lynx
#

i have seen some videos in which people refrash lovelace but i dont have that option. so im getting pretty confused on things

#

i think allot of documentation and videos are old or people using other settings of has

rich eagle
#

The docs might need some refreshing.

digital lynx
#

nice thanks ill watch that video. i just need a start and go from there on my own

#

i was trying on my own but keep getting this error when creating a custom card Cannot read property 'setConfig' of undefined

#

so obviously i need to set some config somewhere

rich eagle
#

So you have a custom card installed that you want to integrate into your existing dashboard?

digital lynx
#

yeah i downloaded the button card js file put it in the www folder and added the source in the lovelace setup dont know if i need to do more

distant juniper
#

Question: Is this the type of thing that if I got up to Core standards would be accepted as a PR / builtin component? If so, I'll go to that effort. If not, i'll just leave it as a custom component and call it a day.

austere scaffold
#

Is it possible to change speed of Ring video clip? it feels like its x2 the speed? have the same issue with Arlo cameras

digital lynx
#

@rich eagle is there a way to pin a card to a specific row on the lovelace dashboard. its terrible how the cards react when pressing the up and down buttons. i would like to fix every card to a specific row and with the up and down arrows just move it up and down in that row. now the cards are all over the place and most of the time i cant even get a card on the row and column i want. this is a real downside of the current lovelace interface. why not give a card a specific row and move it up and down within the row with the arrows. or even add a left and right arrow to move it between rows

#

even better would it be if you could drag and drop cards like you can in android homescreen with widgets and resize them

#

this would give so much more flexibility

#

i think i mixed up columns and rows πŸ˜… but i guess everyone knows what i mean here

distant juniper
#

@digital lynx Agreed! Or, similarly, the option to set up a defined grid of what goes where. That would certainly be better for me in how I use my dashboard.

digital lynx
#

yeah me 2... there is no way to make 2 columns with cards when 3 fit. and as soon as a card goes to the third column all hell breaks loose if you want to change things.

#

i guess changing things to be atleast able to stick a card to a specific column is childsplay to program. with 1 variable let HA know that cards needs to stay in that damn column no matter what

#

if the view changes to 2 rows or 1 for example on mobile just show column 1 first then underneath column 2 etc

#

in worst case let people make different dashboard layouts for every view

#

I really hope this is getting added in HA. this would make so much nicer dashboards on my wallmount tablet

distant juniper
#

@digital lynx Not sure if this will work for you, but this is how I got mine to settle on a predictable layout. I use horizontal-stack and vertical-stack to make bigger cards. The layout of these are more stable than small ones. Then sometimes you need to resize your browser window once or twice to get them all to settle in a final position. Then don't touch. My wall-mounted dashboard has a predictable layout.

digital lynx
#

I just found out that you can do a ton of things with grid cards within gridcards you can make a whole layout per row this is kinda exactly what i was looking for and all neatly aligned

#

every column is a gridcard with the column set to 1. within those make entity cards and when adding buttons do this within another gridcard

#

and set the column for that gridcard to the amount of buttons you want next to eachother

#

this is super nice and easy

rich eagle
#

@digital lynx @distant juniper Yes, with the new grid cards you can control that (and you can easily nest them into more grid cards). Drag and drop support is being developed (and already available as a custom component in beta version).

digital lynx
#

just finding out the gridcards. i love them! is there a simple way of resizing the text size of button cards? Why are they so big compared to all others

rich eagle
potent nova
#

hi, is it possible to change the color of an entity icon, without using custom cards?

trim moon
#

Morning ! I have an issue that's been puzzling me for sometime now ...I have my camera's set up with motion eye and working as expected. I can use the picture entity card to see them on the dashboard on my wired instance of home assistant but they will not render on my Android Tablet which is on my local wifi or my laptop on wifi .Any ideas of what I am missing?

dawn acorn
#

I think I had the same issue. I gave up and removed the stream option. 😦 let me know if you find out a solution. Mine is just a nest cam without motion eye.

digital lynx
#

why is the text in the button card bigger? is there a file where i can change this text size? i just want it to be the same size as all the other text. its strange that only the text of a button is bigger

karmic tiger
#

I would guess that it's intended to be more prominent, since that's what buttons are.

#

You can't just edit Lovelace stuff... look at other custom cards that allow you to style the built-in ones.

near knot
#

Is there a stock control i can add to the front page to allow the user to enter a string, which would ultimately be sent to an MQTT broker?

#

Or even a custom.

near knot
#

Lovely. Ta.

wooden sinew
#

Hi folls, how can I make the icon in an entity of a card change depending of it's state ?

#

this is my try :

#

type: entity
entity: sensor.watering
name: Plant
state:

  • value: 1.0
    icon: 'mdi:garage-open'
  • value: 2.0
    icon: 'mdi:garage-alert'
  • value: 3.0
    icon: 'mdi:garage-alert'
#

I do see 3.0 as value, but still the eye as icon 😦

feral rivet
#

trying to install the now-playing-card, and the directions say that I am supposed to place it in this folder /config/www/js/ directory, but I do not have a js directory in the www folder. Do I just create the js folder?

polar kelp
#

yes

feral rivet
#

thanks

near knot
#

This is odd. When I got o helpers (never used it before) click + I get the list of helpers, but it won't let me select one.

polar kelp
#

That is odd. Try refreshing and trying again.

near knot
#

default_config is not in my YAML, but I can't imagine why I'd remove it.

#

I wonder if thei is some oddball Chrome thing again...

near knot
#

OKay. I put an example in the config.YAML and it's OKay now. Took 15 minutes for the "quick" database check!

frail bridge
hallow mango
#

check out those docs, they should have all the info you need

frail bridge
#

thanks! appreciate all the help and the quick response

#

reminds me how much I love the HA community

hallow mango
#

no prob πŸ‘

#

I am not SUPER well versed in notifications, and haven't touched iOS since the iphone 3g... but I can lend my knowledge for android ones, if you've got stuff that still trips you up πŸ‘

frail bridge
#

Okay, so just for clarification, you're reccomending that I use a notification to open the app, as I can make the action different for ios vs android

near knot
#

So, I've created the input_text and I can display its contents on the screen same as any other sensor. How do I display an editable text box, please?

rich eagle
polar kelp
near knot
bold skiff
rich eagle
#

I think there is a bug. Try setting a text first through its more-info dialog. I think then it gets active.

near knot
#

Nope. I'm being a doll's head. I needed t click on the name, not the text.

#

That's counter-intuitive.

polar kelp
#

Oh. that bug.

#

If you set it to anything but unknown it should work afterwards.

near knot
#

Got it.

rich eagle
#

We should fix that...

polar kelp
#

I forgot about that. Will add it to my list again

#

Or maybe you can do it?

rich eagle
#

Right now I am debugging one other thing.

#

We'll see who has time first.

polar kelp
#

Done

#

Too bad it missed the beta

bold skiff
#

Sorry to be the thorn jumping in the conversation. I am trying to add this to my configuration.yaml
homeassistant:
customize: !include customize.yaml
I am getting this error:
Error loading /config/configuration.yaml: in "/config/configuration.yaml", line 16, column 14: Unable to read file /config/customize.yaml.

polar kelp
#

@bold skiff I don't know much about the custom button card, but it'd surprise me if there's not a way to use a custom image as icon directly from the frontend configuration.

#

The thing has options for everything...

neat swan
#

Hi folks, I wrote a custom integration with ourhomeapp that I use to automatically create firewall rules that kill kids internet if they forget to tick off/complete a chore. I'm currently storing the individual chores in MQTT as separate paths ie: /chores/current/taskid: "json blob". Is there a way to turn those multiple chores into something I can display on home assistant? I'd love to be able to show the current chores for the day, as well as who's network is knocked out, potentially adding a button to reverse the network blocking

karmic tiger
neat swan
#

The frontend will only display sensors? No custom data?

west brook
#

my friendly names in my entities card are truncated, how do i prevent that, theres lots of room for all the text to be shown

polar kelp
#

Not arbitrary mqtt data, at least. And having a sensor for it has other positives - like being able to automate things based on its state.

neat swan
#

interesting, ok. The only issue is the sensors would come and go depending on the day

#

I can probably just use the mqtt discovery stuff with HA for that

karmic tiger
#

Then you need a better approach to how you store/structure stuff.

simple matrix
#

I'm working on probably the most basic thing at the moment, Adding my 3d floor plan but my question relates to the storage of my media files. My media folder appears to work, but is it possible to call the media for the picture-elements card from there, or do I have to use www. Im not a big fan of leaving images open like www offers.

feral rivet
#

trying to install the Now Playing card. I have it set up in this directory as mentioned in the instructions /config/www/js/now-playing-card.js , this is my config type: 'custom:now-playing-poster' entity: media_player.media_player I am getting this error ```UI editor is not supported for this config:

The value of "content" is not supported by the UI editor, we support "string" but received "undefined".

You can still edit your config in YAML```

#

Anyone able to help me understand what does this mean we support "string" but received "undefined".

polar kelp
#

That's not an error. It's an informational message.

#

I don't understand why you get exactly that one, but it can be safely ignored.

feral rivet
#

okay, but given that the card is supposed to display card, does this mean that it does not work properly? My card is currently red in color.

#

So I just did a refresh and I am now getting this Error: Custom element not found: now-playing-poster

polar kelp
#

That's a good place to start.

#

Start with browser console.

#

Wait...

#

Because that's not how you're supposed to tell lovelace about custom plugins anymore.

#

Read the "Installing a plugin" section of my first link.

feral rivet
#

got it. the browser refresh instruction was the key. Thanks

vapid tapir
jade imp
#

How are frontend updates pulled by HA Instance. Is it included with the core version update?

karmic tiger
#

Yes

rich eagle
halcyon basin
#

Even All, Is there anyway to find out which resources are loading and which ones are not? in my ui-lovelace.yaml i have all of the resources laid out, and it seems taht some are loading as expected, and other are not.

halcyon basin
halcyon basin
#

Using mixed storage and yaml mode, can i import all of the resources specified in my yaml into the storage dashboard, or should they just load?

viral sorrel
#

when a sensor has a unit of measure set (ie. W or kW) is there a way to choose which unit it will be displayed in in the interface? Or are you stuck creating template sensors which divide or multiply by 1000?

hallow mango
feral rivet
#

I am building a mobile ui and I am trying to layout some light switches. To turn the light on I want to use the entity card so that I can flip the toggle, but since the light is dimmable I want to have that feature as well. I am thinking to go with the custom:slider-card, but only want it to show if the toggle for the light is on. Could I use a conditional card to achieve this?

sinful ledge
#

I have a bunch of google homes that are cluttering my lovelace. Anyone have a nice card to control them all? I'm looking mini-media-player, but most grouping configs are for sonos

sinful ledge
#

what i came up with:

vapid tapir
# rich eagle You can change each dashboard.

I guess I should of clarified, I like the HA managed dashboard as a catch all for when I add new stuff. I can immediately see a UI item for it. I just don't want it auto default for every single device that connects. looks like I have no choice but to disable the auto generated one to avoid choosing...

simple grotto
#

Hi all, is there a reason why I can't add my timers.yaml file into config?
I am using:

timers: !include timers.yaml

and get the error: Component error: timers - Integration 'timers' not found.

rich eagle
wooden sinew
#

Hi folks. Im customising my entities. I created a template sensor that takes the actual values from my ESPHome sensor and based on the value I change the name (value) and the icon (via icon_template) but I can't find a way to customise the colour of the icon. Is there a field where I can set a color ??

#

I tried with this (saw in some web forum)
{% elif(states('sensor.watering') == "1.0")%}
mdi:flower-tulip
color: rgb(0,255,0)

does not work, the icon dissapears

digital lynx
#

@viral sorrel you could use a value_template in your sensor and round the number to whatever you like i guess.

wooden sinew
#

sure, no problem with that

#

I want to change the color on the icon

#

ups, sorry, that was not for me πŸ™‚

halcyon basin
#

should I ask about custom elements here or in integrations?

muted knot
#

Hi. When I update the custom card code, how do I refresh lovalace to update the card with new code?

livid lodge
#

Hey guys, I have problem with reloading slidshow card, when value of sensor/input_number changes. My scenerio -> I have slideshow card, that has slides with some state labels and then another slideshow card with 3 slides with some settings. Problem is that when I change input number for temp target, nested slideshow card reload and I have to slide to desired slide again.

polar kelp
#

@muted knot check the first pinned message in this channel. From way back in 2018.

halcyon basin
#

I have an error on my dashboard that complains about config-template-card not existing, but it is referenced in my resources file, If type in the full address of the config card (fronted with my domain) i can see that it is there and shows the code.

muted knot
#

@polar kelp god.. finally. thanks!

halcyon basin
#

what should the permissions be for community folder and the items inside it?

feral rivet
#

Looking for some help with the slider-entity-row card. I am trying to use the step: options to change the size of the slider , but I am not getting any change type: 'custom:slider-entity-row' entity: light.family_room_cans_128 name: null hide_when_off: false hide_state: true step: 9 full_row: true

#

is there a specific format for the step: value?

polar kelp
#

Step is the step size. Not the number of steps it can take.

#

I.e. yaml max: 100 min: 0 step: 5 will give 20 steps.

feral rivet
#

so it has nothing to do with the size of the slider as mentioned in the instructions?

#

Is there a way for me to make the slider bigger ?

polar kelp
#

step: <value> - Set step size of slider

#

full_row: true - Hide icon and name and stretch slider to full width

feral rivet
#

I am trying to use this on a mobile ui set and the slider is too small, is there anyway to increase the size ?

pearl iron
#

hello can anyone tell me how to put a line break in my buttons description?

halcyon basin
#

@pearl iron you'd need to switch lovelace to Yaml mode to be able to save comments.

pearl iron
#

does that change everything i've done up until now?

halcyon basin
#

is there a way i can stop my front end from being able to scroll? I'm using a picture elements card, and the images i'm using are 1280X800 but even on a full hd display i still need to scroll to be able to see the bottom of the image.

pearl iron
#

lovelace:
mode: yaml

halcyon basin
#

If you switch to yaml yes, however you could create a new one from the existing raw config. you can do combination of yaml and storage.

pearl iron
#

😦 all for a line break?

karmic tiger
#

You want to disallow scrolling but still have the image go off the screen? πŸ€”

halcyon basin
#
lovelace:
  mode: storage
  dashboards:
    floorplan-yaml:
      mode: yaml
      title: Floorplan
      filename: lovelace/floorplan.yaml

In this case i have the default in the storage but am creating a new one setup with yaml.

karmic tiger
halcyon basin
#

@pearl iron Sorry i missread, i throught you wanted comments.

pearl iron
#

just want three buttons to have the same text arrangement next to each other: Left Garage | Middle Garage | Right Garage

halcyon basin
#

@karmic tiger, no i'd like the picture-elements card to fill the screen.

pearl iron
#

Middle is on its own line πŸ™‚

karmic tiger
halcyon basin
#

The card is set to panel mode, In my config i can see percentages, but nothing that defines the size of the image, i assumed it would have been defined by the picture size.

karmic tiger
#

You can style cards and card elements.

#

card-mod could be of use here

polar kelp
#

It's a bit iffy with picture-elements, though.

halcyon basin
#

I think i have the card mod installed. On my FireHD (which is 1280x800) running fully kiosk, it fis perfectly, but when i view it on my pc, or my ipad i have to scroll down to view the entire image.

polar kelp
#

Ah yes. That's because of the aspect ratio. In panel mode it will fill the entire width, and then adjust the height such that the ratio is the same as the original image.

halcyon basin
#

oh balls.

polar kelp
#

That's kind of tricky to do anything about, because viewport height is surprisingly hard to get right.

halcyon basin
#

thanks for the info Thomas. Another question, Is it possible to have a card ontop of a picture elements card? I.e. weather in the corner for example.

distant juniper
#

@polar kelp Going to repost to you in particular because I think you'd know. Got no answer the first time.

The developer docs suggest that I should implement a component as a built in. But I see things like browser-mod done as a custom component. Is that a historical relic? The question: Should I try to implement my component as a built-in or as a custom component? (A builtin requires more work, which would be fine if it has a reasonable chance of being accepted.)

Hi all - I just developed a new custom component (with frontend JS) that allows you to do notifications and alerts to Lovelace. https://github.com/rr326/ha_ll_notify

mossy timber
#

Are there any custom entities cards that offer spark lines?

halcyon basin
#

Any idea why the resources defined in my ui-lovelace.yaml are not loading but the ones defined by storage are?

mossy timber
#

Can someone recommend a few custom cards that create alternatives for the official β€œentities” card?

#

I see several libraries for generating spark lines, so I want to see if building a custom card that create spark lines is something my idiot self could be taking on.

mossy timber
#

Looks like instead of a custom card, I could create a β€œcustom entity row” instead. Something like slider-entity-row or light-entity-row create extra functionality in a standard entities card. Instead of adding control elements, I could use the same approach to add a spark line.

polar kelp
#

@distant juniper There is no difference between a custom component and a built in integration. They work exactly the same except one is installed together with Home Assistant, and the other will have to be added by the user.

twin tusk
#

size of grid can be extended with panel true?

distant juniper
#

@polar kelp Yeah - I already copied that from browser-mod. The whole component is working. In debug stage. I was trying to figure out if this is something the core would accept. I guess I'll do a PR and see.

polar kelp
#

If you think it belongs in core, you’ll ned to make two PRs. One for the frontend and one for the backend.

feral rivet
#

Any one able to help me with my button card? - type: 'custom:button-card' icon: none size: 55% tap_action: action: call-service service: fan.set_speed service_data: entity_id: fan.king_of_fans_inc_hbuniversalcfremote_c04a2900_fan speed: low I am trying to set the fan speed, But since it is not working I know something is wrong , just don't know how to fix it.

polar kelp
#

But I do not think it would be immediately accepted at least, because there’s simmilar functionality available - only having glanced at your readme.

polar kelp
#

It could be that I’m on mobile @feral rivet, but your indentation looks off.

grave ibex
#

I've got a Centralite pearl integrated with hassio through zigbee2mqtt. When adding a thermostat card on the dashboard, it's showing two controls for the setpoint. Dumb question, but what is that for? Is there a way to turn one off? https://imgur.com/a/wo5qQjz

feral rivet
#

That is odd, but would that not cause an error? I am not getting any error messages , just no response. Which indent line appears to be off?

muted knot
#

So, i've disabled cache in my browser and i can see all updates after a refresh. Now, how do I refresh android app?

muted knot
#

solved -> clear cache in app settings

halcyon basin
#

is there anyway of making a browser popup wider?

distant juniper
#

@polar kelp 1) What similar functionality? The closet thing I saw was your toasts in browser-mod, but those were quite simple. Only one toast I believe; 2) Would it require 2 PRs? Mine is like browser-mod - the JS is autoloaded using extra_modules from the backend. If you install the compent (config: ll_notify:) the frontend JS auto loads.

halcyon basin
azure hawk
#

hello i am trying to set up MQTT and the raspberry pi HACS card

#

I am having loads of issues as usual and have HA running on Raspberry PI
ALso installed the MQTT add-on in HA

halcyon basin
#

@polar kelp is it possible to have a popup card auto close after x seconds?

polar kelp
#

You can close it with a second service call

halcyon basin
#

so I guess that would means creating a script to open what ever the button is, waiting x seconds and then closing the popup?

azure hawk
#

so how do I test that MQTT is working on the RPi?

karmic tiger
azure hawk
#

ok was not sure

feral rivet
#

Can I use a button card to toggle a script?

polar kelp
#

Yes. Every script is also a service.

feral rivet
#

great, how can I prevent the script from been activated multiple times in a row. This button will be used to turn on and off the home theater systems.

karmic tiger
west thorn
#

Hi , can someone give me good tutorial for HA-Floorplan, i have floorplan as SVG picture and have named icon in this floorplan and will change it via css . There are lot of stuff in google and forum but nothing for beginner

karmic tiger
#

There's a tutorial on the ha-floorplan repo...

vivid idol
#

Hi. I wanted to setup a dashboard to include "microsoft todos" - I found an integration ... but it's mostly aimed at creating todos. There is an entity now 'calendar.todos' that seems to have a giant string of ... whatever is scrape from the microsoft API.

For someone completely new to lovelace... how do I start building something like this ? Ideally, I'd use an interactive query tool, to call the API and see what it returns (there are different categories of todos, but I've no idea how to select them, other than the python code from https://github.com/black-roland/homeassistant-microsoft-todo/blob/master/custom_components/microsoft_todo/outlook_tasks_api.py ... but running that in interactive python is hard)

vapid field
#

Can't remember how I did it before, but how do I add a markdown/header in between a 3x2 grid using the grid card?

twin tusk
#

@vivid idol u can try putting python into appdaemon

twin tusk
#

the boys from appdaemon channel helped me today very much to put a python script

vivid idol
#

Cool. That will let me work out why I can't see shared todo lists. Next is to ... do some sort of lovelace tutorial πŸ™‚

twin tusk
#

if you know python i guess is more than wellcomed new tutorial

vivid idol
#

hah. This is the biggest pip install ever.

kind shellBOT
halcyon basin
polar kelp
#

Is your pointer a hand when you click it?

halcyon basin
#

nope.

polar kelp
#

Could be your height/width settings making the clickable area tiny, maybe?

halcyon basin
#

it's not even registering as a button, its the same size as the other buttons i believe.

#

I'm happy to share my currently very messy floorplan

azure hawk
#

anyone use the hacs for raspberry pi from hacs?

split granite
#

What's the question?

azure hawk
#

ok i am trying to get it working

#

I have MQTT addon setup on my RPi
The target RPi I want to monitor has the MQTT2HA-Daemon running as a servioce

#

but I cannot figure out how to set the target RPI host address

#

the directions from want I can tell say nothing about the sensor.rpi-monitor-hostname entity and how to set it up

twin tusk
#

u set up mqtt in target rpi?

azure hawk
#

yes and when AI run the python script manually it says its connected to MQTT broker

#

it has all kinds of data

#

but looking in HA there are no entities for the rpi

feral rivet
#

Hey guys how can I change the font size on a markdown card `type: markdown
card_size: 5px
content: |

<center> Scenes`. As you can see I have the card size that the instructions call, but the size has not changed.

karmic tiger
#

Forget the card. Sort your sensors.

kind shellBOT
#
:8ball: 8Ball prdiction:

Question: Why is htk unable to add cards to a certain lovelace page?
Answer: Cannot Foretell Now

karmic tiger
#

Maybe you have a config problem. Maybe your browser is being weird.

#

Hard to tell unless you share your config.

kind shellBOT
#

Please use https://paste.ubuntu.com/ to share code or logs. Please don't use Pastebin, since it can randomly add spaces to the main view.

azure hawk
#

ok thanks

feral rivet
livid escarp
#

Greetings all, not sure if this is the place for HA Lovelace view question but figured I would try here. I have 3 lights and I would like some kind of a view that shows their status, meaning if they are on, the light bulb icon will be Yellow and Off it will be blue and if possible would like to create them in one card

subtle blaze
#

How do I check status of frontend from SSH?

twin tusk
#

@livid escarp use entities card with show_State: true

livid escarp
twin tusk
#

find what u like...then icon: mdi:bulb ...etc

livid escarp
twin tusk
#

plenty of icons on mdi

novel bison
#

MDI is honestly amazing

#

I have a history graph which is only numbers but its not showing as a graph its showing as the bar thing, anyone got any ideas?

azure hawk
#

I have a question, I had setup a few custoim cards - ie button-card and updated and now the card says that the button-card does not exist

#

do I have to change something to get it to appear again?

#

Looks like all the different HACS cards are not working after the HACS update

#

Rebooted and still noghting

novel bison
#

my sensor which is a number isnt showing as a graph on a history graph card even though its a number, any ideas?

junior gulch
#

uhh, isn't it supposed to connect entities in this visualization

#

ah crap

#

can't link images

#

well, basically i don't see lines going between nodes in ZHA's network visualization

#

that's not normal right

#

in this blogpost they are def present in the visualization

#

hmmm i see

simple grotto
#

I put

timer:
  test:
    duration: '00:00:30'

into config.yaml and now I get this error:

Invalid config for [timer]: [test] is an invalid option for [timer]. Check: timer->timer->timer->test. (See /config/configuration.yaml, line 222).

flat steeple
#

Is there a to show attribute value instead of state in Lovelace , using filter car or auto entities.. something to show the entities with its attribute value instead of state! i don't want to create sensors pulling that attribute to convert it into a state ..

winter prism
#

how can I make these display in a card that spans the whole width of the display? I have the custom layout card installed, but I am not sure how to configure it for this purpose. Here is the code: https://paste.ubuntu.com/p/q8tskRCkCw/

flat steeple
twin tusk
#

@flat steeple attributes card

#

or 'custom:secondaryinfo-entity-row'

rich eagle
polar kelp
#

Correct

rich eagle
coral thicket
#

anyone who has configured a camera to show a svg image on the frontend? I have a strange issue where the svg is missing a path (just one) when viewing it through HA, but not when I look at the svg directly in another browser tab

midnight shadow
#

Good morning, can someone tell me what URL means when i hit create new dashboard in Configuration -> Lovelace Dashboards -> Add Dashboard?

flat steeple
twin tusk
#

@midnight shadow u can call that url when u make a button in another dashboard

midnight shadow
#

But how do i know what it put in that field? Some directory pointing somewhere in my filesystem?

twin tusk
midnight shadow
#

that's exactly why I don't know what to put there, all videos assume i have not yet "Take control of your Lovelace UI"

#

i have a dashboard and it's fine, i want to create a new one

twin tusk
#

then...create a new one

midnight shadow
#

Sure, but then a dialog comes up asking for Name, Icon and URL

twin tusk
#

so....put them

midnight shadow
#

Sure, Name and Icon are quite straightforward. But URL is nowhere explained. I can choose to put some name, but that's not an URL. Or did the meaning of the word URL change?

twin tusk
#

u tried to complete?

#

answer = no

#

because otherways u would see that url is autocompleted

#

like lovelace-name

midnight shadow
#

Yes, i know. That is a word. Not an url. My goal is to store it somewhere where i can choose, like ... an URL πŸ˜‰

#

or is it simply the name for an internal mapping of the dashboard?

midnight shadow
#

So it is a key named URL to form the actual URL that is not possible to change. That's a lot of assumptions you have to take to interpret URL. Thanks for clearing this up

twin tusk
#

url is a place/address...not automatically think of www.something

flat steeple
#

@twin tusk i dont think im able to achieve this ( view entities based on attribute value and show attribute value instead of state ) with the suggested @flat steeple attributes card
or 'custom:secondaryinfo-entity-row'

please a guide I've been trying since morning hehe nonstop

i can make a sensor to pull it but that's cheating hehe

twin tusk
#

Show what u did and what u try to achieve

flat steeple
#

the closest i got was this

card:
  type: entities
  title: recent tubs not updated > 3 days
  show_header_toggle: false
filter:
  include:
    - attributes:
        latest_tub_date_status: < -3

as an option ps: that attribute is unique
but need to show the attribute instead of the states

and with secondary info
EXAMPLE

type: entities
title: Custom Secondary Info
entities:
- entity: sun.sun
  name: Entity ID with wrapped in tag
  type: "custom:secondaryinfo-entity-row"
  secondary_info: "<b style='color:red'>[[ sun.sun.entity_id ]]</b>"

how can i actullay set a filter ?

twin tusk
#

custom secondary info was for attribute

#

but u want attribute and filter

#

so...auto-entities is not fit for you ?

polar kelp
twin tusk
#

inside a layout-card i can set column width only for a card if the layout is grid ?

#

first 2 rows with 3 card buttons , but the last row will be only 1 card with an entity

polar kelp
#

Yes. I suggest you nest layout-cards.

#

Or grid cards

twin tusk
#

with grid...last rows displays ugly

polar kelp
#

Depends. Don't forget square: false.

twin tusk
polar kelp
#

You'll need to nest stacks/grids.

#
type: grid
columns: 1
square: false
cards:
  - type: grid
    columns: 3
    cards: [first six buttons go here]
  - type: grid
    columns: 1
    square: false
    cards: [last button goes here]```
steel drift
#

Hi! Did anyone here manage to use custom fonts (.ttf in my case) in picture-elements cards?

flat steeple
#

and secondary row doesn't have a filter based on attributes ..

polar kelp
#
- attributes:
    latest_tub_date_status: < -3
  options:
    type: attribute
    attribute: latest_tub_data_status```
flat steeple
#

thanks i love you haha ❀️

novel bison
flat steeple
#

i tried this before i thought its not working must have had sequence entry issue

polar kelp
novel bison
#

ohhh ok, RIP

#

thanks

kind shellBOT
steel drift
#

Thanks @kind shell. Just for context, the code is related to my attempt at using a custom font in a picture-elements card.

#

Okay - I solved it by converting the .ttf to .woff2 and changing the CSS accordingly.

shell island
#

Hi all! Is there a good card to present a numerous lines of data? I am currently using Entity card in a horizontal and vertical stack but it takes up too much space. Is there some kind of table or similar?

coral thicket
karmic tiger
#

Custom cards with no example images πŸ€¦β€β™‚οΈ

coral thicket
#

yeah, but the card is fantastic. I've just finished another view with funds information where I use that to display historic prices and a overview of loss and gains. It's super flexible

shell island
#

thank you!

#

that looks great

#

the frontend information when installed has example images

karmic tiger
#

But I can't see the gap card...

#

I can't fault your READMEs, Thomas. Your examples are great. It's just surprising that some people publish some amazing projects without proper examples. For something as visual as UI components, a few pictures wouldn't hurt.

#

I don't want to install and configure something just to see how it looks.

polar kelp
#

I think they just don't know the secret trick to publishing pictures on github.

#

(You start writing an issue, paste your picture into the text box, copy the code that gives you into the readme, and then just don't submit the issue. But don't tell anyone)

#

And I absolutely agree. It's such an easy way to get a few extra points.

shell island
#

I totally agree.

#

Do you have any tips for me thomasloven? I would like to present a table of information?

twin tusk
#

i see a lot of upcoming notices built for different media services. didn't find one for netflix to put it in an frontedn card. somebody spotted anything on this ?

polar kelp
#

@shell island markdown

karmic tiger
#

Once you have sensors, building a card is easy (or easier...).

polar kelp
shell island
#

oh wow! i didn't know i can use markdown like this!

shell island
#

Hey @polar kelp, I'm trying to get my head around showing the states of an entity.. you wouldn't happen to have an easy example?

polar kelp
shell island
#

Thank you!

novel bison
winter prism
#

Is it possible to force HA to not follow Chrome's dark theme? Currently, I have an automation that switches between dark and light theme based on the sun's position. Chrome is also following my Windows theme which is always set to dark. HA is showing light theme on top of chrome which is dark and it looks funky.

polar kelp
#

In your profile settings, switch to anything but auto.

frail iron
#

is there something that can be done about coloring icons in regular button cards in a grid?

winter prism
frail iron
#

I really like the concept of showing state sensor info on a switch button but unfortunately coloring the sensor to reflect the state of the switch seems to be not possible?

#

aha there's a custom button card, was only looking into the card mod type of stuff before

inner belfry
#

guys,
I got a switched defined (tied to a tasmoto device via mqtt) that locks/unlocks my gate system.
I have a card with which i can open/close the gate and also shows me current status (open or close). I want to disable the open/close card when the gate is locked.

karmic tiger
#

Do you have a sensor that tells you when it's locked?

inner belfry
#

the ha entity/switch does, if on then locked, off/unlocked.
the switch talks via mqtt to the tasmo switch.

karmic tiger
#

And when you say you want to disable the card, do you mean limit interactions or hide completely?

inner belfry
#

the status of switch maps to the relay, which is connected to a relay on the nodemcu which runs tasmoto

#

limit

#

jsut dont want someone to be able to click open/close

karmic tiger
#

Restriction card on its own wouldn't be dynamic... you might be able to add templating in to handle that part.

#

Ah... actually, I missed the condition options bit of restriction-card.

inner belfry
#

all greek to m, wil have a look

#

thanks

novel bison
#

any websites I put in an iframe card refuse to connect

#

its just has a grey thing with www.google.com refused to connect.

#

https://www.home-assistant.io works

karmic tiger
#

What are the full addresses of some of the sites that don't work? Copy them from your Lovelace config, not from your browser.

novel bison
karmic tiger
#

You have https:// in your config?

novel bison
#

yeah

karmic tiger
#

That sounds odd... since the only thing that should prevent it loading is using HTTP.

novel bison
#

yeah

karmic tiger
#

Hmm. They must have cross-origin policies that stop you putting them in an iframe.

novel bison
#
- type: iframe
  url: 'https://www.google.com/'

is my exact config

karmic tiger
#

You can't get around that. Your browser will honour the X-Frame-Options header.

novel bison
#

RIP

#

yeah https://materialdesignicons.com/ works

#

that sucks

karmic tiger
#

It is what it is. Website owners get to decide how their sites are used. It's partly a security thing, so malicious people can't load their site up in an iframe with an invisible layer over the front that captures your clicks/keystrokes πŸ˜‰

novel bison
#

i was trying to use it to display a forum post on a news thread which would update to the newest post but i guess i could just list the link

versed kettle
#

I am considering getting an Amazon Echo show to use as a HA lovelace display. Has anyone in here had success with that? or maybe have a similar recommendation?

vapid fulcrum
#

I'm just reaching out to see if ii'm missing a simple button or ui element. When setting up motioneye, some config mistakes resulted in a bunch of empty folders showing up under "media browser". But i can't find where to remove or delete this folders? Is there a file browser or managment system i'm missing? My other question was in regards to the map. The only GUI way i saw to get the correct coordinates was to move the very small map until i got to the correct location. I didn't see a way to make the map fullscreen or import an address. From my research it looked like the only other option was editing the yaml file?

novel bison
vapid fulcrum
#

thanks again, just wondering if i'm overlooking something

inner belfry
inner belfry
#

guys, how can i show different "icon's" to the left of a entitiy name based on the condition of the entitiy... entitiy is a normal switch, not a binary sensor.

#

thinking it's part of the cover definition

karmic tiger
#
      icon: "${GARAGE_STATE === 'open' ? 'mdi:hotel' : '' }"```
#

You can template the icon.

#

If you need more control, the custom button-card lets you do almost anything you can think of.

inner belfry
#

i wish they can show graphically examples and the accompnaying code.

#

... how do i change a status/value of a entity based on another entities value.
detail, i have a alarm control panel, I want to lock a gate based on the status of a alarm partition. when armed, gates locked, unarmed... gate unlocked

#

i can do this with NodeRed easily... but figured I'd ask how to do it all in HA

sly pulsar
#

Anyone know that it is possible to add a last motion (x minutes ago...) to a grid card? type: grid
columns: 2
square: false
cards:

  • type: entity
    entity: binary_sensor.motion_sensor_motion
    name: Bewegingsensor
stark vigil
#

Why is there a massive delay when clicking a button card but a switch in the entity info is instantaneous?

karmic tiger
#

What does the button do?

stark vigil
#

Toggle switch.lights

#

But the little toggle switch that shows up elsewhere in the interface is instant. On the entity view

karmic tiger
#

Share your config for both.

stark vigil
#

Config for what exactly?

#

The YAML for the button?

karmic tiger
#

Yes, and the entity one.

stark vigil
#

There is no yaml for the entity

#

type: button
tap_action:
action: toggle
entity: switch.lobbylight

karmic tiger
#

Ok. Try that in Dev Tools > Services

stark vigil
#

Everywhere else the entity is viewed with a toggleswitch is instant

karmic tiger
#

What about on another device?

#

It's all just calling the same service, it doesn't care what kind of card did it.

stark vigil
#

You would think so, right?

#

All three lights. Same thing happens on another intallation in another location

karmic tiger
#

Focus on the same installation. Use another browser from another device.

#

Keep everything the same except the device you're browsing from.

stark vigil
#

Yeah definitely the button

novel bison
#

still havent fixed the issue of a history graph card not showing as a graph even though it has a unit_of_measurement, any ideas?

iron siren
#

Does anyone know how to keep a dashboard that will continue to show all entities once you take manual control of lovelace? bonus points if it is smart enough to only show entities that have not been added to manually configured dashboards...

karmic tiger
#

That's... not a thing.

iron siren
#

seems like an oversight, if so.

#

it certainly would be handy

#

I cant be sure and I cant find it again, but I thought at one point I was googling around and found a way to make it happen... but I cant find it again. so maybe it IS possible?

karmic tiger
#

With the exception of the managed dashboard, the other dashboards are defined via YAML. Dashboards are not aware of the contents of the definitions of other dashboards.

#

Even if they were, the fact that they support templates means that they cannot be aware of what's happening at runtime, even if they knew what the YAML said on disk.

#

So... not a thing.

#

What is the problem you're actually trying to solve?

iron siren
#

hmmm. well basically I have lots of stuff added (tons of hue bulbs, locks, door sensors, etc, etc, and I like being able to see everything in one page. However I want to start customizing things slowly, because its going to take a lot of work and time to do. as I do that I want to continue to have access to everything as I do now. Also once everything I want is added and configured to custom dashboards, I want one place to go to see all my switches and bulbs and everything. I know I can get all this in the dev tools, but its not pretty or as functional.

#

does that make sense?

karmic tiger
#

Sure. So... just leave one dashboard managed.

#

Even if you came up with some fancy ass template that knew which entities weren't already represented on another dashboard, entity numbers quickly get into the hundreds.

iron siren
#

is that possible?

karmic tiger
#

No. I mean what I said. Managed. Keep one dashboard managed by Lovelace so it shows all the stuff.

iron siren
#

ohhh... sorry. I was reversing the terms.

karmic tiger
#

The moment you take control, you're responsible for deciding what to show. Nothing happens automatically.

iron siren
#

ok, when you go to do that, there is a warning that the default dashboard no longer functions as it once did... thats what im worried about.

#

I want that to continie to keep all entities.

karmic tiger
#

Just make another dashboard...

iron siren
#

This dashboard is currently being maintained by Home Assistant. It is automatically updated when new entities or Lovelace UI components become available. If you take control, this dashboard will no longer be automatically updated. You can always create a new dashboard in configuration to play around with.

#

thats the warning I see...

#

I want that default dashboard to CONTINUE TO BE UPDATED as entities are added. why is that not a thing?

#

there has got to be a way to keep that functionality and still be able to customize lovelace?

karmic tiger
#

πŸ€¦β€β™‚οΈ

#

Make another dashboard.

iron siren
#

how

karmic tiger
#

You can have multiple.

#

Configuration > Lovelace Dashboards > +

iron siren
#

ahhhhh... didnt know that.

karmic tiger
#

I have 3. I keep the Lovelace managed one, I have my main one and I have a test one.

#

Once you have more than one, you can set a specific dash as your default on that device.

#

You can even have a different default on your mobile compared to your PC.

iron siren
#

I feel massively stupid right now, if it is that easy. lol. I have been stressing about this...

karmic tiger
#

Don't worry. None of us start knowing everything.

#

When you were talking about having different dashboards for different things, I thought you knew. My bad for not checking.

iron siren
#

I just think I wants describing it very well... anyway, thank you for helping!

winter prism
polar kelp
#

frontend.set_theme

#

Set both the light and dark one to a custom one with the colors you want.

#

Maybe

warped bramble
#

are there any good guides to activating lovelace themes?

#

I'm just on a plain install, setup some cards, downloaded a theme but not entirely sure the best way to go about activating it

#

maybe I just need to dig in to some docs, being lazy

#

but if anyone has advice please ping me

junior gulch
#

it's a bit odd how the frontend doesn't have GUI for connecting to a Wi-Fi network

novel bison
#

surely the host client is the one that needs the network

#

oh i guess if youre using home assistant os

#

if that is the case, its because home assistant is primarily run on a host os, not standalone, so there is no need to be able to connect to a network through home assistant

#

or thats what im assuming is the reason

#

I cant edit any cards

#

the save button just stays as the loading wheel

sudden lotus
#

is it possible to set a dynamic icon for an input_boolean?

stark vigil
#

Instead of an free-for-all main dashboard

#

By the way: mdi:pig-variant-outline doesn't work still.

stark vigil
#

That's like an SQL query for dashboards?

#

Would also be nice to have blueprints able to generate a card.

#

Or maybe just lovelace blueprints

cosmic gazelle
#

So I had hassio running great on my VM for a long time, now all of a sudden I can't login to the frontend "192.168.1.102 refused to connect."

#

Any ideas?

#

My router settings have not changed either

stark vigil
#

Sometimes I have to reset the whole VM

cosmic gazelle
#

@stark vigil What do you mean reset?

#

redo the image?

stark vigil
#

Turn it off and back on

cosmic gazelle
#

yeah I did that, still nothing

stark vigil
#

If you have DHCP it might have attached to a different IP

cosmic gazelle
#

I've checked all connections to my router, nothing

cosmic gazelle
#

Any other ideas?

cosmic gazelle
#

@stark vigil Is there a way to browse the files inside a VM image? I'd now just like to backup my confirm/automations etc and rebuild the image from scratch...

stark vigil
#

Daemon Tools on Windows

cosmic gazelle
#

@stark vigil Thanks, I unzipped the hassos-data.img and tried to mount it but it says "Windows can't access this disk, could be corrupted"

I also tried to mount the VDI but it says that it's locked?

stark vigil
#

But it might just be faster to start from scratch than to try to recover corrupted stuff

#

It really only takes an hour to add all the entities and automations once you know what they should be and how they are.

#

If it's "locked" in windows that means another application is using it. Like it's still mounted in the VM.

hallow ravine
coral thicket
west thorn
#

Hi i have problem with HA-Floorplan , i get message that pages nor rules can be found and i have rules in my config ... so i dont understand this , have anyone idea about this ? I have defined rules there

novel bison
#

Is there a way to add a flat line at a specific value on a history graph card?

vapid field
#

How do I hide state_info for a button when the device is off only?

#

I want to only show when state is 'on'

novel bison
#

automation?

#

can say

when x goes from true to false
hide
karmic tiger
#

Automations don't control your UI. Your UI controls your UI.

karmic tiger
unique lagoon
#

I'm trying to use this background: {% if is_state('input_boolean.hassio_light_theme', 'on') %} center / cover no-repeat url("/local/poly_white.png") fixed {% else %} center / cover no-repeat url("/local/poly_black.png") fixed {% endif %}
in my frontend but it's just throwing an error, what am I missing?

#

(it's all in one line)

kind shellBOT
#

Please don't say I have an error or describe an error. Share the whole actual error message so we can help you.

unique lagoon
#

" YAMLException: missed comma between flow collection entries at line 9, column 18: [...]"

#

and what I posted previously is that line

karmic tiger
#

Then it's complaining because you haven't provided a valid template.

#

Single-line templates must be wrapped with quotes.

unique lagoon
#

wrapping it in single quotes results in the following: "YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 10, column 9: path: default_view ^"

karmic tiger
#

Well, yes... you need to mix your quotes πŸ˜‰

#

If you start with a single quote, you have:
background: '{% if is_state('
followed by a load of gibberish that it can't understand.

unique lagoon
#

Oh I see

karmic tiger
#

If you're using single quotes inside your template, wrap with double. If you're using double in the template, wrap with single πŸ™‚

unique lagoon
#

alright, now it's not throwing an error anymore, but there's no background image at all. The statements inside the if else construct work on their own, but not with it

karmic tiger
#

Share what you have now.

unique lagoon
#
      {% if is_state('input_boolean.hassio_light_theme', 'on') %} center / cover
      no-repeat url("/local/poly_white.png") fixed {% else %} center / cover
      no-repeat url("/local/poly_black.png") fixed {% endif %}```
#

uh

karmic tiger
#

What card is this in?

unique lagoon
#

the top of the raw editor, for the entire view

karmic tiger
#

It won't do that without other 'magic'.

#

Most Lovelace stuff (with the exception of custom cards) doesn't understand templating. Even custom cards normally use JavaScript instead of Jinja.

unique lagoon
#

oh

karmic tiger
#

Jinja is evaluated server-side by HA, you can't normally access it in the browser πŸ™‚

unique lagoon
#

oh alright. Is there a better way to change the background of an entire lovelace view?

#

I think I found a hacs plugin just now so nvm

#

thank you for helping me fix the template anyway @karmic tiger

opaque timber
#

Is it possible to include other yaml file with !include in a Lovelace dashboard in "storage mode"?

polar kelp
#

no

dull ferry
#

Hey guys, I mistakenly "took control" of the dashboard, and now new entities don't automatically appear. I tried to follow the documentation which says to remove "lovelace: mode: yaml" from configuration.yaml, but there is no such section in that file.

#

How do I get the auto dashboard back?

karmic tiger
#

Just make a new one

dull ferry
#

What would I use for the url?

karmic tiger
#

Anything you want. It's not really a URL, it just becomes part of the address.

dull ferry
#

Oh I see

karmic tiger
#

Pick a word that describes the dashboard.

polar kelp
#

What you can also do is choose Edit Dashboard, then Raw Configuration Editor. Then select everything with ctrl+a, delete it and click Save.

dull ferry
#

Awesome, both methods worked

#

Thanks

#

Where is this config stored on disk when there is no lovelace section in configuration.yaml?

#

Found it, it's in .storage/lovelace.* files

polar kelp
#

Don't poke that.

dull ferry
#

Oh alright

polar kelp
#

It's very easy to mess something up, and potentially very hard to make it right again.

young valley
#

Quick question on the automations GUI - when selecting names of entity through the drop down selector it says 'name(s) of entities to turn off' - suggesting there's a way in the UI to select more than one entity?? Is this possible?

#

Can obviously do so through yaml, just curious if there's a UI option I'm missing!

karmic tiger
#

The usual way to select multiple items from a <select> is to hold Ctrl as you click them. You could try that.

young valley
#

Yes, tried that, but no joy! Just curious - they've maybe put the optional plural in to plan future features...... πŸ˜‰

polar kelp
#

I don't think it's possible right now. There's been a lot of talk about a multiple-select element, but I believe no one ever finished one...

halcyon basin
#

I'ke like seperate out my tabs in a view into individual files, but it's throwing an error, could you tell me why please?

views:
  !include: /lovelace/GroundFloor.yaml
opaque timber
#

try:
`views:

  • !include: /lovelace/GroundFloor.yaml`
halcyon basin
#

I get this error:could not determine a constructor for the tag '!include:' in "/config/lovelace/floorplan.yaml", line 16, column 5

polar kelp
#

Where do you get this error?

halcyon basin
#

The error comes up on the dashboard

grizzled raft
#

Hey great people, have a quick question, does anyone know how to automate the login to the home assistant dashboard, I will have multiple dashboards, each embed inside a web page and need the dashboard to be accessible without the need for a username/password.

IP whitelisting will not work as requests will come from different networks, maybe if something related to domain whitelisting would work as all requests will come from my website

karmic tiger
#

So you're saying you want to switch off authentication completely? That'll end well πŸ€”

grizzled raft
#

@karmic tiger the idea is that the dashboard will be inside a webpage as a container, that specific webpage will have its own authentication, so the dashboard will be viewed inside my website domain, the reason I need to do that is I will need to grant a user temp access for a certain time then revoke that access and change the user password and give it to another user, so I can do such user credentials management on my website, but have no idea how to do it on Home assistant

karmic tiger
#

No need to tag...

grizzled raft
#

sorry , didn't know that

karmic tiger
#

Well I'm here. I don't need a notification πŸ™‚

grizzled raft
#

got it πŸ™‚

karmic tiger
#

Of course... if you're using a reverse proxy, you can probably get a bit more control there too.

#

i.e. have HA trust everything coming via your proxy and have the proxy implement your authentication.

grizzled raft
#

thanks mono for the link provided, I don't have idea about setting a proxy, will this proxy be based on a network or based on my website domain authenticated users?

karmic tiger
grizzled raft
#

sorry for asking a lot, but first time to try proxy setting, also the option to bybass login will not work as i will have 2 users, admin and another user that will only view the dashboard

karmic tiger
#

Client makes a request that reaches your network, reverse proxy decides what to do with the request.

#

Your limiting factor is likely to be that you have multiple users. That's a sign that they'll need to auth.

grizzled raft
#

is there any chance that I can authenticate user by passing login info in the url [ note url will not be visible externally at all ] ?

karmic tiger
#

Not externally visible? πŸ€”

#

URL's are transmitted across the internet...

grizzled raft
#

will open as an embed inside another page with masked url

halcyon basin
#

so HA isn't complaining about the views anymore, i can see this, but neither of the views are loading.

#

I forgot i cant paste screenshots. The view tabs just say unnamed view.

karmic tiger
#

Just because someone can't see the URL in the browser, doesn't mean no-one in the middle can see it...

halcyon basin
#

the groundfloor yaml starts like this:

### Ground Floor ###
  - title: Groundfloor
    icon: 'mdi:home-floor-g'
#

is this an indentation problem?

grizzled raft
#

understood mono thanks for the clarification

halcyon basin
#

i can see that lovelace is picking up on ht views, if i rename one of them, it throws an error saying it cannot read it, so not sure why the views are blank.

pearl iron
#

hey guys - I am nervous about exposing my instance of HA to the world. Is there a way to restrict brute force attempts to login?

halcyon basin
#

yes, you autoblock IPs

#

it will create a blacklist after x number of attempts.

pearl iron
#

great

#

next question everything I see now says yaml is no longer used - is that the case for the HTTP section (sorry I am kinda new to this)

rich eagle
vapid field
#

Not all http settings right? the internal and external url http settings rae in the gui

karmic tiger
#

for those HTTP settings

pearl iron
#

no idea

#

πŸ™‚

#

question: why si the Map used for in lovelace?

pearl iron
#

he?

rich eagle
#

What do you mean "Why"?

pearl iron
#

what

#

I mean what πŸ™‚

#

what is the map used for in lovelace

#

or "why is thre a map in lovelace"?

rich eagle
#

Well to show a map and your configured zones + tracked devices.

pearl iron
#

ok I will check it out

#

I guess that was what I was asking - how does one use that effectively πŸ™‚

vapid field
pearl iron
#

no it wasn't πŸ™‚

#

two different questions

#

I was doing a bunch of things - new to the game here. Didn't understand the map thing so the next question would be how do I hide it πŸ™‚

karmic tiger
#

Just make a dashboard that doesn't have the map.

pearl iron
#

thats a good idea

#

question: how do I make a dashboard that doesn't have the map

#

πŸ™‚

#

hahahahaha

#

I knew I could make my own dashboards for the right

#

but the left bar still shows maps

karmic tiger
#

It's not updated anymore.

pearl iron
#

its really not a huge deal. I figured if it wasn't so easy to remove it was important

rich eagle
#

Although I think that is stored either per user or per device.

austere drift
#

Hi, I'm using a picture-elements card. Right now, I've added the thermostats (zigbee2mqtt tuya) as a state-badge, but in this representation they report an empty value (The "action"). What is the easiest way to let it show the current temperature there?

hallow mango
#

I use custom sidebar, still works

hallow mango
lean cove
#

Can someone help me with installing my first custom card? I installed "mini-graph-card" using HACS, but when I try to add it to my dashboard using the UI, I get this error:

hallow mango
#

reload your browser

lean cove
hallow mango
#

that "a is undefined" looks a bit sus, as there isn't an "a" in your yaml

lean cove
#

Yeah, it still happens in incognito

#

Yeah, maybe I'll try downgrading the version in HACS?

#

It also shows a different error in the mobile app: undefined is not an object (evaluating 'a.length')

hallow mango
#

well hacs is disabled

lean cove
#

I restarted and now HACS is fine, card still broken though

remote adder
#

Hi all hoping to get a hand. While editing my configuration YAML I messed it up and now get a 404 not found and cannot connect to it. Feels like it’s still running automations in the back ground however. Tried accessing the pi via ssh and getting refused. Any ideas/help?

#

Raspberry pi 3b+

#

I don’t have any backups of it either. Big mistake on my part. Any help would be really appreciated!

remote adder
#

Ugh to find a mini hdmi cable

hallow mango
#

@lean cove you installed it through hacs, right? and are you still seeing "a is undefined"?

lean cove
hallow mango
#

πŸ€”

#

have you added the rest of the lines you need for the card?

lean cove
#

I opened it up and figured the default would render fine just as the default included cards in Home Assistant

#

Thanks for the help 😁

hallow mango
#

sorry, I should've thought of it sooner πŸ˜…

#

glad you got it, it's a nice card πŸ‘

lean cove
#

Is it possible to override a theme's accent color in the raw configuration editor?

#

I tried setting accent-color: rgba(x, x, x, x), but it didn't change

halcyon basin
#

Morning All, Any idea why my yaml dashboard loading blank and titled as "unnamed view"? I moved the views from the dashboard.yaml to individual view.yaml files.
It looks like this for some reason. https://ibb.co/vQMBgGh

digital lynx
#

im trying to make a grid card that has a button (1 column) an entity card (2 columns) and another buttton (1 column) next to eachother. But that doesnt seem to be possible. Is there a way? i used grid cards within the grid card in which i put the button 1 column, a grid card with entity card within column: 0.5 and a grid card with button 1 column. it works for the first 2 grids the entity card is getting 2 columns but the 3rd button is on top of the entity card

#

home assistant cant handle 0.5 column width 🀣

halcyon basin
#

Have you tried a horizontal stack and a vertical stack combined?

digital lynx
#

never used stacks. ill try thanks

halcyon basin
#

not perfect, but this is how i use them.

digital lynx
#

i have something like this too. but the real trick is when you want to use different widths in one row. even with horizontal stack i cant seem to get it fixed.

halcyon basin
#

have you tried the custom button card? I believe you sat set ratios with that.

digital lynx
#

i dont think you can make 1 row devided in 4 columns with a ratio of 1 - 2 - 1 column

karmic tiger
#

Someone should make a custom card that helps with layouts.

digital lynx
#

i cant seem to get these custom cards setup.

#

they keep giving me errors that the custom cards are not setup

karmic tiger
#

Then you're not following the instructions.