#frontend-archived

1 messages · Page 129 of 1

prime umbra
#

anyone have favicon working ok using via integrations?
sense last 2 version doesnt seem to work

polar kelp
#

There’s been some breaking changes. Reread the docs.

prime umbra
#

i have read it not sure what im doing wrong

#

version 4 work perfect but i use to do with yaml mode

#

with integration mode no luck

viral sorrel
#

ha! HACS must have been caching something.. like the original integration repository add.. restarting home assistant fixed it

prime umbra
#

i have tried with paths
/local/favicons/red
/local/favicons/red.png

#

clean cach etc and nothing

quaint tundra
#

hmm are entity-button cards meant to change icon based on automation state?

mild veldt
#

@quaint tundra no

#

currently only things related to "sun/light" have their icons change color (I'm trying to get that changed)

quaint tundra
#

@mild veldt yeah no worries. i might hold off changing them all to picture entities then.

viral sorrel
#

can anyone outline the pros/cons of lovelace-auto-entities vs monster-card?

mild veldt
#

monster-card hasn't been updated in over a year

viral sorrel
#

was that the motivation for auto-entities?

mild veldt
#

yes, of course?

viral sorrel
#

ok. so it's safe to basically treat it as a replacement

#

ok.. this is bothering me..even if it makes no difference...

#
  - url:
    type:
#

or

#
  - type:
    url:
#

and is this normal or does it mean I've ballsed something up?

#
Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.type` but received `"custom:auto-entities"`.
#

just not the usual warning when trying to use the UI to edit custom cards

mild veldt
#

order makes no difference

viral sorrel
#

I know it doesn't.. but I'm a bit ocd.. so it still does 😛

#

the ui raw editor doesn't support splitting the lovelace yaml does it?

#

hmm.. I can't get state 'unavailable' to work with auto-entities.. it strips the quotes from the config automatically.. don't know if that matters.. but it doesn't work.

timid burrow
#

the raw editor mangles the order (changes everything to alphabetical)

viral sorrel
#

hmm.. shouldn't strip the quotes of key values though should it?

#

it simply doesn't consider unavailable to be a valid state it seems

viral sorrel
#

but you sure are right.. raw config seems to have mangled my views.. don't even understand what it's done

mild veldt
#

@viral sorrel it will strip unnecessary quotes

viral sorrel
#

even though the example shows unavailable being used as a state it just doesn't work for me :/

#

and the raw config editor has bizzarely moved the path/title to the bottom of the views

mild veldt
#

It's alphabetical as David pointed out

viral sorrel
#

that is a weird default

mild veldt
#

alphabetical is weird...?

viral sorrel
#

yes.. when it puts the heading as the last thing because it starts with "t" for title :/

mild veldt
#

it's because the data is stored in JSON, converted using the ruamel library which does not preserve order

viral sorrel
#

ahh.. that makes a bit more sense now.. wish there was a way to have the best of both worlds with the ui and easier direct editing also when necessary

mild veldt
#

I don't know a lot about that side of things, but from what I can tell it is a limitation of ruamel but other libraries do support persevation. I think there is an issue on it in the repo. Probably won't be something I work on

viral sorrel
#

good to hear it's something that has been discussed.. promising for the future.. it's already a while new experience doing a fresh install

viral sorrel
#

just out of curiosity.. is the switch to yaml editing by hand a one way trip or can you then revert back to ui editing?

mild veldt
viral sorrel
#

that doesn't appear to address that at all

#

so is the omission confirmation that it's not possible?

#

or is the 4th dot point at the bottom addressing it without any other context? it seems ambiguous

dark dirge
#

You can go back and forth

viral sorrel
#

ok.. awesome.. that's all I really needed to know. thank you

dark dirge
#

Np

#

To go back to UI, remove the config entry and copy the ui -lovelace.yaml content back into the raw config section

viral sorrel
#

ok. I wish it said it that simply in the documentation.. I think it transitions into describing the opposite of what it begins with but not clearly.. at least to me. might read through it a few times

mild veldt
#

PRs to make the documentation clearer are always welcome

#

It is sometimes hard for devs to be able to take a step back and see from a user's view

viral sorrel
#

I understand.. it's hard enough for me to explain what I mean much of the time.. I know what I mean 😛

timid burrow
#

I am configured for GUI but I maintain a yaml file and cut/paste that into the raw editor. The GUI editor I find useful for testing something before updating the yaml

mild veldt
polar kelp
#

@prime umbra You shouldn't include any filename in the path. If your icons are in www/icons/red/favicon.ico, www/icons/red/favicon-128x128.png etc. you specify /local/icons/red/.

prime umbra
#

that worked thanks

indigo night
#

Looking for a way to have a view with the auto generated lovelace and different views manuly generated

mild veldt
#

nothing like that currently exists

polar kelp
#

Hold my beer.

mild veldt
#

@polar kelp took the bait

#

@polar kelp that gives an idea for core. When you create a new view, the ability to set it as an "auto" view for an area

#

or domain

split granite
#

Auto for areas would be cool

#

(more so once more integrations support it)

polar kelp
mild veldt
#

12 minutes thomas...you're getting slow 🤣

polar kelp
#

The first gif failed, so I had to record a new one.

mild veldt
#

lol

elder pendant
#

Recording the gif is always the challenging part of these projects

mild veldt
polar kelp
#

I'll need to add some safety functions. If you run it in storage mode it will ask if you want to take control, and if you answer yes, your config is lost.

#

I think that's a really good idea.

split granite
#

Yeah, I love it @mild veldt - makes it easy to create a view per area for folks

mild veldt
#

yeah, I really like this idea. Going to start on it next

sage plover
#

Hi! I'm fairly new to home assistant and just recently set it up on a Raspberry Pi3+. Today I notice a message that a new version was available. It was version 0.100. something. My previous version was 0.98 something. After updating the Overview window (lovelance) is not responding (the circle is just going round and round endlessly) In the home panel I just get the message 502: Bad Gateway. Anyone else that experienced this after upgrade and if so how do I solve this?

hearty plover
sage plover
#

Thanks I will add it in the right channel!

scenic saddle
#

I'm just coming back to HASS after about a year. Looks like lovelace is the new default?

elder pendant
#

Yes

split granite
#

And while it may look similar at first, it's a whole new world...

scenic saddle
#

I'm finding that out. 🙂

hearty plover
#

Don't you dare close your eyes...

small pike
#

@polar kelp do you plan to bring Card Tools and some of your other card repositories like Auto Entities to HACs?

wheat current
bright delta
#

just add it as a custom repository

small pike
#

Ah cool! Thanks @wheat current you can just ignore my last message @polar kelp

bright delta
wheat current
elder pendant
#

Looks like I have to learn Elvish

wheat current
#

close enough 😛

bright delta
#

haha.. Okay.. Slate is turned on now 🙂

wheat current
bright delta
elder pendant
#

95% of that theme is slate

bright delta
#

is it HACS compatible?

elder pendant
#

It's still just called Slate on my setup 😛

scenic saddle
#

I'm regretting not going with full RGB kitchen lights. I've got to use switch instead of the light card. 😦

split granite
#

If you're considering RGB do yourself a favour and go RGB-CCT

mild veldt
scenic saddle
#

well then.

#

I'm in the middle of a kitchen remodel and am trying to make it as smart as possible. Good time to throw a mositure sensor in the wall behind the main plumbing.

mild veldt
#

a kitchen remodel...omg...that sounds awful. i'm stressing out just thinking about it

polar kelp
#

It's ok when you get to pick the time...

vapid field
#

Good evening! Is it possible to add a MDI icon in the header of a entities card? I'd like to group rooms with fitting icons next to the card title but according to the docs there's no icon variable i can set for an entire entities card.

mint geode
#

Someone seen a google nest hub max with home assistant cast? Does it have two or three columns of cards?

split granite
#

My Max doesn't show up as a target 🤔

mint geode
#

You have yours already?

#

Wow that's fast

split granite
#

Depends on where you are in the world

#

They came out in the UK a few weeks ago

#

US has had them for longer

mint geode
#

I think I'm your "neighbour" to the southeast

#

Can't find them in our store yet

wheat current
#

Gunderson?

mint geode
#

I really want a bigger one for the living room to show my lovelace views

split granite
#

It's a much better display, I'm just unsure why it's not an option in Chrome at all

mint geode
#

Much better display in temrs of? Brightness, dpi, colours?

split granite
#

Size compared to the smaller Hub, and everything compared to the Lenovo I had there

wheat current
#

I thought size didn't matter 😦

mint geode
#

Colour and DPI were things I hoped they improved on

split granite
#

Ok, restarted Chrome, cast works...

#

Two columns

#

I've never been unhappy with the colours in the smaller units

mint geode
#

I always thought they looked very, very washed out

split granite
#

There's options for colour matching the environment (white balance)

#

Maybe that's your problem?

#

It's also quite possibly a user expectation problem - most TVs etc default to over-saturated

#

My TV has been set for a natural experience, and the colours on the Home Hub units are very close to what the TV shows when I cast the same images

mint geode
#

No, I've modified them a bit, that's not the issue. If I for example start watching YouTube, the red is very matte, compared to all other devices, like TV's, Phones, Tablets, ...

#

I get your point with the over saturated colours, but I'm using natural /sRGB colour profiles where I can

#

Gonna doublecheck my device settings though, maybe I've overlooked something

mild veldt
#

@vapid field no, but I like the idea

polar kelp
#

I have a half-finished thing for that...

vapid field
#

That's exactly what I meant. How did you achieve that?

wheat current
#

magic

polar kelp
mild veldt
polar kelp
mild veldt
#

...wtf. lol

polar kelp
#

... and then I got caught up in something else and forgot about this

#

It's on my list of things to add to card-mod too

mild veldt
#

*card-monster

wheat current
#

That's just confusing

mild veldt
#

*card-template-mod-monster-hack

wheat current
#

better

mild veldt
#

👍

polar kelp
#

.io

hearty plover
#

*card-template-mod-m-m-m-m-m-onster-combo-hack

mild veldt
#

YES

hearty plover
#

wanted to play

mild veldt
#

-breaker

polar kelp
brittle eagle
#

Did browser_mod.set_theme replace frontend_set.theme perhaps?

polar kelp
#

no

wheat current
#

I doubt that is possible

polar kelp
#

Those are totally different

brittle eagle
#

Hmm, its gone from my installation

#

service frontend set theme

hearty plover
#

Do the rest of you have full-time jobs, or are ya'all independently wealthy? Because I can't figure out how anyone can keep up with this discord, otherwise 🙂

brittle eagle
#

Also the browser_mod.set_theme doesnt work using the example

polar kelp
#

xkcd 303

#

Are you sure you have any themes defined?

brittle eagle
#

lots of them, do i need to declare them in browser mod?

#

or just like i have used them with frontend set theme

polar kelp
#

That's the only reason I could think of for frontend.set_theme not to be there

brittle eagle
#

let me just check

polar kelp
#

You should see them in the list in your user settings

brittle eagle
#

oh wow... once again, love you...

#

^^

#

i have them in my drop down with automations, but somehow at my user settings they dont show up

#

thanks

strong finch
#

Is it possible that as soon as I change this theme it will not change to another helper (in my case my wife)

split granite
#

Changes to the theme that are set are only for that user

brittle eagle
#

themes: !include_dir_merge_named /config/themes

#

where i moved it to /config/components

#

quick fix, thanks again

polar kelp
#

The frontend.set_theme service changes the theme for all users who have their theme set to backend_select

polar kelp
#

There's also a crazy branch...

polar kelp
#

Thanks, @wheat current. Now I can just close them all with "Duplicate of #1"

mild veldt
#

otherwise I'm making @wheat current do them on 11/1

wheat current
#

Untill I upgrade my computer it does not look like I will even attempt :/

split granite
#

If he's only half as fast as @polar kelp I can see that it'd only take him the morning 😛

obsidian perch
#

Hi everyone, sorry to bother you my question is so simple I don't think it is mentioned anywhere XD
I do not know where to check my config before applying it. All the tutorials I've found put it under configuration/general

latent moss
#

@obsidian perch it was moved to Configuration > Server Control panel

vernal cosmos
#

Is there a way to lock a history graph card in Lovelace to a particular Timezone, ignoring the client zone? When I travel I want to see my graph in my home zone (it’s a solar generation graph)

latent moss
#

And you must have Advanced Mode toggled on (located in your profile page) in order to check your configuration now.

kind shellBOT
#

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

obsidian perch
#

Oh my XD thank you 😄

split granite
#

Use the command line check @obsidian perch

obsidian perch
#

I got everything wrong XD thank you for your help!

brave basin
#

Anyone know if it's possible to flip a picture entity upside down? I'm using it with the live view on a camera, hoping I don't need to put Blue Iris or something in between it and HA to modify the image. TIA!

mild veldt
brave basin
#

any issue using the restriction card on the custom button card? i wonder if the lock icons overlap each other. nice work, been looking forward to using something like this!

#

looks like icons are on different sides so you'd see 2x locks. nice

raven nacelle
#

@mild veldt Can we even hide a card using the restriction-card or may be that is beyond the scope? I am thinking of the PC card that I don't want to be visible to everyone

mild veldt
#

@raven nacelle yeah, I think visible would fall into this. I'll look into adding it

#

@brave basin why use both locks?

fringe mulch
#

If I wanted to find/copy/read and then modify separately the GENERIC_THERMOSTAT card, where would I find the files for that?

mild veldt
#

ahaha, I didn't even publish the distribution files...

#

@raven nacelle okay, push out a working release and added the ability to hide

#

@fringe mulch unless you are on a dev environment, you can't (I don't recommend running production on a dev setup)

#

you can however make it into a custom card but that takes some extra work

#

the restriction-card I just posted was something I wrote for core, but then decided to move to a custom card instead, for example

fringe mulch
#

@mild veldt hmm. I'll probably try modifying someone else's custom thermostat card. Thanks for the info.

mild veldt
#

@fringe mulch out of curosity, what are you looking to change?

fringe mulch
#

I'm currently using the generic_thermostat as a hygrostat. It reads in degrees instead of percentage and the icons are for HVAC. I'd like to change the icons and have it read as percentage. It works great now for my needs, I'm just being picky.

raven nacelle
#

Awesome....thanks @mild veldt

mild veldt
#

@polar kelp FYI restriction-card doesn't play nice with rows yet. overlay doesn't expand over the row at all

vapid field
#

Anyone know of a good "button" thermostat instead of the slider one?

#

up / down for temps

mild veldt
#

simple-thermostat

vapid field
#

looks cool ty

#

I have to figure out what to call mine still damn thing is labeled home. I almost need to name it Temperature so alexa knows what to do

atomic glacier
#

@mild veldt Love the functionality. Haven't test every setting, but all good so far. 😉
How about a confirmation dialogue popup for confirm: action?
"Unlock? OK/CANCEL
Lock opacity is spot on! Not too intrusive 😎
Looks good 🎉 https://imgur.com/a/KudNoab 🥇
(red flash 👍🏻 )

mild veldt
#

Didn't I add custom text?

#

Maybe that was only on core I did that

#

Will double check

atomic glacier
#

Sorry it took so long...was munchin' on a big bowl of frosted flakes😜
Super sweet!!! Editable text...why didn't I think of that? 🤔
I'm on v=0.1.2 I just guessed(I never was good at reading the instructions), 🤣 @mild veldt

mild veldt
atomic glacier
mild veldt
polar kelp
livid oracle
#

@polar kelp Is there a way I can may my top nav (rooms) to be a vertical hamburger menu?

#

with a big house its hard to have everything horizontal on the top.

wheat current
#

Get a ultrawide screen

worthy cradle
#

Hey, how do I move stuff in lovelace? Like, the spotify module and weather icons that are on top by default?

fringe mulch
#

@worthy cradle you can physically move the code in the raw config editor. You can also use the arrow buttons once in the configure UI mode .

polar kelp
#

@livid oracle You can hide them using custom-compact-header and have a "menu view" with navigation buttons.

#

@worthy cradle Click dotsvertical in the top right and select Configure UI to get started

worthy cradle
#

Ah, that easy? Thanx 😄

lofty summit
#

Anyone know if there are any plans to update vertical-stack and horizontal-stack with a GUI editor? Would be great to be able to keep the editing context within one of those cards. Currently I just have a big stack of YAML text inside my vertical stacks.

worthy cradle
#

I would just LOVE a grid system for that

polar kelp
#

It's in the works.

worthy cradle
#

\o/

lofty summit
#

Cheers!

elder pendant
#

You cannot

fiery gyro
#

hello, is there a way to put the "shortcut" to integrations on the sidebar?

elder pendant
wheat current
#

That will look super wierd

elder pendant
#

I made a plugin to not double-up the sidebar for routes that are one layer deep

#

(or several layers for that matter)

rustic walrus
#

Hi everyone. I have installed a rolling shutter zwave device to my HA, now I would like to add it to my Overview (UI). however not sure which choice I should pick from the card configuration ( https://imgur.com/xPdDyZz ) so that I can have a slider of some sort to be able to select the level I want the blind
can someone help?

brave basin
#

Is it possible to style the picture-entity card? Doesn't seem to be possible but wanted to double check

#

Just looking to make it a bit smaller

mild veldt
#

@brave basin try card-mod

#

@rustic walrus I haven't seen a cover card/row like that yet

#

@vapid field iframe

#

@polar kelp got rows working with restriction-card. Haven't tested elements yet. It is not inferred but an explicit option as custom rows won't have those classes set necessarily.

vapid field
#

just jumping in here now sorry seen it while scrolling by is this a card that asks for confirmation before doing something?

mild veldt
vapid field
#

nice adding that to my 3d printers

atomic glacier
#

@mild veldt Option for length of time the card is unlocked for ? in seconds? a thought...
Congrats on adding the rows and the official release🎉

mild veldt
#

good call. consider it done

fringe mulch
#

Do I need to reset HASS everytime I add a new JS to the <config>/www folder?

mild veldt
#

@fringe mulch no, but you'll need to clear your browser cache

vapid field
#

😦 updating to the latest version of ha broke my lovelace theme

#

looks what broke is the entity toggle

#

can't find the "on" color again xD

mild veldt
#

New the variable will be in 0.101

#

Theme

vapid field
#

awesome 🙂

#

is there any other additional variables?

#

my title bar is apparently primary color which makes for some goofy text xD

#

hmm switch-checked-color doesn't seem to work as i expected

#

put this in themes.yaml switch-checked-color: "#4EC6CC"

#

ah i see it wont work yet

#

well that sucks for now

timid burrow
#

is there any way to specify rounded corners globally in lovelace? so it doesn't need to be specified in the theme?

mild veldt
#

No, only via theme ha-card-border-radius

timid burrow
#

yeah I thought so which kinda makes the themes in HACS useless

unborn cedar
#

Anyone using Lovelace on a tablet? I use the webapp, but clicking buttons seem to lag a bit. Any chrome flags i can use to get rid of that?

atomic glacier
#

@unborn cedar I've been running Chrome on Windows tablet for awhile, since LL evolved. Only issues here are the occasional browsewr crashes, but... I have an enormous amount of backgrounds that load up the browser. (60+ different background images)

signal vigil
#

hello, i have a question: is there a way you can have a pannel/butten in lovelace where you can change the color of the light without goint in to the "mor information" tab?

atomic glacier
unborn cedar
#

@atomic glacier Hmm, it is just animations

atomic glacier
#

@unborn cedar I used to run several animations on my main screen, but cut them out becase my browser is always loaded up and 'ON' 24/7

unborn cedar
#

@solar portal how do i get rid of them? It's even if i click a light to get on.

signal vigil
#

@atomic glacier thanks that looks good but i want more like a collor wheel or somthing like it

atomic glacier
#

Moved the cards with animations to popup cards so I only view them as needed

unborn cedar
#

@solar portal @signal vigil What are you trying to figure out?

#

I use "button card" addon thingy

#

I have this:

signal vigil
#

yea but i want that as a card

unborn cedar
#

the colorpicker?

signal vigil
#

yea or a collor wheel

unborn cedar
signal vigil
#

yea ohh tanks

#

thats perfekt

atomic glacier
#

OOps..beat me to it, 🤣

unborn cedar
#

😄

signal vigil
#

i like the light entity card, are there more cool costom cards somone can recommend

wheat current
signal vigil
#

thanks

wheat current
#

There is also a metric 💩 ton in HACS

signal vigil
#

oke i font the spotify connect add-on and its working and i fond the spotify card and i need to do almoste the same thing and the card is working mostly is somone els using it?

unborn cedar
#

I'm looking for a way to have a input number box to set the duration of a timer

vapid field
#

so I have an alarm panel on one tab is there a way to make it popup over all tabs when it needs to be disarmed

atomic glacier
unborn cedar
#

damn boy

#

I just figured it out lol

atomic glacier
#

@wheat current Weather alerts component has been really handy lately: https://imgur.com/a/yQmJN4t
but the one thing that would make it super useful would be to have a persistant_notification to let you know there is an active alert ATM it happens.
I could not be so lazy and just create a popup for that😜

atomic glacier
#

@timid burrow I think you can create a theme with ha-card-border-radius and add that at the beginning of each view and that may work to fix the issue by overriding that element. ??

mild veldt
#

@atomic glacier he's saying that the included themes in HACS don't have that set the way he wants. @timid burrow I would either submit a change to the theme's repo or fork it

atomic glacier
polar kelp
#

I love how there's almost no way to guess that's Home Assistant.

fathom tree
#

is there a custom card for a vertical slider? Did a quick search and didn't see one.

polar kelp
#

I've been thinking of maybe making some vertical cards. A slider and a thermometer or so.

fathom tree
#

thermometer with thermostat control even... if you're taking requests :}

#

for now I'm doing sliders for my LEDs and thought vertical would be nice.

#

If you make it, I will use it Zcheck

mild veldt
#

@polar kelp I have those on my list as well 🙂 the race is on!

#

well actually only a vertical slider, like homekit (it was pretty low on my list though)

elder pendant
#

was 😉

mild veldt
#

eh...

#

okay...I've moved to 3rd on my list

#

well, my "custom things" list

hearty plover
#

@atomic glacier Great move getting married a day after your birthday...tough to forget it that way 😉

sturdy quartz
#

Hi everyone! I'm in need of help as I can't move forward with my home automation until I solve this.
I'm using hass.io on a NUC using the recommended procedure. I have Grafana working, but it's impossible to view Grafana charts from Lovelace when using an Android device.

#

The reason probably being that the card on Lovelace links to hassio.local, but since Android devices doesn't support mDNS, the device can't resolve the URL and as a result can't view the chart.

#

I've searched online for hours, made threads both over HA's official forum, Reddit and Swedish websites but no one seems to have any idea what is going on - or I'm too bad at explaining, because no one has ever replied with any kind of suggestions.

#

I'm positive that there's a solution to this (probably a simple one), because I'm sure there are at least some of you out there using HA, Grafana and Android.

wheat current
#

use IP of FDQD

sturdy quartz
#

Sorry, I don't know what FDQD means

#

I'm already using the IP of the NUC when browsing from my Android devices, otherwise I wouldn't be able to access HA at all (as it doesn't work with hassio.local). The card on Lovelace still links to hassio.local though

wheat current
#

use the IP in the card too 😉

sturdy quartz
#

That doesn't work att all

wheat current
#

yes it does

sturdy quartz
wheat current
#

log in

sturdy quartz
#

Hold on, I might be stupid

#

Yes, that's likely it. I didn't notice the scroll bar, and the other text looks like text you'd have at the very bottom of a webpage. I'll just go ahead and login as you said.

#

I give up, I can't login

polar kelp
#

Isn't there some kind of bar-card already thats a bit lite the sliders in homekit?

atomic glacier
#

@hearty plover 🤣 of course 😎

wispy inlet
#

You're ___embedding ____ the wrong thing from grqfana

polar kelp
sturdy quartz
#

@wispy inlet Alright, I'm listening! I'm embedding the URL that Grafana gives me when I click "share".

mild veldt
#

@polar kelp you can't interact with those, right?

polar kelp
#

🤷

mild veldt
#

ping @lofty summit

#

make us a homekit slider 🤣

vapid field
#

hey there, i try to change a translation (not in general, just for my special own use). i found a file that seems to contain the translations at : /srv/homeassistant/lib/python3.7/site-packages/hass_frontend/static/translations/de-821e28bbf4a500577ceb8c93cc58dfce.json but no change seems to take an effect. Could you give me a hint which file contains the translations?

sturdy quartz
#

I must be going crazy! Not a single username/password I've tried works when trying to login on that Grafana card. I've tried them all
Edit: Nope, just me being stupid again. I probably should stop now and continue tomorrow instead. Sigh, on the other hand, I learn from all these small mistakes. Thanks @wheat current for solving this for me!

vapid field
#

@mild veldt thank you. in this docu there is a link to homeassistant polymer: home-assistant-polymer/translations/de.json but where can i find this file in my installation...

#

if i understand it right the docu is focused on translation via localize for the whole community

wheat current
#

you need to restart HA after a change

vapid field
#

hmmm. i even did a reboot. I am not sure if /srv/homeassistant/lib/python3.7/site-packages/hass_frontend/static/translations/de-821e28bbf4a500577ceb8c93cc58dfce.json is the right file or if it is build just at runtime based on an other file i just do not know

wheat current
#

Looks correct, not sure if it's even possible to change those

vapid field
#

is there another chance to change a translation without sharing it to the community?

wheat current
#

I guess you could run a custom js script to change the values stored in the hacs object

#

if that is possible, the changes will not be removed when you upgrade

vapid field
#

sounds good. Any idea where i can get a starting point for doing that?

wheat current
#

Nope

stiff oasis
#

Hello everyone! Does anybody know if i can clone an entity's interface and turn it into a custom lovelace card? i wanna recreate xiaomi's vacuum entity menu into a card and use some features already built(fan speed selector, commands and battery indicator). where can i find the file that contains it? Thank you!

mild veldt
#

@stiff oasis I'm pretty sure there is already a robust card for that

stiff oasis
#

@mild veldt thank you! i already saw those but they miss one feature i need most: setting the fan speed

mild veldt
#

well I would suggest just editing that first card to include that

stiff oasis
#

that's why i tried finding the entity interface source code, to copy the feature from there 😄

mild veldt
#

The source is in the link I just gave you

#

I think...?
I don’t really know what you mean by “entity interface”

stiff oasis
#

the menu that appears when you click the entity

#

i'll do a screenshot

#

no card has the fan speed selector it and i dont know how to integrate it

mild veldt
#

So you just want that more-info dialog as a card?

timid burrow
#

@mild veldt problem is everyone will use a different border-radius so a PR to the themes repo will only help me and will no doubt piss off everyone else. It would be far better if you could configure the border-radius either for the whole of lovelace or for each view. Then you could just load the themes from HACS and they would behave how you want them. I suppose it's not a drama anyway as I expect the themes won't change much anyway.

stiff oasis
#

@mild veldt that's exactly what i was looking for, i love you

mild veldt
#

You're asking to make HA work with HACS when it should be the other way around

timid burrow
#

@mild veldt well I only see the problem with themes d/l by HACS but it possibly makes more sense to be able to define global styles outside of the theme so you can just easily change theme

mild veldt
#

themes are defintely going to be evolving; aligning their naming, exposing more, adding UI editors to create them and I just submitted a PR to allow them to be more easily applied to individual cards. so it will be an ongoing thing for a bit

timid burrow
#

ok... even more reason to be able to set a global option in lovelace so you can just update a theme then

mild veldt
#

The theme is the option

vapid field
#

Hey there, is there an option to define the color of an icon based on State in a binary template sensor or a template sensor?

wheat current
viral sorrel
#

ages ago, before lovelace, there was a custom ui that allowed you to configure entity friendly names based on the context they were in.. is there anything like that for lovelace now?

split granite
#

Not natively

ancient mauve
#

Is it possible to use wildcard to populate a card with all device_trackers?

viral sorrel
#

I'm dreaming of something like lovelace-auto-entities but for friendly names

ancient mauve
#

And there i got the answer maybe...

split granite
#

You did

ancient mauve
#

Think i removed card-tools when moving to hacs

viral sorrel
#

thomaslovenlace keeps coming out with amazing things so maybe we'll get something that does friendly names too

polar kelp
#

Why not just specify name:?

viral sorrel
#

because in my case I would need to do that dozens of times.. in fact in EVERY SINGLE CASE

#

well not quite true. there would exist times where I want the full name

#

so that's 9 x 10 just for energy monitoring... which is probably 5% of the interface

#

if my old HA hadn't broken itself somehow I could link a screenshot... unless I can find an old one

split granite
#

So, 90 entities, minute an entity if you're slow, hour and a half

#

You've problem spent longer searching for a solution 😛

viral sorrel
#

yes and then ther's the other 1000

#

and because of all the manual editing there are a lot of mistakes

#

so you end up with a card with "Living Room" as the heading and "Living room whatever" for 20 entities or so a go if you're lucky instead of just stripping the redundant (and very noisy) extra info

#

was SUPER fiddly but could be templated

#

example

wheat current
viral sorrel
#

I can't even figure out how to debug a custom component anymore despite spending dozens of hours on it :/

#

and I wrote it

#

I've forgotten more than I ever knew 😦

#

I wanted to make some PR's this month but I had to give up.. couldn't figure out how to get discovery worling in the dev container.. at best I can suggest to developers how they could easily add unique_id's to their components..

#

some sort of regexp-friendly-name plugin where you can strip the card name from the friendly name would probably be 99% of the way there

livid oracle
#

I am trying to use the mini media player, I am still using the raw editor and not the ui-lovelace.yaml, I can't get the grouped card to work, can anyone let me know if this will work or do I need to move everything to my own ui-lovelace.yaml file?

wheat current
#

it will work

livid oracle
#

can I paste my code here to show you?

kind shellBOT
livid oracle
#

sorry

wheat current
#

That is not correct, look at the docs for the entities card and the custom mini media player card once more

livid oracle
#

Ok thanks

livid oracle
#

Ok I have it working, well displaying, issue is the source is showing for all players, I want them to use the same source as the top player.

vapid field
#

Hello! (hopefully) quick question: I've just installed a Tado Smart AC Controller V3+ and added the neccessary tado config to my configuration.yaml..
This gives me no errors, and the AC also shows in the 'states' section, as a climate component with the correct state... so far so good...
Now I wish to add it as a card to my lovelace config, but I get the error: "specify an entity from within the climate domain"
Has anyone else had issues with tado AC control?

#

@livid oracle :

  • type: custom:mini-media-player
    entity: media_player.master_bedroom_tv
    artwork: cover
livid oracle
#

@vapid field Hmmm that will make them play the same source?

kind shellBOT
vapid field
#

@livid oracle : check the paste bin link 😉

livid oracle
#

@vapid field Ok let me give that a wirl 🙂

#

multiroom_player is not a player I have

kind shellBOT
livid oracle
#

The issue seams that each player is still showing the source drop down

vapid field
#

little update on my own problem: I just found that even the sensor components for TADO are not showing in lovelace...even though they are correctly showing in the "states" section

tacit cave
#

add them yourself. If you stopped using auto-mode, then you need to continually configure your ui.

vapid field
manic skiff
#

is there a lovelace card that will refresh the photo you're pointing to ? Location is in www folder. adding '/local/driveway_latest.jpg' to all the current picture card shows me a older image

#

Thanks !

wheat current
manic skiff
#

I saw that came up a few times in google but couldn't get it going.. It also seems that cameras are handled by picture-entity in this release. Can't remember if that was the way it was done in the past

wheat current
#

I think it has always been like that

manic skiff
#

ah

#

adding ? to the picture path fixed it ha

wheat current
#

That will only work 1 time

mint geode
#

Is somebody aware of a lovelcace card that requires authentification? I know there are some cards where you have to enter a pin, but I was more looking after something like with FaceID or TouchID for iPhones and the Android equivalent of that functions.

mild veldt
#

@mint geode no. Websites don't have access to those functions from what I know webauthn could be used (Thanks @wheat current )

mint geode
#

Ok. Wouldn’t it be possible to do something with combination with the companion app as well? All be it with a feature only available for iOS users?

wispy viper
#

Hello, I'm just getting into HA today, not real strong on it yet, but i'm trying to figure out how to show dashboard on other devices (wallmounted ipad, rpi with touchscreen etc) and i dont understand one thing. the loveless interface looks really promesing and customisable, but all i find when searching to set up a device to show this i get appdeamon or other apps. is there no way to just the overview in loveless avalible to other devices? maybe only one tab for this device and another for another device?
Maybe the reason i'm not finding an answer on my search is my poor knowledge so far on what to search for, but hey. first time for everything.
If someone has 2 minuets of their time to help me understand this, thanks!

fiery gyro
#

so I added the integration "shortcut" to side bar, but it opens another side bar when I click on it
https://imgur.com/jQSPO1G

Anyone knows how to fix this?

timid burrow
#

@wheat current THANKYOU!!!!! THAT is exactly what I was looking for

kind shellBOT
#

Ludeeus is away for 4h 52m 17s with a message :point_right: tea time

strong finch
#

This is my list of views from 1 to 38 - don't see the picture below. And that's the display settings (for the iPad)

median valve
#

Is there a way to stretch single lovelace card to full page?

#

I would like to have full page historygraph

latent moss
#

@median valve make a separate view for the historygraph card, and then change the view to "panel mode" and it will be full width.

median valve
#

wow awesome

#

thanks

#

is there a way to also make it full height?

latent moss
#

not as far as i know..maybe with a custom card

median valve
viral sorrel
#
2019-10-20 17:22:11 ERROR (MainThread) [frontend.js.latest.201910022] http://hassio-prime:8123/frontend_latest/chunk.8918ba95d520bf25b681.js:2464:435657 YAMLException: unacceptable kind of an object to dump [object Undefined]
#

I'm getting this error woth 0.100.2 without any extra plugins installed

mint geode
polar kelp
#

A markdown card with some styling?

#

But that's not lovelace, I think.

mint geode
#

You're probably right, that isn't lovelace

#

Good idea with the useful-markdown-card, will use that. Thanks!

polar kelp
#

Wait! No! Stop!

#

I forgot I haven't updated that.

#
type: markdown
content: |
  # {{ states("sensor.time") }}
  ## {{ states("sensor.date") }}```
#

Use that instead, but with style: as on github, and with card-mod.

mint geode
#

When was the feature added to use dynamic content on the stock markdown card? Was looking into that a few months ago and thought it was impossible?

polar kelp
#

.98 or .99 I think

mint geode
#

Back then I found useful-mardown-card

#

Ok, thanks again, will update my lovelace then 🙂

#

I get an error while in the UI editor, it works though: Expected a value of type `undefined` for `style` but received `"ha-card {\n padding-top: 24px;\n}\nh1 {\n text-align: center;\n font-size: 6em;\n}\nh2 {\n text-align: center;\n}\n"`. Should I ignore that?

#

I don't really know what the "ha-card" is for to be honest 🙂

polar kelp
mint geode
#

Ok, should have read that 😛 So I can ignore the error?

#

I mean it works

tacit cave
#

you have to ignore the error in the UI editor

mint geode
#

Ok 👌

polar kelp
#

Yeah. I haven't found a reliable way of removing that yet.

errant plover
#

Looks good. Is there a way to reduce the padding under the time?

tacit cave
#

@errant plover thanks for that msg, I'll be looking at that post over the next month when I start building these. I probably won't respond to it for a few weeks until I get my bearings.

mint geode
#

Looks great @polar kelp

#

Took a bit longer as I had to add the sensors to fill the card with 🙂

errant plover
#

NM. Found it. margin-bottom: 0px;

mint geode
#
style: |
  ha-card {
    padding-top: 20px;
  }
  h1 {
    text-align: center;
    font-size: 6em;
    margin-bottom: 0px;
  }
  h2 {
    text-align: center;
  }
``` works great for me
errant plover
fiery sail
#

can an entity card header toggle be called in an automation?

fiery sail
#

I assume not then

mint geode
#

@errant plover I don’t have a clock in my room, but I’ve got HA on my Google Nest hub which now displays the time.

#

Wouldn’t need it on my phone or pc, but that’s how it is. Would be great to have device specific Lovelace layouts

#

@fiery sail not that I’m aware of.

#

Depending on the domain though you can group entities like covers to call in automations. That would be more of a topic to ask in #330944238910963714 though

copper path
#

@errant plover that screenshot looks great, do you have a repo with your config files?

compact mesa
#

Hi!, how can I change the size of the entities or entities button?

wheat current
#

Click dotsvertical it your browser, then zoom in

kind shellBOT
vapid field
#

and this my customize.yaml

#
sensor.bad_fenster:
  templates:
    icon: mdi:windows
    icon_color: if (state === 'offen') return 'red'; else return 'green';
       

#

anyone with an idea where my mistake is?

#

... wrong formatting in the first part. This is the text of my first post:

#

hey there. i try to color a icon based on a templates state wit custom_ui - but i can´t get it work. This is my configuration.yaml :

split granite
#

customize: doesn't support templates like that

vapid field
#

Thank you. Do i need custom_ui or card_mod dir that?

split granite
#

I believe it should just require cardmod

timid burrow
#

@wheat current that js file works great. Thanks.

kind shellBOT
#

Ludeeus is away for 1h 55m 12s with a message :point_right: tea time

vale coral
#

Hey everyone
Im trying to add icons next to each tab that ive created. However when i add it things go wrong and the tab is clear

#

anyone have any suggestions?

unborn cedar
#

hmm

lost wigeon
#

is there a lovelace card for controlling a blind position, a bit like the thermostat card where you set the target and wait for it to get to target but looks like a blind instead of a thermostat like the thomasloven card

polar kelp
#

If you have horizontal blinds, slider-entity-row. And plese don’t ping people randomly.

lost wigeon
#

@polar kelp sorry, not my intention, i meant to reference you, not message you

#

the problem with slider-entity-row card is that it doesnt show current position, which is why i reference the thermostat card which shows current v target

unborn cedar
#

@lost wigeon i solved it by making buttons for it

#

Which light up if its "there"

lost wigeon
#

@unborn cedar yeah what we now need is some great person to create a nice card with blind animation 🙂

unborn cedar
#

haha

#

I seen some bars, but i have no clue how

lost wigeon
#

i accidentally messaged thomasloven instead of referencing him ,maybe one of the voices in my head wanted him to do it, hahaha #manypeopleinthehead

royal moon
#

Hi everyone! im new here, does anyone know sensor.hacs filter state?

wheat current
royal moon
#

im in the wrong channel sorry

copper laurel
#

I am on the latest build, I click on unused items, select few new ones and I cant save them. I dont know how to save them. I hit x and its not saved

polar kelp
#

Click the +

copper laurel
#

then it asks me what card I want to create

#

I need to create one right?

polar kelp
#

yes

copper laurel
#

ah okay, got it thx

median saffron
#

hello, im new in home assistant, can someone help/direct me how to modify weather card to display temperature/humidity from my own sensor and not from internet? i have working sensors:

  - platform: mqtt
    name: "WS Temperature Outdoor"
    state_topic: "home/stat/temp_outdoor/RESULT"
    value_template: "{{ value_json.temperature }}"
    unit_of_measurement: '°C'
    device_class: 'temperature'
  - platform: mqtt
    name: "WS Humidity Outdoor"
    state_topic: "home/stat/temp_outdoor/RESULT"
    value_template: "{{ value_json.humidity }}"
    unit_of_measurement: '%'
    device_class: 'humidity'
gusty osprey
#

I'm trying to use the javascript templates with custom button card, but it's not working at all - if I use it for icon or color it's like the property is not being set at all. I got no errors in the (web inspector) javascript console - any ideas what could be wrong here? Do I need to enable the javascript template feature somehow or configure something in a specific way for this to work?

median saffron
#

@split granite i saw this page, but i dont understand how/where to change source of temp/humi for this component 😦

kind shellBOT
#

Tinkerer is away for 1m 11s with a message :point_right: You trust Becky? Becky's eating a cup!

dreamy field
#

hello, is it possible to use !include in the .storage/lovelace card configuration method?

#

also, should I be using the lovelace YAML method, or is this the long-term way forward? it seem a lot of the documentation for various add-ons assumes you're use the ui-lovelace.yaml way

pallid needle
#

Good afternoon, I just updated from a couple versions back and now my smartir climate components are not working

#

How do you update a custom component?

mild veldt
#

@dreamy field you cannot use !include in storage ode

#

those plugins more likely have outdated instructions

#

but neither are going anywhere

#

@pallid needle wrong channel

tropic cloud
#

hey guys, I'm having trouble using the tap_action for glance; after attempting to copy from the documentation I get an error

#
type: glance
entities:
  - entity: sensor.my_sensor
    tap_action:
      action: url
      url_path: https://google.com
title: Commute
columns: 2
#

Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received {"action":"url","url_path":"https://google.com"}.

#

I didn't direct copy, just following the scheme I saw for other options for tap_action

#

and advice on what I did wrong would be much appreciated 😄

#

I have tested some permutation of entity,name,icon,etc. under the entity key. I don't think I know how to read the above error?

#

I was able to use the navigation_path command as follows and get basically the same error, except this works...

type: glance
entities:
  - entity: sensor.gix_avoid_tolls
    tap_action:
      action: navigate
      navigation_path: /lovelace/cast1
  - entity: sensor.gix_with_tolls
  - entity: sensor.cody_to_home_avoid_tolls
  - entity: sensor.cody_to_home
title: Commute
columns: 2
#

Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received {"action":"navigate","navigation_path":"/lovelace/cast1"}.

#

not sure how to go about attempting to open a URL remotely 😛

#

maybe there's an easier way. What I want to do is open a URL to navigate on Google maps when I tap the entity in lovelace.

mild veldt
#

@tropic cloud what version are you on? url action was just added in 0.100

atomic glacier
#

@mild veldt is on 🔥 mindblown

#

any chance of getting restriction-lock-icon-size while you're at it? I've only had one use for it so far, but 🤷🏻 ( just thought I'd toss it out there)

tropic cloud
#

@mild veldt that would explain it. I'll keep on top of the changes 😁

mild veldt
viral sorrel
#

was there a method to go from a partially configured yaml-less config to a yaml one without going into raw config and having everything sorted? or is it not sorted the first time you go in (i'm afraid to check in case I make things worse)

wheat current
#

it's always sorted

viral sorrel
#

bugger.. that's really the only thing that makes it difficult to use

wheat current
#

Yeah... the alphabet is hard..

viral sorrel
#

binary is easier so why don't we all write in that?

wheat current
#
01000010 01100101 01100011 01100001 01110101 01110011 01100101 00100000 01101110 01101111 00100000 01101111 01101110 01100101 00100000 01110111 01101001 01101100 01101100 00100000 01110101 01101110 01100100 01100101 01110010 01110011 01110100 01100001 01101110 01100100 00100000 01101001 01110100 00111111
polar kelp
#

Keys are strings, and thus sorted both binaryly and alphabetically

#

(in lovelace, yaml allows other key types too)

viral sorrel
#

it moves related settings away from each other.. that's an issue for me. I love the ui and that's what I use mostly. but there's always things that need closer attention in the yaml.. and then boom.. titles at the end and all sorts of spaghetti.. I'm sure it will eventually be able to NOT sort. just a matter of time

wheat current
#

personally I hope not

viral sorrel
#

only reason not to is to make it difficult for users who prefer to use the UI 😛

polar kelp
#

or different focus

wheat current
#

How about not needing to use the raw editor at all 😉

viral sorrel
#

seems like the focus lately has been squarely on ease of use

#

well I was surprised it existed.. I thought the editing could be limited to one card at a time

#

I only just tried all this for the first time very recently

#

and I did hear on the podcast a while ago how the goal is for each card to have ui editing in the future

#

do any third party cards include ui editing functionality?

wheat current
#

Speaking of, that thing you did @polar kelp to get custom plugins in the "+" list, is that published somewhere?

#

Some do @viral sorrel

polar kelp
#

No. It's not nicely behaved enough yet.

#

I.e. there's no guarantee it could be done twice by different cards.

wheat current
#

oh, that's a bummer :/
Anything I can to to inject it from HACS?

polar kelp
#

Ideally, it should be a feature of lovelace, so a custom plugin could "register" a card that would show up in the picker.

#

I think I'll focus on adding that to core, rather than trying to shoehorn it in.

wheat current
#

Sounds reasonable

viral sorrel
#

is this to do with manually adding the includes?

wheat current
#

Is there any plans/work allready started, for a resource editor?

polar kelp
#

Not that I know of.

viral sorrel
#

so this is going from the other direction, rather than choosing entities and then the type of card you choose the type of card and then configure your entities? feels more natural to me

polar kelp
#

That's how it normally works...?

wheat current
#

I assume it would work from both places, not that I have tried using the unused sectionin a while

viral sorrel
#

lol.. so it is.. I've always gone the other way.. I add something and check unused entities, select them and then choose a card

polar kelp
#

The unused adder (introduced in 0.100, I think) only adds cards that have an entities: list - which currently is entities and glance.

viral sorrel
#

0.100 is the first version I've used the UI configurator in..

#

2019-10-22 20:25:51 ERROR (MainThread) [hacs] Validation for hacs/integration failed with GitHub returned 404 for https://api.github.com/repos/hacs/integration. does this mean I put in an invalid token?

#

because it says it's still updating and 10 minutes later there these:

#
2019-10-22 20:35:02 ERROR (MainThread) [hacs.repository.integration.Michsior14.ha-laser-egg] Repository is archived.
2019-10-22 20:35:02 ERROR (MainThread) [hacs] Validation for Michsior14/ha-laser-egg failed.
2019-10-22 20:35:25 ERROR (MainThread) [hacs.repository.integration.Michsior14.ha-kaiterra] Repository is archived.
2019-10-22 20:35:25 ERROR (MainThread) [hacs] Validation for Michsior14/ha-kaiterra failed.
wheat current
viral sorrel
#

which will have a planed release date on Sunday/Saturday.. I found a bug.. I think you mean planned. I've never seen a pinned issue on github before.. learn something new every day

polar kelp
#

I need to remember that trick.

kind shellBOT
polar kelp
wheat current
#

You can only pin issues that are in that repo :/

#

Buuut, I would assume you get atleast one "issue" like that in every one of your repos 😛

viral sorrel
#

in my defence I never said it was a software bug 😛

wheat current
#

It's not an ant either

viral sorrel
wheat current
#

Could be @polar kelp at least it was not me 😛

viral sorrel
#

I bet people in Norway speak and write English far better than most people in English speaking countries 😛

wheat current
#

Nope

#

Most can wirte (understandable) english, but speeking it... yeah...

viral sorrel
#

certainly true in my experience for Sweden.. didn't spend much time in Norway

wheat current
#

Sweeden is a whole different story

mild veldt
#

I only speak American

strong finch
#

I'm looking for Events featured in ha - Anyone Know Anyone?

wheat current
#

Events like "state_changed"?
or events like "State of the union" ?

strong finch
#

No, events like "There is an event tomorrow" Or Events "Taking the Dog for Vaccination"

wheat current
#

Calendar

strong finch
#

link?

wheat current
#

What about it?

strong finch
wheat current
#

everything

#

wait..

#

why do you have it defined twice?

strong finch
#

I tried to play the code and it didn't turn out well, so I called for help. Can you fix this for me please?

#

ites ok now?

#
  • type: custom:bignumber-card
    title: Target
    entity: sensor.sensibo_target_temp
    scale: 24px
    style: |
    ha-card {
    background: var(--card-color-off);
    --paper-item-icon-color: var(--icon-color-off);
    color: var(--name-color-off);
    border-radius: {{ states('input_select.border_radius') }};
    box-shadow: {{ states('input_select.box_shadow') }};
    opacity: 0.8;
    }
wheat current
#

looks ok, if you have card-mod installed

strong finch
#

Yes I have - thank you

atomic glacier
mild veldt
#

whew...I hope it doesn't break now

split granite
#

What did you mean?

fringe mulch
split granite
#

So, not the graph card 😉

fringe mulch
#

Ya. Should have been more specific.

split granite
#

The option would appear to be show_state?

fringe mulch
#

maybe. though...as soon as a add y_axis the line data for the 2nd entity (switch.lights) goes away.

split granite
#

Its much easier to help you if you provide actual details

wheat current
#

Hmmm.... that sounds strange...

#

nope, that checks out, it is easier mindblown

tall pine
#

Can I make the Icon of an entity change depending on its state?

#

Like by default it changes colour but I want the colour and the icon itself to change

wheat current
#

template sensor can do icon change,

tall pine
#

It is not a sensor, it is just a switch entity but I want the icon to be different when it is off and on

broken marsh
#

When I click on a card in Lovelace I get a small log view of recent states. Is there a way to maximize it to see more data?

wheat current
#

So template switch then

polar kelp
#

Nice combo @atomic glacier!

strong finch
#

Sorry about all the questions. Is it possible to add an icon (mdi) in the entity area: sensor.greeter_card_info?

mild veldt
#

@strong finch you can put an icon element next to it

#

but state-label is just a label

strong finch
#

Can you give an example according to my code please?

mild veldt
strong falcon
#

I have a local_file camera that I am using in a picture-glance card. A few times a day, the image shows as "broken" on the frontend. Any thoughts on fixing this?

fringe mulch
#

@split granite OK. I think I've found the solution to my problem. The switch.lights doesn't read on/off as 1/0 so all I get in my graph is 0 for the switch. Can this be done as a template?

split granite
#

Sure, create a template sensor (or binary sensor) and graph that

fringe mulch
#

@split granite Awesome. Now I gotta learn template sensor and/or binary sensor. I'm assuming in the template i'll create an entity_id and that's what I'll link to?

kind shellBOT
#

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

split granite
#

And, the answer is in the docs, obviously 😉

kind shellBOT
fringe mulch
#

Thank you!

kind shellBOT
#

@limber fjord Follow this guide to add your first custom plugin to your lovelace configuration

elder pendant
#

Also HACS is an option

limber fjord
#

Hey all new to lovelace - in fact dont even know if im using it 😄 ...I'd like to add the following but not sure if I can do so through the UI or if i have to create a lovelace.yaml file?

elder pendant
#

Please read the guide that I just linked ☝

limber fjord
#

Ah didnt realize that was you.. okay thanks!

#

looks pretty straightforward...

#

I guess only question would be what happens to current cards before switching to the "Configure UI" mode

#

`By default Home Assistant will maintain your user interface, updating it when new entities or Lovelace components become available. If you take control we will no longer make changes automatically for you.

Are you sure you want to take control of your user interface?`

#

Is it possible to grab the this current conf and load it into the new yaml file to start off with?

elder pendant
#

iirc that is what happens by default

#

It just stops making automatic changes when you add entities in the future

#

though I could be wrong. You can always revert back to automatic mode though 🤷

limber fjord
#

ah okay, was always nervous to switch to that mode because didnt want to lose everything i had

#

oh okay cool

#

here goes!

#

Yep looks like its there

#

thanks!

dense thicket
#

Trying to get monster-card to work with gauges, but whenever I modify it to do so, it ends up disappearing completely. Does it not work with gauges? Further reading points to using auto-entities instead, I'll try that and report back.

limber fjord
#

@elder pendant thanks for the guide - this is great! Is there a repo with all the lovelace cards? I.e. Plex card, Sonos Card, etc..

elder pendant
#

Check out HACS, it has a good collection of custom cards

kind shellBOT
#

Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.

limber fjord
#

404

elder pendant
#

Ah, bummer. I'll update the link to the current docs.

#

Looks like @wheat current updated the command and then forgot to let the bot know it had changed 😮

kind shellBOT
#

Ludeeus is away for 1h 57m 12s with a message :point_right: tea time

dense thicket
#

Can't get auto-entities to allow for gauges either, any thoughts? yaml type: 'custom:auto-entities' show_empty: false card: type: gauge unit: '%' show_header_toggle: false filter: include: - entity_id: sensor.*batt*

limber fjord
#

Am I doing something wrong here?

  - type: module
    url: /local/mini-media-player-bundle.js?v=1.4.1
  - type: js
    url: /local/upcoming-media-card.js?v=0.1.2
title: Home
views:
  - badges: []
    cards:
      - type: 'custom:upcoming-media-card'
        entity: sensor.sonarr_upcoming_media

Getting the following error:
Custom element doesn't exist: upcoming-media-card. { "type": "custom:upcoming-media-card", "entity": "sensor.sonarr_upcoming_media" }

strong finch
#

@mild veldt Thank you very much for your help

limber fjord
#

Followed the same steps for setting up the mini-media-player-bundle and its working fine

strong finch
#

תתקין את זה

limber fjord
#

Yeah I did already

#

or at least i thought i did, isnt it just as simple as adding to www folder?

#

@strong finch ?משהו אחר

#

ah nvm think i got it

#

browser cache 😅

harsh plaza
#

heya! anyone have any links to some good starter templates for building out a dashboard screen on here for workout tracking / reps I could feed in from a google sheet?

would be cool in the home gym for that to show up on the tablet i setup in there.

compact ledge
#

What card shall I choose to add an element like graph: line

split granite
#

You're looking to add a line graph?

compact ledge
#

Yeah, just that

#

I see from the demos that's the element, but when I press the + button I don't get which one I should use

wheat current
#

Sensor

split granite
compact ledge
#

Oh 🤦

next sparrow
#

Is there a possibility that lovelace's website will automatically be reloaded? On my wall tab, the page always freezes after a while.

lavish steppe
#

Guys where should I put theme: in UI-lovelace.yamlif I want to theme all Lovelace UI?

split granite
lavish steppe
#

Got it. Was looking in the wrong place. Thanks @split granite

mild veldt
#

@next sparrow you can put that in an automation using browser_mod

atomic glacier
#

dang @mild veldt types faster than me 🤣

mild veldt
#

🏎

polar kelp
#

That's a "soft" reload, though. Pretty much just rebuilds lovelace.

strong finch
#

Is it possible to combine picture-elements with entities? I tried by code and it shows two elements - I want it to be together.

polar kelp
#

try the custom card vertical-stack-in-card

next sparrow
#

@atomic glacier Which Version you are running? The newest Version should have a Problem. Or the Problem is inside my Configuration. I dont know. :/

atomic glacier
#

@next sparrow 0.100.3

next sparrow
#

I mean the Version from browser_mod. I'm also at 0.100.3

#

@atomic glacier @polar kelp This is the fault in Log after i start browser_mod.debug:

2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] http://192.168.xxx.xxx:8123/browser_mod.js line 181 > eval:28:3 TypeError: moreInfoEl is undefined 2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] webpack:////card-tools/popup.js?:28:14 Uncaught TypeError: Cannot read property 'close' of undefined

lofty summit
mild veldt
#

@compact ledge haha, yeah. Was just joking though (but would be cool if you did it)

atomic glacier
#

@next sparrow latest version in HACS. I am away from my computer for awhile and the error Thomas may have a better idea of what that is.

kind elbow
#

Hi guys! Who has a tablet hanging on the wall with lovelace running on it?
I've been hesitating about the fire8, but read mixed stuff about lovelace compatibilty

#

Got sent here for this question 😄

#

Any ideas? recommendation?

elder pendant
#

I use a Lenovo M10 in my kitchen. It's fine, but not amazing. Depends on how much you're going to interact with it

stoic solstice
#

I have a Asus Transformer book on my wall

kind elbow
#

well, it has camera, lots of lighting, thermostat control

stoic solstice
#

Just the screen part though 🙂

kind elbow
#

and it'll be in hte living room

#

it needs to be fast

stoic solstice
#

I also have an old iPad3 on the wall, but it can't handle Lovelace

lofty summit
#

I used to have a cheapo asus tablet on the wall, but it was too slow imo. Using a samsung tab 5se now

mild veldt
#

fire tablets are awful; not 100% sure on the newest version, but they are cheap for a reason IMO

elder pendant
#

I have one in a drawer somewhere. Amazon locks down the OS too much to really do anything

mild veldt
#

they released a new one like a month ago

#

nevermind, that was the 10

#

specs look about the same as the last though, just has Android P as the base now 🤷

strong finch
#

Can I track the number of steps with Android mobile?

mild veldt
#

that's not a lovelace question

split granite
#

The UI has no such feature? Sheesh

elder pendant
#

Pretty limited imho...

mild veldt
#

you're right. we should just scrape it and start over

split granite
#

That's the spirit!

kind elbow
#

hm so what would the best option be for a tablet?

elder pendant
faint bloom
#

anyone help me understand an error I'm getting

#

Expected a value of type undefinedforstate_filterbut received{"off":"brightness(100%)"}.

#

trying to add two lines to a picture entity

  "off": brightness(100%)```
#

It restores color, but I get this error

mild veldt
#

@faint bloom share your full config for the picture-entity card

faint bloom
#
entity: script.1571859105158
image: 'http://10.0.1.101/images/dinner.jpg'
aspect_ratio: 50%
tap_action:
  action: toggle
show_state: false
state_filter:
  'off': brightness(100%)```
wheat current
#

That's just the UI editor that complain? It does work?

mild veldt
#

the UI editor doesn't support state_filter option is all that means and you'll have to use the YAML UI editor

faint bloom
#

okay, thats exatly whats happening so that makes sense

#

thanks!

pallid needle
#

and how to connect other apps that I have

#

ah just figured out how to add the other apps that I have, it's just the id

harsh plaza
#

dang I gotta add that. I wanted just a card for remotes this looks maybe a little better

hallow spruce
#

do most of you folks use YAML mode or the UI editor?

mild veldt
#

Personal preference

hallow spruce
#

yeah - I like he real-time updates of the GUI editor, but it seems to still have limitations

timid burrow
#

you can use both

#

I am configured for GUI but I also cut/paste in raw mode from a yaml file. I like to see style changes in real time with the gui editor and then put those into the yaml and cut/paste in raw mode

hallow spruce
#

yeah, I know what you mean - I wish comments would be preserved though

timid burrow
#

don't have to be preserved! They are all still in my yaml file and I really don't care if they are lost in raw mode

hallow spruce
#

so you just always edit-in-yaml, then cut-paste to raw UI?

timid burrow
#

i realise I'm odd using it like that but it works for me

#

yes

hallow spruce
#

ah

timid burrow
#

unless I use the GUI to test or see how something will look

#

then I do it in yaml and paste to raw

#

as Ian said.. purely a personal preference

hallow spruce
#

my normal MO for HA is using VSCode on my mac with SMB mounted /config dir from my Ubuntu server

#

I dunno why I switched to GUI editor

timid burrow
#

i prefer notepad++ myself but have vscode addon as well

hallow spruce
#

but now I can't decide 😄

mild veldt
#

@hallow spruce you can always switch

hallow spruce
#

yeah

mild veldt
hallow spruce
#

can we use !include in lovelace?

#

I forgot

#

if that was added

mild veldt
#

In yaml mode you can

hallow spruce
#

is that documented somewhere?

mild veldt
#

No

#

Maybe?

#

I don't know

#

I like dev work, not docs 😂

hallow spruce
#

ha- makes sense 😄

#

I'll figure it out

mild veldt
#

If you find some missing in the docs or it's confusing, we always really appreciate PRs to help improve them

hallow spruce
#

ok

#

thanks for the help!

viral sorrel
#

is anyone here using the mini media player module? I've installed it with HACS but if I add a manual card with - type: 'custom:mini-media-player' I get the message No card type found.

#

ahh.. the - in front of type in all the examples is the problem

dreamy tendon
#

would it be possible to use state_filter in picture element to color part of the image depending on the current state of a light for example?

polar kelp
dreamy tendon
#

Not sure I quite understand how to. I am using the opacity and it works well but I was thinking of colorizing a white light depending on the rgb value of a light entity

polar kelp
#

You can use the filter hue-rotate to change the colors of a picture.

#

Or saturate to de-colorize it.

dreamy tendon
#

Is there a way to define the right rotation depending on the rgb value?

next sparrow
#

@polar kelp Hi Thomas. Do you have a Solution for my fault with browser_mod?

mild veldt
#

@next sparrow repeat it so he doesn’t have to search

next sparrow
#

@DinoTech @thomasloven This is the fault in Log after i start browser_mod.debug:

2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] http://192.168.xxx.xxx:8123/browser_mod.js line 181 > eval:28:3 TypeError: moreInfoEl is undefined 2019-10-23 15:58:51 ERROR (MainThread) [frontend.js.latest.201910022] webpack:////card-tools/popup.js?:28:14 Uncaught TypeError: Cannot read property 'close' of undefined

mild veldt
#

Without seeing your config my guess would be the entity you provided is wrong or doesn’t have a more-info dialog

kind shellBOT
next sparrow
#

There is no entity from browser_mod in my home assistant. I don't know why there ist not comming up.

mild veldt
#

you need to share your relevant config

#

an entity_id is required if you are calling browser_mod.more_info

next sparrow
#

Yes, but i call browser_mod.debug and not browser_mod.more_info.

polar kelp
#

That’s an error that pops up from time to time, but I’ve never been able to nail it down because it fixes itself.

#

Try manually opening a more info dialog by clicking something, then close it and try again.

next sparrow
#

@polar kelp no success

polar kelp
#

Do you get the same error with the more-info command?

next sparrow
#

No. There is no error. At the moment I only have one error with browser_mod.debug:

2019-10-24 21:18:14 ERROR (MainThread) [frontend.js.latest.201910022] webpack:////card-tools/popup.js?:28:14 Uncaught TypeError: Cannot read property 'close' of undefined

polar kelp
#

But card_mod.more_info works?

next sparrow
#

@polar kelp I did not install card-mod. Is that necessary?

polar kelp
#

Sorry browser_mod.more_info

#

Tired...

next sparrow
#

@polar kelpNo, nothing happens at browser_mod.more_info. No device (deviceID) was created either.

fringe mulch
#

Is it possible to display a sensors unit_of_measurement in different colors based on specified ranges? I know it can be done with the sensor card icon but can it be done with the number?

polar kelp
#

With card-mod perhaps?

fringe mulch
#

coming from the person who wrote card-mod? I'd say that's a pretty good perhaps

half cairn
#

Can anyone shed some light on how to cast to a Chromecast? I have it semi-working, I can start casting, but only see a HA loves Nabu Casa 'Connected' screen.
How do I setup which page to show on the cast?

#

I have this card in lovelace to start casting:

entities:
  - name: Home Assistant Casting
    type: cast
    view: lovelace/verlichting
theme: oxforddark
type: entities
#

i've been messing with the view, trying different options. Im assuming this should be the name of the Views in lovelace ? I gave both Title and Url path in all my views the same name..

latent moss
#

is it possible to know which was the previously visited View? i want to make a "back" button, but not with a hardcoded url_path.. more like how the browser back button would work. (i want this for a google cast ui)

mild veldt
#

No, that's not kept anywhere; at least not that I can recall

latent moss
#

darn 😦

mild veldt
#

I can think of a work around...but it's going to be messy

#

Nevermind, I don't have anything

#

Was thinking a inout_select that stored the last view, but would need to be able to have your navigation action also update the input select

pallid needle
#

@polar kelp I just installed your card-mod set

mild veldt
#

Multistep actions...no...must resist...

pallid needle
#

Hopefully with new backgrounds I won't accidentally turn on the bedroom tv when I'm in the living room

#

thanks!

#

@mild veldt I gotta thank you too, I just updated my roku card

lament wave
#

good day

pallid needle
#

now I can get directly to some sources with the apps, it's super convenient

lament wave
#

im trying to get envisalink to work with ha

#

can someone please help

#

i have tried adding the code for the envisalink componient but the keypad not showing up

mild veldt
#

@lament wave not lovelace related

lament wave
#

ok where can i get some help

mild veldt
wheat current
#

Any card-devs looking for a new project?
How about a wierd-pack? that have all (relevant) items from https://wiredjs.com/ 😄

polar kelp
#

Half the jobs done already

wheat current
#

If I'm not mistaken that was the first custom card we ever saw?

polar kelp
#

I suppose

fringe mulch
#

I was able to get primary_text_color of the Sensor Card to change color based on the readings of the sensor with card-mod. I'm not exactly sure how/why it works...but it works. I am however getting a few weird errors in the logs.

dreamy tendon
#

I'm trying to figure out overlapping lights in picture-elements floorplan card. I was thinking the best method would be to take renders of all the scenarios and have them shown conditionally but I have no idea how to achieve this. I tried reading the conditional card docs, but I suppose that's not the correct approach when choosing which elements to show in picture-elements.

#

nvm... The problem was not my thinking, but my formatting. I got the conditionals to work now

dense thicket
#

I'm trying to setup a history-graph card that displays a power graph of my tplink switch. It works, but it's currently showing both power as states (linear graph) and power (x-y graph). Is there a way I can get it to only show the x-y graph portion?

kind shellBOT
#

@foggy tendon Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.

Please take the time now to review all of the rules and references in #rules.

dreamy tendon
#

Oh cool, I just noticed I can use CSS to rotate and skew stuff in the 3d floorplan so I can have the temperature read on the wall for example mindblown

dreamy tendon
#

the only problem is that it doesn't scale very nicely so I'll have to see what it looks like on different devices

timid cairn
#

So i have a weird problem, my lovelace UI has completely gone white. Nothing loads except the bar on the left of the screen. Everything works fine in the /states view (the old UI) just Lovelace won't load. This is on all devices also: iphone app, web browser, and fire tablets. I assume it's because i made changes to Lovelace and then upgraded to .100.3 and something got locked in the transition. Is there like a .loc file that could be locked up due to edits?

I have tried restarting Home-assistant, and i have also rebooted the VM that it is running on. Any other ideas?

elder pendant
#

Do you see any errors in your HA log?

timid cairn
#

this is the only thing that looks weird in the HA log page:

2019-10-25 07:31:04 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/home/shawn/homeassistant/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='invalid constant string'
2019-10-25 07:31:36 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/home/shawn/homeassistant/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='invalid constant string'

#

other errors include some ecobee stuff that just started popping up recently, something i have to hunt down but i don't think is related

mild veldt
#

@timid cairn have you tried clearing your browser cache or bringing it up in a private browser session?

timid cairn
#

@mild veldt I had not, but am now. I just tried a chrome icognito window. observed same problem. currently am clearing cache and will be trying it the more traditional way.

#

Same result with cache clear

elder pendant
#

Are you using yaml mode for lovelace?

timid cairn
#

The built in UI configuration tool on the front end

edgy bear
#

hello, could someone help me. I´m trying to add a background to my ui but whatever i do it doesn´t work. I´m running hassio 0.100.3

elder pendant
#

What steps have you taken to attempt that?

edgy bear
#

as i read i have tro simply add lovelace-background: center / cover no-repeat url("/local/background.png") fixed to the theme

#

with background.png the name of my image

elder pendant
#

and you have that image in your <config-directory>/www directory?

#

and you cleared your browser cache after making these changes?

edgy bear
#

yes to both

elder pendant
#

Did you call the frontend.reload_themes service?

edgy bear
#

how do i do that?

elder pendant
#

The services dev tool on your frontend

edgy bear
#

yes still no image.

elder pendant
#

Did you just create the www directory?

edgy bear
#

no some time ago

elder pendant
#

The only other things I can think of are make sure you have the correct theme selected and that the theme is formatted correctly, restart home assistant, and refresh the browser page

#

and double-check your file name

edgy bear
#

i have the theme selected as backend on start and on every view is the backend also selected

#

and i tried in png and jpg

#

but thank you anyway

#

oohh i got it to work now. I tried one more time with the png and a cache delete

#

thank you

foggy tendon
#

…and this as a card:

- type: conditional
  conditions:
    - entity: media_player.googlehome5670
      state: 'playing'
  card:
    type: markdown                   
      content: >
        <b><u><font color= grey> <center>Radio: <br></b></u> [[ media_player.googlehome5670.attributes.media_content_id ]] </font></center>
```
#

… and the media_content_id is that URL,
how to have shown in the markdown the name of the radio and not the URL ?

mild veldt
#

A radio configuration?

#

name is typically under attributes.media_title

#

But since you're playing a custom stream, I doubt google home would have that information

foggy tendon
#

In fact i have no information about the name of the radio

mild veldt
#

exactly

foggy tendon
#

so no way to have that name?

mild veldt
#

you could potentially do some template matching on the backend to generate a sensor with a name value

#

but that's outside the scope of lovelace

foggy tendon
#

hmmm.... will you give me an example?

#

maybe not here....

mild veldt
#

i don't have an example to give

foggy tendon
#

Ok, thanks....

night talon
#

@mild veldt Do you intend on adding the ability to specify more than 4 apps for the Roku Card? Maybe add another row on the bottom? I can make a feature request if you want, but wanted to at least ask first.

wheat current
#

How about you making a PR instead of an FR? :) 🎉

