#frontend-archived

1 messages ยท Page 72 of 1

wheat current
#

Hmm.... maybe ๐Ÿคท

vapid field
#

hey there, Im playing arround with lovelace with a Hass.io installation. How can I see the error-log? any suggestionsรŸ

buoyant skiff
#

is the error occoring when you reload ?

raven nacelle
#

On errors, anyone else seeing a lot of Uncaught TypeError: Cannot read property '_stateDisplay' of null since the last updates?

buoyant skiff
#

nope havent updated last update was a failure so waiting for others to take the plunge

raven nacelle
#

This one is relatively stable

vapid field
#

well I try to setup the thermostat-card but I just get a "custom element doesn't exist" in the card so I wanted to investigate by myself whats happening ๐Ÿ˜ƒ

#

by looking in the error log

raven nacelle
#

Did you include the required files in ui-lovelace.yaml?

vapid field
#
    type: module```
raven nacelle
#

and refreshed the browser?

buoyant skiff
#

@raven nacelle got inspired by the custom card you and ludeeus played around with the other day

vapid field
#

thats why I wanted to look up the error log, but I dont know how

raven nacelle
#

all the logs are in Dev tools. In the browser, you can inspect and see what is missing

vapid field
#

hm got a 404 for thermostat-card.js

buoyant skiff
#

then its not there

raven nacelle
#

most likely the path is incorrect

buoyant skiff
#

exactly ๐Ÿ˜›

#

not at that path ๐Ÿ˜„

wheat current
#

1: Are it located under /config/www/
2: If you created that now, you need to restart HA (only first time)

vapid field
#

yeah path was incorrect

#

I see, I will give it a try

#

yeah thx, its working

rotund island
#

Hi, could someone pleas ehelp me with the syntax for the background image ? i am unable to get it right

mild veldt
#

@rotund island what do you have currently?

rotund island
#

@mild veldt here is all the examples i have tried

mild veldt
#

Ah, for the view. I haven't played around with that yet

#

Did you just try the one from the docs? background: center / cover no-repeat url("/local/background.png") fixed

#

and does that image reside in /config/www?

rotund island
#

image resides in www

#

and double checked the name lower /upper case

wheat current
#

the one in the example works

patent lagoon
#

Hi! Whats the correct card to use just for a security camera. I can't get either picture-glance nor picture-elements working with an empty entity list... Thanks!

prime umbra
#

@mild veldt what type card you using to display the sensor.feedparser info?

rotund island
#

@wheat current @mild veldt my bad i didn't look correctly in my folder tree it was in config but i thought it was in www ๐Ÿคฆ

#

i lost 2 evenings not understanding what was wrong

mild veldt
#

@prime umbra I'm in the process of making a list-card

buoyant skiff
#

so why isnt it done yet ?

#

๐Ÿ˜›

wheat current
#

Yeah! @mild veldt what's taking so long?

buoyant skiff
#

@mild veldt hurry up

mild veldt
#

...nevermind, I'm quitting HA and going openhab

buoyant skiff
#

stop typing here ๐Ÿ˜›

#

and get on with it

wheat current
#

@mild veldt I don't care what you use as long as you make the card ๐Ÿ˜…

mild veldt
buoyant skiff
#

i dont care perioid ๐Ÿ˜›

#

See he is trying to ignore us now ๐Ÿ˜›

mild veldt
#

/mute @buoyant skiff

prime umbra
#

@mild veldt looks awesome
very nice!!!!

buoyant skiff
#

those russians sure know how to build a pc ๐Ÿ˜›

vapid field
buoyant skiff
#

dunno

#

its kinda new

#

best option is to read the docs and if its not in the docs contact the dev

wheat current
#

@vapid field conditional card is designed for stuff like that

vapid field
#

@wheat current thats what I thought, but how would the condition look like?

wheat current
#

just absolutely beautiful ๐Ÿ‘Œ

buoyant skiff
#

hehe

vapid field
#

not the answer that I expected ... and from the yaml view:

(list)(Required)List of entity IDs and matching states.

entity
(string)(Required)HA entity ID.

state
(string)(Optional)Entity state is equal to this value.*
buoyant skiff
#

So how does an no event look from the state from where its grabbing thats the question you should be asking yourself

#

then proceed from there

gilded plume
#

Like your work @buoyant skiff with the greetingscard, will you also share how you done it ? ๐Ÿ˜ƒ

buoyant skiff
#

yes i will there is an earlier version of it on

#

.sharethelove

kind shellBOT
buoyant skiff
#

but once im done with the new version i will submit it to the site

gilded plume
buoyant skiff
#

hehe yepp it is

mild veldt
#

hmmm, after I finish this list-card what should I do next? A component for personalcapital.com or expand the built-in shopping list to allow for multiple lists?

vale citrus
#

How can you change the icon color when a state changes? I have input booleans that I want to turn Yellow when they are on, and the default color when they are off

vapid field
#

@buoyant skiff unfortunately it does not look different: https://hastebin.com/ozobaqeroc.css
Seems like the hass.io component looks for the next event and the card just displays events that are in the next 7 days.

What comes up my mind is, to create a sensor that checks if for example the next birthday event is within the next 7 days. and has a state true or false. Thats a work around, but might work. But not sure how to create such sensor

raven nacelle
#

Personal capital has an API?

mild veldt
#

unofficial, but yes

raven nacelle
#

oh that is nice

#

then you know my preference ๐Ÿ˜‰

buoyant skiff
#

maybe focus back on untappd again ๐Ÿ˜›

mild veldt
#

what's untappd lacking?

buoyant skiff
#

that beer aint gonna drink itself ๐Ÿ˜›

mild veldt
buoyant skiff
#

dunno thats the question always worth asking

#

what cant it do yet

mild veldt
#

check-ins, I guess, but wouldn't really want to do that from HA

buoyant skiff
#

search beer ? ๐Ÿ˜›

raven nacelle
#

and it is already on PyPi...so should be easy

mild veldt
#

yeah, I just need to figure out how to get the user input code from the front-end. I'll have to poke around in some other components to figure out how they do it (can't think of any off the top of my head that do anything like that besides oauth ones, but that's different)

raven nacelle
#

I think Ecobee uses a configurator

mild veldt
#

cool. I'll check that out

#

i'll probably build it out with a hardcoded session token and leave the configurator part as the last piece

#

@buoyant skiff search beer for what purpose? to be added to your wishlist?

buoyant skiff
#

something like that

mild veldt
#

go for it. I don't see that being very useful from HA. HA is my consumer of such data to display, don't think it's well suited that. plus the 100 calls/hour limit really restricts what you can do

buoyant skiff
#

yeah true

#

dunno what im interested in creating next

#

probly just keep on grinding on my ui

mild veldt
#

I wonder if it would make sense to put some of these more developed custom user cards into full custom_cards? like a system monitor one, or a greeter

buoyant skiff
#

i got an idea for a summary card however

#

instead of doing templating all the time

mild veldt
#

maybe, was a thought, but probably not. I have no idea how to add other card types into another card in javascript, which would be a requirement for lots of them

buoyant skiff
#

well not really having to look at other cards

#

all i need is attributes to i can have a a looooooooooooooooong ass message

#

the i could just use ludeeus attrib card for display puroses

#

but my idea was to have user setup what they want to display with all the fluff text and then just adding it as a template almost

#

a modified template attribute sensor

#

@mild veldt does that sound bad ?

azure scarab
#

I'm struggling to figure out how to best format my "floorplan" image in Lovelace? I have them set as svg but it's not scaling to my screen size

buoyant skiff
#

is it set up as pieces or a single image ?

#

ยฏ_(ใƒ„)_/ยฏ

#

goes to get some food instead

azure scarab
#

it's just a single image

#

Its a picture element that I'm trying to use as a background/floorplan

wheat current
#

add panel: true to the window

mild veldt
#

*view

wheat current
#

What he said^^

azure scarab
#

Thanks guys

#

that did it

vale citrus
#

Hey guys, how can you change the icon color when a state changes? I have input booleans that I want to turn Yellow when they are on, and the default color when they are off

raven nacelle
vale citrus
#

Thanks @raven nacelle !

wheat current
#

@empty heath got the initial funtions (only from config, not add from service/flow) working :D

camera webimages_test:
  - platform: webimages
    urls:
      - "https://images.unsplash.com/photo-1508265802264-937da5e9cc81?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=4de4577f1afc07cea2160f701b1da648&auto=format&fit=crop&w=247&h=370&q=80"
      - "https://images.unsplash.com/photo-1517110836260-0f7a7c15baf1?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=9219e0986d01a5479c86c9ece71506a3&auto=format&fit=crop&w=247&h=370&q=80"
      - "https://images.unsplash.com/photo-1526927938871-558c7bcfa454?ixlib=rb-0.3.5&s=dc6a5332dcf2008383e483dff86626fb&auto=format&fit=crop&w=247&h=370&q=80"

Same images that was in you GIF earlier ๐Ÿ˜„

empty heath
#

Very cool!

#

I'm assuming it works with relative local URLs also? i.e. /local/long-card-1/img1.jpg?

wheat current
#

for now it only uses requests.get, but it is not an issue adding logic for filename

empty heath
#

Ooooo, what if you allowed it to read an entire directory of images? ๐Ÿ˜ฎ

#

That way, you just add the directory, and images can be added whenever you want.

wheat current
#

That is quite possible ๐Ÿ˜ƒ

vale citrus
#

How do you increase the width of Lovelace? I would think that it would fill the window size but it seems to be cutting off around 400px

buoyant skiff
#

panel: true

#

is one way

vale citrus
#

Do you happen to know which part of the documentation mentions that? That worked BTW

wheat current
#

The first page of the Lovelace docs

vale citrus
#

Found it, thank you. Do you know how to change the width of a card?

buoyant skiff
#

so far the only way to change the witdth is by panel true

#

and then having a horizontal stack

halcyon mantle
#

Is it possible to make a badge conditional? Or change color based on state?

#

Conditional in the sense of only visible if 'true'/'on'

#

Also, are these conditions 'and' or 'or'```

  • type: conditional
    conditions:
#

I tested and see it is an 'or'

placid geyser
#

God, do I hate Javascript...

#

Why can't all browsers treat js equally.

mild veldt
#

Hopefully someone with some actual JS skills can take a look at it at some point and clean it up ๐Ÿ˜ƒ

dense roost
#

@mild veldt niice but your formatting in the readme file didn't take in the column object, unless it's supposed to be that way

mild veldt
#

Iโ€™ll double check in a bit. Gotta get the kids to bed

dense roost
#

You're mean it's only 6pm ๐Ÿ˜

mild veldt
#

8pm here

#

@dense roost okay, looks better now

past falcon
#

hey, I think I'm getting a lot of errors just because my calendar entries don't always load. I keep getting this error: myducdns.org8123/frontend_latest/app-c65b4028.js:445:3533 TypeError: e is null

#

is there anyway around this? a lot of times the section wont load at all for me

mild veldt
#

remove the calendar entries or edit the card you're using to do a better job checking that the entity exists first

stable swift
#

I am still a bit confused on how to know what type of card is used for what. I want to add my ecobee climate.thermostat but not clue what it should go under...

subtle rune
dreamy flint
#

Looks great !

#

@subtle rune Is there somewhere you can browse custom cards?

dreamy flint
#

Great, thanks ๐Ÿ˜ƒ

dreamy flint
#

Still trying to figure out how I want my lovelace to look

subtle rune
#

I need to redo my views with panel true and column cards

buoyant skiff
#

.awesome

kind shellBOT
buoyant skiff
#

there is all the stuff in a curated list

dreamy flint
#

Isn't that the list Frenck made?

buoyant skiff
#

yes

#

so feel free to add more stuff to it

dreamy flint
#

Sure, if I come across something ๐Ÿ˜ƒ

#

I'm amazed at how much stuff Frenck is involved in.. it's kinda crazy

buoyant skiff
#

a curated list isnt that hard to do

#

but it is appriciated

dreamy flint
#

I was thinking of all the add-ons he's doing

buoyant skiff
#

just a matter if people come across new stuff that they add to it really

#

think ludeeus got him beat

dreamy flint
#

I haven't seen his name much, I think

#

But I'm also just basically getting started

buoyant skiff
#

anyways offtopic

#

feel free to pr lovelace cards to that curated list

#

now โ˜•

dreamy flint
#

Will do. Currently I'm just trying to get DarkSky to show 24 hour format instead of 12 hour

timid burrow
#

you here @buoyant skiff

buoyant skiff
#

yes drinking my morning coffee

#

sup ?

timid burrow
#

ooohhhhhhh can you slip over to docker thread - I don't wanna spam this one

#

if you don't mind

buoyant skiff
#

sure i can take a peak

storm lion
#

Hey everyone, how's it going?

dreamy flint
#

Just fine @storm lion. And you?

buoyant skiff
#

urgh the new auth system is so hopelessy broken

wheat current
#

Works fine for me

buoyant skiff
#

well ladida then

subtle rune
#

Haven't tried yet

#

Does it actually do anything yet?

wheat current
buoyant skiff
#

and if your lucky it hangs in the middle of login in giving you an error

#

great features

wheat current
#

That has never happend to me ๐Ÿคท but I use chrome ๐Ÿ˜›

buoyant skiff
#

can recreate it under chrome too so please stop bashing ff its just annoying

#

there isnt just one browser users are gonna pick whatever they feel is the best for em to use

wheat current
#

since ther token are used by the client, you may need to reload the browser after a restart

buoyant skiff
#

doesnt help with a reload first thing i tried

#

the only way to actually get it working is by clearing cookies

#

if the token is invalid or outdated it should redirect to login again

#

that would be the sane option

wheat current
#

That is what I ment with reload

#

refresh does not help at all

buoyant skiff
#

it still shouldnt hang in mid login

#

anyways this is all offtopic

subtle rune
#

I'm just worried about my api ๐Ÿ˜‰ but it shouldnt be an issue if I enable legacy-thingy I guess

#

Not if we're talking about the user card ๐Ÿ˜„

#

I kinda want that now to customize greeting!

wheat current
#

Legacy still works for apps that uses api_password

subtle rune
#

Any word on when the notification drawer might show up? I was hoping on this release but it didnt make it ๐Ÿ˜ข

buoyant skiff
#

probly next major release

#

i know the auth system is gonna be good im just frustrated that it didnt recive more beta testing before being released

#

not just me that has had issues with it

#

takes away time from doing more cool lovelace stuff

subtle rune
#

I have now implemented user name element in my greeter card ๐Ÿ˜ƒ

