#frontend-archived

1 messages ยท Page 71 of 1

raven nacelle
#

Alignment is fixed...there is some extra space around still (nothing major)

wheat current
#

Where? โš’

raven nacelle
#

If you inspect the entities, there is an additional div element

subtle rune
#

I really really want to use the circle card and the gauge card for something but I really cant figure out what. What do you guys use it for?

wheat current
#

Yeah, if I removed that the elements went everywhere :/

raven nacelle
#

can we remove the padding around it?

wheat current
#

remove no ,reduce sure ๐Ÿ˜ƒ

raven nacelle
#

yeah...I meant reduce

#

also, I think the units are removed. Shouldn't it say 37 min?

wheat current
#

๐Ÿคท

#

They are no removed, I never added it :P
Should it be there?

raven nacelle
#

The second one is the default entity

wheat current
raven nacelle
#

brb

subtle rune
#

The gauge card doesnt work well with counter ๐Ÿ˜ฆ I have "1 undefined" since it doesnt have a unit of measurement I guess.
Edit: Fixed in the card and made pr ๐Ÿ˜ƒ

wheat current
#

@raven nacelle You can run the script again ๐Ÿ˜‰

simple jolt
#

Really want to run Lovelace on my fire HD 8 wall tablet but find it super slow. The interface is barely responsive. What hardware do you guys use to run Lovelace smoothly. Have no issues on either my phone or Mac.

faint echo
#

@simple jolt I am running it on a FireHD 7 with no lag issues. Running inside of Fully browser. Interesting that you are seeing an issue on the HD8

buoyant skiff
#

what browser are you using ?

#

cause that makes a world of differance

simple jolt
#

@faint echo Iโ€™m also trying to run on fully but itโ€™s telling me that my web view is outdated.

faint echo
#

yeah I get that too but ignore it for now

buoyant skiff
#

err

#

so ignore updates that fixes web compability

#

seems logicial

simple jolt
#

@buoyant skiff not even sure how to upgrade. Searched google and no one to upgrade from web view 59.

buoyant skiff
#

so lets begin with the basics its an android right ?

#

what version of android is it running in that case ?

simple jolt
#

Still really strange that Iโ€™m encountering these issues. I tried on fully, chrome and wallpanel. While the normal front end is somewhat manageable using lovelace was brutal.

#

@buoyant skiff Iโ€™m running the latest system update from amazon. Only issue is maybe because I added play store to the tablet.

buoyant skiff
#

of you only need to update webview

#

you can grab that package from apk mirror

raven nacelle
wheat current
#

Refresh / clear browser?

raven nacelle
#

I can see the entities (no unit still)

#

may be the errors are from before the refresh

simple jolt
#

Cleared both system cache and app cache which did not help. I believe I downloaded the latest version from the play store but I will try app mirror.

#

Was really hoping to get Lovelace on the wall tablet.

#

Does give me hope that other people are not experiencing these issues.

mild veldt
#

when in doubt, blame Amazon

wheat current
#

@raven nacelle try to bump the version number one more time

raven nacelle
#

Did you push any updates? I am not seeing any changes

raven nacelle
#

I already have that version. I think there is a typo there unit_of_meassurement

#

which is why it is not working

wheat current
#

๐Ÿคฆ

raven nacelle
wheat current
#

ffs ๐Ÿ˜›

prime umbra
#

@wheat current anyway you could build a aftership componente for tracking packages from many delivery companies
based on something like this https://github.com/tr1plus/ha-aftership
its working on lovelace but it seems needs some working on centering stuff in tables etc...

wheat current
#

Should be possible, I'll add it to "the list" ๐Ÿ˜›

empty heath
#

How's "the list" looking these days, anyhow? ๐Ÿ˜‰

#

@prime umbra Are you wanting a custom card for Lovelace, or a custom component?

half osprey
#

0.76.0b5 no longer requires Safari to configure the frontend to serve the latest version

prime umbra
#

custom component probably would be better?

wheat current
empty heath
#

@half osprey Wrong channel?

#

@wheat current Wow, that's like 7,285 items shorter than my list!

polar kelp
sudden lion
#

@empty heath Now that he showed his... its time that you show yours ๐Ÿ˜‰

empty heath
#

@polar kelp Any considerations in trying to get that added as a core card?

#

@sudden lion I honestly don't have a cold list -- which is why I often forget about things I need to do. But there are literally hundreds of items on the todo list in my head.

polar kelp
#

Maybe. I feel like it should be tested a bit more first.

empty heath
wheat current
#

If he chooses to push there he is most welcome to :)
I will not force anyone to do so
@polar kelp you should have recieved an invite now ๐Ÿ˜ƒ

buoyant skiff
#

the aftership api is something ive been looking at

#

fairly simple to do a component for that

wheat current
#

That is correct :)
Was the first I looked at ๐Ÿ˜›

buoyant skiff
#

free account also supports loads of shippers

#

both us and eu

#

still kinda amazed that noone has done one

wheat current
#

give me 24h ๐Ÿ˜‰

buoyant skiff
#

hehe make sure that the documentation isnt ๐Ÿ’ฉ

#

๐Ÿ˜›

wheat current
#

Then someone else have to write that part ๐Ÿ˜‚

buoyant skiff
#

๐Ÿ’ฏ

empty heath
#

@polar kelp For the slider, I assumed it would work with input_number(type=slider), but I was mistaken. I like the way it looks, and would be great to use for input_number also!

half osprey
buoyant skiff
#

balloob any chance of having the shadow dom support word breaking ?

half osprey
#

Shadow DOM is just encapsulation of CSS

#

It's still the same CSS as "normal" DOM

buoyant skiff
#

tried throwing all tricks in the book today on breaking up a long line with css

#

defined max-width

#

i can get it to cut

#

but i cant get it to print on new line

half osprey
#

default behavior is to print on new line

#

unless word is too long to even contain in the width

#

which probably only happens in German

buoyant skiff
#
Todays weather is {{ states.weather.yweather.state }} with a temperature of {{ states.weather.yweather.attributes.temperature }}โ„ƒ and the current weather alerts is {{ states('sensor.outside_alerts') }} and the forecast for tomorrow is {{ states.weather.yweather.attributes.forecast[0]['condition'] }} with temperatures ranging from {{ states.weather.yweather.attributes.forecast[0]['templow'] }} to {{ states.weather.yweather.attributes.forecast[0]['temperature'] }}โ„ƒ.
#

thats what im trying to do

#

want it in the middle of a picture element

#

but all it does so far when i add that template sensor is one long line

#

that doesnt break

half osprey
#

did you set display: block ?

buoyant skiff
#

yepp

#

ran thru em all

half osprey
#

made sure that you didn't have white-space: nowrap on it?

buoyant skiff
#

whitespace

#

yeah tried with and without just to make sure

#

even tried none on white-space

#

pre also

#

found it kinda odd since i could cut messages without issue

half osprey
#

does not contain white-space ?

#

oh interesting, state label contains an internal element that has white-space: nowrap

#

(you could have seen this in the Chrome dev tools)

buoyant skiff
#

using ff ๐Ÿ˜›

#

on popos

#

but again changed white-space too and that didnt help

half osprey
#

FF dev tools would also have shown it

#

yeah because the element inside the state label element has whitespace nowrap on it

buoyant skiff
#

so bug ? is that what your saying here ?

half osprey
#

No

#

state labels are not meant to contain long text that needs to be wrapped

buoyant skiff
#

so the solution then would be a custom_card ?

#

or can state label have an option for whitespace?

#

since that one comes without anything attatched to it

