#frontend-archived

1 messages Β· Page 88 of 1

timid burrow
#

I found the same and made a template sensor to fix the format

brave badge
timid burrow
#

ohhhhhhhhhhhh you're right.... I was following that PR for last_boot and didn't see it merged. but it's in the docs so must have been

brave badge
#

... but it's not working....

mild veldt
#

@polar kelp brilliant

thorny verge
#

@polar kelp I think you use custom kiosk mode, is it not working with .84? The bar goes away, but it doesn't get rid of the space anymore...

brave badge
#

@timid burrow Maybe manually set timestamp class for the sensor in some way?

cunning tree
#

@mild veldt OK, So I am trying it from fresh just using the editor... But how do I get /lovelace back to being default again as it just shows 404 not found. @polar kelp Love that, Looks good.

timid burrow
#

it's still not working... just tried it and it doesn't matter what you set it to it stays the same

polar kelp
#

@thorny verge I heard there were problems with it. I haven't upgraded my prod server yet, though, so I don't know.

timid burrow
#

you need to clear cache and refresh

cunning tree
#

@mild veldt Ignore that, Overview now shows the default.

timid burrow
#

and set as default as you did previously

brave badge
#

@timid burrow I don't understand...

thorny verge
#

@polar kelp Ok, I'll just live with it for now, it clears the blue bar, but doesn't get rid of the space it takes anymore.

timid burrow
#
            - entity: sensor.last_boot
              format: datetime

doesn't matter what format I choose it stays the same
@brave badge

brave badge
#

Ah, ok. Yes, it's true.

timid burrow
#

so it's either a bug or not merged..

#

even though in the docs

brave badge
#

But i'm still getting 2018-12-11T16:47:51+01:00 not only date and time

timid burrow
#

I know! that's what I said. It shows like that regardless of what format you select

#

I might enter in an issue

brave badge
#

maybe we can ask @polar kelp... sorry to bother you! do you know anything about the mistery of the relative format? See above

mild veldt
#

Don't tag him for that @brave badge

brave badge
#

ok

#

Thanks @timid burrow for entering the issue

mild veldt
#

He's an amazing guy but I don't want us getting in the habit of calling out individual devs for help

timid burrow
#

he was the dev that approved the pr.... if not tag him for that then what?

cunning tree
#

What causes it to not be supported

#

I know the tap action stuff changed, But I thought that would be right

mild veldt
#

@timid burrow I don't think we want to get into the habit of that. Balloob wrote it and I don't think you be tagging him either. The issue filing was the right move imo

flat timber
#

Just upgraded to .84.1 I love the new configuration options in Lovelace. My question is how do you add custom cards in the new configuration editor?

cold sedge
#

Hi, I have just updated to 84.1 , but when I go to Lovelace page, it says No config found. and there is a RELOAD UI-LOVELACE.YAML button, but it is not working

mild veldt
#

@flat timber use the editor for now

calm skiff
#

Just updated to .84.1 and now Lovelace interface not showing, just yaml

flat timber
#

@mild veldt do you mean put it in yaml mode and continue as normal or the raw editor?

cold sedge
#

I have restarted HA, still no config found

loud vault
#

ui-lovelace.yaml not being loaded on 0.84.1

flat timber
#

@loud vault read the release notes it tells you how to choose which way to copy it over

loud vault
#

thx

cunning tree
#

I am guessing that it shows that error because tap_action and hold_action are not part of the config editor yet.

polar kelp
#

@brave badge whats the device_class of your sensor?

brave badge
#

I can't set it...

#

Trying to set device_class in config/Customization but timestamp is not present in the list. Trying to put it in customize.yaml

#

ok, it's working now!

timid burrow
#

i am using it with last_boot - filed an issue for it already

brave badge
#

put this in customize.yaml:sensor.last_boot: device_class: timestamp

timid burrow
#

hmm....

brave badge
#

thanks @polar kelp and sorry

timid burrow
#

using configuration->customize I can't select timestamp as device_class

brave badge
#

@timid burrow I know, it's missing from the device class list... but putting manually in customize.yaml is working

#

and restart HA obviously

#

now I'm getting "1 day ago" if setting format to relative

#

Is it working for you? We can enter an issue for the missing entry in configuration->customize

timid burrow
#

yeah... just restarting as I had a template sensor... I can edit the issue I suppose

brave badge
#

Ok, I'm satisfied for tonight. going to bed now... goodnight!

timid burrow
#

working now

#

edited the issue

brave badge
#

good work!

cloud escarp
#

is there a way to move tabs left and right with the new UI editor?

timid burrow
#

dragging them maybe? I haven't tried

cunning tree
#

Has anyone else noticed that tap and hold actions are not working in a mobile browser? like Chrome on android.

brave badge
#

Now it's working for me even on mobile (chrome on IOS)

mild veldt
#

@cloud escarp not yet

tame dove
#

Was

show_header_toggle: false

Changed?

mild veldt
#

~format

kind shellBOT
#
:information_source:
Format Code:

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

```
code here
```

Click on the link to learn how to format: https://raw.githubusercontent.com/skalavala/HassBot/master/format.gif

cunning tree
#