buoyant skiff
#

nice ๐Ÿ˜ƒ

#

going to do a summary on my apartment kinda like the weather summary did for the weather

subtle rune
#

Yeah that's a really good idea!

buoyant skiff
#
          {% set message = "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'] ~"โ„ƒ. " %}

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

the jinja for my summary

#

if you want a simular summary

#

๐Ÿ˜ƒ

#

i use state-element to get it working and not come out as along line

#

that font is a google font btw

half osprey
#

@buoyant skiff if you're having issues with the auth system, feel free to open detailed issues to help the developers

buoyant skiff
#

will do

stable swift
#

@buoyant skiff Any idea what type of entities is for climate control? I have tried and few and failed

buoyant skiff
#

no idea but it should be in the docs

#

for that card

stable swift
#

I am docn away mate..

buoyant skiff
#
      - type: custom:thermostat-card
        title: Bedroom
        entity: climate.ecobee
        chevron_size: 100
        hvac:
          states:
            'Off': 'off'
            'Cooling': 'cool'
            'Heaing': 'heat'
          attribute: operation_mode
#

doesnt that work

#

if you have the ecoobee ?

stable swift
#

I have this installed and working but it is super limited

#

I have a second title I am looking to add the normal function to

buoyant skiff
#

so you want the heating and the cooling ?

#

to display ?

stable swift
#

got it working

#

handy

buoyant skiff
#

ok

#

hope i was to some help atleast

stable swift
#

always!!

buoyant skiff
#

kinda setting up backup system

#

after this summer strain on my hardware

stable swift
#

internal or external

#

?

buoyant skiff
#

Both

#

Got all the data back

stable swift
#

nice

north spear
#

@stable swift you can always use a vertical stack or horizontal stack and add the missing functionality as a secondary card until the thermostat solution receives the missing features. It will take a while to get there.

stable swift
#

๐Ÿ˜ƒ

#

starting to get my head around lovelace

#

could be warmer..

north spear
#

you're lucky

tight stirrup
#

I would get nothing done

#

at that temperature

subtle rune
#

Where do you live @north spear ?

north spear
#

when it's called you can put something on, when it's hot... you can't take more stuff off

#

Romania ๐Ÿ˜ƒ

subtle rune
#

Ah, I think I knew that already maybe. Memory is short ๐Ÿ˜‰

north spear
#

outside sensor is a bit wrong, as it gets hit by the sun

buoyant skiff
#

that graph looks way more fun then what im dealing with atm

#

๐Ÿ˜›

#

my next component for ha

#

gettings stats from syncthing

north spear
#

nice

buoyant skiff
#

backing up data is soooooo fun

subtle rune
#

I saw now that you merged my pr for gauge card ๐Ÿ˜ƒ I was so pleased when I could offer a solution to my own problem ๐Ÿ˜‚

#

Instead of just complaining ๐Ÿ˜„

north spear
#

I always love contributions

midnight monolith
#

Can you use a paper-dialog in a custom card? How would one do it?

polar kelp
#

Could we all just pause a moment and appreciate the fact that @buoyant skiff is backing up his data? You all should do that too. If you don't have a regular backup system, today is a very good day to get one. Well done, @buoyant skiff .

buoyant skiff
#

...

#

well thanks for that snarky remark i guess ? ๐Ÿ˜›

polar kelp
#

No. Really. Everyone should back up their data. Right now. Noone should have to lose four years of personal photos because of a hard drive crash.

buoyant skiff
#

Didnt loose any data when it crashed restored 100% of it

#

just noticed a flaw in my old setup

polar kelp
#

I could do that the second time my harddrive crashed...

buoyant skiff
#

so pluggin that flaw basically

wheat current
#

Sidenote regarding backup:
A backup is not just moving you stuff to and ext hdd, you should at least have 3 physical copies of your important data, at a minimum of 2 geographical locations.

buoyant skiff
#

raid 1 thats why physical copy then the shit im backing up now is an offsite backup

#

asked a buddy to install synthing on his end with a 2tb drive

#

and setting up an additional backup isnt a big deal

#

just introduce the drive you wanna add and let it sync up

#

@polar kelp when are you gonna add your cards to the update tracker ?

polar kelp
#

Any day now

north spear
#

I just use git ๐Ÿ˜ƒ

#

and I don't take photos

polar kelp
#

@midnight monolith I can't get it to work ๐Ÿ˜ฆ

midnight monolith
#

me neither... ๐Ÿ˜ž

polar kelp
#

Interestingly, though, paper-dialog-scrollable seems to be defined, while paper-dialog is not...

midnight monolith
#

spending way too much time on all this. ๐Ÿ˜ƒ ... the things one can build using Lovelace is awesome, but I feel we're cutting edge here ...

#

How did you find out?

#

That one can use paper-dialog-scrollable?

north spear
#

Just use developer console and see what you have defined ๐Ÿ˜ƒ

polar kelp
#

window.customElements.get('paper-dialog-scrollable') returns a constructor

midnight monolith
#

I'm going to learn something new about the developer console, I think. Where can I find everything that is defined?

#

ok... dumb question after @polar kelp comment

polar kelp
#

Let me know if you find a way to get a list, though.

midnight monolith
#

although, I don't see them in there

patent lagoon
#

Hi! When using a scripts as entity in a picture-glance card, how can I configure it to execute on click instead of popping up the tab with more info?

polar kelp
midnight monolith
#

@half osprey could you tell me how to use the paper-dialog in a custom card?

patent lagoon
#

I am just trying to display a security camera image and have a button within the card to execute a script. Am I using the wrong card type?

polar kelp
#

I made special template switches for that

switch:
  - platform: template
    ptz_left:
      value_template: "{{ true }}"
      turn_on:
      turn_off:
        - service: script.camera_ptz
          data: {entity_id: camera.my_camera, direction: up }```
#

And then included those switches in the picture-glance.

#

They are always on by default, because that looks nicer.

patent lagoon
#

Good workaround, thanks!

polar kelp
#

@buoyant skiff It's done.

#

But not thanks to me. Thank @wheat current .

buoyant skiff
#

i know

grim light
#

Does lovelace allow for any kind of templating?
EX: I'd like to use the glace card type, but have the icon/color of one of the tiles change based on the state

raven nacelle
#

No templating in Lovelace @grim light

grim light
#

Damn

buoyant skiff
#

nope great ๐Ÿ˜„

#

less clutter and you can do so much more

coarse monolith
#

No error in the logs, no error in the console....

#

running 0.76.2

buoyant skiff
#

# tap_action: none

#

why is it commented out

#

and what do you want it to do ?

coarse monolith
#

that's for the camera "image"

#

the arrow icons are not working

#

they're not firing the cover.close_cover action

mossy junco
#

I am having a bit of an issue with lovelace and my Plex Component

#

I want it to only display when I am playing a movie with Plex, however, it always displays, even when the state is Unavailable

#

If anyone wants to check if this is working as it should, please do ๐Ÿ˜ƒ

halcyon mantle
#

Can badges be conditional in lovelace?

serene sierra
#

@buoyant skiff how i can change size of animited svg entity picture inside the picture elements card?

buoyant skiff
#

Height: <value>

#

Width: <value>

#

Going back to movie and sleep

tender wasp
#

@coarse monolith tap_action not tap-action

coarse monolith
#

๐Ÿคฆ

mild veldt
viral sorrel
#

it is.. when will it be available?

mild veldt
#

the link to the repo is right there...

viral sorrel
#

my god.. I saw that as one long link and clicked the image part :/

#

๐Ÿคฆ

empty heath
#

@mild veldt I for one love screenshots of stuff, but I am so terrible at including them for others to see. Any tips?

mild veldt
#

try harder...? ๐Ÿคท

empty heath
#

๐Ÿคท Frenck showed me the animated screenshot tool for macOS (Gifox) -- that might help a little, I suppose.

#

Oh, and point made. The screenshot exists in the wild, but it's not on the damn repo page for the log viewer add-on! ๐Ÿ˜ฎ

#

Time to submit a PR ๐Ÿ˜„

drowsy summit
#

Greenshot for PC

empty heath
#

Greenshot โค

#

When I ran Windows, Greenshot was my go-to.

signal pine
#

Greenshot++

empty heath
#

Now I have macOS + Dropbox, so everything is handled for me.

signal pine
#

Windows 10's screen snip is p good, but I still always use greenshot

#

Habits

empty heath
#

True.

mild veldt
#

a gif...now you're just showing off

empty heath
#

Lol, that's the screenshot that already existed for it!

#

Seriously, I am terrible at remembering to include screenshots.

viral sorrel
empty heath
#

@mild veldt @viral sorrel Do you guys use the Log Viewer add-on for Hass.io?

mild veldt
#

@empty heath I actually did put it on just a few days ago

empty heath
#

Nice. Thoughts?

mild veldt
#

comes in handy when I'm remote

empty heath
#

Eventually I hope to get a quick hotkey/key sequence for restarting Home Assistant, etc.

#

(and also a live filter editor)

viral sorrel
#

I do but I don't think it shows me everything

empty heath
#

It only shows whatever you have enabled for the logger: component.

viral sorrel
#

well I'm comparing the addon to tail -f home-assistant.log

empty heath
#

In the future, I am really hoping to have access to the Docker socket so that I can read logs directly from Docker and not have to worry about relying on the user to setup which logs they'd like to see.

#

Hmm, interesting. This add-on is doing almost exactly that.

viral sorrel
#

in the addon

#
File "/usr/local/lib/python3.6/site-packages/roku/core.py", line 172, in _get
    return self._call('GET', path, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/roku/core.py", line 192, in _call
    raise RokuException(resp.content)
roku.core.RokuException: b''
empty heath
#

Like, it uses the npm module tail to tail /config/home-assistant.log

#

I just don't want to clutter this channel with non-Lovelace related stuff -- I shouldn't have even been talking about this add-on in here as much as I have already. ๐Ÿ˜ฆ

viral sorrel
#

if I ever get the damn mouse and keyboard to work for more than a few seconds :/ driving me nuts

empty heath
#

๐Ÿ˜‚

viral sorrel
#

one or the other (or both) keep dying..

#

I cannot figure out how to cut and paste from the Terminal/SSH addon.. so I'll just ssh in..

#

actually.. the addon is not updating.. maybe it needs a restart

#

I installed it when it was still only in the edge repository.. should I stick with that or go to the stable one?

#

might need to reboot to get mouse/keyboard working

empty heath
#

Completely up to you -- edge and stable should be identical code right now.

#

@viral sorrel

placid geyser
#

@empty heath you don't need a tool for screenshots on the mac, it is just a short cut, but you probably know that, don't you?

empty heath
placid geyser
#

oh, sorry, than I misunderstood that comment.

empty heath
#

I have it setup to copy to clipboard for Cmd+Shift+3/4, use Dropbox for Cmd+Alt+Shift+3/4, and then Gifox for Cmd+Shift+5/6 ๐Ÿ˜ƒ

placid geyser
#

In that case, just ignore my comment. ๐Ÿ˜ƒ

empty heath
#

๐Ÿ˜„

#

I โค Gifox.

#

@fading sorrel Thanks again for mentioning that to me!

fading sorrel
#

No problem @empty heath

buoyant skiff
#

morning

polar kelp
#

Sleep in today?

empty heath
#

I wish I could sleep in tomorrow morning, but I doubt that'll happen.

buoyant skiff
#

last week of vacation

empty heath
#

L.A.M.E.

#

#vacation4life

azure scarab
#

How do I get lovelace UI to update?

#

I've tried ctrl plus f5

#

but my changes aren't showing?

#

any advice?

empty heath
#

What editor are you using?

azure scarab
#

the HASS

empty heath
#

(based on the Ctrl+F5, I am assuming you're on Windows)

azure scarab
#

Yeah and Inkscape to make my images

empty heath
#

"the HASS" -- that could mean lots of things. But, based on that, I am assuming you're using Hass.io + Configurator add-on. Right?

azure scarab
#

Yeah

#

The web editor

#

I made a few changes to an image I'm using for my picture element and it's not showing up in lovelace

empty heath
#

Well, there are actually a couple of different "web editors" available for Hass.io.

azure scarab
#

ah I didn't know that

empty heath
#

Hence why I assumed Configurator ๐Ÿ˜‰

polar kelp
#

If it's just the image not updating, you can try to go to the URL of the image directly. That might refresh your browser cache.

empty heath
#

Sadly, the IDE add-on doesn't get much attention, even though it is far superior to the Configurator add-on.

#

@azure scarab Try Ctrl+Shift+F5.

azure scarab
#

hmm that doesn't do anything

empty heath
#

Chrome?

azure scarab
#

Yeah, so it looks like my changes are showing up in incognito

#

Yeah Chrome

#

Is there a better way to test changes?

empty heath
#

What about Ctrl+Shift+R?

#

Well, you can add ?v=0.0.1 to the end of the image URL.

#

(and then increment that version number each time you change it)

#

Sadly, browsers are designed to cache files as efficiently as possible, and are not meant for developer changes.

polar kelp
#

TO DISABLE CACHING IN CHROME

  • Right click anywhere on the page, choose Inspect
  • Push F1 to open DevTools settings (Fn+F1 on a mac)
  • Under Network, check the box "Disable Cache (While DevTools are open)"
  • Refresh the page as normal
    This will make sure all changes are forwarded as long as the Inspect pane is open.

Useful if your browser displays the old version of a newly update image, or if the changes to your custom javascript doesn't seem to do anything.

azure scarab
#

ctrl shift r is a no go

empty heath
#

I still have browsers on my company PCs running the same CSS stylesheet on my website from over 6 months ago.

#

@polar kelp You, sir, are a knight in shining armor. I did not know about this setting!

#

(And on macOS, I doubt that it's F1 to open settings...lol)

polar kelp
#

It used to be default, but for some reason they made it opt-in

empty heath
#

Maybe Cmd+/ ๐Ÿ˜‚

#

Nope, it's Cmd+,

azure scarab
#

ahhhh

#

yesss

empty heath
#

All hail @polar kelp!!!!!!!

azure scarab
#

Yeah!

#

Thanks guys! I appreciate the help!

empty heath
#

@azure scarab No, seriously, thank you for asking.

azure scarab
#

๐Ÿ˜•

empty heath
polar kelp
#

The other three dots

#

In the DevTools pane that was opened

empty heath
#

Ahhhh, ok, 1 sec.

polar kelp
#

Does Fn+F1 work, btw? I'm not on a mac right now

vapid field
#

I do not seem to be able to get any Lovelace Custom Cards to operate correctly. I have tried several and each time I reload the page a red card is displayed containing the message โ€œcustom element doesnโ€™t exist". This is immediately overwritten by the custom card rendered and operating as it should. Any ideas why I am getting the error displayed first?

empty heath
#

@polar kelp Let me check, 1 sec.

buoyant skiff
#

its normal for custom cards to blink and say that it doesnt exit @vapid field

empty heath
#

@polar kelp Yup, that works. ๐Ÿ˜ฎ

buoyant skiff
#

it needs to load the resource before it can display it

polar kelp
#

Great. I'll put that in the message

vapid field
#

@buoyant skiff I assume that this will be tidied up as Lovelace evolves. It looks a bit scrappy if not.

buoyant skiff
#

time will tell @vapid field

polar kelp
#

Seems likely

vapid field
#

Thanks for such a quick reply

buoyant skiff
#

np ๐Ÿ˜ƒ

subtle rune
#

@empty heath IDE addon is truly great!

empty heath
#

@subtle rune I agree!

buoyant skiff
#

Nano is awesome ๐Ÿ˜›

dense roost
#

Right click the refresh button and click hard reload

north spear
#

Vim is better

buoyant skiff
#

never cared for vim

#

found it messy with commands

#

nano has more flow

viral sorrel
#

emacs?

buoyant skiff
#

dont get wierd again ๐Ÿ˜›

#

haha

storm lion
#

Vim makes me head hurt

buoyant skiff
#

@storm lion hey ๐Ÿ˜„

storm lion
#

Nano all the way!

buoyant skiff
#

nice too see you pop in

north spear
storm lion
#

Hey man! Glad to be back..

#

Will do @north spear

#

Soo been some amazingly cool stuff happening by the look of it in here

buoyant skiff
#

yeah alot of stuff

#

everyone is up to something

storm lion
#

Haha.. you make the whole room seem like ๐Ÿ˜ˆ

buoyant skiff
#

evil incorporated

#

this is where the robot rebellion begins

storm lion
#

everyones seen Ex Machina right...

#

looks like you've slowed down with the custom picture glance cards too @buoyant skiff ๐Ÿ˜›

buoyant skiff
#

nope

#

been busy with jinja templating for icons

#

got some wicked cool things happening on my greeter card now

#

ive set up the proximity sensor for ha

#

and then i did some cool templating

#

for it

#

so the icons for home and work are dynamic they change base on state

north spear
#

Any reason that girl has a green hole in the back of her pants?

buoyant skiff
#

dunno ask the author of the photo

storm lion
#

that's actually a guy with a man bun

#

also how big is that card that you can read any of that text?

azure scarab
#

How do I get things like weather forecast to show up on a panel?

storm lion
#

full screen on like a 40" monitor?

buoyant skiff
#

its freaking huge

#

since im using panel true

#

this is all tablet size stuff

#

not smart phone friendly ๐Ÿ˜›

storm lion
#

I need to update my greeter card - but works amazingly well on my little fire 7 tablet by the front door

buoyant skiff
#

so ive setup on location to pulse when im at that place

#

and when im walking towards there are footsteps

#

walkinga away is footsteps again but backpedaling

#

plus it displays it

subtle rune
#

You will have to share to code for your updated card sometime soon ๐Ÿ˜‰

buoyant skiff
#

but the amount of sunhours was the coolest one to make

#

so much shit that went into that

#

so next card will be huge

#

thats why it seems like im not doing that much

#

cause there is so much going into this

subtle rune
#

That's why I can't bear to rewrite it myself when you seem to have a good thing going ๐Ÿ˜‰

buoyant skiff
#

plus im constantly swapping pictures for the longcards so they can randomize from

#

that collection is growing

subtle rune
#

Nice!

buoyant skiff
#

neeed to setup some widecards soon also

azure scarab
#

?>

buoyant skiff
#

not sure what to display on em yet

azure scarab
#

Can I not use a binary sensor as a state senor?

#

state-label?

buoyant skiff
#

how are you trying to set it up ?

#

show me a snipplet

azure scarab
#

under a picture element?

#
          - type: state-label
            entity: binary_sensor.back_yard_motion
            style:
              top: 46%
              left: 79%
#

or am I better off having a image with a on/off picture

#

sorry this is all still really new to me

buoyant skiff
#
          - type: state-label
            entity: binary_sensor.test
            style:
              top: 30%
              left: 30%
#

mine worked just fine

#

displayed connected

azure scarab
#

hmm and that's under a picture element?

buoyant skiff
#

ofc

azure scarab
#

weird. mine didn't show up

buoyant skiff
#

check that the sensor is working ๐Ÿ˜ƒ

#

would be my advice

azure scarab
#

oooo found it

#

it in black text

#

i have a black background

buoyant skiff
#

loool

#

yepp there is the issue

azure scarab
#

I put a red border around it and found it

#

๐Ÿ˜„

buoyant skiff
#

its kinda hard to read black on black

azure scarab
#

haha

#

I guess I should probably go with an image

buoyant skiff
#

found myself using this sites for color palettes more and more

azure scarab
#

Can you use the image type with any entity?

buoyant skiff
#

picture elements ?

#

is that what your refering too ?

azure scarab
#

yeah so under my picture elements I have some images with an image for on/off

buoyant skiff
#

yeah

azure scarab
#

I want to do something similar with my binary sensor

buoyant skiff
#

use type: image

#

its in the docs

#

and there are examples on sharethelove

azure scarab
#

Yeah I've gone through the docs, just confused what types of sensors can be used with what types

#

I'll look again

buoyant skiff
#

.sharethelove

kind shellBOT
buoyant skiff
#

look there

#

at the 3d floorplan

azure scarab
#

ahh got it. I'll go through sharethelove

#

I see more stuff I was looking for

#

Thanks!

buoyant skiff
#

np if you make something good feel free to pr it

midnight monolith
buoyant skiff
#

we are always looking for more stuff

midnight monolith
#

Updated alarm clock, updates based on states/sensors

buoyant skiff
#

HUGEEE

#

still havent added google calander to my greeter card

#

need to do that some day

#

@midnight monolith why not do something like this ?

#

or this

#

cleaner imho

#

cause that clock is freaking huge like that

midnight monolith
#

Well, what if you don't see very well?
And, I think at night, you only want to be 'overinformed' by other stuff... my main goal is still to have a clock :-). The extra information, for me, is just waste while I'm sleeping

buoyant skiff
#

ยฏ_(ใƒ„)_/ยฏ

#

not saying that your work is bad or anything so dont take any offense just saying that the clock is kinda large compared to anything else

#

you could vary the size of hours minutes and seconds thats would make it look at bit less static

polar kelp
#

I like it. Would look great on a wall

buoyant skiff
#

each to his or hers own

polar kelp
#

Is it a custom card or picture-elements?

halcyon mantle
#

@buoyant skiff Your greeter card looks awesome - Nice clean look...

#

I'm still trying to figure out if badges can be conditional in lovelace? I want my alarm badge to only display when armed

buoyant skiff
#

should be possible else use the monster card for it

#

havent playted around with the monster card that much

#

but im guessing that ill do that later when i start with system information

wheat current
#

How do you do badges in LL?

halcyon mantle
#

Also still just using lovelace in its native format, I try to avoid customisations since those usually breaks with upgrades

#

@wheat current ```
views:

  • title: Home
    id: home
    icon: mdi:home-assistant
    badges:
    - device_tracker.mqttherman
wheat current
#

Aha, those are for the view, I doubt you can get those to be contidional.

halcyon mantle
#

Damn, would be cool to be able to only show 'active' badges - E.g when someone is home their badge pop up and certain states that need your attention

wheat current
#

You can do a glance style with monster-card, that will almost get you badges, but in a card

halcyon mantle
#

I guess a work around is to have it as the first card in a view

orchid ocean
#

@warm stone I dropped the database and created a new one and it works. How can we as a community ensure that we dont mess up future migrations? My history is not that important to me but I can be for others...

buoyant skiff
#

@orchid ocean wrong chanel

orchid ocean
#

Ah ๐Ÿ˜ƒ darnit! โค

storm lion
#

anyone done a Plex custom card yet?

night patrol
#

I have used before a page showing the default cards for lovelace with an example of their code, and now I can't find it. Does anyone know what I mean?

buoyant skiff
#

.awesome

kind shellBOT
buoyant skiff
#

most links to everything rergarding ha is avaialble there

night patrol
buoyant skiff
#

bookmark that awesome-ha site

#

its really handy

storm lion
#

when did Awesome come about? that's a great resource

wheat current
#

08-01/18

storm lion
#

just seen who the initial author is - fantastic work @fading sorrel

wheat current
#

But HA was amazing long before that. ๐Ÿ˜‰

storm lion
#

lol.. I may of may not have been aware ๐Ÿ˜›

#

^ also @wheat current - let me fix that date for you ๐Ÿ˜‰ 01/08/2018

wheat current
#

Depends on where you live ๐Ÿ˜œ

storm lion
#

it's only you lot who get it wrong.... more research required

wheat current
#

Lot?

storm lion
#

I thought it was only an Americanism

wheat current
#

๐Ÿคท I use the one you typed

buoyant skiff
#

heheh well stuff happend while your where away @storm lion

storm lion
#

WHAT!!! I though the whole community went on stop when I got busy at work ๐Ÿ˜‰ - The cheek!

wheat current
#

Sorry we didn't get that memo

foggy tendon
#

@mild veldt I installed your custom component, but after two resets i still get the error sensor.feedparser not found

buoyant skiff
#

so thats not really a lovelace specific problem

#

but you added it to the path etc ?

wheat current
#

More a issue @ GitHub problem

buoyant skiff
#

indeed

#

its an ian problem

storm lion
#

how dare you say @mild veldt is a problem!

buoyant skiff
#

i do it all the time

#

along with other insults ๐Ÿ˜›

#

and he does the same back

#

so that makes it even

#

@foggy tendon open a issue on gibhub

storm lion
#

well him insulting you is allowed.. if not expected, but still ๐Ÿ˜‰

buoyant skiff
#

and assign ian to it

#

meh we hearl insults towards eachother thats how it works

#

its all outta โค

foggy tendon
#

@buoyant skiff yes, i followed the instructions....

night patrol
#

What share should I be putting images for lovelace cards? At the moment I just have the default shares.

buoyant skiff
#

/local/

#

same as any other image you wanna use

subtle rune
#

= www folder in /config/

buoyant skiff
#

sigh these hass.io users fancy /config ๐Ÿ˜›

#

xD

night patrol
#

hmm, in /config I don;t seem to have a www

#

(fancy hassos over here)

buoyant skiff
#

put it there

subtle rune
#

Make it, and then restart

night patrol
#

done

buoyant skiff
#

then move image there :d

night patrol
#

and then for the loveless config I can just do /local/home.png ?

buoyant skiff
#

indeed

vapid field
#

Hi, I thought I saw someone who made a lovelace card with a vertical stack but they were combined into one card. Anyone know where I can find a card like that?

storm lion
vapid field
#

Yes! thanks @storm lion

night patrol
#

Now i just need to work out how to make a card that shows different images based on a sensor that has 5 different possible states...

#

That can wait until after lunch I think ๐Ÿ˜†

storm lion
polar kelp
night patrol
#

That's useful for something else I am doing Jack, but yes Thomas, that seems simpler for my current plan. Thanks both!

#

hmm. I made the www folder, and a sub folder called lovelace, and then added /local/lovelace/night.png to a config but it's not showing up

#

took out the sub folder, still doesn't seem to like it

#

let me restart again

#

still nothing

#

okay now lunch, back later!

polar kelp
mild veldt
#

playing catch up on messages throughout the night, so someone might have answered this better; but, @halcyon mantle you can use the state-badge in picture elements which would allow you to hide it with a conditional. Granted your picture-elements card would be just that single badge. So doable I think, but some extra work.

grim light
#

Any ideas why the column_width criteria for glance cards doesn't work in Firefox? It seems to work perfectly in the Chrome-based Vivaldi browser, but isn't centered in Firefox.

In Vivaldi the four glance buttons are centered, whereas in Firefox they are squished to the left with a blank space on the right (looks like it's made to fit 5 icons instead of 4).

mild veldt
#

browsers are inherently awful in that they are free to apply css in different ways

#

time to brush off your copies of netscape

grim light
#

Ah Netscape! I can hear that modem dialup screech now.

#

It's not a huge deal as it works fine on my mobile browser which is where I'll be accessing the UI mostly. Just annoying that it's messed up in desktop Firefox.

empty heath
#

runs and hides.

meager grotto
#

Can I hide ' entity-filter' cards that are empty?

storm lion
#

I thought Firefox was dead by now

grim light
#

The last few releases have been good. I'm still leaning towards switching back to Vivaldi as my primary though.

storm lion
#

and today I learnt about Vivaldi

grim light
#

It's a fork of Chrome, but has some awesome added features (ex: the sidebar, and the ability to tile pages within the same browser window)

storm lion
#

does chrome not had extensions that do the same thing?

grim light
#

Possibly

#

I'm not a fan of running a ton of extensions though

#

I also prefer the look of Vivaldi

storm lion
#

I'll have to give it go then, thanks for the heads up

mild veldt
#

vivaldi is great. I wish I could use it at work, though

night patrol
#

@polar kelp That doesn't seem to work either. I can browse to the file using a web browser, but only when using https, and that ovbiously gives me a cert error because it's for my duckdns

polar kelp
#

Well... at least the file is in the right place then. So the problem is probably the config, I'd guess.

night patrol
#
      - type: picture-entity
        entity: sensor.house_mode
        state_image:
          "home": /local/home.png
          "away": /local/away.png
          "working from home": /local/wfh.png
          "holiday": /local/holiday.png
          "evening": /local/evening.png
          "night": /local/night.png
#

The card is correctly switching between modes, so that part is working, but no images

raven nacelle
#

The indentation does not look right (unless it is a copy/paste error)

empty heath
#

@raven nacelle That seems to be an obvious copy/pasta issue to me.

#

(top line is far left)

night patrol
#

yeah that's not how it is, 1 second

empty heath
#

๐Ÿ˜‚

raven nacelle
#

I thought so too...but doesn't hurt checking ๐Ÿ˜ƒ

empty heath
#

~edit @night patrol

kind shellBOT
night patrol
#

updated it

empty heath
#

@night patrol Missing / before local/home.png on first value of state_image

night patrol
#

oh yeah ignore that

raven nacelle
#

so I missed the earlier discussion....what is not working there?

empty heath
#

I didn't read the original issue.

night patrol
#

sorry, I tried it just in case but it didn't work

#

The images won't show in the UI

#

The card is there, and updates correctly, but no images

raven nacelle
#

no images or for any particular state?

night patrol
#

no images for any of them

empty heath
#

Can you do an inspection in Chrome to see the dealio?

night patrol
#

it cycles between those 6 states, but it never shows the image

raven nacelle
#

try removing the "working from home" line....that does not look right

#

states have _ and not spaces

empty heath
#

@raven nacelle That should only affect that single state.

raven nacelle
#

true....

night patrol
#

Yeah it was stopping that one from working actually

raven nacelle
#

so the others are working?

night patrol
#

yeah

#

working from home is too now

#

I changed the state to WFH

raven nacelle
#

use the state as it appears in the entities states

night patrol
#

Yeah that's sorted now

#

but no images still

#

could it be an SSL issue?

raven nacelle
#

do the files have the right permissions/owner?

mild veldt
#

and in the right path?

night patrol
mild veldt
#

I think I remember you having to have a default image

raven nacelle
#

run ls -la in the www directory and check the owner

mild veldt
#

try this:

- type: picture-entity
  entity: sensor.house_mode
  image: /local/home.png
#

just to be sure

night patrol
#

hmmmmmmmmmm

#

that worked

#

so not a permissions issue

#

I seem to be matching the example on the code though:

#
- type: picture-entity
  entity: light.bed_light
  state_image:
    "on": /local/bed_light_on.png
    "off": /local/bed_light_off.png
mild veldt
#

put the image back in there

wheat current
#

Are the states lower case?

mild veldt
#

i think it needs a default

#

@wheat current probably wrote the docs if the example is wrong ๐Ÿ˜

raven nacelle
#

@mild veldt no....default is not required

#

I have ```
- type: picture-entity
entity: device_tracker.pi_alokphone
show_name: false
show_state: false
state_image:
"home": /local/icons/alok_owntracks_home.png
"not_home": /local/icons/alok_owntracks_not_home.png
"Buckhead": /local/icons/alok_owntracks_not_home.png
"Downtown": /local/icons/alok_owntracks_not_home.png

#

and it works perfectly

mild veldt
#

๐Ÿคท

night patrol
#

I tried with a default and that shows but it doesn't change with states

#

yes, everything is lowercase

#

oh wait

raven nacelle
#

check if it is the same in the states tab states

night patrol
#

in the lovelace code it is, 1 second

wheat current
#

ll config does not count

#

It has to match states

night patrol
#

okay, yeah, that fixed it...

#

so used to doing the code all in lower case!

mild veldt
#

states is your friend in lovelace. never forget your friends ๐Ÿ˜ƒ

night patrol
#

haha, rookie mistake!

mild veldt
#

good. now just never make any more mistakes, ever again, and you'll be set

#

๐Ÿ˜‚

night patrol
#

I'm not as worried about having images on the dash, but it definitely makes it more appealing for the non technical user

mild veldt
#

my motivation for ll is probably 90% for my family/guest's use

night patrol
#

I have acquired a 19" touchscreen monitor and I've been trying to think of a use for it...

mild veldt
#

19"! nice

#

that's probably what i'll need as well

night patrol
#

yeah it's a bit over the top

wheat current
#

Coaster for the coffee table ๐Ÿ‘Œ

mild veldt
#

heck, i'm going to get a 32 50 100" touch screen

night patrol
#

going to make a wooden frame and stand for it, and then power it with a Pi and then have it as a main console running lovelace

#

another thing for my wife to say "and why do we need that?" about!

mild veldt
#

and why do you need that?

#

๐Ÿ˜ƒ

night patrol
#

why DON'T I need that?

#

checkmate

wheat current
#

Tell her that ๐Ÿ˜‚

mild veldt
#

There's no way she'll see through that bulletproof logic...

#

The key for selling HA/Smart Home to anyone is to make their lives easier

#

That's the actual key

#

So getting ll up and running on your 19" with something actually relevant to your users will sell it quick

storm lion
#

^ its difficult for someone to reject you making there life easier

wheat current
#

Easy? You know how many hours/days/weeks i have used om this? And the result... 1 active automation that send me a push notification when there is a new HA version ๐Ÿ˜‚

mild veldt
#

One of the reasons I'm making separate views for separate users. For my wife to bring up a view that shows her calendar, her upcoming tv shows, he todo list, etc. An true intuitive dashboard with controls for the whole house is the end goal...the dream

#

And if I'm lucky, I'll have it ready in 3 years

night patrol
#

I am setting it up so that 99% of it's use is all automatic

#

the screen is just a plaything really

#

it's already automating the lights in every room based on time of day and motion, and my wife does like that a lot

mild veldt
#

just gotta make sure it always works ๐Ÿ˜ƒ

night patrol
#

Anyway, I'd better do some work, these IT solution proposals won't review themselves (can I get HAss to do that..?)

mild veldt
#

one of the reasons I've moved away from zigbee lights and now putting in zwave switches. too many failures points with zigbee lights

night patrol
#

I have Hue for my lights and a smartthings hub running Xiaomi motion sensors

#

been completely solid so far

#

the Xiaomi sensors are 10x more reliable than the smartthings ones, and a 5th of the price

mild veldt
#

had hue. was not a fan. after a power outage I would have to reset half of them. which is not fun when you have 6 in your living room's vaulted ceiling, 15' up

#

anyways, off topic now

night patrol
#

oh wow really?! I've never had anything like that in the 2 years I've used it.

#

Yep!

#

Work now. Thanks everyone!

daring schooner
#

I have a lovelace question... has anyone tried the alarm control panel?

#

I was thinking of implementing an alarm, haven't done it yet

#

But the card doesnt show anything

#

just a blank space

#

am I missing a prereq?

mild veldt
#

possibly, do you have the alarm component setup?

wheat current
#

The custom card?
if yes, then yes

daring schooner
#

done that

#

I have the following in my configuration file

#
  - platform: manual
    name: Home Alarm
    code: 1234
    pending_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0```
#

alarm_control_panel.ha_alarm disarmed code_format: null
changed_by: null
friendly_name: HA Alarm

#

so I get an entity

mild veldt
#

well is your problem that the component doesn't show on the old ui or in lovelace?

daring schooner
#

although nothing on the front page

#

both

mild veldt
daring schooner
#

I'll more it to there

#

thanks

#

ah.. I worked out how to get the old one up

#

still no love with lovelace though

#

just a blank card

wheat current
#

~hastebin cardconfig + entity_id from states

kind shellBOT
daring schooner
#
      - type: custom:alarm_control_panel-card
        entity: alarm_control_panel.alarm
        title: My Alarm
        style: '--alarm-color-disarmed: var(--label-badge-blue);'
        states:
          - arm_home
          - arm_away```
#

Is my alarm supposed to be called something specific for this card to work?

wheat current
#

entity: alarm_control_panel.alarm HAS to match the entity_id you find in states

daring schooner
#

ah.. That's what I'm missing. I thought that had to refer to something specific in the .js resource

#

Still learning this stuff

#

Thanks for the help

wheat current
#

panel: true

daring schooner
#

sorry, not sure why comment got deleted. Where do I put that?

wheat current
#

in the view

#

no wait... sorry..

daring schooner
#

That makes it only show the first card

wheat current
#

if you do that it only show 1 card

#

So add a vertical-stack as the first card, and your cards under in that

daring schooner
#

I'll start googling that one. thanks for the pointers

wheat current
#

No need for google

mild veldt
#

@wheat current we should make a page on .sharethelove that gives a run down of using horizontal-stacks within a single vertical-stack panel

wheat current
#

just check the Lovelace docs

#

@mild veldt You do that ๐ŸŽ‰
We all agree that my writing sucks! ๐Ÿ˜„

mild veldt
#

lmao. I'll write something up tonight

wheat current
daring schooner
#

That would be amazing, I'm just trying to understand how to format this

#

I need to write some guides as I learn, so people getting stuck on the same things might understand

#

Formatting YAML is all new to me

mild veldt
#

nice. i'll put that into the mental cache to point people to

#

@daring schooner would recommend an IDE that supports yaml

wheat current
#

It is better to contribute to the official docs than to have 10000 different guides

daring schooner
#

Notepad++

#

now it's just splitting it up into different views entirely

#

where am I going wrong?

wheat current
#

That seems correct if you wanted 2 views

daring schooner
#

I just want one view with 3 columns

#

I'm obviously splitting it in the wrong place

wheat current
daring schooner
#

Now that just made things really weird

#

Some of the cards just went super tiny

wheat current
daring schooner
#

Like it's still trying to fit them in the same horizonal space.. instead of filling the screen

wheat current
#

it was missing panel: true

daring schooner
#

ah

buoyant skiff
#

#fakenews

#

๐Ÿ˜‚

daring schooner
#

What line should I put that on?

#

If I put it between 8 and 9 it only shows the first horizontal stack

wheat current
#

use the last link I gave you

daring schooner
#

still same though

wheat current
#

and you refreshed?

daring schooner
#

yup

wheat current
#

prove it

daring schooner
#

New browser time then

#

no panel: true

wheat current
#

That is not the last one

daring schooner
#

oh.. shit.. missed that

#

sorry

#

oh.. that's amazing

#

Thanks for your help... I'm going to go away and try to understand why that worked

subtle rune
#

Panel with vertical stack and horizontal stack works shit on mobile though, at least with my setup

#

The "columns" become so narrow

grim light
#

Is there any way to center the title text on a card?

#

Or is it hardcoded to be left aligned?

wheat current
#

AFAIK that is hardcoded, but you can get "cernter-ish"

#

title: "ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย Entities card sample"

#

it is not spaces it is (ALT+255)

grim light
#

Ah, I had tried spaces

buoyant skiff
#

hehe

mild veldt
#

@subtle rune I implemented toggles to dictate the number of columns per horizontal stack

#

so I have a vertical stack with 4 conditional cards, and they are all pretty much the same except for the make up of the horizontal stacks and then have some automations so that when I select input_boolean.show_one_column it sets all other input_booleans to off

#

it's pretty slick. but would not recommend doing if you have cameras as you background. it can be pretty slow to reload the camera resources in that case

buoyant skiff
#

Ian calm down your typing too much again

mild veldt
#

you might be THE worst

buoyant skiff
#

๐Ÿ˜„

mild veldt
#

you're going to miss me in a few days once I finish up my current custom components, I'm going to jump ship for a bit

buoyant skiff
#

whaaaat how dare you threaten to leave us ๐Ÿ˜›

#

haha

mild veldt
#

hiatus

buoyant skiff
#

for what ?

mild veldt
#

my fitbit watch doesn't have spotify playback controls, and my wife's android watch does and I'm jealous. So i'm going to write a spotify app for my fitbit

buoyant skiff
#

and ofc we are gonna miss you

#

but dont worry we are gonna find bugs in your software and ping you on github ๐Ÿ˜›

mild veldt
#

I have no doubt

buoyant skiff
#

so been keeping busy with just the feedcard

#

or done anything else ? @mild veldt

storm lion
#

Feedback card?

buoyant skiff
#

rss feed

subtle rune
#

@mild veldt Wow that's smart. Gone give that a try I think

mild veldt
#

feedparser @buoyant skiff

#

welp, it turns out I'm dumb and didn't know that native music controls were on my watch this whole time...

#

so I guess you're stuck with me

buoyant skiff
#

awnn

#

have you heard of that old expression

#

RTFM ? ๐Ÿ˜›

mild veldt
#

rude

buoyant skiff
#

hahah

#

im sure you will get back at me ๐Ÿ˜›

mild veldt
#

i'm above such childishness, obviously

buoyant skiff
#

haha

mild veldt
buoyant skiff
#

kewl

#

working on a syncthing component

#

gonna have a very simple stats component for it

mild veldt
sudden lion
#

Trakt?

mild veldt
#

yeah

buoyant skiff
#

should check if you can make it radarr and sickrage compatible also

#

if possible

mild veldt
#

it will just be how you format the data

buoyant skiff
#

nice ๐Ÿ˜„

mild veldt
#

it will be similar to the list-card in how you can configure it

buoyant skiff
#

good job ๐Ÿ˜„

mild veldt
#

really just a different format

#

i haven't done it yet ๐Ÿ˜‘

buoyant skiff
#

think there will be alot of happy ha users for that

mild veldt
#

that's what i do...make people happy

storm lion
#

Like the card.. though RSS was dead though...

mild veldt
#

you're dead if you ever bad mouth rss again!! ๐Ÿ”ช

buoyant skiff
#

lool

mild veldt
#

wow...sorry...i just really love rss

storm lion
#

Ok princess ๐Ÿ‘ธ

#

What do you use it for?

mild veldt
#

princess with a knife!

#

news and tv listings

storm lion
#

To cut the cake at your tea party?

#

Ok, interesting... I can get behind that idea..

buoyant skiff
#

plastic ๐Ÿ˜›

mild veldt
#

okay, i guess my new cards are going to be in private repos...

#

๐Ÿ˜ฆ

storm lion
#

Give me a couple of hours to mess with RSS and I may change my verdict

#

Or just release RSS updates about them... Same thing as a private repo

#

๐Ÿ˜‰

mild veldt
#

@buoyant skiff I take it back. @storm lion is now THE worst

buoyant skiff
#

wtf dont you dare take my titlle away from me @mild veldt

#

i AM the worst

storm lion
#

Haha, equal us I feel

mild veldt
#

THE worst could be a collection of users

buoyant skiff
#

no just me

#

i dont share that title

mild veldt
#

good, you passed my test and are still in fact THE worst

buoyant skiff
#

i reign supreme

#

too tired to actually do something useful today

storm lion
#

You do useful things?

buoyant skiff
#

hehe that depends on who you ask ๐Ÿ˜›

storm lion
#

Well I asked you gf and she confirmed

#

๐Ÿ˜˜

gilded plume
#

Someone got a clue, want to use a monstercard to show active timers but without the when i get all the timers (idle and active) but i only want active but when adding the when i'm getting no card

https://hastebin.com/pizutejeqa.bash

wheat current
gilded plume
#

Shows the timers but also the idle one's

wheat current
gilded plume
#

Goal is to only show the timer card when a timer is running and only show that timer

#

thought it should be possible with the monstercard (same way dealing with domain media player for example)

wheat current
#

it is, and it works for me, but conditional card is better easier for that

gilded plume
#

Maybe something is hanging in the cache, will try to clear that and otherwise use the conditional card

#

thanks!