#

but really wanted to do the greeter card with vanilla stuff

#

and not alot of custom cards

#

anyways tnx for the pointers @half osprey

bronze plover
#

@polar kelp Thanks for the custom card! useful-markdown
Is there anyway to center the text from a sensor? Tried with paragraph center align but didn't work

glossy birch
#

@buoyant skiff ok - just got home, and able to try it my end.. you may want to try this ```
{% set message = "Todays weather is " ~ states.weather.yweather.state ~ " with a temperature of " ~ states.weather.yweather.attributes.temperature ~ "โ„ƒ and the current weather alerts is " ~ states('sensor.outside_alerts') ~ " and the forecast for tomorrow is " ~ states.weather.yweather.attributes.forecast[0]['condition'] ~ " with temperatures ranging from " ~ states.weather.yweather.attributes.forecast[0]['templow'] ~ " to " ~ states.weather.yweather.attributes.forecast[0]['temperature'] ~"โ„ƒ. " %}

{%- for item in (message | wordwrap(32, true, "|")).split("|") %}
{{item}}
{%- endfor %}

azure scarab
#

Hey is there a way to force width and height in an iframe?

mild veldt
#

@azure scarab you can specify the ratio, but cards are typically a set width

#

putting it in a view with panel: true will take up the full width of the screen however

#

there are some other tricks to get some what customized widths as well. what are you trying to do?

azure scarab
#

they have a mobile site but I just get a white box when I try it

#

was thinking maybe it was a width thing?

mild veldt
#

check the console

#

they probably don't allow it to be in an iframe

#

you could get around that using nginx proxy

#

confirmed Refused to display 'https://to-do.microsoft.com/en-us' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

azure scarab
#

Weird is that under the dev info?

#

I don't see that on mine

#

or the log?

mild veldt
#

no, just the browser's console

azure scarab
#

ohhhhh

#

so sorry my ignorance, what does sameorigin mean?

mild veldt
#

It just means that microsoft has disabled the site from being rendered in an iframe

azure scarab
#

ah got it. is nginx proxy hard to configure or would I be better off finding a different solution

mild veldt
#

I've never tried, have just heard that it is possible

#

might help...?

azure scarab
#

Hey thanks! I appreciate the your help! I may just try remember the milk

#

Oh sweet maybe I could setup my own reverse proxy in IIS

mild veldt
#

then you can render the data however want and use it in automations, etc

azure scarab
#

So what I'm trying to do , is display todo like on my fridge or something so i can add/mark off tasks

#

that would be sweet to make a component though, might be a little high level for me.

mild veldt
#

i hear ya, i'm just getting into components having added some quick things to other's components here and there. but am now trying to do my first on my own

#

is microsoft to-do a requirement? there is todoist integration already

azure scarab
#

MS to-do just has a nice interface in windows/android

#

but maybe If HA had somethign better I would just switch over

#

Slash I just realized, I kinda want something that works with alexa too

#

What is the builtin one?

buoyant skiff
#

morning

polar kelp
#

@bronze plover It's still limited to the markdown processing of the normal markdown card, which I haven't played around with. Perhaps you could try using html? Some markdown processors allow that.

bronze plover
#

will try

#

sensor can be wrapped in HTML?

polar kelp
#

@empty heath I'll see what I can do about the input_number

#

Maybe. I don't know how lovelace handles html.

bronze plover
#

Ok Cool

polar kelp
#

All my card does is take the input, replace the stuff between [[ ]] and pass it on to a normal markdown card

bronze plover
#

Not a deal breaker, Love the card! ๐Ÿฅ‚

polar kelp
#

Glad to hear it!

polar kelp
#

@empty heath Doesn't input_number get a slider by default?

buoyant skiff
#

@polar kelp if i use a template sensor and the useful markdown card can i add the markdown in the template sensor ?

#

thinking of using it for the greeter card for the weather that im messing around with

#

and please say that it hasnt got white-space: nowrap

#

like state-label

buoyant skiff
#

nwm see how it works now

dense roost
#

So custom cards cannot be placed into a picture elements card correct?

#

Being able to use userful-markdown-card on a picture elements would be awesome

buoyant skiff
#

some can and some cant

wheat current
#

I have not encoutered a single card that I could not use in picture-elements (including userful-markdown-card)

polar kelp
#

@buoyant skiff huh? Why not just put the text you want in a template sensor directly? Or what are you trying to achieve?

#

Oh, you want the sensor value to contain markdown? That should work.

buoyant skiff
#

again i didnt look before asking got everything i need

#
  Today's weather is [[ states.weather.yweather.state ]] with a temperature of [[ states.weather.yweather.attributes.temperature ]]โ„ƒ and the current weather alerts is [[ states('sensor.outside_alerts') ]] and the forecast for tomorrow is [[ states.weather.yweather.attributes.forecast[0]['condition'] ]] with temperatures ranging from [[ states.weather.yweather.attributes.forecast[0]['templow'] ]] to [[ states.weather.yweather.attributes.forecast[0]['temperature'] ]]โ„ƒ and the sunrise will occur at [[ as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom('%H:%M') ]] and the sun will set at [[ as_timestamp(states.sun.sun.attributes.next_setting) | timestamp_custom('%H:%M') ]]
#

"should work"

#

yeah that only broke the ui

#

so using that inside picture elements doesnt work

buoyant skiff
polar kelp
#

@bronze plover I actually tried it now, and <center> [[ sensor.my_sensor ]] </center> works.

buoyant skiff
#

neat part is the sun actually goes down on that icon

#

๐Ÿ˜›

remote rivet
#

Hello, Could entity_filter card be used to show all entities that don't match a specific state. For example I want to set a state_filter: not_state: 'off'? Or should I look at the monster card for this? Cheers

Edit: nm, just found the new conditional card!!

grand veldt
#

When I have a light in a entities-card the lights turn yellow (or whatever color) when I turn it on, but if I have another icon it won't do that. Is it possible to make other icons do the same?

prime umbra
#

@wheat current wow that was fast :)
must go test !!!

split granite
#

I've noticed @grand veldt that if you over-ride the icon in the card definition the colour won't change

grand veldt
#

@split granite Yeah that's what I'm doing. No problem really, but would be a nice feature to have ๐Ÿ˜ƒ

mild veldt
#

@grand veldt I imagine that will be one of those things that is ironed out soon as the team squashes bugs and edge cases

prime umbra
#

@wheat current
https://imgur.com/a/lYeCt0e
how could we see not the sensor but the list of packages in the card
any specific card for it?

wheat current
#

You need a card that extract attributes for that

prime umbra
#

any specific card in this case i was using the type: entities

wheat current
#

I'll crate one spesific for this later today ๐Ÿ˜‰

prime umbra
#

you the man look awsome!!!!

wicked bobcat
#

Is it possible to change the icon colour with lovelace?

buoyant skiff
#

@wicked bobcat change based on state

#

or just change ?

#

waits on jchasey to actually respond

subtle rune
#

There is an aftership card

wicked bobcat
#

based on state

buoyant skiff
#

icon_templating should still work

wicked bobcat
#

so change to a custom icon that is of a different colour?

prime umbra
#

@wheat current wasnt able to make aftership component show in custom updater list

mild veldt
#

@buoyant skiff I didn't know you could set color in icon_template, I thought it was just the icon itself

wheat current
#

@subtle rune I'll try to change the component so that card can be used ๐Ÿ˜ƒ no promisses
@prime umbra I have to look into that ๐Ÿ˜ƒ

subtle rune
#

@wheat current I'm using someone elses component I think. Didnt know you had one too

wheat current
#

I didn't, made one earlier today, could not find one online :/

subtle rune
#

๐Ÿ˜ฆ

wheat current
#

That is not a compoent ๐Ÿ˜ƒ

prime umbra
#

@subtle rune that card needs some rework isnt align etc..
maybe @wheat current can come up with something more fancy lol

wheat current
#

it uses a rest sensor, which give you A LOT of attributes :/

subtle rune
#

Aaah, you're right

#

Im stupid, sorry ๐Ÿ˜„

wheat current
#

I prefer having as little attributes as possible (but still having it do the job) ๐Ÿ˜ƒ

subtle rune
#

True!

#

Will change to your component

wheat current
#

dont do it (yet), it does not work with that card

subtle rune
#

I don't have any packages on the way right now anyway ๐Ÿ˜„

mild veldt
#

is aftership that commonly used in europe? or is there a way for a consumer to add their packages that are enroute to aftership?

subtle rune
#

I just tried it out and I had to add manually

wheat current
#

I use aftership to track all my deliveries (norway)

subtle rune
#

BUT it still has status pending, and I have gotten it already :/

dense roost
#

@buoyant skiff wait how did you get that background image and the transparent darker background behind the useful markdown card?

wheat current
#

--paper-card-background-color:

#

i guess ๐Ÿ˜›

prime umbra
#

@mild veldt you add the tracking numbers of your packages to aftership and will track for you
they have many many companys of deliver associate in aftership

wheat current
#

@subtle rune I needed to add the couriers i use in to my account before it could track it

#

before that it showed "pending"

buoyant skiff
#

@dense roost

#
              -webkit-text-stroke: 0.1px rgb(47, 49, 49, 0.6)
              text-shadow: 0.09px 0.14px 1.5px rgb(47, 49, 49)
              background-color: rgb(54, 65, 78, 0.6)
              display: block
              z-index: 1
              text-align: justify
              text-align-last: center
              border-radius: 5px
#

thats what i used

#

image has z-index: 0

#

and i used @wheat current card
- type: custom:state-element

#

that did the trick i wanted

#

since the markdown card didnt work inside picture elements

wheat current
#

it do work in picture elements

buoyant skiff
#

show me your yaml then

buoyant skiff
#

cool didnt work for me in ff

#

just caused it to break the ui

wheat current
#

well f*** ff ๐Ÿ˜‚

buoyant skiff
#

im good as is but atleast i have a snipplet to try out

#

dont wanna run chrome

#

plus this does what i want it to do so it all works out

wheat current
#

@subtle rune Looked at the card source, I will not change the component for it, it have to much levels of attributes that I will not be comfortable releasing it :/

#

@prime umbra aftership now shows in the updater

prime umbra
#

Yep confirmed its there, thanks ๐Ÿ˜ƒ

dense roost
#

@buoyant skiff oh boy I need to check it out. there should be a place where everyone submits their custom cards, imagine like a repository, where all the custom cards can roam free for everyone to see... Imagine.

buoyant skiff
#

.sharethelove

kind shellBOT
wheat current
buoyant skiff
#

pretty much is

half osprey
wheat current
#

@buoyant skiff Looks like you can use hass.user.name in a greater card ๐Ÿ˜„

buoyant skiff
#

hmm ?

#

how do u set the username ?

wheat current
#

auth:

buoyant skiff
#

ahh havent used auth

#

but nice to know

wheat current
#

yep, that works ๐Ÿ˜„

dense roost
#

@wheat current ... That will do. An official repo or store, or a link to that repo for New comers would be beneficial

wheat current
#

There is nothing official about custom ๐Ÿ˜›

buoyant skiff
#

the closest we got to easy installer is the custom tracker

#

custom updater

wheat current
#

not yet, but soon โ„ข

buoyant skiff
#

just hoping that more devs add their stuff to the tracker

wheat current
dense roost
#

@wheat current so you're saying it's officially not officially custom?

wheat current
#

error does not compute

dense roost
#

It's official we have a winner

#

@half osprey I can't find documentation on passing configuration variables into the custom card when calling it in the ui-lovelace interface. To allow changing things like css in the custom card just file. Is there somewhere I should look to learn more about that?

wheat current
buoyant skiff
#

is there an option to hide unwanted components and cards ?

wheat current
#

By default it only show the components/cards you have installed ๐Ÿ˜‰

#

(that it can track)

half osprey
#

@dense roost not sure what you mean, setConfig is how configuration is passed to a custom card

buoyant skiff
#

@half osprey tnx for the info yesterday my card is now perfect

wheat current
buoyant skiff
half osprey
#

nice

buoyant skiff
#

so now i just need to fill it with more info

wheat current
#

Your home "town" @buoyant skiff ? ๐Ÿ˜›

dense roost
#

@wheat current ah that seems like a pretty clear example of it there, though I thought I tried that format and got an error but I'll give it another try. Thanks!

buoyant skiff
#

@wheat current nope gave up on that using unsplash

wheat current
#

@dense roost The config part of that example works like it should, I just could not figure out how @buoyant skiff wanted the CSS part :P
but overriding the default CSS with config variables worked ๐Ÿ˜ƒ

polar kelp
#

Oh! I missed getCardSize in useful-markdown!

dense roost
#

@wheat current excellent!

#

I'm hopeful then

buoyant skiff
#

well for once ludeeus minimal approach to js worked out perfectly

#

that way i can maximize on my css

wheat current
#

if there is no elements in the "card" you can fully customize it with style: ๐Ÿ˜ƒ

polar kelp
#

You should give Polymer.Element a try, Ludeeus.

#

It's kind of fun to work with, and really clean

wheat current
#

Hmmm... thanks :D
I'll have a look at it ๐Ÿ˜ƒ

buoyant skiff
#

@wheat current is it possible to have multiple auth ?

bronze plover
#

@polar kelp Thanks I didn't even try <center> Was going down the whole Paragraph way ๐Ÿค”

buoyant skiff
#

if you can use style:

#

you can use text-align: center

wheat current
#

@buoyant skiff yes, but off topic here ๐Ÿ˜‰

buoyant skiff
#

not really cause remember that @subtle rune was wondering about multple users for the greeter card to have it display individual info

#

with a little jinja magic its possible

#

all that it requiers is the user setting up auth

#

for 2 users

#

jinja magic

#

and tada user info

wheat current
#

I don't think there is a limit, and jinja will not help

buoyant skiff
#

template sensor

wheat current
#

nope

buoyant skiff
#

ffs yes

wheat current
#

good luck with that

buoyant skiff
#

i sure as feek can from a sensor

wheat current
#

the hass.user object are available in the browser session, not accessable by templates.
You need a custom card for that.

#

That is client side info, and templates are server side

buoyant skiff
#

so all i need is a bridge like a cookie or something

#

that saves that info

wheat current
#

I have an idea

polar kelp
#

How would that work with multiple concurent users?

buoyant skiff
#

thats a good question need someway to assign session towards user

polar kelp
#

I could look at adding hass.user to useful-markdown, perhaps...

#

Not right now, though. Now is weekend ๐Ÿบ

wheat current
#

@buoyant skiff add this in /www/username-element.js

class UsernameElement extends HTMLElement {
  set hass(hass) {this.innerHTML = hass.user.name;}
  getCardSize() {return 1;}
  setConfig(config) {}
}
customElements.define('username-element', UsernameElement);
buoyant skiff
#

doesnt that requier auth to be setup ?

wheat current
#

this under resources:

  - url: /local/username-element.js?v001
    type: js

and this under a picture-elements card:

          - type: custom:username-element
            style:
              top: 50%
              left: 50%
#

@buoyant skiff yes

#

It will show the logged in user

buoyant skiff
#

need to set that up

#

neat

#

will save for later

wheat current
buoyant skiff
#

but hass cant read it right ?

wheat current
#

to be used in a template no, maybe if you are the only user

buoyant skiff
#

thats something you should aim for a way to save name and session so that templating can be used

#

if there are multiple users

wheat current
#

yeah no, that logic belong in a card/element

#

Use the example I provided over โ˜

buoyant skiff
#

still rather setup so that we can do indivudal card based on user

#

anyways time for a break got a gnarly headache

subtle rune
#

Shouldn't you be able to grab device in the same way that @north spear did with the home-setter card? But that requires js of course

polar kelp
#

I still donโ€™t ger why.

mortal cape
#

@buoyant skiff your weather card had me wondering about using google image search for weather terms like "light rain", "cloudy", "clear sky" etc for use as backdrop images. It was working out until I entered "heavy rain" and the first results are from the video game

#

But I guess that could be entertaining.

#

adding "weather" helps

azure scarab
#

Hey guys, any advice on what size to set my floor plan card to for lovelace?

split granite
#

Make it an SVG, then it doesn't matter

#

Otherwise, no smaller than the resolution you're planning on displaying it at

azure scarab
#

oh really? Sorry I don't know much about graphic design, why svg?

split granite
glossy birch
#

@azure scarab best size would be Kim Kardashian's size. ```css
#kim-kardashian {
padding-bottom: 9999px;
}