aww man I did '''

tame dove
#

so why would all my header goggles show up?

cunning tree
#
entities:
  - entity: light.lounge_ceiling
    tap_action:
      action: toggle
  - entity: light.small_lamp
    tap_action:
      action: toggle
  - entity: light.iris_1
    tap_action:
      action: toggle
  - entity: light.iris_2
    tap_action:
      action: toggle
tame dove
#

header toggles

cunning tree
#

@brave badge I think I have them the right way for toggles

#

In Chrome on Mac the toggles and more info work

mild veldt
#

@tame dove that looks correct for an entities card, nothing has changed there to my knowledge

#

I've confirmed that works still for me in an entities card for lights

#

@cunning tree so your actions work or not?

cunning tree
#

@mild veldt they only work in a browser on a PC not mobile.

#

Ok, Now they just started working on the phone as well without changing anything

mild veldt
#

Cache perhaps

cunning tree
#

Possible I did close apps and refresh a few times. At least it works now,

#

On some things i get

Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.tap_action` but received `{"action":"toggle"}`. Falling back to YAML editor.

#

and others its fine, Any idead?

mild veldt
#

What’s the yaml that gives that error?

lime glacier
#

question, the 'default_view' is that always valid?

mild veldt
#

@lime glacier yes. As long as you don’t ever try to manually configure

#

Then it is user edited

#

We plan to have something that is always available in the future though and allow you to install to your view from it

lime glacier
#

yeah, ok. What I would like... is that this default view... isn't the default when I login.. but a different view

#

because this one is huge and takes a while to load on my mobile devices, etc

#

but I would like to keep the 'default view'

mild veldt
#

You can define different views and use paths

lime glacier
#

for reference and stuff

mild veldt
#

Can’t do that right now but there is an unused view that shows things that are not being displayed on your views

lime glacier
#

yea, ok. Is that the 'unused entities' in the options on the top right?

mild veldt
#

Yes

lime glacier
#

and this doesn't consider the 'default view'? just the other custom ones

mild veldt
#

No. It considers all views

lime glacier
#

ok, so what does 'unused entities' mean? just entities not in an automation?

mild veldt
#

Entities not in a view

lime glacier
#

ok, so then why is there anything here? I thought everything was in the 'defaultview'?

#

or is this stuff I have 'hidden: true' in customize?

mild veldt
#

I have no idea what you have in yours, dude

lime glacier
#

ok

mild veldt
#

Have you hit configure ui yet?

#

You don’t have a yaml config until you have done that

#

So in that case everything would be unused

mild veldt
#

@cunning tree I just did some testing with the light editor and didn't have any issues with the entity picker?

pallid needle
#

Hi, how do I open lovelace to import my config in .84?

#

the release notes say You can do this by opening the Lovelace UI and click on Configure UI

#

but I'm not seeing how to do that

mild veldt
#

@pallid needle top right corner menu

flat timber
#

I'm trying to add the remote card from sharethelove.io but raw editor is saying !include is an unkown tag

keen quartz
#

I'm trying to do the new lovelace in .84 release but when I click on my configuration panel it says it can't load. Any ideas?

#

I updated to .84 and I was trying to get to the screen where I could import my ui-lovelace.yaml but when I click the Configuration panel it doesn't load and shows this message "Error while loading this panel."

timid burrow
#

chrome?

mild veldt
#

@flat timber read the release notes

#

you can't use !include if you want to use the UI editor

#

that's the trade off

timid burrow
#

@keen quartz if you're on Chrome, try dev mode F12 in chrome and then right click on refresh button and select hard reload and clear cache.... much better than deleting all settings

keen quartz
#

yes I am I will try that thank you

timid burrow
#

i got so sick of removing all content and clearing cache all the time lol

keen quartz
#

I hit F12 and see the console but I never use this. I don't see the refresh button

timid burrow
#

left hand side of address bar... not in console - just need console loaded to get the options on refresh button

keen quartz
#

ohh

mild veldt
#

@timid burrow if you have dev tools open you can disable cache

keen quartz
#

Ha that did the trick, thanks buddy

timid burrow
#

awesome!

#

@mild veldt I didn't know that!

mild veldt
#

but you have to leave them open

timid burrow
#

ok. with mine it just resets that site... so you don't lose every site setting and stored passwords etc... only found out about that recently.

flat timber
#

Thank you @mild veldt I thought I had read them all I must have missed that

#

So I would want to just paste all that code directly into the raw editor and it should work

keen quartz
#

So I'm in the configuration panel but I don't see where I import my lovelace yaml

dire salmon
#

hi friends,

#

i have a stupid question here

#

the little sensor circles that were at the top in the old UI, in lovelace theyre just put into a card, is there a way I can get them back up the top ?

mild veldt
#

@keen quartz in the top right menu

#

@flat timber from the included file? Yeah that should work

#

@dire salmon read the lovelace docs on badges

dire salmon
#

thank you !

heavy cove
#

The Map card for the new update only seems to have a card that is about 1 or 2 pixels high

civic sedge
#

The raw config editor - where is it saved? - want to take a backup - just to play save

copper mural
#

If I try the new Storage-mode, isn't there a way to edit the files with sublime?

scenic mist
#

Hi all, is there a max name of sensors used in lovelace, it seems when it gets to long the whole view doesnt work

#

and i get an Service system_log/write called.

civic sedge
#

@copper mural just found the file - Nope - Its now json

#

.storage/lovelace

copper mural
#

ah ok, thanks πŸ˜ƒ

silk canyon
#

is anyone else having issues with light and sensor cards with 0.84.1?

#

light cards do a weird transition when you open the view

#

and sensor cards are not drawing the graph

#

this is in firefox btw

wooden latch
#

Hi, just updated to 0.84.1 and now all my Lovelace views are gone, everything is just on my Home view tab. The yaml file hasn't changed, but if I go to "raw config editor" the config looks completely different with one view: -path: default_view, title: Home and then badges: with all my entities

#

Please help

#

Fixed, copied all my content off ui-lovelace.yaml into the raw config editor

viral sorrel
brave badge
#

@silk canyon for sensors you have to add graph: line seems that now the default is none...

#

for the lights... I don't know. seems a bug to me

silk canyon
#

@brave badge that line config worked great! thanks

#

might open an issue for the lights issue

brave badge
#

you're welcome!

weary karma
#

hey guys..... Im just starting in lovelace tonight. I have 5 input.booleans that I need to toggle when pressed. I have the logic sorted out - its just the UI doesnt work as expected. Im using a glance card, but when I press on any of the input booleans, lovelace presents me with a detail view of the boolean. What I want to do is just immediately toggle the bool. Can someone direct me with the correct sort of card. I want to use something like an entity button card, however the docs are sort of blurry - it looks like an automation rather than something to be used in ui-lovelace.yaml

#

correction - i dont want to toggle the bool, i want to turn it on. (it will always be in the of state)

polar kelp
#

What's unclear about the entity-button card? The code sample? That's an example on making it run a script when clicked, rather than toggle the entity.

smoky peak
#

AAAACHH!!! Has anyone here upgraded to .84.1?

viral sorrel
#

have you read the changelog? πŸ˜›

smoky peak
#

Um. No...guess I need to?

viral sorrel
#

I can't imagine upgrading without reading the changelog.. that would be like diving into water without first checking what's beneath the surface

smoky peak
#

Yeah....I usually do, but upgraded from the toilet this morning, lol.

viral sorrel
#

I've gone foe the manual config.. but I will be switching when I get the chance

#

well that's why you got a shit show πŸ˜›

smoky peak
#

Indeed.

#

So, it says, "You can do this by opening the Lovelace UI and click on Configure UI". However, when I cannot do that, because my view says, "No config found". No "Configure UI".

viral sorrel
#

you can.. I did it.. just trying to remember how

#

try turning off lovelace andoing a shift-refresh

#

in the info panel

smoky peak
#

You mean shift F5?

viral sorrel
#

yeah

smoky peak
#

So, I did....No "configure UI"

viral sorrel
#

I got there somehow :/

smoky peak
#

The dev team are usually spot on, but I think someone screwed the pooch on this one....I cannot fine how to get to Configure UI....

viral sorrel
#
 Try out the new Lovelace UI
>> Remove lovelace as default page on this device <<
#

yiu need to remove it I think

#

and then shift refresh

#

on the main overview

smoky peak
#

That's the current state of mine right now....

viral sorrel
#

how is it you can paste the image and I couldn't? πŸ˜›

#

and you went to overview and what did you get?

#

no ... ?

smoky peak
#

I am special....as in special ed....

#

A bunch of crap, not lovelace...but can't see Configure UI there.

viral sorrel
#

crap? what does it look like?

#

I just got a message that there was no lovelace-ui or something like that I think.. originally

smoky peak
#

I got that originally also.

#

the no config thingy

viral sorrel
#

oh yeah.. that's normal.. what happens if you now go to /lovelace ?

smoky peak
#

AHHHH, still looks like shit, but now I got the "Configure UI". Thanks bud. I think I'll have it from here. Stay tuned.

viral sorrel
#

now you either control it and set the configuration to yaml (I'm doing that for now) or jumpo straight to the ui based config and just copy passte the config from your yaml file via the new ui.. which is what I will be doing as soon as I get the chance for the added flexibility

smoky peak
#

ANNND, it's back like it was. Yes, I will be controlling my own....

#

Thanks again.

viral sorrel
#

I want to see the improved ui config πŸ˜›

#

you're welcome. I think next release in a month or so will have lovelace as default ui

smoky peak
#

I've been defaulting to it for a month or two now....took me a minute to get used to it, but love it now. I am hoping this rev will allow me to arrange my cards without having to use stacks, OR if I have to use stacks, I can still edit UI in the GUI if I do.

#

Oh, wow...play with it...this looks pretty great, imo.

viral sorrel
#

only if you don't "control it". not sure the extent of the flexibility if you don't and use the ui instead

smoky peak
#

Well, I can move cards up and down in a column so far....

viral sorrel
#

if you go manual you get The edit UI is not available when in YAML mode. when you try to use configure ui

smoky peak
#

I don't quite follow about "yaml mode"...what do you mean? The raw config editor?

viral sorrel
#
lovelace:
  mode: yaml
#

did you not read the link I pasted? πŸ˜›

smoky peak
#

Yes, but when I stumbled on the answer to my current problem, I got distracted. SQUIRREL!

viral sorrel
#

that's a very Zak McKracken thing to say

smoky peak
#

Yeah, I just read that section. I'm not going to do that. YAML mode, that is. Doesn't he have a brother, Phil McKracken?

#

And a cousin named "Release"?

viral sorrel
#

if you're not doing yaml mode then you're not controlling it

#

Zac McKracken was a deep cut.. you're probably too young

smoky peak
#

No, probably too old.

#

No idea who that is/was, except for the wiki I just looked at about him.

viral sorrel
#

it's a reference to a game from 1988

smoky peak
#

I wasn't playing that sort of game in 1988....was busy with other things.

viral sorrel
#

that makes it sound like you were after the ladies.... πŸ˜›

smoky peak
#

yeah, lol

viral sorrel
#

oh shit.. that's 30 years now.. from 1988

smoky peak
#

indeed

viral sorrel
smoky peak
#

Will watch that later today....right now, got some residual maintenance to do partly because of upgrade, and partly because of my current home assistant project I am fine tuning.

viral sorrel
#

anything interesting?

smoky peak
#

Weather station via RTL-SDR

viral sorrel
#

ahh.. I have am RTL-SDR somewhere I was going to use to track commercial airplanes..

smoky peak
viral sorrel
#

are you implementing the weather station? or are you sniffing an existing one?

smoky peak
#

I just got one....about two weeks ago....sniffing the 433 off of it.

#

Those readings are taken about 20 feet from my house

viral sorrel
#

96% humidity?

smoky peak
#

Two reasons for that....1. I am in Texas. 2. It is raining.

viral sorrel
#

is Texas humid? I expected it to be dry.. but rain would do it..

smoky peak
#

Texas is gigantic. The part I am in is classed as sub-tropical. West of here, about 500 miles, say, it would be arid/desert.

viral sorrel
#

damn.. i need to look at a map

smoky peak
#

Lol. Almost takes me as long to drive from my house to El Paso as it takes to drive from my house to Chicago

viral sorrel
#

don't worry.. we have distances here too

smoky peak
#

Where's that?

viral sorrel
#

Australia

smoky peak
#

Ahhhh. Yeah. 3/4 of your country is exactly like Mars, right?

viral sorrel
#

but less habitable

#

with monsters

smoky peak
#

True.

#

I got some friends in Victoria

#

Specifically, Mount Beauty

viral sorrel
#

I'm surprised any of Texas falls into the tropical zones.. but I guess the climate is all over the place lately..

#

yeah.. there's a few population centres here and then very little else

smoky peak
#

Always been that way where I live. Here, we get I think about 45 inches of rain per year on average. 80-90 ft trees everywhere.

viral sorrel
smoky peak
#

You could be right...SO, back to lovelace...if I use "edit UI" to manage my view....does ui-lovelace.yaml even do anything any more?

viral sorrel
#

I don't think so.. I think it gets put in the hidden storage directory along with the entity_registry and other stuff

smoky peak
#

Ahhh. Because, the only thing I don't seem to be able to manipulate is which column something falls into...I can move cards up and down, just not side to side.

viral sorrel
#

that sounds like a weird limitation..

smoky peak
#

that's what she said....

viral sorrel
#

I would have expected it to be ordered vertically, but that would still allow movement horizontally if you were to imagine it as 1 column wide internally

#

heh

smoky peak
#

Yeah. THIS could have something to do with it:

viral sorrel
#

I have NO idea.. not played with it yet

#

but I agree that it could be a factor πŸ˜›

smoky peak
#

Looks like the following, to me....before, if you DIDN'T have an entity ID for each card, it broke your shit. So, I generated a random 32 character hex value for each. NOW, it looks like THAT is breaking my shit. 😐

viral sorrel
#

holy crap.. it's almost midnight and I have to get up early.. next time we talk maybe I'll have some experience with the new ui configuration

#

I wou;d have throught that they'd get stripped if not needed

smoky peak
#

Ok, sleep well.

viral sorrel
#

if I read correctly comments do

smoky peak
#

Gonna strip one out, and see what happens.

viral sorrel
#

good luck and good night

brave badge
#

Hi, on 0.84.1 all my binary sensor, device class door,window, movement and presence, now have state off/on instead of closed/open/movement/home. Any ideas?
Realized now that the issue is only in Lovelace interface. The original one is ok

#

And it's not working only after a refresh of chrome. Not on the first opening of the page

scenic mist
#

@brave badge maybe clear your browser cache for the second problem

brave badge
#

@scenic mist tried a dozen times...

#

on different computers and browsers...

scenic mist
#

you have set lovelace as primary ?\

brave badge
#

Yep

scenic mist
#

and if you add /lovelace to the url ?

brave badge
#

I use Lovelace from the beginning... so yes

scenic mist
#

sorry

brave badge
#

never mind... πŸ˜€

scenic mist
#

didn't know that :), i have no other ideas, no error in the log ?

brave badge
#

It's driving me crazy!

#

Thanks anyway

#

no errors

weak flume
#

Any way to define a min/max or high/low for a history graph? ie monitoring disk array usage and making it show 0-100% rather than like 50-95%

exotic prism
#

Have a problem. After upgrading to 0.84.1 from 0.83.3 my HA ignores the whole ui-lovelace.yaml file. Even deleted it, no errors. When going to /lovelace its shows the default frontend with some diffrent cards.

raw brook
#

Read the release notes

weak flume
#

lovelace: mode: yaml
In your config. Its in the newest release notes.

exotic prism
#

Damn didnt see that, thanks for help.

scenic mist
#

@weak flume what is the big difference between your option, and dumping the content in the raw gui ?

weak flume
#

Im not sure how the storage option works. If its throw into the database or what. I just prefer the yaml option.

scenic mist
#

the raw gui seems also to be yaml, only upside down.

mild veldt
#

@weak flume storage option puts your config in .storage in json format

#

You then only use GUI for edits

weak flume
#

Got ya. I figured after it would be via GUI. I guess Im just old school

mild veldt
#

Nothing wrong with that but you won’t get to use all the fancy new tools πŸ˜ƒ

foggy tendon
#

Are all the cards with the latest 0.84.1 moddable without using the custom card-modder?

raw brook
#

Define Moddable

scenic mist
#

hmm, where can i place my resources for lovelace in the latest update ?

#

i had one already installed, but i cannot file a file where it is configured

#

or in the raw config editor πŸ˜ƒ

#

found it

foggy tendon
#

@raw brook I mean using css styles and so on...

raw brook
#

Some of theme have a theme option but you cant inject css styles like you can in the card modder

foggy tendon
#

@raw brook ok, where to see which can have a theme?

raw brook
#

The docs

#

For each card

foggy tendon
#

Ok, thanks

smoky peak
#

Ok, trying to make heads or tales of how to manage the order of cards using the "Edit UI" feature. Just when I think I have it figured out, it does something which makes no sense. So, is this feature still beta, or is this SUPPOSED to work correctly? Because it does not.

raw brook
#

It works as intended

#

Just not as you intended

smoky peak
#

Oh. then busted.

raw brook
#

So it moves the card up within the index of the view. But the sorting of cards algorithm doesnt just use the order. IT takes the next card and places it in the column that is the "shortest"/ smallest cards sizes.

smoky peak
#

I figured out that that was what it is TRYING to do...but it does not always do that.

raw brook
#

Unless you have stacks then it does

smoky peak
#

I don't have stacks.

raw brook
#

The algorithm uses the size the card returns which is a single integer.

#

So 1-4/5 right now

smoky peak
#

It is awful. FOR example, I had 4 cards in the right column, right were I wanted them. I move one card in the right column up (not one of those 4) and it moves TWO of the ones which were previously in the right column to the left column. Just awful.

raw brook
#

If the thermostat card is 4 and in column 1 and the next two cards are size 2 then the next two will be in column 2 instead of column 1. (this assumes a two column layout

smoky peak
#

I have three columns

raw brook
#

You are not understanding the algorithm

#

What you states makes sense

smoky peak
#

Probably not...however, from a PRACTICAL USE standpoint....it is awful.

raw brook
#

We are going to be working on a better use case. In the mean time 🀷

smoky peak
#

I'm gonna just let the cards be willy-nilly random, until a better method comes out.

#

Just as there are up down arrows in the edit, there should be left right arrows. Make the up down ONLY do up down, and make the left right only do left right. Forget any algorithm (or at least make it possible for a user to turn that off) and let me simply say "move this card over one, up two", "move that card down three".

raw brook
#

Thats what we are going for

smoky peak
#

Ok. I'll be more patient. Nice first try, and some of the features are great....it is just results I get right now are nearly impossible to predict. I know that in the backend the system thinks it is doing things perfectly logically, but it is extremely chaotic in appearance.

raw brook
#

ITs been this way since Lovelace was created

#

Its a really nice way to organize cards

#

Use stack cards if you want to organize your layout

floral crown
#

Is there a way to set the lovelace ui as default and remove the old one?

smoky peak
#

Yeah, but if I use stacks, I can't edit in the UI.

raw brook
#

Yes you can

#

er

smoky peak
#

So, they fixed that?

raw brook
#

You can edit it via YAML

#

Editing the horizontal stack pulls the YAML for the cards within

proud sandal
#

Hi. Is there a way to add a picture to the plant-status card?

thorny verge
#

With .84 can we no longer have nested !incldues (an !include in an !include file)?

raw brook
#

If you use YAML mode you can

thorny verge
#

I am, and I can't, every file that was working in .83, is no longer working. If I include a single !include in ui-lovelace.yaml that also has in !include, then lovelace loads the old views (from groups.yaml)

torn dirge
#

Hi all. I’m having an issue with the configure UI card configuration. I believe the pop up is broken on my end. There is only one labeled field (title) and then a blank line to type in. A friend has fields for entities and other variables when adding the same type cards.

raw brook
#

~share

kind shellBOT
torn dirge
#

Sorry about that.

raw brook
#

Im sayong post your config

torn dirge
#

Entire config yaml?

raw brook
#

THe YAML for the broken card

torn dirge
#

It’s when attempting to add a card.

radiant drum
#

Hi! Is it possible to add other entities then "climate" to the "thermostat" card?

torn dirge
#

And after clicking through all of the possible cards - entities and glances are the only ones that look

#

Correct*

mild veldt
winter hollow
#

@torn dirge we don’t have UI for all cards yet, we are working on that

#

If we don’t have UI we show a yaml editor where you can enter the config

torn dirge
#

Alright @winter hollow thanks for the feedback. I appreciate what y’all do.

#

I do have the editor. Thank you!

mortal cape
#

@torn dirge whenever it seems stuck, clear cache or ctrl+shift+r...I've found that the add card button doesn't do anything sometimes until I do this

brave badge
#

Hi, I'm on 0.84.1 and all of my binary_sensor, device class door,window, movement and presence, now have state off/on instead of closed/open/movement/home.
I realized now that the issue is only in Lovelace interface. The original one is ok.
Nobody noticed this? Only @cloud latch and me?

winter hollow
#

Is that also the case after a refresh?

#

and are you using a translation?

pine island
#

Having a tough time getting the custom media player working. Keep getting this no matter what I do:
Custom element doesn't exist: mini-media-player.

mortal cape
#

@winter hollow @brave badge does this have anything to do with wrapping on and off?

#

Or is that only when using yaml mode

pine island
winter hollow
#

nah, that shouldn't have anything to do with it

pine island
#

I've copied the mini-media-player.js to my config/custom_components/ directory, and added

    type: module```
to my resources field in ui-lovelace.yaml
But lovelace UI still says mini-media-player doesn't exist. The logs dont mention it either (saying that it's a custom component, and thus not supported) so it might be right, but why isn't it being picked up?
mild veldt
#

@pine island you didn't follow the directions

#

it is not a custom component

pine island
#

Does the location of the js file really matter that much when I keep it consistent with my resources URL?

mild veldt
#

yes

#

/local === /config/www

pine island
#

yeah, I tried that first, with no joy.

#

Though that was perhaps before I noticed this
"Make sure you have javascript_version: latest in your configuration.yaml under frontend:."

mild veldt
#

you specified your resource as /local/custom-lovelace/mini-media-player-bundle.js?v=0.9.7
so your path should be the same as what you specified in your config

#

i.e. config/www/custom-lovelace/mini-media-player-bundle.js

pine island
#

Ok. Moved it. Restarted. Same again...

mild veldt
#

you don't need to restart for these things, fyi

#

just refresh

pine island
#

I have it in my config/www/ directory now, and my resources url is - url: /local/mini-media-player-bundle.js?v=0.9.7

mild veldt
#

and the file name matches?

pine island
#

...

#

🀦

#

DAMN YOU README! And me for not being more vigilant

mild veldt
#

the readme says to download from the release, not the file directly

pine island
#

mini-media-player-bundle.js is not mini-media-player.js

mild veldt
#

the readme is accurate

pine island
#

I just did a git clone

mild veldt
#

I've followed the readme (as short as it is) correctly IMO

pine island
#

IMO

mild veldt
#

^lies πŸ˜ƒ

pine island
#

Crucial

#

My opinion was wrong obvs

#

Cheers though. I'm gonna go rm -rf / my nuc now. I don't deserve nice things

mild veldt
#

uh...

#

that's one way to remove your issues, I guess...lol

pine island
#

Can't have any HA errors if you don't have a HA

brave badge
#

@winter hollow @mortal cape Yes, yaml mode, but tried Gui method too, same result. Italian language.

#

I'll try with english

#

... same thing

mortal cape
#

@brave badge I see it now in mine after a restart

brave badge
#

@mortal cape Ok, I'm not crazy....😜

mortal cape
#

@brave badge and now it's gone again after another restart

#

hmm

brave badge
#

yeah first look is ok, after a refresh it's wrong

raw brook
thorny verge
brave badge
#

@raw brook don't think so... it's not a translation problem. It's on/off instead of open/closed in a device_class: door for example

raw brook
#

πŸ‘

brave badge
#

but it's wrong with any device_class

winter wasp
#

can lovelace handle nested includes now?

winter hollow
#

It can do anything configuration.yaml can

near crypt
#

The biggest question today: Yaml or Storage mode? I can't decide which is better.

winter hollow
#

Do you want to use the UI?

raw brook
#

EZ question

near crypt
#

I think so

thorny verge
#

@winter hollow I have many nested includes, none work.
Is there a trick, as all worked on .83

mild veldt
#

@winter wasp if you use !include you will not be able to use the new UI editor features

brave badge
#

Yaml mode here... untill raw editor will show spaces and colors like configurator add on

mild veldt
#

@thorny verge did you transition to storage?

thorny verge
#

No

mild veldt
thorny verge
#

Yes, everything is working, even includes, but no nested includes.

raw brook
#

@brave badge Never will show spaces. We may be able to update the text editor eventually.

brave badge
#

I'll love it

winter wasp
#

hmm, i tried using nested includes and now it won't load the lovelace interface at all 😦

thorny verge
#

I get the same thing, although i've been told by multiple people it works, but I can't get them to.

near crypt
#

If I configure as storage mode, ui-lovelace.yaml is no longer used?

thorny verge
#

@mild veldt In .storage there is a lovelace file, so it must have used storage on first start, can that be deleted, and is that maybe why nested includes don't work?

mortal cape
#

for nested includes, use mode: yaml I believe

thorny verge
#

@winter wasp If I try nested includes, I get the default views from groups.yaml, but in lovelace

mortal cape
#

you can't use the ui editor with nested includes

thorny verge
#

@mortal cape I am using mode: yaml

mortal cape
#

but you can use lovelace

winter wasp
#

nested includes breaks my Lovelace UI with yaml

brave badge
#

@raw brook Don't get me wrong, I think you did a wonderful work with the new UI... but i like yaml for the copy/paste capability. Not everybody is nerd like us...πŸ˜€

mild veldt
#

@brave badge you can still copy/paste yaml in the raw editor found in the UI

thorny verge
#

I want to stay .yaml because I constantly break hass, and I can roll back any changes with my backup solution.

mortal cape
#

@thorny verge I would try deleting it in .storage

brave badge
#

@mild veldt Yeah, but for now it's a little too... raw. I like the configurator add on

mild veldt
#

to each their own

#

I prefer everyone use the new tools so that you can help guide us and provide feedback/bugs

brave badge
#

However I tried to go back and forth from yaml to storage... It's very simple, and can be done in 2 seconds by pasting the yaml in raw editor.

#

To get the best from the two methods

winter wasp
#

so I can reproduce Lovelace failing to load when I use an !include within an included file in YAML mode

#

it seems to silently fail and fall back to my legacygroups.yamlconfig

brave badge
#

@mortal cape Do you think that we can post an issue for the open/closed -> on/off problem?

#

Did you replicate it?

mortal cape
#

@brave badge I thought flamingmoe might have, I haven't checked

winter hollow
mortal cape
#

I refresh and the binary_sensors become "off"

brave badge
#

Looking for known issues...

#

But it's only a Loveless issue, right?@mortal cape

mortal cape
#

not there when I go to /states, no

wheat current
#

Why is it inconsistant?
I would have expected all of them to be off πŸ€”

brave badge
#

@wheat current It's VERY inconsistent!

#

If an entity changes state become ok, after a refresh it's wrong again

wheat current
#

That is just wierd, you should open an issue if one does not allready exist

sour snow
#

Can someone help me? I clicked on Configure UI (and some acknowledgement too) in the frontend and now HA does not load my ui-lovelace.yaml. How do I revert?

wheat current
#

I think

lovelace:
  mode: yaml

should get it back, but if it's the correct way 🀷

brave badge
#

@wheat current I'm looking for one but can't find. However my english is so bad. I hope someone else will open it

#

I'm on yaml mode

wheat current
#

That was for @sour snow πŸ˜‰

brave badge
#

Ops... ok

winter hollow
#

It is probably fixed but we are not sure

sour snow
#

Awesome!

#

@wheat current

thorny verge
#

@winter wasp So I figured out the problem with nested !include files. It seems before .84 all of the include paths were relative to /config, but now they are relative to the location of the file they are inlcuded in. So, if I add the full path to the inlcue, ie. /config/lovelace/views/kitchen.yaml , it now works

brave badge
#

@winter hollow what are you referring to?

winter wasp
#

@thorny verge ah interesting

#

i wonder why it failed so spectacularly, though

thorny verge
#

Seems that if it can't find the include, yaml mode fails, and it defaults to the other mode (not storage, the autogenerated one)

winter wasp
#

@thorny verge yep, works great using the relative path from the included file

near crypt
#

In .84 this stopped working:

          - entity: light.yeelight_lights_1
            name: Yeelight 1
            tap_action: toggle
            type: entity-button
#

It shows the correct state, but does not change light on/off

thorny verge
#
  action: toggle    
near crypt
#

Perfect.

thorny verge
#

Same for hold_action, and then anything that goes with the _action is indented as well, like navigation_path, or servce-call data

#

Can now have 2 service calls, or navigations for same button, it's awesome.

twin kelp
#

would i be best to remove lovelace before i upgrade i have only dabbled with it

near crypt
#

@thorny verge Wow, that sounds great, good to know.

mild veldt
#

@twin kelp the auto-generated dashboard is the best route to start, IMO

#

i.e. remove πŸ‘

twin kelp
#

@mild veldt I did use the auto dashboard . But never used it after . I had so much trouble with the last update , so I will remove Lovelace and remove then yaml file and go back to normal setting .then upgrade thankyou

near crypt
#

Is there any component in Lovelace which is able to toggle between two services?

vagrant spear
#

With 0.84, is lovelace doing some sort of caching with the config? The thing I loved about lovelace was I was able to edit the yaml and reload and the changes were instantly reflected. Since updating to 0.84, I'm noticing I need to restart HASS to see the changes

tacit cave
#

@vagrant spear are you clearing cache?

#

Browsers always cache by nature of their design

vagrant spear
#

@tacit cave yep, tried that, updates aren't reflected still. (Using YAML mode btw)

mild veldt
#

@near crypt what do you toggle? One thing that can call different services?

brave badge
#

@vagrant spear Yaml here too, but changes only need a page reload, as always on lovelace

tacit cave
#

@vagrant spear you’ll only need to restart if yaml changes occur outside Lovelace-UI.yaml

#

Sry on phone, it auto capitalized crap

vagrant spear
#

If the files are included using !includes then a reboot is needed? I am using includes for everything, but that I didn't need to restart in previous versions

tacit cave
#

Not sure, don’t use includes

#

I like to search for things for hours in my yaml files

vagrant spear
#

I'll have to do some testing. Thinking maybe some behavior changed in regards to how the includes work

mild veldt
#

@vagrant spear scroll up a bit or search include there has been some recent discussion

past zealot
#

Anyone have issues with not being able to migrate over to the new lovelace in 0.84

#

Says open the lovelace UI and click on configure ui

#

But my lovelace UI won't load to allow access to the configure UI.

#

Or do I need to access this via the orignail page

#

Original*

raven nacelle
#

did you try the yaml mode?

past zealot
#

Yes just did yaml mode and lovelace worked

#

Doing a reboot now with yaml mode # out to see if I can get the configure UI from the none lovelace screen

#

Side question while it reboots. I assume the pi 3 b+ will boot slot quicker then the pi2b

#

Ok found my issue. Need to switch back from Lovelace being default

#

All sorted.

Can I delete the ui-lovelace file

raven nacelle
#

Yes, you can (if you are not using the yaml mode). Keep a copy, just in case.

past zealot
#

Thanks

#

Just playing with the editor but can't edit my automations/script/etc pages. Is this a limitation at the moment or do I need to re add these via the UI for them to work?

#

Figured my automations issue as I have them seperated in a folder (split files) but since this new UI editor is in I guess they won't be needed either

near crypt
#

@mild veldt I want to toggle XIaomi Yeelight moon mode, which is set by light.yeelight_set_mode --> mode: moonlight. To turn off moon mode: mode: normal. I am thinking in something like a toggle, if off= mode: normal, if on = mode moonlight.

mild veldt
wintry zinc
#

I'm playing with setting up cards to run some scripts. An example would be
- type: entity-button name: " " tap_action: call-service entity: script.apple_tv_play service: script.apple_tv_play icon: mdi:play-pause

#

I'd like to make sure the card is of equal height and width. Is that possible?

mild veldt
#

No

wintry zinc
#

well that's easy enough

#

πŸ˜ƒ

royal spear
#

I'm having a similar problem as cogneato (Today at 4:21 PM), but with a device trackers, sometimes they are "Home" others "home", same with sun and moon, some times the are properly formatted, and other just show the raw state "Below horizon" vs "below_horizon"

mild veldt
#

@wintry zinc I should retract that. With outside tools you may be able to. Possibly card modder? That's a pretty powerful custom card

pallid needle
#

Good afternoon

#

how do I switch to using lovelace?

#

when I'm in the normal mode, I don't see the three dots in the upper right hand side

#

if I change lovelace to yaml I get the 3 dots, but when I click configure UI it says you can't configure from yaml config

#

I just upgraded to .84 from .82

#

oh I think I got it

#

for some reason earlier /lovelace was redirecting me

weary karma
#

NEWB: can someone take a look at this and tell me what Im doing wrong??? It comes up as blank in the UI.

kind shellBOT
mortal cape
#

@wintry zinc @mild veldt but the button card can call a script. You can distinguish between tap and long press even

pallid needle
#

How do I add a tapaction to an entity in the new lovelace config editor?

#

I toggled to yaml

#
  - entity: light.mudroom_lights
  - entity: switch.driveway_lights
  - entity: switch.deck_lights
    tap_action: toggle
title: Mudroom
type: glance```
mild veldt
#

@mortal cape I don't follow. What does that have to do with button height?

pallid needle
#
Expected a value of type `{entity,name,icon} | entity-id` for `entities.2.tap_action` but received `"toggle"`.
Falling back to YAML editor. ```
mild veldt
#

@pallid needle check the Lovelace chamgelog

#

Tap actions changed

pallid needle
#

oh

#

lol I was literally reading the docs

#

I didn't see that you had to add it under action

#

wait that didn't work either

#

@mild veldt so like this?

#
  - entity: light.mudroom_lights
  - entity: switch.driveway_lights
  - entity: switch.deck_lights
    tap_action:
      - action: toggle
title: Mudroom
type: glance```
#

cause that doesn't seem to work

past falcon
#

Is there an easy way to add in custom components in the storage lovelace? I keep just pasting into the raw config editor when I need to add something

livid shell
#

is it possible to use custom python components that way @past falcon

mortal cape
#

@mild veldt I totally missed the equal height/width thing.

livid shell
#

I just finished a lovelace ui and don't want to migrate to storage lovelace until I need to tbh haha

past falcon
#

I figured I'd give it a try and see what breaks haha I always have that fallback

mild veldt
#

@past falcon that's the only way for now. We have some ideas but nothing final yet.

#

@livid shell custom components don't apply to Lovelace?

past falcon
#

no problem just making sure I wasn't missing something

mild veldt
#

@mortal cape we're you referring to @near crypt question on toggling between services? I figured he wanted an actual toggle not separate actions

livid shell
#

@mild veldt sorry whatever the nomenclature is now for lovelace - you can still load scripts from /config/www in resources right?

mild veldt
#

@livid shell yes

rose sluice
#

Quick question re: picture-entity: is it possible to have state_images to non-binary numeric values, i.e. temperature?

        cards: 
        - type: picture-entity
          entity: sensor.pws_temp_c
          state_image:
            "4.0 Β°C": /local/resources/images/mirror/EMERGENCY3.gif
            "3.0 Β°C": /local/resources/images/mirror/EMERGENCY3.gif
            "2.0 Β°C": /local/resources/images/mirror/EMERGENCY3.gif
            "1.0 Β°C": /local/resources/images/mirror/EMERGENCY3.gif```

This just seems to display the actual temperature sensor value instead of the associated image.

(And if anyone can point me in the direction of using greater than / less than options for numeric values using state_image, that too would be shiny)
royal spear
#

Q: Captions on device-trackers inconsistent. Sometimes "Home", refresh -> "home"

#

Same with sun: "Below horizon" , after refresh "below_horizon"

mild veldt
#

@rose sluice create a tpkate sensor with string states for the ranges you want

#

@royal spear lots of similar discussion on the topic in here today.

#

Should be fixed in the next hotfix. I believe

rose sluice
#

@mild veldt Hm, I've not had to use template sensors yet. Looks like I have some reading to do. Thanks kindly!

wary dust
#

So.... I read the change notes and updated my HA from .82 to .84

#

You can do this by opening the Lovelace UI and click on Configure UI, this will prompt you to change to storage mode. This will unlock a new option in the menu called β€œraw config editor”.

#

When I try to open the lovelace UI, I get my normal HA UI

#

Anyone else run into this?

gray marsh
#

@wary dust If it's not Lovelace, add the "/Lovelace" and then use the 3 dots in the top right

#

To the URL I mean

wary dust
#

Ah!

#

Thank you

#

Oh no

#

Does that mean I just lost all my lovelace stuff?

#

Oh good, I backed up before updating

#

Wow, I'm really confused now

raw brook
#

Read the patch notes

wary dust
#

I did

#

I quoted it above...

raw brook
#

If you are freaking out you didnt read it enough

wary dust
#

Haha k

#

I'll read more

raw brook
#

Look into YAML Mode

wary dust
#

I clicked the wrong thing, not raw config editor. All good now. Phew

#

I love this idea, actually

#

So I get full control of my yaml thru the browser now

#

that's minty

wary dust
#

If I notice an error in the documentation, who should I tell?

mild veldt
#

@wary dust open a PR in the repo if you like

wary dust
#

I'll try, never done that before

mild veldt
#

great way to get your feet wet

wary dust
#

Does that look right @mild veldt ?

mild veldt
#

yes, unfortunately it was my error πŸ˜›

wary dust
#

Haha, sorry :p

#

Thanks for giving me an opportunity to do a PR

mild veldt
#

yeah, that was totally my intent

wary dust
#

bush-mission-accomplished.jpg

#

Did another one. I'm on fire!

faint gyro
#

hi all, does anybody know if there is a way in the lovelace UI in glance card for example to display a specific number of decimal places for sensor values, without having to edit the original sensor precision?

wary dust
#

That's a great question. I don' t know the answer though

mild veldt
#

@faint gyro no, you'll need to create a template sensor on the backend

limpid remnant
#

I've been testing lovelace, and have my ui-lovelace.yaml file. Now I'm on 0.84, and adding lovelace to the URL doesn't load the ui-love... any more. Docs say to add:

#

lovelace:

#

mode: yaml

#

but, to where? in configuration.yaml? if so, under frontend? I'm confused.

#

I'm well away yet from committing to "storage"

mild veldt
#

Just in configuration.yaml

limpid remnant
#

Thx, whilst waiting, I managed to copy my config info to lovelace storage. I presume I can delete the new 'lovelace' and 'core.restore_state" files and start over later when I'm ready?

fresh forum
mild veldt
#

@fresh forum check docs on panel in views

weary karma
#

@fresh forum I think we are trying to do similar things - grrr.... Im trying to do something simple:
cards:
- type: glance
title: house mode
show_header_toggle: false
column_width: calc(100% / 6)
entities:
- entity: input_boolean.ib_early_mode
- entity: input_boolean.ib_morning_mode
- entity: input_boolean.ib_daytime_mode
- entity: input_boolean.ib_evening_mode
- entity: input_boolean.ib_late_mode
- entity: input_boolean.ib_night_mode
and it gives me 5 input_bools on one line and the 6th on the second line

mild veldt
#

~share

kind shellBOT
weary karma
#

Im really hating lovelace

#

spent half a day on this and its really not doing what it says on the side of the packet

#

GRRRRRRRRRRRRRR....... so all well and good to make breaking changes but its no good if YOU DONT UPDATE THE MAN PAGES!!!!!

#

an obscure reference that has taken 6 hours and countless google searches and in the last 3 mins i find this!!!! "On Home Assistant update 0.81.0 the column_width variable has changed to columns So, for the example above, you would set the variable and the value as follow: columns: 3"

mild veldt
#

So not sure what your complaint is @weary karma

weary karma
#

I stand corrected

#

i do feel like an idiot sometimes doing this

#

🀐

deft grove
#

Hey lovely people, Is there a way to show an updating/loading/refreshing image while waiting for state change?
My smart lock takes 15-20s to update its status in HA once the service is called. I want to be able to show a loading gif/ at least a different icon after the service is called and we're waiting for a status update. Is that possible?

vapid field
#

I don't see anything in the logs, I get the old UI but the URL says /lovelace/default_view

rich snow
#

Hi, I have the same issue but upgraded from 0.82.X ..

vapid field
#

I've just figured it out after writing my last post 🀦 You need to add

lovelace:
mode: yaml

rich snow
#

Can't see any entities

vapid field
#

to your configuration.yaml

rich snow
#

That does not seem to fix my issue, it says "no entites" under state as well.

vapid field
#

Do you see any errors in your logs?

rich snow
#

No, there is no error at all.

#

And it says, 52 Loaded Components

#

Not sure why all the entities have disappeared after update.

lofty summit
#

anyone successfully using the storage mode with imported raw config? i can't edit most of my cards it just gets stuck in loading "card configuration"

foggy tendon
#

I tried to use the card-modder with an iframe card but i got 'unexpected error' in the frontend. Maybe it's not possible to use the card-modder with an iframe card?

polar kelp
#

Works for me. And that error looks quite unrelated to card-modder.

foggy tendon
#

And this is the card:

vital kernel
#

hi all - is there anyone available to point me to the best documentation on how to structure (aka tame) the grid system in lovelace? it seems like the cards on the grid have a life on their own.

split granite
#

It'll auto-flow unless you use a mix of horizontal and vertical stack to lock your chosen layout

polar kelp
#

@foggy tendon Your version number seems off... I'd guess you're running version bc9061 which had this bug. Try the latest one.

foggy tendon
#

@polar kelp Hmmm ok, but strange as i update it automatically with custom updater....

polar kelp
#

I believe that the best approach for most people is to let lovelace do its thing, and to keep the number of cards per view low, to get a simple overview.

#

But of course, different people have different needs.

foggy tendon
#

Just installed 0.84.2 and the map card is not anymore shown.
My card is:

          - type: map
            aspect_ratio: 100%
            entities:
              - device_tracker.s8_s8
              - device_tracker.fha_fha

And i see this in the frontend:
https://imgur.com/a/bXdxkSU
What happened?

polar kelp
#

There might still be a problem with aspect ratio. Try aspect_ratio: "1:1"

foggy tendon
#

@polar kelp Yes solved.. i disabled the aspect_ratio option... But everytime i open lovelace frontend i get the error regarding custom ui.... must i disable it?

polar kelp
#

No idea

foggy tendon
#

@polar kelp I tried again to add a card-modder to an iframe card:
https://hastebin.com/inayozepaj.pl
But nothing changed in the card and mor ei still get the same error about custom ui

polar kelp
#

That is not card-modding an iframe card. That's card-modding a stack - which has no modifiable content.

foggy tendon
#

@polar kelp hmmm... so how to mod the iframe card in that context?

polar kelp
#

By wrapping the iframe in card-modder, and not the stack.

#

But you'll never be able to mod the stuff in the ifram itself. Only the tiny tiny border and shadow around it.

foggy tendon
#

@polar kelp Yes, i'm studying CSS. Can you tell me how to change with CSS the font and the font color in that style i quoted?

polar kelp
#

The font and font color of what?

foggy tendon
#

Of the text i have in the cards

polar kelp
#

Text in the cards should work the way you did it. Text in the iframe is impossible to change, as I just explained. Think of the iframe as a picture.

foggy tendon
#

@polar kelp Yes, i was meaning text in other cards... but i cannot change the font and the font-color

#

what is preformatted text and what ti put in place of that

polar kelp
#

You need to find the correct variables for some cards. Like --primary-text-color for seting text color of headers. Try the chrome object inspector. That can give some aid.

#

Unfortunately some things are still unstylable with card-modder. There's incomplete support in browsers for some kinds of css variables.

foggy tendon
polar kelp
foggy tendon
#

I already tried with and without dashes for the three cards, but got always the same error... maybe that's not the culprit?

polar kelp
#

It's card, not cardS.

foggy tendon
#

Ah.... so i must add a card-modder for every iframe i have that?

#

@polar kelp Ok, solved.... 😬

vital kernel
#

i just noticed a weird behaviour on my fire tabled running fully kiosk browser. why does this code work in chrome everywhere but not in fully kiosk browser? https://www.hastebin.com/iyubuvumoy.css

tired quail
#

fire tablet has an outdated android webview that doesn't support some of the lovelace features

vital kernel
#

eww. that comes unexpected ^^

tired quail
#

yeah its kind of lame 😦

split granite
#

Not that I see you or somebody else post that daily

vital kernel
#

i never cared because it only came up with simple-thermostat, which is a custom component πŸ˜„

minor viper
#

So, first time to start using Lovelace... what to think about @split granite .. guide me in the dark cave like Gandalf guided Frodo!

naive tulip
#

anyone can help me to understand lovelace raw config editor

minor viper
#

j/k .. but will deffo have alot of questions coming along the way : )

split granite
#

Start by reading the docs, and the pins @minor viper πŸ˜‰

naive tulip
#

I'm getting crazy

#

not able to add a sensor card o map card

minor viper
#

@split granite excuse me what? i thought you we're going to hold my hand do everything for me : O

split granite
#

So, here's Mr Grenade. He'll be your friend. All you have to do is pull the pin and then hold him next to your ear while listening for the earth shattering kaboom...

undone egret
#

🍿

minor viper
#

Haha πŸ˜„

#

So, dumb question.. (one of the many) lovelace.yaml will be like my new "customisation.yaml combined with configuration.yaml" for ONLY frontend correct?

#

so i know what to focus on, and where

split granite
#

Ish

#

customize: still plays a role

#

Otherwise though, yes, it's the thing for configuring your frontend (sorry, no trees)

minor viper
#

for entities correct?

split granite
#

Well, yes, but that's the case for the current UI Too

#

HA is entity centric (mostly)

naive tulip
#

guys but when Im saving my lovelace config and then I will open with raw editor it will be writed in another format

#

i'm getting confused

split granite
#

Pick YAML or UI editing

minor viper
#

Ok, then i understand the whole idea of Lovelace UI πŸ˜ƒ Practicly you want to separate Configuration and Customization into a separate frontend file

naive tulip
#

@split granite how?

split granite
#

Yes, the aim is to allow the backend not to care about the frontend

minor viper
#

it's a great way to test out things without "breaking" your whole setup! so... great work! i

split granite
#

@naive tulip By making a decision to use one, or use the other?

minor viper
#

basicly becomes like a sandbox pretty much

split granite
#

One you can reload on the fly too

naive tulip
#

yaml

#

lovelace:
mode: yaml

#

like this right?

foggy tendon
#

Is custom UI still supported by lovelace?

split granite
#

@foggy tendon The question is does custom UI support Lovelace πŸ˜‰

minor viper
#

(i hate coding btw, hence why i decided to work as a DBA and a infrastructure) but now when i get the whole purpose of Lovelace i start to like it instantly!

foggy tendon
#

And how to disable custom ui?

#

@split granite I want to disable it but don't know how...

#

maybe deleteing customiza_glob.yaml is enough?

split granite
#

I know nothing about custom UI - have you tried reading the docs for it

foggy tendon
#

Yes, but nothing about disabling it....

naive tulip
#

@split granite I read it but I wanted to understand what's better Yaml or storage? on storage mode I'm gettinc crazy πŸ˜ƒ

split granite
#

Whatever you prefer

minor viper
#

Thx for explaining the questions i had Tinker! Made my life much easier πŸ˜ƒ

split granite
#

Better is very subjective @naive tulip - depends on whether you want to only use the GUI for editing, or hand edit

naive tulip
#

@split granite mixed mode? πŸ˜ƒ cause some things is better to do by hand like sensors or map card.. something can be managed from the UI without problem

split granite
#

Then please read the link I posted

open vine
#

hi there guys. as of the last update ui-lovelave.yaml seems not to be used anymore. its not in .storage/lovelace. My question is now how can you add custom cards to this file? also: any easy way to convert my ui-lovelace.yaml to the new filestructure?

naive tulip
open vine
#

ah thank you. so its not possible atm to use custom cards with the ui editor right?

minor viper
#

where is the storage/lovelace located then?

torpid musk
#

is there a way to aggregate historical data? for example power consumption, summed, grouped per day

minor viper
#

I'm using hassio in docker

#

checking under /usr/share/hassio and cant find anything with storage in there

#

only got lovelace.yaml on a fresh installed 0.84.1

naive tulip
#

@open vine idk I'm trying to understand it

open vine
#

@naive tulip okay πŸ˜„ kinda like the ui editor tbh

mild veldt
#

@open vine use the raw editor in the UI if you need to add custom cards

open vine
#

ahhh i see. ill try it

mild veldt
#

ideally that will get better as we evolve, but that's it for now

open vine
#

i really like it πŸ˜ƒ

static cloud
mild veldt
#

@minor viper it is a hidden folder .storage in your main config folder. You shouldn't need to touch it

#

path

naive tulip
#

@mild veldt ok it will be better but everytime I add some component to the UI after save they will be reformatted in another way

mild veldt
#

if you add it from the UI editor, yes, we parse and store it in json and it comes back out to yaml for editing in the preferred parse way. why does that matter?

minor viper
#

@mild veldt ty lad! i was just wondering if i did properly. Cause i used the Addon for Lovelace Migration. Then on the (!) i checked in "Use lovelace as my default UI" and it seems to be working as it should πŸ˜ƒ

#

that's like the most easiest way i could come up with πŸ˜ƒ

mild veldt
#

that addon shouldn't be needed anymore...I think?

static cloud
#

will check, thanks

minor viper
#

i dont know, but it worked like a charm for me atleast!

naive tulip
#

@mild veldt okay.. but how I can edit it?

minor viper
#

it auto created the ui-lovelace.yaml and i guess it used that one when i choose to use it as default through the Info page

naive tulip
#

for example if I need to add a sensor card

mild veldt
#

if you were to delete everything in .storage and ui-lovelace.yaml and reboot, you should be able to generate a default view from going to dev tools and selecting to try lovelace, for future reference

#

@naive tulip from your lovelace page, open the top right menu and select 'configure UI'

minor viper
#

i think it's running fine as it is right now actually, the frontend is loaded with lovelace ui, and it use the ui.yaml file as it should aswell

mild veldt
#

if will use the yaml file only if you have yaml mode set in your main configuration file

naive tulip
#

@mild veldt ok but when I select configure UI I can't add Map card or sensor card.. maybe I'm doing something wrong

mild veldt
#

what is your definition of 'cant'?

#

what are you presented with

#

there is not a ui editor for those yet, so you'll still need to enter yaml in the presented dialog

minor viper
#

cant see anywhere in the configuration.yaml that it should use lovelace tho

mild veldt
#

@minor viper did you select to 'take control' of your UI in lovelace?

#

if not, you're just looking at the default generated view

#

once you select take control you are then in storage mode

minor viper
#

didnt see any option of Take control in the UI

hallow spruce
#

If we use custom_updater... I assume we have to use the yaml lovelace?

wheat current
#

that is correct

#

almost

#

if you want it to report updates for cards you do

minor viper
#

So how do you properly setup Lovelace then?

mild veldt
#

@minor viper top right, select 'configure ui'

wheat current
#

carefully

hallow spruce
#

so I switched to the Storage method and it still did tell me there was a new card... I updated and the tracker card shows everything correctly. However, when I look at the Raw UI, it still has the ?v=OLDVER

winter hollow
#

update card can't update the config in storage

hallow spruce
#

if that's just an academic thing, then I won't worry about it

mild veldt
#

updater and storage do not work together, yet, right @wheat current ?

hallow spruce
#

right, but does it need to?

worthy kiln
#

to fix this lovelace issue (losing config after new update). I used the raw editor and did copy paste of my ui-lovelace.yaml there. Was easiest way to fix.

wheat current
#

Correct @mild veldt , and I will not make it work, Home Assistant should be the only system that controlls files there

hallow spruce
#

as long as the components are getting updated in /custom-components/ it should be ok?

restive flicker
#

Can someone point me to any docs on making lovelace my default?

mild veldt
#

@worthy kiln so you did what the release notes said to do?

minor viper
#

Yeah i've got the top right Select Configure UI, does that mean Lovelace is properly setup then?

worthy kiln
#

I could not find any release notes, still talking about lovelace 😦

mild veldt
#

they are on the main site

hallow spruce
#

@restive flicker go to "i" in the left pane

mild veldt
#

@minor viper actually select it

minor viper
#

i did πŸ˜ƒ

mild veldt
#

@wheat current πŸ‘

restive flicker
#

@hallow spruce .... that was easy πŸ˜ƒ Thanks

mild veldt
#

@minor viper and if you haven't set yaml mode in your config you are then in storage mode

minor viper
#

oh sweet, as it should be then πŸ˜ƒ

mild veldt
#

I think we need to update our FAQ...

#

I need to get back to my day job for now though

minor viper
#

i guess storage mode is the way to use it now then correct? i mean since 0.84.1

#

didnt use Lovelace before!

hallow spruce
#

@wheat current as long as the cutom_updater is actually updating the component files, does it matter if the versions sting is out of sync in the .storage/lovelace file?

wheat current
#

yes

hallow spruce
#

oh....

wheat current
#

that serves as a cache buster, so it does not serve an old file

hallow spruce
#

So I guess I'll go back to yaml management. I liked being able to make minor config tweaks with the in-GUI editor, but oh-well, I loves me my custom stuff more

mild veldt
#

you could still use ui editor, but you would have to do some work to update

#

if it was me, I would keep my old ui-lovelace around and just strip it down to my resources

#

and then when I run an update from the tracker card, just copy/paste the updated resources from ui-lovelace to my managed config in the raw editor in the ui

foggy tendon
winter hollow
#

Looks like there is no user

#

are you logged out? How did you login?

mild veldt
#

magic

split granite
#

Carefully

naive tulip
#

there is a way for sort what I see in the raw config editor, cause some time it display the things in the right order some time not

thorny verge
#

I asked a few months ago, but now that we are on a .84, is there any way to disable/suppress the toast notifications?
Pain in the butt for lovelace when using for a tv remote, and say volume is on bottom line, notificatin on top for a second.

mild veldt
#

@naive tulip what is your definition of "right"?

#

@thorny verge I still like the idea, but no, not yet

#

We've been pretty busy trying to get lovelace production ready

#

feature requests will be in the new year

#

🀞

thorny verge
#

Awesome, thanks. Love the work!

#

Is there a card length max?
I am trying to display group.all_automations, all_switches etc. using the custom group-card and it only draws so much then the browser window hangs.

naive tulip
#

@mild veldt as mentioned in the lovelace documentation.. For example I'm adding a map badge as described in thendocumentation.. After I save it and open again the rwa editor I see all the entities in another order

foggy tendon
#

@winter hollow As always... but after updating HA asked me to login and i logged as always

winter hollow
#

did you click the remember login in the right bottom?

foggy tendon
#

@winter hollow no, now how to logout and login again?

#

But i see i am logged as owner with my name

#

i restarted ha but always getting that error

#

but only with lovelace...

#

ok i logout then login again and saved the login...

#

what happens?

sinful flax
#

@brave badge Thank you for the commentary about sensors needing graph: line

#

How does one share the new UI Lovelance if it is edited via the online editor?

summer pasture
#

Using Lovelace config editor in 0.84.2. In the initial config, how are entities ordered on a entity card and how can I change the order in the editor? Is it possible?

foggy tendon
#

i don't anymore get the request to login with legacy API password. Why?

mild veldt
#

@sinful flax for a particular card you can Toggle Editor or for sharing your full config use Raw Config Editor found in the menu after enabling Configure UI

#

@summer pasture not through the UI editor alone. You'll need to Toggle Editor and do it in the yaml for now

sinful flax
#

@mild veldt any ability to share the file via git? or will it require copy & paste

mild veldt
#

copy/paste

#

The file in .storage is actually json now and system managed

#

If you want that, you'll need to enable yaml mode, and you won't be able to use the UI editor then

sinful flax
#

Thanks!

summer pasture
#

@mild veldt Got it. Thanks!

foggy tendon
#

Please help me... i get tons and tons of errors like i posted before.. is it an authentication error ? And if yes how to solve?

#

i always logged in with legacy API password, but now i don't get that type of so i enter my legacy credentials but it seems them are not valid anymore

#

if i login in local i get the request of API password but with duckdns not anymore

winter hollow
#

Why do you use legacy?

foggy tendon
#

i always used legacy since the beginnings

#

btw also in local i get the same errors

winter hollow
#

Then switch to the new auth system? I don't know what the issue is exactly, but I would try it πŸ˜ƒ

foggy tendon
#

i switched as it was the only system i am asked... but getting all those errrors

#

how to know the credentials of the new system?

#

maybe i lost username and password?

#

but i can enter the HA frontend

winter hollow
#

ctrl + f5

mild veldt
winter hollow
#

and ☝

foggy tendon
#

everytime i do a refresh i get this:
Error handling message: {'id': 4212, 'type': 'subscribe_events'}
18:21 components/websocket_api/commands.py (ERROR)
Error handling message: {'id': 4211, 'type': 'subscribe_events'}
18:21 components/websocket_api/commands.py (ERROR)

#

and the ID is growing every minute

#

Why i get this:
Login attempt or request with invalid authentication from 2.xx.xx.xxx. It's my IP address

mild veldt
#

@foggy tendon did you read through my link?

foggy tendon
#

Yes i read and still don't know why i get those errors... If you can explain me this i will understand

mild veldt
#

have you moved to the new auth setup?

#

removing legacy?

#

really, should just remove the full auth_providers section

pallid gazelle
#

Wondering...
Is there anyway to do templating (or show state of a sensor) in the Title of a Lovelace card?
I want my Lovelace Entity Card to have a dynamic name.

#

I had tried something like this...

cards:     
  - type: entities
    entities:
        - entity: sensor.road_condition_1_name_start
        - entity: sensor.road_condition_1_name_end
        - entity: sensor.road_condition_1_conditions
     show_header_toggle: false
     type: entities
     title: '{{ states.sensor.road_condition_1_name_start.state ~ " to " ~ states.sensor.road_condition_1_name_end.state }}'

(Spacing MAY be off a bit, that's just due to me bringing into here.)

#

But I'm guessing the title doesn't allow templating?

raven nacelle
#

no...title cannot be templatized

polar kelp
#

Nothing in lovelace can be templated.

marsh sentinel
#

where do hassio write the changes for lovelace if you edit via UI?

mortal cape
#

.storage

fleet condor
#

Hi, I've updated to 0.84.1 and I'm having trouble with lovelace. I'v 'uploaded' my configuration in the 'raw config editor' and got my interface back, but when I try to edit in the 'configure UI alpha) it says I have no IDs. When I click 'migrate config' I got a message with 'Migration failed: Unknown command.'
EDIT: OK got it. had to delete the original ui-lovelace.yaml and restart HA.

#

any hints on how to solve this?

pallid gazelle
#

@raven nacelle @polar kelp Thank you.

pallid needle
#

Can anyone provide me with a tap action example that uses the toggle action for the new lovelace format?

#

I'm having trouble getting it to work

#
  - entity: light.mudroom_lights
  - entity: switch.driveway_lights
  - entity: switch.deck_lights
    tap_action:
      - action: toggle
title: Mudroom
type: glance```
#

I tried also just ```entities:

  • entity: light.mudroom_lights
  • entity: switch.driveway_lights
  • entity: switch.deck_lights
    tap_action:
    action: toggle
    title: Mudroom
    type: glance```
#

Both provide similar errors Expected a value of type `{entity,name,icon} | entity-id` for `entities.2.tap_action` but received `[{"action":"toggle"}]`.

#

Expected a value of type `{entity,name,icon} | entity-id` for `entities.2.tap_action` but received `[{"action":"toggle"}]`.

#

well identical errors

polar kelp
#

The second one shouldn't have square brackets in the error... Are you sure they're identical?

pallid needle
#

let me check again

polar kelp
#

Anyway, that error code comes from the UI editor... I think things should still work, just not be editable...?

#

I haven't played around with it yet

pallid needle
#

Oh my god, I just figured it out

#

ok so I had the first config saved

#

usually when you edit the config it validates right away

#

however changing - action to action doesn't trigger a validation

#

so the error stays there

#

the latter is actually valid

#

saving the config without the - the action works as expected

#

@polar kelp thanks for pointing that out, that's what made me thing to save it and reload with the other config, I thought it was validating on the fly like with other edits

#

it gives this error: Your config is not supported by the UI editor: Expected a value of type `{entity,name,icon} | entity-id` for `entities.1.tap_action` but received `{"action":"toggle"}`. Falling back to YAML editor.

#

but seems to work

feral nymph
#

Hi guys. Just now switching over to Lovelace based on the intent to make it the default UI soon. I am having some weird glitches. Running 0.84 and using two custom cards (Darksky custom and the group card by ciotlosm). https://imgur.com/a/Xufz8M1

#

The UI seems to reload itself and it will scroll back to the top and cause certain text to move. Any ideas why? Not familiar enough with how Lovelace works to troubleshoot.

small gyro
#

Hey guys - just messed up - managed to use the new editor UI, and cleared the ui-lovelace part. Now, when I load lovelace, it throws up an exception. How can i get back to editing the file again? I merged into the memory version, and not the yaml file anymore

#

I can't get back to the raw config editor 😦

feral nymph
small gyro
#

Thought has crossed my mind - but would ideally just want to find the .storage part to change it back to a valid version again.

feral nymph
#

I'm still trying to figure out how to switch between the different modes "auto-generated, storage, and yaml". Can't find any documentation

small gyro
#

I found .storage but doesn't seem to help to edit lovelace file in there

static cloud
#

how is it possible to create a lovelace page and have it hidden on the menubar? It would still be accessable from entering the url directly or create a menu item on sidebar.

small gyro
#

@feral nymph I would think you could use the approach you had in your link to run STORAGE mode or AUTO as well?

#

@feral nymph back in lovelace now, will stick to YAML file for a while πŸ˜ƒ

feral nymph
#

@small gyro yeah I am also going to stick with the yaml mode for awhile as well. It is a pain to use the UI editor for anything else other than the most simple additions/edits.

ornate pollen
#

did anybody managed to make 3 light cards in a horizontal stack looking good on mobile also ?

#

top: desktop, bottom: mobile

smoky peak
#

Does anyone know if you can change the time span of the built in graphs in the UI to more (or less) than 24 hours?

feral nymph
#

Is anyone a pro at using Picture Elements? I have panel: true but it does not scale my floorplan correctly.

mild veldt
#

Icons move around?

tidal flume
#

I have an odd issue, I think I should correct before upgrading to 0.84... I removed some some sensors I no longer need from my configuration.yaml and my ui-lovelace.yaml. Yet, the card still shows up and reads: "Entity not available: sensor.den_temperature." Multiple reboots and it's still there.

mild veldt
#

Clear your cache as well

tidal flume
#

Yeah, I did. And had issues with multiple browsers.

#

But I just solved it. Looks like it was a cache issue, just not browser related.

#

VSCode must have not been communicating as I just opened it up again and the lovelace entry was there again. I have been having some issues with using the hostname with samba lately. Must have been that.

#

Thanks though.

summer pasture
#

Can you template items in lovelace cards? Like the URL of an image in a picture card?

feral nymph
#

When using "panel: true" is there anyway to limit the height? My vertical floorplan does not display well on a horizontal screen currently.

marsh forum
#

Is it expected that the UI Editor is not aware of the entity type divider?

#

Your config is not supported by the UI editor:
Expected a value of type {entity,name,icon} | entity-id for entities.2.type but received "divider".
Falling back to YAML editor.

short willow
#

Really n00bish question... How do I set the size of a picture-elements icon please?

mild veldt
#

@summer pasture no

#

@feral nymph change your image

tiny trellis
#

So yesterday I had to restart a fresh copy of hassio...I cannot get my custom cards to show up. I have cleared my cache but still getting an error. Error says it cannot find my .js file. Any ideas?

mild veldt
#

@marsh forum quite possible

feral nymph
#

@short willow using "width: XX%"

mild veldt
#

@short willow css in the style field

#

@tiny trellis do you have the source files after doing your fresh install?

feral nymph
#
style:
   top: 20.3%
    left: 29.0%
    width: 57.5%
#

something like that @short willow

tiny trellis
#

Yes. Placed then in the www folder and subfolders as needed

feral nymph
#

@mild veldt Change my image? Shouldnt there be someway to scale the card with CSS?

#

Meaning impose a maximum height

short willow
#

They are just placeholders right now, but want them to be double that size. I'll try a bigger width:

#

Nope, tried 5%, 10%, 50%, 75%, 150%. Icon stays the same size, just moves to the left

feral nymph
#

@short willow Sorry, if it is an icon then there are different parameters

--iron-icon-fill-color: "#11AB7D"
--iron-icon-height: 40px
--iron-icon-width: 40px
#

i think

short willow
#

Ah nice, thanks

#

Yeah, and as you can guess, fill-colour will come in once my parts get here from sunny China

#

Perfect, thanks @feral nymph

mild veldt
#

@feral nymph you could use the custom card-modder

atomic glacier
#

In preparing to upgrade I managed to break my favorite custom cards that were working fine. Is it possible to delete a custom card, .js files and resource info and basically reinstall the card?

tiny trellis
#

tried clearing everything on all the browsers still get the error for custom cards

#

custom element doesn't exist :slider-entity-row

mild veldt
#

@atomic glacier if you added files then of course you can remove them...?

#

are you sure the path and file name match what you have defined in resources?

#

@tiny trellis

atomic glacier
#

I wasn't sure if those would affect the version #'s when I reinstall them.

mild veldt
#

I don't follow

brittle ingot
#

is there any way to group entities so they don't have a border?

#

eg. light or entity-buttons

mild veldt
#

If you make changes to a custom card file, you should increment the version number or clear your cache to get the change reflected

#

@brittle ingot ui is card based

#

you could try using card-modder

brittle ingot
#

@mild veldt do you have a link to card-modder handy?

atomic glacier
#

but if I delete and then reinstall does that apply? or can I just use the version they are on when I remove & then reinstall? I'll give it a try. Thanks!

mild veldt
tiny trellis
#

@mild veldt I am giving up on it for the night was a waste of two hours trying to get it to work. Will try again tomorrow sometime

brittle ingot
#

@tiny trellis I was just having that issue

#

turned out I downloaded the js files wrong from github

#

they were more like html pages rather than the true js file

#

clone/download to a zip and then move it over to your hassio or use the cli and wget

tiny trellis
#

@quasi mist I went as far as copying the text from the js files

brittle ingot
#

yeah I did that as well but the underlying file was still corrupt

#

when I downloaded a zip from github and moved it over without touching the files it worked

gray marsh
#

Hey. Home someone can help out. Frontend doesn't seem to be loading. I get "Unable to connect to Home Assistant" when I try to go to home assistant but Ariela (an app for home assistant) works and I can control my devices from that. I am also able to connect to Cloud 9 hosted through hassio. Any ideas?

#

Nothing in home assistant.log other than an error about influxdb

brittle ingot
#

@gray marsh did you figure out your issue? If not does the error continue through reboot cycles?

timid burrow
#

does anyone here use geo location events? I have added these to a card but it only lists the group (I added that as the entity since the entity id's are not static/fixed) and I just get one line with the group... can click on that and it shows the entities but the docs seem to show the individyual entities on the main card??