night talon
#

Ha, I'd love to, but I've been looking at the code for two days now trying to figure it out. I added what I thought would add the buttons as a bottom row, but it didn't do anything.

wheat current
#

That could be cache

elder pendant
#

Did you clear your browser cache after the change?

night talon
#

yeah, I cleared cache multiple times

#

I was thinking the same

wheat current
#

If you installed it with HACS, you need to delete the gz file for changes in the JS file to be applied

night talon
#

ah

#

maybe that's it

#

👍

wheat current
#

It prefers gz if in the same dir

night talon
#

so, for testing purposes, it only needs the JS, correct?

wheat current
#

Correct

#

That's why it's still there, otherwise hacs could just delete that file since it's not being used

night talon
#

wow, I think that worked. Thanks!

clever citrus
#

guys, I have a quick question

#

I have installed Hass under Raspbian (the manual method)

#

and I want to add custom cards

#

but....

#

I can't find the www folder to upload the code to

night talon
#

you need to make one then

clever citrus
#

where can I find it?

night talon
#

should be under your main config folder

clever citrus
#

where is that? the one that has the configuration.yaml file?

#

in my case, it's /usr/share/hassio/homeassistant

#

so, create a www folder there and then add the files there?

night talon
#

if that's where you config.yaml file is, then yes, it should be /usr/share/hassio/homeassistant/www