split granite
#

It's a vector @azure scarab - whereas a JPG or whatever is a bitmap

#

You can scale a vector up or down without issue, not so much with bitmaps

#

See the Wiki link for an example

azure scarab
#

@glossy birch hahaha best answer ever

#

but also nasty

#

lol

#

@split granite so does ha adjust the vector size?

split granite
#

Your browser does

azure scarab
#

ohh i didn;t know that, I had SVG setup for floor plan

#

so that makes sense

split granite
#

You can use the same image, I did

azure scarab
#

haha I wish I could agree, my floor plan looks like ish

#

plus I wanted to make a new one for just my master bedroom so I need to make a new one for that

#

So what about my light images? same thing? make them svg?

split granite
#

SVG scales smoothly, JPG/PNG doesn't

azure scarab
#

ah ok got it. Thanks man you always have the right answers

#

is inkscape the best?

split granite
#

Best is always subjective

#

Try it, see if it works for you

azure scarab
#

true

#

I've also got photoshop I could try

#

graphic design is not my thing

split granite
#

I used Inkscape, traced a scan of the house floorplan and "filled in" the walls as one layer. Then I've built the other information on other layers on top

azure scarab
#

Hmm that's sweet. What do you mean by other information? Do you just design it all in inkscape and then export the individual objects?

split granite
#

For HA Floorplan I've created layers with the sensors, and other information, to make it easier to work with

azure scarab
#

Yeah, sorry talking about the new lovelace cards

split granite
#

Still makes it easier to work with the "fixed" components on it

#

Then you add the dynamic features in Lovelace, but also using SVG

azure scarab
#

Got it

#

That's a good idea

#

any good places to get like stock card photos?

buoyant skiff
#

@glossy birch tnx for the jinja magic yesterday, found the reason it didnt work though talked to balloob and state-label used nowrap on white-space but i learned more jinja when looking at that one

#

@azure scarab unsplash

azure scarab
#

@buoyant skiff hey thanks this looks dope

buoyant skiff
#

just remember that if you wanna reuse em by publishing there is a license

#

the unsplash license

#

author has to be credited etc

azure scarab
#

what do yo mean by publishing? IT looks like you don't need to credit the author?

buoyant skiff
#

you do if you register for the api

azure scarab
#

ah got it

#

what is the api used for?

buoyant skiff
#

im using unsplash for my cards

#

as dynamic backgrounds

#

so my cards change every hour

azure scarab
#

wow,

#

thats sick

#

I clearly need to put more work into this

buoyant skiff
#

there is an custom component that can be used to do this made by @wheat current

#

so the trick is to make an empty transparent background image and place the camera as an overlay

#

that way you achive dynamic backgrounds

glossy birch
#

@buoyant skiff that looks great!

buoyant skiff
#

tnx ๐Ÿ˜„

#

just need to find additional stuff to add to my greeter card

#

then im publishing it on sharethelove

#

updating it from the current one

vapid field
#

I have some switches which I actually use for lights.
Using ui-loveloace.yaml I can adjust the icon using: icon: mdi:lightbulb
But on the on state of the switch the lightbulb icon is not yellow.
Is there any possibility to get the switch look like a light?

split granite
#

Use customize: instead is the easy option

wheat current
split granite
#

We need more cards that look they were done by a 7 year old ๐Ÿ‘

wheat current
#

Agreed ๐Ÿ˜„

buoyant skiff
#

stop mocking my cards ๐Ÿ˜›

split granite
#

Yours were done by a 7 year old? Sheesh, they need remedial art lessons ๐Ÿ˜›

#