clever citrus
#

sweet... net me try that

night talon
#

most of the cards have good directions on how to install

clever citrus
#

yeah... but they're for hassio

#

there is no /config directory on my install

night talon
#

are you using hassio?

clever citrus
#

manual install under raspbian lite

#

and I'm trying to use the multiple-entity-row card

rose wind
#

hey guy's what you would recommend for new user? lovelance or the home panel plugin?

night talon
#

that looks like hassio, it's different than regular hass

clever citrus
#

hence my problem 🙂

night talon
#

I'm not that familiar with hassio, sorry

clever citrus
#

thanks!

#

just found a post saying I should restart... 🙂

#

trying that now

#

nope

#

😦

#

haha.... I've found my error

#

I had the version parameter added...

#

I've removed it now... and looks like it's working

#

thanks MColeman!

night talon
#

👍

#

🎉

viral sorrel
#

is there a way to override a friendly name ONLY in a specific card?

night talon
#

not sure, might want to check out the monster-card

viral sorrel
#

that includes based on entity names/states. and there's now lovelace-auto-entities for that

atomic glacier
#

@viral sorrel That depends on what card you are trying to do so with. Most custom cards have the option to override the friendly_name, but for stock cards you would have to check the docs.

viral sorrel
#

ah.. so it is a thing, just not exposed via the ui. cool.. I can live with that

half cairn
#

Can anyone shed some light on how to cast to a Chromecast?
I have it semi-working, I can start casting, but on the cast I only see a HA loves Nabu Casa 'Connected' screen. How do I setup which page to show on the cast?

split granite
#

That's also all I get, I've never investigated further

half cairn
#

ive tried all the options I can find, but cant get it to work further than that

timid burrow
#

I just followed the docs and it works

#

Do you have a baseURL set with the port and protocol in config?