(own art skills resemble that of a tired 5 year old drawing in the dark, so I can't really throw stones here)

buoyant skiff
#

wtf updated to 0.76 cleared cache and its up but it doesnt connect

#

too tired take care of that mess some other day

polar kelp
#

Could it related to: "This release has a migration, initial startup can take ~20 minutes (depends on size DB)"

buoyant skiff
#

ahh well ill just let it roll then

#

tnx Thomas

polar kelp
azure scarab
#

Ok so question, I have a script that triggers my tv/lights. I would like the image to be grey when the tv is off but light up when the tv is on. However, how do I do this when I need the entity to trigger the script?

polar kelp
#

Hehe "For example, weโ€™ll be able to say which user [...] triggered the party mode at 3am."

#

@azure scarab You could use a template switch

azure scarab
#

and then the image would point to the template entity?

#

ahh

polar kelp
#
switch:
  platform: template
  switches:
    tv:
      value_template: {{ tv_is_on_or_whatever }}
      turn_on:
        - service: script.turn_on_tv
etc
#

yes

buoyant skiff
#

migh have been the auth too

azure scarab
#

damn ok that makes sense

#

now if I could just get my WOL to work

buoyant skiff
#

but this is getting out of the area of lovelace

azure scarab
#

@polar kelp wait im a little confused, what does the value template do? If the TV is turned on what would I trigger my light script?

#

instead of having a script do the tv and the lights?

empty heath
#

@polar kelp I am honestly unsure of how it currently handles input_number. Iโ€™ll have to run some testing.

polar kelp
#

I get sliders on mine

#

@azure scarab I suppose you already had some way of knowing if the tv was on or not?

azure scarab
#

well just the entity itself? TV shows as playing when its on and Off when it's off

polar kelp
#

Ok. So you assume a state? If you have clicked the button, the tv should be on until you run the turn_off script?

#

Then an input_boolean would be better. Automations to run the turn on/off scripts when the state of that changes, and then connect that to a picture-entity card.

azure scarab
#

I think? I want to click the image, the TV come on (trigger the lights script I have too) have the image icon be light up. and then when I click the image again it turn off the TV and restore my lights

#

I have scripts for the lights and the TV

#

and then had it all wrapped into one script

#

but this doesn't work since the primary script doesn't show as on/off

split granite
#

Template switch?

polar kelp
#

I think input_boolean. Template switch can't keep track on a state by itself.

azure scarab
#

hmm ok thanks guys. I'll give the template switch a try

empty heath
azure scarab
#

damn that's cool

#

what is that being used for ?

#

if you don't mind me asking

polar kelp
#

There's an update to the slider .js

#

It doesn't show the slider now if the entity is not a dimmable lamp light.

empty heath
#

@azure scarab Both the top and bottom contain the same entities: one input_number(type=slider), and one input_datetime. They are both just for testing. The bottom-top is a custom entity-slider (meant for lights), and the bottom-bottom is a custom datetime element. (both made by @polar kelp)

azure scarab
#

that's really cool, I need something like that for my ceiling fan

empty heath
#

@polar kelp If you decide to publish to https://github.com/custom-cards, it will be available for testing to a lot more users. The tracker card will support one-click install of custom cards and custom components soon.

polar kelp
#

I'll make sure to get around to it

wheat current
#

@empty heath The custom_updater has support for "third-pary" repos now ๐Ÿ˜‰

empty heath
#

For ceiling fan, it'd need 4 points on the slider (assuming the fan only supports off/low/med/high). 0=off, 1=low, 2=med, 3=high

#

@wheat current Woot! Even for one-click installs? ๐Ÿ˜‰

wheat current
#

the component yes, not the card (still awaiting a review for that) ๐Ÿ˜ƒ

empty heath
#

i.e. is there a repo file in custom-cards or custom-components that allows you to add third-party repos?

azure scarab
#

@empty heath yeah so it has off/auto/lowest/low/medium/high

polar kelp
#

Hey, an idea @wheat current. Does the version have to be a number, or can it be, say, a git hash?

empty heath
#

So in that case, in my head, it would have a slider with a label above the four positions, with the current position being bold, and the others being gray.

polar kelp
#

Yeah... I'll pass on that one...

#

I'm not sure a slider is really the best input method for that anyway....

#

But that's subjective

empty heath
#

True. How are fans currently handled in old UI and in Lovelace UI?

#

Never mind, I just found that there is a template fan -- I'll create one and test it out.

wheat current
#

@empty heath for the cards and components repos I handle the creation and update of the json files, for "third-party" they would have to create a json file for their custom_* that the end user can add to the updater config like this https://github.com/robmarkcole/Hue-sensors-HASS/blob/master/custom_updater.json

custom_updater:
  component_urls:
    - https://raw.githubusercontent.com/robmarkcole/Hue-sensors-HASS/master/custom_updater.json
#

@polar kelp it can be whatever you want (whitin reason), as long as local and remote differ they will be able to update, but this do not look all that good ๐Ÿ˜›

polar kelp
#

Well... as long as it is different, you'll know it's newer at least.

empty heath
#

@wheat current But there is a file in the updater repo that allows you to add third-party repos, right? You may have answered that already, but I don't think I fully understand your comment.

wheat current
#

There kinda is, but that one is autogenerated by the repos in those orgs, it would be troublesome for a dev to update their own repo and remember to update that file to

#

If that is the file you where thinking of ๐Ÿ˜…

empty heath
#

This would be useful to make an AfterShip sensor(s).

wheat current
#

ffs ๐Ÿ˜‚ I really need to get better at googleing then ๐Ÿ˜›

empty heath
#

๐Ÿ˜‚

#

With the official one, you could easily add the ability to add new packages from the Home Assistant UI ๐Ÿ˜ฎ

#

Could be a complete component, with services and everything.

#

๐Ÿ˜›

wheat current
#

LOL!!! ๐Ÿ˜‚

empty heath
#

I guess since it's been over a year since you posted that, you forgot about it ๐Ÿ˜„

wheat current
#

My google skils must have been better back then ๐Ÿ˜›

empty heath
#

I guess so ๐Ÿ˜›

wheat current
#

I will look at moving to the official package in comming versions of the platform, but for now it does it's job ๐Ÿ˜›

azure scarab
#

is the filter: saturate(.10) what adjusts the color ratio when my picture element is off?

#

or is there a list of filters somewhere?

wheat current
#

~lmgtfy @azure scarab css filter

kind shellBOT
azure scarab
#

lol

#

didn't realize it was that straight fwd

frosty pelican
#

anything new in Lovelace in 0.76? doesnt seem like the changelog was posted yet

wheat current
#

no news is good news? ๐Ÿคท

frosty pelican
#

that is true lol

calm rock
#

cards updater question : many times after restarting hassio , the card updaters , disappear from my card with no reason , after some ( dont know what ... ) , they appear again , so still dont have the method to make them appear correctly , im wondering if may be missing something else ??

wheat current
#

@calm rock The tracker-card uses a sensor to display the data, some times if fails fetching new info (bug) as a workaround you should be able to hit the "Check" button to show it again

calm rock
#

@wheat current , thanks , think i did , but will try again...

#

@wheat current , no change , will try to clear cache again

#

still no luck , probably , reboot will do ?

wheat current
#

look for a sensor with an entity_id starting with sensor.custom in states

calm rock
#

ok

#

thats, the prob : message: The following components and platforms could not be set up:

#

but , i made no mods..

wheat current
#

restart should fix it

calm rock
#

ok

mild veldt
#

@wheat current any idea why I had to do the following to get rid of errors about required key 'platform'?

  - platfrom: aftership
    platform: aftership
    api_key: !secret aftership_key
#

Nothing stands out in the .py

wheat current
#

no?
That just looks super wierd

mild veldt
#

yes, I feel dirty

wheat current
#

That should not work

mild veldt
#

but it throws errors otherwise

wheat current
#

What error?

mild veldt
#

Invalid config for [sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 45). Please check the docs at https://home-assistant.io/components/sensor/

#

oh wait...

#

i'm dumb

#

i can't yaml

#

wait...i lied, i can yaml!

#

and i still get the error ๐Ÿ˜ฆ

wheat current
#

Make up your mind ๐Ÿ˜›

mild veldt
#

well I'm just not going to worry about it for now. It works

wheat current
#

this is what I have:

  - platform: aftership
    api_key: 'xxxx-xxxx-xxxxx-xxxx'
buoyant skiff
#

yawn

mild veldt
#

you guys should go to bed...there's important drinking to do tomorrow

wheat current
#

There are ๐Ÿ› to fix today ๐Ÿ˜›

calm rock
#

@wheat current , all good now , thankyou .

buoyant skiff
cobalt pendant
#

evening folks

#

is anyone able to assist with me trying to get a temp sensor to simply show the temp using lovelace

#

i ideally would like temp and switches in a row on a 'view'

#

rather than listed in a long line

#

the example provided is quite limited

#

maybe a link to working examples would be great if anyone has

wheat current
cobalt pendant
#

@wheat current thank you just spotted that one myself also

#

whats the best directory to put images for lovelace to use?

#

I have tried /config/images/living_room.png and its not picking it up

wheat current
#

/config/www/potential_sub_dir_here/image_file.jpg

#

you reference that with /local/potential_sub_dir_here/image_file.jpg in the ui-lovelace.yaml file

cobalt pendant
#

@wheat current does it have to be a jpg?

wheat current
#

no

cobalt pendant
#

no luck with that ๐Ÿ˜ฆ

#

so /config/www/living_room.png

wheat current
#

if you created the www folder now, you need to restart HA for it to work

cobalt pendant
#

/local/living_room.png

#

ah

#

so that then creates a web facing folder

wheat current
#

almost www.mydns.com/local/iving_room.png

cobalt pendant
#

@wheat current thanks all working!

#

I dont suppose its possible on a picture-glance template to have a temp sensor show as just the temp and not a temp icon you then need to click?

wheat current
cobalt pendant
#

I think thats beyond me lol

#

still struggling with the basics!

wheat current
calm rock
#

yes , sorry , didnt reallize i was missplaced

cobalt pendant
#

@wheat current btw you can switch your TV on by plugging in a Chomecast

wheat current
#

@cobalt pendant Wrong channel, and no my TV does not support CEC ๐Ÿ˜‰

cobalt pendant
#

ouch

glossy birch
#

yes, some people still live stoneage

empty heath
#

But of course they can!

#

Are you wanting to rename the entity ID, or the friendly name?

#

Or the name that is displayed on Lovelace?

honest herald
#

sorry didnt realize i was iin the wrong section

#

i just mean the actual entity

#

device_tracker.xxxxx

empty heath
buoyant skiff
#

morning

empty heath
#

@buoyant skiff Why are you up so early?

buoyant skiff
#

dunno just wired that way

#

๐Ÿ˜„

#

its like 9am here in Sweden

empty heath
#

Damn, that's way too early! It's only 2:18am here in Texas!

buoyant skiff
#

hehe well i dont need that much sleep ๐Ÿ˜„

#

currently back on the grind remaking my remote with custom state-elements

#

instead of state-label

dense roost
#

12:24am in Washington, @buoyant skiff is way too cheerful when he wakes up, it's not normal.

buoyant skiff
#

who said i was normal ๐Ÿ˜›

#

ill show them :P

dense roost
#

Ha well said sir

#

Do it

buoyant skiff
#

haha

#

@dense roost tried custom-state-elements yet ?

#

sooo much better then state-label

dense roost
#

@buoyant skiff look at you with your fancy ability to post images ๐Ÿ˜… and no when did custom state elements become a thing?!

buoyant skiff
#

since state-label only has white-space: nowrap

#

annoying if you want long messages

dense roost
#

Where is this Black magic at I need a link

buoyant skiff
#

on the custom card repo

dense roost
#

Oh

buoyant skiff
#

pin please @empty heath

#

its nice when epllipsis works

#

so long messages becomes ....

#

and not just cut

#

got that on filenames that drag on too long

#

now more coffee

empty heath
#

@buoyant skiff Eat more Coffee.

buoyant skiff
#

there are edible coffee cubes ๐Ÿ˜„

half osprey
buoyant skiff
#

holy shit

#

no missed that totally

#

thats nice

half osprey
#

It's an open source UI toolkit and as example they build a smart home UI

buoyant skiff
#

nice

subtle rune
#

wow

split granite
#

Very pretty

buoyant skiff
#

makes my cards look like poo ๐Ÿ˜›

#

need to realign it a bit

#

looks kinda decent doesnt it ?

serene sierra
#

@buoyant skiff what image size in px you use for that cards?

#

.ll76

buoyant skiff
#

let me check

serene sierra
#

where i can see docs for ll76?

buoyant skiff
#

pretty huge

#

thats the actual image size

#

so i got that split with 2

#

since i got 2 cards per page

#

and im doing panel true

#

so i end up with alot of space that i can use for sensors and text etc

#

my plan is to use homesetter and do a mobile design later on with 1 card per page

#

so the stuff im working on now is the laptop/computer/tablet view

serene sierra
#

cool trying same ๐Ÿ˜„

wheat current
#

@serene sierra if there is changes for LL in 76, no one has done a changelog for it yet

buoyant skiff
#

yeah documenation on 76 has been bad at best

#

@serene sierra to make things stick better do em or px when placing stuff that is what ive been doing

#

and if your gonna have long text that you want to split over serveral lines dont use state-label

#

cause that contains white-space: nowrap

#

only use % if you truly want to center stuff ๐Ÿ˜ƒ when aligning

#

thats some common sense tips from me atleast

#

will make for less headaches

serene sierra
#

@buoyant skiff but which size pick if it not a panel? and i was try using right: 2em i dunno why it return different effect

buoyant skiff
#

so you want regular cards ?

#

like smaller onces ?

#

yeah 2em on smaller areas isnt gonna be that noticeable

#

but on huge areas your gonna see the differance

serene sierra
buoyant skiff
#

ahh

#

using transform: none

#

?

serene sierra
#

i will try thanks

buoyant skiff
#

np

buoyant skiff
#

share that so far the toolbar on top cant just be edited

#

would love to have this in the toolbar ๐Ÿ˜›

#

or this

#

as a texture for the toolbar

cobalt pendant
#

quick question folks, should lovelace be loading in the ios mobile app?

#

or is this not supported yet?

subtle rune
#

@cobalt pendant Works just fine in ios app

cobalt pendant
#

@subtle rune thanks. very odd I have set lovelace to default

#

but I just get the old version in the app

subtle rune
#

On your phone? It's per device

cobalt pendant
#

oh

#

๐Ÿ˜

subtle rune
#

You also might have to quit the app and open again to get it

cobalt pendant
#

do you know where you select it as default?

#

ignore that

#

found it!

buoyant skiff
cobalt pendant
#

@subtle rune all working now thank you

buoyant skiff
#

now to get started templating the icons so the changes based on state

cobalt pendant
#

@buoyant skiff I am looking at the same thing, having issues with defining only an off state

#

(want the ON to be default)

#

figure it out! - define in customize.yaml and it only shows when OFF

buoyant skiff
#

simpler thing is to do a template sensor

kind shellBOT
buoyant skiff
#

bah feek

#

thought it was under

#

anyways look at that template

#

thats how you do dynamic icons @cobalt pendant

#

or alteast one of the ways

cobalt pendant
#

could you help with the boolean statement for or?

#

value_template: "{{ is_state('media_player.denon', 'on') }}"

#

want it to be 'on' or 'playing'

undone egret
#

"{{ is_state('media_player.denon', 'on') or is_state('media_player.denon', 'playing') should work

buoyant skiff
undone egret
#

sorry

buoyant skiff
#

well atleast they got comformation now ๐Ÿ˜›

dense roost
#

Is there an official kiosk mode coming? The hack was nice, but the layout updates after a few seconds and it just looks bad when it happens

buoyant skiff
#

dunno the custom hack works

#

so just wait and see

dense roost
#

using vertical-stack-in-card custom card, I change something in the custom card's JS and get a red error saying the custom element doesn't exist, I hit ctrl-z to undo the only thing I've changed, save, update incrementing file name, still get the same error.... i don't understand.

polar kelp
#

Browser log might be more helpful with missing elements

midnight monolith
#

has anybody already created a horizontal card where one could style the width's of each column?

#

so a horizontal card with two cards in it, first one 2/3, second one 1/3

polar kelp
#

Not that I know of. Not sure it is wise. A card might expect to be 300-500 px wide.

#

You can do quarters with normal horizontal-stack, though

midnight monolith
#

ok, thx for the input

#

I managed to do something... it ain't pretty though

#

regarding your input of quarters: can I do 3/4 and 1/4?

buoyant skiff
#

sunhours complete ๐Ÿ˜„

viral sorrel
#

is there a lovelace changelog for 0.76 anywhere?

wheat current
#

Did anything change?

cobalt pendant
#

is it possible to force the order of tiles within Lovelace?

mild veldt
#

@cobalt pendant horizontal stacks within a single vertical stack with the view set to be a panel

cobalt pendant
#

@mild veldt stacks, thats a new one on me. I didnt know that existed

mild veldt
#

They are in the official docs

cobalt pendant
#

found the doc thanks

prime umbra
#

@polar kelp can your custom cards work with the custom updater ?

cobalt pendant
#

@mild veldt really stuggling with getting this working... I have a view called 'home'

#

it contacts a lot of different types:

#

but only one cards:

#

should I have more than one cards: for a view?

mild veldt
#

I am drunk at a music festival right now. So I probably wonโ€™t be much help

cobalt pendant
#

haha no worries

#

enjoy ๐Ÿ˜„

dense roost
#

The .76 podcast is out

granite prawn
#

hey guys

#

im getting a new message on LL after updating to .76

#

Do you want to save this login?

#

it doesnt go away even if i click on yes

#

any clue how to get rid of it?

buoyant skiff
#

its the auth system

#

not lovelace

granite prawn
#

ahh okay

#

i wasnt sure, thats why i posted here

#

thanks @buoyant skiff

timid burrow
#

Itโ€™s a bug. Will be fixed in next

dense roost
sudden lion
#

Nice

#

@dense roost want to share the pictures you have used? ๐Ÿ˜ƒ

buoyant skiff
#

nice ๐Ÿ˜„

#

not the first person to ask that sjabby

#

@dense roost did you try state-elements ?

#

for text

dense roost
#

@sudden lion :) these ones I actually got free freepik.com. sometimes I create my own, sometimes I edit other people's vector images.

#

@buoyant skiff I haven't yet I was working on my custom card the last couple days trying to figure things out.

#

@buoyant skiff trying to think of what I would use it for

buoyant skiff
#

well you are gonna have text at some point right ?

dense roost
#

Oh I got some ideas

buoyant skiff
#

hehe good

rigid harness
#

@dense roost : care to share how you got the scrolling top row?

dense roost
#

@rigid harness its a custom card I'm working on. I should release it soon, it just needs a little more work

rigid harness
#

@dense roost looks awesome! Please share when you have something working!

dense roost
#

Will do!

buoyant skiff
#

added new sensors time spent at home and work got a remake along with a distance sensor that tracks the distance from device tracker to location

buoyant skiff
vapid field
#

anybody perhaps know why my lovelace isn't accepting buienradar?

#

works fine with darksky but I find darksky to be very inaccurate

buoyant skiff
#

isnt getting a state from it

vapid field
#

yeah but I can't figure out why

#

it's two lines of code

#

weather:

  • platform: buienradar
#

and

#
  • type: weather-forecast
    entity: weather.buienradar
buoyant skiff
#

check dev-info and see if it has a state

vapid field
#

it has a state

#

working fine

#

but it's called differently here

#

weather.br_unknown_station

#

I think that's the problem

buoyant skiff
#

then thats not a lovelace issue

vapid field
#

ok so yeah that fixed it

#

true

#

but thanks

#

๐Ÿ˜ƒ

buoyant skiff
#

np

#

hope you get it working

gilded plume
#

@vapid field its indeed that sensor nameyou need to use ->

  • type: weather-forecast
    entity: weather.br_unknown_station
rotund island
#

Iโ€˜ve tried setting a background to a view and iโ€˜m just unable to succeed. Iโ€˜v tried the example from the lovelace page but it didnโ€˜t work

cobalt pendant
#

can anyone help with adding a IP camera view to lovelace? Working fine in the regular UI, but could do with a pointer adding it to lovelace?

buoyant skiff
#

coalfield is the camera added to config ?

cobalt pendant
#

@buoyant skiff its in homeassistant and working, just not in lovelace (it is not automatic)

buoyant skiff
#

automatic ?

cobalt pendant
#

in the old dashboard after adding to config it appears on the dashboard

#

(at least the man all inclusive one)

buoyant skiff
#

lets start with the basics

cobalt pendant
#

for picture-entity do I add the full URL?

buoyant skiff
#

is there an entry for the camera in ui-lovelace.yaml ?

cobalt pendant
#

in ```
image: /local/bed_light.png

#

no thats what I am trying to add ๐Ÿ˜ƒ

buoyant skiff
#
camera_image: camera.blah
cobalt pendant
#

ah I have got it working

#
      - type: picture-entity
        entity: camera.nursery_camera
buoyant skiff
#

its all there in the docs you just missed it

#

to hide the black overlay with the name

#

you can do

#

show_name: false

cobalt pendant
#

thank you

#

Do you know if there is any way to make the title of an entity a URL / shortcut to the room?

buoyant skiff
#

yes navigate

#

also in the docs

#

you set it on toggle

cobalt pendant
#

can this be done on a 'entities' type?

split granite
buoyant skiff
#

with picture entites yes

#

again its all in the docs

#

i suggest you take the time to read it

cobalt pendant
#

Thanks I will keep playing and reading (but yes I am reading), but am not always understanding

tacit cave
#

we have release notes for changes in lovelace 0.76, I checked pins, nothing there

wheat current
#

question or statement? ๐Ÿค”

split granite
#

I see the docs were finally updated the the 0.75 changes though - so maybe when 0.77 comes out ๐Ÿ˜›

tacit cave
#

haha, its a question!

#

but, i'm guessing it's now a statement?

wheat current
#

Looks like it ๐Ÿ˜ƒ

#

Did anything change?

tacit cave
#

no clue, thought i'd ask here

cedar coyote
#

frontend_latest/app-2ca9355c.js:2:12805 Uncaught TypeError: t.forEach is not a function
Can someone point me in a direction, what I have to change and how to get Lovelae up and running again?

midnight monolith
#

First draft of the perfect alarm clock... it adapts based on conditions, ...

#

Any idea how I could remove the header of the weather card, so where it says YWeather?

buoyant skiff
#

thats huge

cedar coyote
#

Coping data is always tricky, especially when you have doubles due to coping. Well got it going again.

icy robin
#

Does anyone know of a working example (or can provide some guidance) on how to incorporate the vaadin-date-picker into a custom card?

icy robin
#

Forget that...didn't realize I could just re-use the component used by frontend, and not have to re-import in the custom element..

dense roost
#

@midnight monolith beautiful, I'd be interested to know when you release it

dense roost
mild veldt
#

Well now I need lights with color...

dreamy flint
#

Is there a way to make the cards larger? I have a DarkSky card that shows some weather information, but I'd like it to be larger and use icons instead of text for i.e. humidity

buoyant skiff
#

panel: true

#

morning

#

โ˜•

dreamy flint
#

@buoyant skiff When I tried that it just put everything to the left of the screen and messed up my vertical cards

#

Maybe I did something wrong.. (highly likely)

buoyant skiff
#

didnt say it was perfect you probly need to rework em

dreamy flint
#

Ah ๐Ÿ˜ƒ Just tested it again, and I remembered wrong.. It makes the card take up all the space, from left to right. But it doesn't help with the icons instead of text

buoyant skiff
#

there is another weather card coming soon @north spear is working on one

polar kelp
#

Glance card with a background color taken from the current theme. Yay or nay?

buoyant skiff
#

looks decent ๐Ÿ˜ƒ

#

clean

dreamy flint
#

Looks good @polar kelp but I'd still think icons instead of text would make it look more clean

polar kelp
#

Yeah. I just wanted to see if it could work with text too.

dreamy flint
#

How did you get your weather prediction to show days? Mine will only shows the next couple of hours

polar kelp
#

Depends on the service, it seems. Darksky shows hours, yahoo shows days

buoyant skiff
#

yahoo is pretty decent

#

using that one also

#

although i got a diffrent take on the forecast and showing it

#

like summary instead of just stats

dreamy flint
#

DarkSky have that as well, it's neat.

#

Hm.. units are set to SI, but it shows 12h time format.. fail

buoyant skiff
#

well that summary isnt just yahoo its also minutecast so i get the weather predictions for the next 120 min

polar kelp
#

24 hour clock isn't defined in SI. It is in ISO, though

#

ISO 8601. The most important one.

dreamy flint
#

Yep, but defining SI units at least shouldn't show 12h time format

#

Should only be for US

polar kelp
#

As far as I'm concerned, nothing should show 12h time...

dreamy flint
#

As far as I'm concerned, no one should use imperial units ๐Ÿ˜„

#

Is there no way to make darksky show 24 hour format in lovelace?

#

Can't see anything in the documentation about this

buoyant skiff
#

๐Ÿ˜›

stable swift
#

hello!

#

entities are found in the <> - is that correct?

buoyant skiff
#

yes

#

so if you want to include a sensor

stable swift
#
  • type: entities
    title: Front Door Cam
    show_header_toggle: true
    entities: camera.front_door
#

why is this wrong?

buoyant skiff
#

its wrong on so many levels

stable swift
#

it is a ip cam

#

haha

#

thats my style

buoyant skiff
#

yeah well i suggest you ditch it and reread the lovelace documention

#

the part you want is picture-entity

dreamy flint
#

@buoyant skiff was the "#homeassist" comment for me? My HA is in 24h, but darksky in lovelace isn't

buoyant skiff
#

it shouldnt since it only grabs the value from ha

#

so if its correct in ha then its should be correct in lovelace

#

unless your using custom cards to display it

#

then the custom card might have additional stuff

dense roost
#

@mild veldt made it work with non-color lights and will use user defined colors for on and off ๐Ÿ˜„

stable swift
#

working, thanks!

dreamy flint
#

Nothing custom, Toast, just :

cards:
  - type: weather-forecast
    entity: weather.dark_sky
buoyant skiff
#

no idea why it acts that way @dreamy flint

dense roost
#

@dreamy flint did you import all of the data it needs in your configuration..yaml file? I know with the custom animated weather card it requires you add everything it wants like wind_speed, wind_bearing etc

buoyant skiff
#

hes not using animated cards

#

hes using the built in stuff

dreamy flint
#

My config has this:

weather:

  • platform: darksky
    api_key: !secret darksky_api
    units: si
stable swift
#

how do I know what type of Card something will be?

buoyant skiff
#

well thats also in the docs

#

but its common sense that anything that displays an image etc uses picture

#

and the stuff thats only text is simple entities

dense roost
#

And if there's a sub card type it will tell you what it is

stable swift
#

going though them

#

a lot to take in

dense roost
#

It is, you'll get there though

buoyant skiff
#

thats the route we all went

#

kinda goes with what Dale3h said in #rules

daring schooner
#

I am really pulling my hair out on this one

#

New to Lovelace btw

#

Is anyone able to tell me where I might be getting this wrong?

empty heath
#

Lol, this one is simple and stands out to me.

daring schooner
#

I was hoping it would be somthing stupidly simple

empty heath
#

@daring schooner Double check your spelling of the file name. ๐Ÿ˜ƒ

daring schooner
#

oh for shits sake

empty heath
#

๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚

daring schooner
#

I'm just gonna go cry now

empty heath
#

It happens to the best of us man, don't fret it.

#

I've seriously had it happen more times than I care to admit. Having another set of eyes take a look is usually pretty helpful.

daring schooner
#

Thanks guys... I know it would be something simple

empty heath
#

Indeed, glad to be of assistance.

dense roost
#

@daring schooner man I've done that and then asked for help too hahaha

buoyant skiff
#

i heard clean enerfy is the way to go

#

๐Ÿ˜›

#

@north spear any progress on that animated weather card or have you been super busy ?

north spear
#

@buoyant skiff world of warcraft bfa launched, so I kind of was away ๐Ÿ˜ƒ I'll probably get some time to look at it during my down time at work this week (i'm not taking cigarette breaks, so using that time for open source)

buoyant skiff
#

loooool

#

k

#

good to know

north spear
#

it's a tough one because I need to migrate it from jquery

#

and I lost some time investing in stenciljs which turned out to not be what I actually needed

buoyant skiff
#

yeah i knew it wasnt gonna be easy

north spear
#

not sure tho how it will integrate with the UI

#

because the current card has animation outside of the card itself

#

if you look at samples

buoyant skiff
#

yeah

north spear
#

but hey, one step at a time, to have it working with basics first ๐Ÿ˜ƒ

buoyant skiff
#

indeed ๐Ÿ˜ƒ

#

well that explains your asbstense from this channel atleast ๐Ÿ˜›

north spear
#

yeah ๐Ÿ˜ƒ

buoyant skiff
#

never expected it to be wow however ๐Ÿ˜›

north spear
#

A big release every two years, worth a week of holiday to enjoy the experience and awesome cut scenes

#

I think they have now almost worth 1 hour of cinematics, but anyway, offtopic for the channel

#

I've seen that 0.76 doesn't have much lovelace updates

buoyant skiff
#

nope not alot was all auth

#

but ill keep grinding on my interface ๐Ÿ˜„

#

got so much stuff going on the greeter card its insane now

lapis oriole
#

@north spear Missed your presence and effort ๐Ÿ˜‰

north spear
#

I'll be back in september probably with more full speed

empty heath
wheat current
#

That should be possible

#

it was not ๐Ÿ˜ฆ

empty heath
#

I'll try to fix, 1 sec.

wheat current
empty heath
#

Right, I was just trying something new ๐Ÿ˜›

#

And I was able to fix it.

#

Had to encode the images as base64 and include them as data URIs.

wheat current
#

You can use base64 like this?
image: SUPERLONGBASE64URI

empty heath
#

Yup.

#

(view source)

#

It would be easy to write a script to "generate" these slideshows based on a directory of images. ๐Ÿ˜ฎ

buoyant skiff
#

that could be useful for galleries

#

for backgrunds is way to fast

empty heath
#

Well, duh ๐Ÿ˜› It was for proof of concept, silly! lol

buoyant skiff
#

just thinking of ideas on where to use it in my head ๐Ÿ˜›

#

and yes i realize its a PoC

#

๐Ÿ˜›

#

was thinking untappd beer cards ๐Ÿ˜›

#

images of all my photos of beer

#

haha

wheat current
#

noone is suprised by that ๐Ÿ˜›

empty heath
#

It could be used anywhere you currently use camera.unsplash (however, camera.unsplash is a much cleaner implementation when you're using unsplash)

buoyant skiff
#

yeah ludeeus implementation is solid

empty heath
#

@buoyant skiff You could setup a python script to check the Untappd API for new beers you've checked in, and when it finds a new one it can download the image and rebuild the beer background.

buoyant skiff
#

neat

wheat current
#

How about I make a generic web img camera where you supply:

camera:
  platform: webimages
  images:
    - https://example.com/image1.jpg
    - https://example.com/image2.jpg
    - https://example.com/image3.jpg

?

empty heath
#

Well, then how would you dynamically add an image to that (for example, when he checks in a new beer?) ๐Ÿ˜›

#

Maybe do it as a config entries implementation ๐Ÿ˜‚

wheat current
#

Can be done with a service ;)
service: webimages.add_url
{"url": "https://example.com/image4.jpg"}

empty heath
#

Right, but how would you retain on restart?

wheat current
#

good point ๐Ÿค”

empty heath
#

(that's why I said config entries)

#

Because that way you could use .storage (I think?)

#

Well, theoretically you could use it anyway.

wheat current
#

I aint touching that with a 10ft pole (maybe in 10-15 versions)

empty heath
#

Hahaha, it'd be just like having phue.conf or ios.conf or nest.conf or plex.conf files ๐Ÿ˜‰