#frontend-archived

1 messages Β· Page 149 of 1

kind shellBOT
#

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

steady sluice
#

what is HACS?

split granite
#

πŸ€”

#

did you try clicking the link?

steady sluice
#

oh

#

sorry didnt see that

#

Is there any way to inport a folder into hass?

#

I only see ways to import a file'

split granite
#

What do you mean, it's just a file system 🀷

steady sluice
#

this install instructions says put this folder full of stuff in custom_components

#

But I dont want to transfer the files over 1 by 1

split granite
#

How are you copying the files over currently?

steady sluice
#

the file editor add on

split granite
#

I'd suggest the Samba add-on then

steady sluice
#

oh

#

Ok ill try that

#

samba share?

split granite
#

Yup

steady sluice
#

So what does that do?

split granite
#

Then you can just connect to the share and copy the files as you need

steady sluice
#

How do I connect to the share?

#

is there a mac app or something, or is it online

split granite
steady sluice
#

Ok

fossil kindle
#

If i get this error what can i do ??

Custom element doesn't exist: hui-picture-elements-card

steady sluice
#

@split granite I added samba and got the files in. When I try to add the integration HACS it just sits in a loading loop

split granite
#

Probably you didn't copy over the .translations folder

steady sluice
#

Oh wait, it showed up now

#

idk what happened

#

Thanks!

#

Dang HACS is OP

mild veldt
#

@steady sluice the easier way is to add the repository of the component from Hacs Settings

mint geode
#

Hi guys, how can I change the language in which HomeAssistant Cast is displayed?

mild veldt
#

@fossil kindle would need to see more of your config

#

Are you wrapping the card in another card by chance?

gleaming vigil
#

This is likely a dumb question, but is there any way to get the logbook/history/graphs to not display in UTC? I have my local timezone set correctly in the config file.

fossil kindle
#

Yes its wrapping with four more..

mild veldt
#

card-modder is no longer maintained, I believe, and therefore has breaking changes. Should move to card-mod

fossil kindle
#

@mild veldt i tried to move over but didnt work

mild veldt
#

Well you can prove my assumption by removing card-modder and it will likely work then

fossil kindle
#

@mild veldt If you look at my config how do i remove it the easy way ?? and still get it to work ??

#

can you please show me ??

mild veldt
#

Remove line 30

#

And then unindent 1-24 lines

#

And remove line 1

fervent vine
#

@runic minnow my lamp icon state was down to the theme I was using, thanks for the help the other day πŸ‘

fossil kindle
#

@mild veldt unindent 1-24 lines ??

mild veldt
#

Yes?

fervent vine
#

Take the spaces out I think that means

fossil kindle
#

Ok no border anymore..

#

@mild veldt is where another way to get borders and rounded edges

mild veldt
#

like I said, move to card-mod

fossil kindle
#

@mild veldt Sorry for a stupid question. How ??

mild veldt
#

go to the repo and read up on how to use it

distant stag
#

Why can't I access my HA with https? There are literally zero errors in my logs, but if I go to https://myhass.local:8123 an aiohttp.http_exceptions.BadStatusLine: invalid HTTP method error pops up in my logs

#

It said earlier that the component http had been loaded properly, but is there a way the problem is with my certificate? I've just generated them with the letsencrypt addon

split granite
#

What if you use http://?

#

Does that work?

distant stag
#

Yep

split granite
#

Then you haven't yet set up SSL πŸ˜‰

distant stag
#

Uh

split granite
#

HA is either/or - it's either http or https - not both

distant stag
#

Yep, that seemed odd to me as well...

split granite
#

Well, generating the certificate doesn't add them to HA

distant stag
#
   base_url: my.url
   server_port: 8123
   ssl_certificate: !secret ssl_certificate
   ssl_key: !secret ssl_key```
kind shellBOT
#

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

distant stag
#

Is there anything else I should set up?

split granite
#

Run the config check

distant stag
#

Gives no errors

split granite
#

And you restarted HA?

#

Checked the log for errors or warnings?

split salmon
#

does anyone know how i could do a template for listing the days until a date?

#

I.E '5 months, 2 days, 5 hours, 3 minutes, 33 seconds until x happens"

distant stag
#

Yep, just checked everything @split granite

#

I'm editing the right configuration.yaml πŸ˜‚

split granite
#

πŸ˜„

distant stag
#

And my logs are showing zero warnings or errors

split granite
#

If it's answering on http then it's not loading the SSL config 🀷

distant stag
#

but why

split granite
#

Maybe somebody there will have an idea

dawn geode
#

Anyone know how to find a URL of a castable steam off a webpage? I would like to know if it's possible to show this stream directly on the homepage/frontend of HA.

#

I tired finding the url through my router once it's visible on my chrome cast but not sure if that's the right. Also found a app that should display the url from what I found online but can't seem to wrap my head around it.

silk pulsar
#

-_- hi ... anyone else facing issues with lovelace not displaying entities correctly since the las tupdate ? especially thermostat

dawn geode
#

App is called Web Video Cast on Android

split granite
#

@silk pulsar Are you using any custom cards?

silk pulsar
#

nope regular thermostat

#

at least these are giving me problems, my custom cards still work

split granite
#

Are you getting a yellow box, or what?

silk pulsar
#

simply empty

#

what is strange ...

split granite
#

Have you tried in Incognito mode?

silk pulsar
#

mom

#

no change

#

but what is strange if I hit the tab it is empty when I now hit f5 couple of times it displays the elemnts

#

same on iphone safari and chrome windows

split granite
#

I've not seen anybody report that 🀷

silk pulsar
#

fuck 😦

#

sry

#

if i create a new tab and insert non displayed elemtns in there it shows as intended

#

narf

#

I think it may has to do with custom group card

#

also entity in the same area seem to be affected

split granite
#

Not all custom cards work with 0.107

fossil kindle
#

@mild veldt Thx for your help its working now...

kind shellBOT
dark dirge
cinder rapids
#

@raven nacelle hello, which one is the custom card you showed in the dev channel.

raven nacelle
cinder rapids
#

Thanks, looks really nice.

raven nacelle
#

yeah, I love that card. Great way to simplify the UI

stiff steeple
#

Hello, I just updated hass and now I get some weird JS error: Logger: frontend.js.latest.201910022 Source: components/system_log/__init__.py:209 First occurred: 20:05:18 (1 occurrences) Last logged: 20:05:18 https://mydomain.com/frontend_latest/chunk.c438e6d2aec60a4f9acf.js:2169:3945 TypeError: e is undefinedAnyone know what this might be about?

feral rivet
#

hey guys need some help. I have been successful at creating a few persons picture-elements card using device state, but I am trying to get one last final piece to this puzzle added an I am a bit lost . From what can read Device tracker supports battery status under services per the instruction guide. I have tried this ``` type: state-label

  • entity: device_tracker.imani
    device_tracker.see: battery
    icon: 'mdi:battery'``` but I am not getting a battery reading.
#

I am pretty sure it's device _tracker.see that is incorrectly placed , but I do not know how to properly set it up?

steady sluice
#

Is there any way to group things tyogether as one switch in the frontend?

kind shellBOT
#

Groups allow the user to combine multiple entities into one.

feral rivet
#

will take whatever help is available.

split granite
#

device_tracker.see is a service call @feral rivet

feral rivet
#

ok so how do I set it up so that I can ask it to call the battery status or levels?

split granite
#

Let's start with - what card?

feral rivet
#

picture-elements

steady sluice
#

thanks

feral rivet
#

ok so I need to change this from what I have above to this ``` type: state-label

  • entity: device_tracker.imani
    attribute: battery
    icon: 'mdi:battery' or is this the correct way type: state-label
  • entity: device_tracker.imani
    service: device_tracker.see
    service data: battery```
split granite
#

The first looks more likely to work - if you can fix the indenting

#

That second looks like you mashed together a bunch of random things

feral rivet
#

so the first one I am trying based on the link you shared. the second one is based on this linkhttps://www.home-assistant.io/lovelace/picture-elements/#service-call-button

dreamy moon
#

my lovelace configure screen is not showing anything, when i switch to that mode, does anyone know how i can edit the code directly to hopefully find the error? cards show up when i am not in edit

split granite
#

@feral rivet The link you shared is for making service calls, as it says. You're not wanting to cause something to happen when you tap, are you?

feral rivet
#

no I just want to get the battery information

split granite
#

Then... that link isn't going to help you πŸ˜‰

feral rivet
#

ok no service call . Back to attribute ``` type: state-label

  • entity: device_tracker.imani
    attribute: battery``` not data being pulled. So is the limitations with the card or the device-tracker?
#

or me πŸ€”

steady sluice
#

Anyone know how I could make a dropdown on my frontend that has like 5 different scenes, and when I choose a scene from the dropdown, it loads that scene?

feral rivet
#

take a look at Dinotech's stuff

muted inlet
#

@steady sluice input_select with an automation that activates a scene based on the input_select changing state

kind shellBOT
radiant bear
#

For some reason, the History isn't shown

#

It just says "no state history found"

feral rivet
#

So if attributes is not providing me the information that I am looking for , but device tracker is showing that the information that I am seeking should be available, what should I do now?

split granite
#

Check your indenting/formatting

feral rivet
#

Tinkerer, when I pull it in , my image is grayed out and no data is provided, when I push it out two spaces my image is restored , but still data. question: if the attribute is not displayed in the developer >state tab can it be used? If the answer is no Can I create a sensor to give me the battery status for said device?

muted inlet
#

@radiant bear check the log. If you see "database disk image is malformed" delete home-assistant_v2.db in your config directory and restart home assistant

radiant bear
#

Thanks. I'll try that

steady sluice
#

@muted inlet when I add an input select it puts a "false" option in there when I didnt program that. Any idea why?

radiant bear
#

Another question: I'm converting some numbers inside my configuration file (download and upload speed from bytes/s to MB/s to be exact) but it gives me like 8 decimal places. Is there a way to limit this?

onyx plover
#

guys playing an mp4 recorded on an rtsp stream... Is giving errors. This seems a pretty normal thing?

split granite
#

@radiant bear You could use a template sensor to handle that

#

@onyx plover giving errors 🀷

#

@feral rivet Template sensor

radiant bear
#

@radiant bear You could use a template sensor to handle that
@split granite Ok. I'll try that out. Thank you

onyx plover
#

there is a workaround but it is really stupid... Damn Tinkerer πŸ™‚ You are being paid to help people out here? πŸ˜„

#

Btw I already ordered the google coral in the meantime πŸ˜‰

#

the error : β€œError demuxing stream: No dts in packet”

split granite
#

90%+ of the answers to people's problems involve pointing people at the docs πŸ˜›

winter wasp
#

is it possible to import/reuse YAML when using the Configure UI? in one view I have to write the same code many times and I was able to use !include in the YAML version

split granite
#

Not without copy and paste

onyx plover
#

But not this time tinkerer? πŸ™‚

steady sluice
#

how do I make an automation that activates a scene based on the input_select changing state

#

what "states" would the input select have? @muted inlet

#

If I put the names of it as "Movie", and "Normal", then would I just type in Movie as the state?

split granite
#

Yup

#

Let me grab one of mine

dawn geode
#

Anyone willing to helpe setup my home assistant? If you have time we can do remote desktop over chrome?

#

Need help with ssh and setting up SmartThings

split granite
#

You could try asking on the forum, but ... I'd be careful of giving random folks on the Internet remote access πŸ˜‰

wheat current
#

ProTip, don't invite strangers onto your network

split granite
#

It's not like they could set up an account for remote access... oh, hang on πŸ€”

silent prairie
#

I'm migrating to lovelace and looking for a way to have a card expand entities inside a group, similar to behavior pre-lovelace. It appears it may no longer be a feature without custom plugins; is that correct? I'd like to avoid managing separate lists for groups and now UI as well as a third party plugin if I can. If that isn't possible with lovelace anymore is there another approach to this problem I'm overlooking?

split granite
#

There's probably some custom cards, but ... otherwise no

dawn geode
#

Lol who knows, hopefully someone would be willing without any ill intentions

silent prairie
#

@split granite weird, just for my education is there a reason that was pulled? Does that maybe have more to do with the UI and state machine separation? Just seems like an odd thing to remove but I could see how that could remove that functionality.

split granite
#

Exactly that

#

Before the UI and the core were tightly linked, and little of that made sense

dawn geode
#

What's a better way of setting up ssh without using duckdns

split granite
#

Local SSH doesn't require that

#

But that has nothing to do with the Frontend

dawn geode
#

Lol they sent me here, but I will move there

silent prairie
#

@twin lintel okay well thanks at least I'm not overlooking something I appreciate your help

steady sluice
#

Im hsving trouble configuring a lovelace card

#

This is my config for it

#

This is the repository for the card

#

@split granite sorry again I have failed lol

umbral wing
#

anyone able to assist with a basic query on the built in graph entity?

potent nova
#

is margin-bottom: 10px ; for example not supported by card-mod, if i want to use it in a picture entity card?
and where can i find out what css style is supported by which card? iam trial and erroring all the time...
can someone help?

woven smelt
#

I was wondering if there is an easy way to clone a scene? For example, turn all kitchen lights on. I want another scene to turn them all off again. Can create this manually, but it would be nice to clone it and make the edits I want.

muted inlet
#

copy the scene in the YAML file and make your edits

woven smelt
#

Ok. This is getting worse... I want to make a double tap on the main kitchen lights turn on all the accent lighting. So I set it up to activate a scene when the lights are on and it gets a turn on event. The trouble is, the scene also fires the event.

#

Any thoughts on how to not self-trigger? Just doable with minimum durations?

flint geyser
#

Has anyone successfully put a divider into a glance card? I found this thread, it mentions using a "custom:hui-glance-card" but I have no idea what that is and am hesitant to use it.

#

I want to have divider headings that split up a glance card into multiple sections.

#

Just like the screenshot in OP's post above.

trail stream
#

newb question: How do I increase the sensor data font size in a sensor card?

mild veldt
#

ayyy, I went to ISU πŸ‘

#

@trail stream card-mod would probably be your best bet

trail stream
#

πŸ‘

devout kraken
#

Hi guys, I found setting theme for user does not apply to specific user in all sessions. Just it sets to current session.
Anyone can reproduce this problem?

split granite
#

AFAIK that's expected

runic storm
#

Hey guys, sorry if this is a newbie question but how do I get rid of all the small sensors on the main overview page?

#

I disabled the entities but they still show

split granite
#

dotsvertical -> Take control

#

Make the UI look the way you want to

runic storm
#

thanks, I already did that but I dont see anyway to remove, unless I use Raw edit. I am talking about Badges and not Sensors.

#

actually just tried raw edit and removed them and it worked!

#

thanks

buoyant portal
#

You can do it by editing the view via the UI without raw edit

devout kraken
#

AFAIK that's expected
@split granite You mean its okay?

split granite
#

Well, "okay" depends on your expectations, but it's not a bug...

devout kraken
#

Well, "okay" depends on your expectations, but it's not a bug...
@split granite Right, can you help me to understand why this happen? And where can set theme for whole HA and or set it for specific user for all sessions?

split granite
#

~irc @devout kraken

kind shellBOT
#

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

split granite
#

You can also just type responses out without quoting you know πŸ˜‰

#

In theory if you set the system default that's it for everybody

devout kraken
#

Sorry, I forgot about it. πŸ™

#

Where to set it, just in YAML file? Can not set it from UI?

solar summit
#

Does anyone of you have webostv integration in frontend? Currently i have made a custom card with my remote and made buttons on each place of the remote, but i cant figure out how to make integration with the ”select input” button on the remote. Does someone have a solution on that button?

#
  - service: media_player.select_source
    service_data:
      entity_id: media_player.living_room_tv
      source: Netflix
    style:
      left: 29%
      top: 51.5%
    type: service-button
image: /local/tvremote.png
type: picture-elements
#

i've done it like this.

runic storm
#

anybody know how to bring back the header when disabled using custom_header?

tawny lynx
#

@runic storm If you need to restore the default header add ?disable_ch to the end of your URL

#

I actually bookmark it in my toolbar so if I jack something up I can just click the bookmark and get back to it

runic storm
#

Thanks! worked a treat!

trail stream
#

What are the recommended options for creating a View that is readable from a distance?

vapid field
#

pokes @split granite with a long (covid-free) stick

#

You staying healthy times like these ?

split granite
#

I am

vapid field
#

Great

#

I do hate my choice in work atm

split granite
#

🀣

vapid field
#

seen swedens 3d-printer-communties making faceshields ? πŸ™‚

#

I'm a faceshield

#

everyone caughs at me :/

#

I was tricked into running hassio, which was just disaster; so last nite I installed a deb host via esxi, having some issues with getting ssl to play with nginx

#

Main issue was that hassio could not use nfs or mount anything; cause I got wildcert at another box

dapper grotto
#

Hello, I hope anyone can help me here... πŸ™‚ I need to create a card where I can select with an image the rooms of my houses (on and off) and then click a button to send the vacuum to clean only the selected rooms... How can I approach the UI cards interface?

vapid field
#

Think dictionary is broken

dapper grotto
#

I could use input_boolean and custom:button-card... but then? How?

split granite
strong falcon
#

I have a few cards using custom:hui-xxxx as the type. I am trying to remember what these "hui" cards are. Can someone refresh my memory? Are they just standard cards that were edited using the UI editor?

digital cape
#

Hello, the weblink integration does not work. Is there an alternative to weblink integration?

split granite
digital cape
#

Sry

#

Shall I copy to integration's

#

I am searching for an alternative to the deprecated weblink integration but can't find a solution

steady sluice
#

Does the facebook portal work with HA?
Like is there an app you can put on it? I know theres a browser

split granite
#

Ah @digital cape - you want to add a clickable link to the HA frontend?

#

@steady sluice If there's a browser, can you enter the URL for HA?

digital cape
#

Thank you. I will try tomorrow.

winter wasp
#

is there a way to order the dashboards in the list on the left?

feral rivet
#

hey guys can use this battery sensor template to template to get battery information even though it not part of the states attribute list? platform: template sensors: bat_livingroom: value_template: '{% if states.zwave.danfoss_z_thermostat_014g0013_heating_1_4 %} {{ states.zwave.danfoss_z_thermostat_014g0013_heating_1_4.attributes.battery_level }} {% else %} n/a {% endif %}' friendly_name: 'Thermostat Living Room' unit_of_measurement: '%' entity_id: zwave.danfoss_z_thermostat_014g0013_heating_1_4

split granite
#

If it's not an attribute, there's no magic to extract it

#

also

      {{ states_attr('zwave.danfoss_z_thermostat_014g0013_heating_1_4','battery_level') }}
feral rivet
#

well that is not good news at all. My wife and I both have android phone and I am able to get battery ,speed course lat and long from it an the source is GPS , my daughters phone which is on the same house network is only able to do lat and long and the source is Router. I am a bit confused to say the least.

split granite
#

Did you install any software on that phone to report things like the battery?

lavish solar
#

does she have the/an app installed and is there an entity for it?

split granite
#

any app really - there's a stack of integrations that handle it

feral rivet
#

no app installed

#

so from what is being said the only reason I and my wife have all this information being provided is because of the app.

split granite
#

There's your problem

#

Yes. As yet Home Assistant isn't capable of hacking all your devices...

feral rivet
#

lol it's not a problem, just did not undrstand that was part of the criteria for getting that information. thanks guys

muted inlet
#

insert Shia LaBeouf magic gif here

fierce vale
#

Hi all... anyone knows in floorplan with tap_action how to open a card as popup? Is this possible? I want at tap the card of a thermostat be opened as popup to easily adjust the temperature. This is not that nice as opening the default view of the entity as there I only have dump arrow-up/arrow-down

vapid field
#

ningx is amazing, whatever I do it gets worse

feral rivet
#

new question can I get 4 picture-elements cards for 4 person into a horizontal stack card ? Can anyone share an example?

dull sandal
#

I'm trying to configure my main entity in a fold-entity-row to toggle on tap and show more info on hold action. But I can't get it to work.

I've gotten this far so far: https://hastebin.com/acatixihal.bash

Does anyone know why my hold_action and tap_action works in the group_config for all entities in the fold, but it doesn't work for the entity I attach the fold to, it only has more-info as a tap action anyway.

vapid field
#

does letsencrypt always say that cert is untrusted or did I do something wrong? πŸ™‚

split granite
#

It should only do that if you're using the staging API

#

Or the time/date on your system is very wrong

plucky ember
#

Is there a mechanism to get the frontend to reload the JSON lovelace configuration rather than the YAML?

#

I only have the saved JSON for the front-end for lovelace; is there a process to convert to YAML?

split granite
#

You should only be editing the JSON through the UI

#

Indeed, you shouldn't be editing anything in .storage/

gaunt lake
#

Odd question... can you create blank cards in lovelace?

split granite
#

There's a layout card that may give you what you want

plucky ember
#

@split granite Yes, well, if the "upgrade" to 0.107 didn't kill my UX generated from my group definitions then I might have something else to work with; however, I only have the JSON from a couple devices; do I convert to YAML? json2yaml via npm is what I tried

split granite
#

Ah, you've been ignoring all the warnings...

#

There's a JSON2YAML site

plucky ember
#

@split granite OFC! I had other things to do! Do I need the .data.config subset of the lovelace JSON?

kind shellBOT
#

Tinkerer is away for 11m 49s with a message :point_right: It is sometimes an appropriate response to reality to go insane

odd light
#

anyone using browser mod and what are you doing with it?

lime glacier
#

is there a quick and easy way to identify which lovelace module/components thingies I have installed are actually in use?

#

yeah, I think common sense is enough, cut heaps

misty plaza
#

Hi guys, question here (no background in frontend), I would like to use Material Web Components for developing my custom cards. I see that they are used and recommended in the HA frontend github repo. Actually I can see how some mwc components are used multiple times, such as @material/mwc-ripple and @material/mwc-button. In particular, I would like to import @material/mwc-select in my custom card, but when I try to import it with @material/mwc-select. It just not work. Could you help me with this? Thanks!

umbral wing
#

hi guys, what sorts of things are you doing at the frontend with your Z Wave and Multisensor?

odd light
#

nothing, I just use their states in automation.

#

actually, I do have some things display when they are open

#

like motion sensors, doors and windows.

limber fjord
#

Where exactly do the resources get automatically migrated to if we have been using the raw config editor in browser?

odd gate
#

Hi all i am not sure if someone can help me i am still new at building with lovelace i would like to know what is been used here https://ibb.co/tLfrHfx

muted inlet
#

@odd gate that looks like the glance card config

odd gate
#

@odd gate that looks like the glance card config
@muted inlet i know i sounds dumb but whats that πŸ™‚

muted inlet
#

One of the cards you're able to add to your overview if you take control of the interface (three dots in the upper right of the frontend)

odd gate
#

cool thanks ill take a look

feral rivet
#

hey guys is there such a thing as a popup card ? I am working on my mobile setup and want to be able to tap a button like alarm and have the key pad or other security items show up .

odd gate
#

One of the cards you're able to add to your overview if you take control of the interface (three dots in the upper right of the frontend)
@muted inlet i got it mate but how do i get the little imahe like it is on there

muted inlet
#

What do you mean? The icon like under "outdoor lights"?

odd gate
#

yea he has some nice littles images

muted inlet
#

It'll use the default icon for each entity but you can change it by clicking "toggle editor" and setting a new icon for each entity

odd gate
#

thanks for that

muted inlet
odd gate
#

You can specify icons from this list: https://cdn.materialdesignicons.com/4.7.95/. Just need to do mdi:icon-name in the card config
@muted inlet thanks amte i got it mostly happy with it , i want to build a basic remote for my tv, i can tuen it on and off ect but i would like to have the volume slider and input like on that image where would i starty

umbral wing
#

nothing, I just use their states in automation.
@odd light any examples you can share?

odd light
#

Like I've got a motion sensor in my bathroom and a node MCU with a temp/humidity sensor, I don't look at them in the front end, but the motion turns the light on and if I'm in the shower the humidity sensor keeps the light from turning off if humidity is over 90%

#

I used node red

mild veldt
#

@gaunt lake search for gap-card

umbral wing
#

Like I've got a motion sensor in my bathroom and a node MCU with a temp/humidity sensor, I don't look at them in the front end, but the motion turns the light on and if I'm in the shower the humidity sensor keeps the light from turning off if humidity is over 90%
@odd light done anything at ll on the frontend?

odd gate
#

just a hint where to start will be great i hacve looked at a lot of examples but they are massive and i get lost

mild veldt
#

@odd gate what kind of TV?

odd gate
#

@odd gate what kind of TV?
@mild veldt LHsmart tv

mild veldt
#

It is on HACS

odd gate
#

wow lots of stuff there

odd light
#

Dunno what you're looking for

mild veldt
#

@umbral wing recommend you checkout HACS as well. Lot of custom cards to check you. You could also just throw them in an entities card

odd gate
#

ool thanks

umbral wing
#

I have created a graph for the temp, but keen to see what others are doing and showing for these devices

feral rivet
#

hey guys is there such a thing as a popup card ? I am working on my mobile setup and want to be able to tap a button like alarm and have the key pad or other security items show up.

mild veldt
#

@feral rivet yes. There's the older version which is literally popup-card, or the updated version inside browser_mod

feral rivet
#

So i can used the older version?

mild veldt
#

Depends, 0.107 introduced lazy loading for lots of core elements, so you could potentially run into issues

feral rivet
#

I don't think I understand how browser_mod works. Danm

mild veldt
#

alarm-panel happens to be an element that is only loaded on demand, and as popup-card has likely not been updated, it would not work with it

feral rivet
#

then I need to figure out browser-mod. It does not seem a clear cut to what I want to do

mild veldt
#

it is fairly straight forward

#

use HACS, and install the integration, add to config, then restart

feral rivet
#

I have HACS

mild veldt
#

then you can use it as a tap_action in LL

feral rivet
#

I guess the part that I am struggling with is the turn any device into a browser.

#

have you used this in the same way as a popup card. would you care to share if you have ?

kind shellBOT
feral rivet
#

while the button card works I do not know how I get it to call the popup card.

mild veldt
trail stream
#

Where can I set the number of digits displayed for a sensor?

dense mountain
#

I have a list of effects that I can set my iot lightbulb to use in a drop-down list in the UI. How do I de-select something from that list? Usually there's a button to do so in this control

dense mountain
split granite
#

@plucky ember For Lovelace, you need .storage/lovelace - I don't think anything else in there is for Lovelace, but ... 🀷

mossy timber
#

ARGH

#

Can someone help me with the display of a timestamp?

misty plaza
#

Hi guys, question here, I would like to use Material Web Components for developing my custom cards. I see that they are used and recommended in the HA frontend github repo. Actually I can see how some mwc components are used multiple times, such as @material/mwc-ripple and @material/mwc-button. In particular, I would like to import @material/mwc-select in my custom card, but when I try to import it with @material/mwc-select. It just not work. Could you help me with this? Thanks!

split granite
#

@mossy timber What's the actual question?

barren bolt
#

If I use packages, can I split out the scripts and automations in a subdir?

  • package_1
    • package_1.yaml
    • package_1_config
      • package_1_automation.yaml
      • package_1_script.yaml

Will this work?

split granite
barren bolt
#

For the packages?

split granite
#

For the question you're asking

mossy timber
#

@split granite I receive the timestamp of a boot time over json as an epoch (todays boot was 1585625355) and I am trying to present this on screen as a relative time.

split granite
#

That's probably do-able as a Markdown card with a template

mossy timber
#

The message comes in over mqtt, and sensor is defined as follows : value_template: >- {{ value_json.lastboot | timestamp_custom('%Y-%m-%dT%H:%M:%S') }}

#

Which displays the time in UTC

split granite
#

There's a relative_time filter, but you'd want to handle that in the display, rather than a sensor

mossy timber
#

I set device_class: timestamp in the sensor definition

#

i can add %z which adds +0700 to the timestamp, but device_class doesnt know what to do with it

#

I've tried adding , local_time=True as per documentation, but that results in an "Unknown" shown in the frontend.

#

Where do I use the relative_time?

#

template sensor

split granite
#

Or a markdown card

mossy timber
#

Yeah that feels a bit silly and over the top. Must be a better way.

cosmic gazelle
#

With the badges, can we have an icon template?

#

For example:

        icon_template: >-
          {% if is_state('binary_sensor.gate', 'on') %}
            mdi:gate-open
          {% else %}
            mdi:gate
          {% endif %}
finite pond
#

how do I get the Dark Sky badge to show the temperature instead of the condition?

split granite
#

Template sensor I suspect

misty plaza
#

How do I import mwc in my cutom cards?

dark tartan
#

Created a couple of input_booleans using the helpers ui how do I change the icon when it is on? Tried icon_template in customise.yaml but cant get it working also one that used to work no longer does. any help appreciated though being able to do this in the ui would be helpful

dapper grotto
#

Hello, I'm not able to transform scripts into values inside the lovelace.yaml
e.g. opacity: "${states['light.giovanni'].state === 'on' ? (states['light.giovanni'].attributes.brightness / 255) : '0'}"
opacity parameter is not working, even if the code seems to be correct
am I missing something obvious?

fallen falcon
#

trying to use the state-color property of the standard Button Card to change the color of a light bulb icon when toggled. Doesn't work. Do i have to use the custom button card to do this?

dapper grotto
#

Anyone can help me? I'm struggling with this since days...

atomic glacier
dapper grotto
#

Do I need it? πŸ™‚

atomic glacier
#

Pretty much can do any styling needed. Also has support for templating...have a look at the docs. May be what you are needing

dapper grotto
#

I just installed it...

#

but issue seems to be the same

#

Even a simple template

#
  • entity: light.giovanni
    image: \local\casa\giovanni.png
    state_filter:
    'off': brightness(50%)
    'on': brightness(100%)
    style:
    left: 21.5%
    top: 52%
    width: 21.2%
    filter: >-
    ${ "hue-rotate(" + "100" + "deg)" }
#

Like this one

#

doesn't seem to work

#

if I write filter: hue.rotate(100deg)... it works

#

but not with a template

atomic glacier
#

Okay, you only mentioned "values inside the lovelace.yaml" not in a specific card, which makes a big difference. I don't use picture-entity cards, so not proficient in the stying there...

dapper grotto
#

Is there a difference? I'm a newby πŸ™‚

atomic glacier
#

Yes. Some cards have certain allowable style types/rules, etc...

warm meteor
#

Hey, thinking of nuking my setup and starting from scratch as Im having way too many issues. I dont want to lose my front end set up though. What files should I backup so I can restore my lovelace configuration?

split granite
#

If you're on 0.107 set up a second dashboard

warm meteor
#

im having issues with 107 specifically so going to start fresh at 106.5. so thats not an option

split granite
#

Well, hopefully you're taking full backups anyway, but .storage/lovelace if you're using UI mode

warm meteor
#

thanks

fallen falcon
#

I remain confused about the reference to a lovelace configuration panel in 0.107 release ("Please note that resources are not in the raw Lovelace configuration editor anymore, but in the Lovelace configuration panel"). What is the Lovelace configuration panel?

split granite
#

configuration -> Lovelace

fallen falcon
#

looking

#

I see Lovelace Dashboards, but not Lovelace. Is it Lovelace Dashboards that this is referring to?

split granite
#

Yup

fallen falcon
#

ok. not clear from release notes. thanks.

#

@split granite so, I'm trying to move my custom card resources (from HACS) to this new Lovelace Dashboards thing, but I'm not sure where to put the yaml.

split granite
#

Are you using the UI editor, or YAML mode?

fallen falcon
#

UI editor

split granite
#

Then ensure that you've enabled Advanced mode in your user profile, since what you need is hidden until you do

fallen falcon
#

ah, ok

#

will check

split granite
#

Yeah, I don't know why the Resources tab is hidden by default...

#

At this point it's easier to simply tell everybody to enable Advanced Mode 🀷

fallen falcon
#

its on in my normal user profile, but I was working in a Kiosk profile that i created and forgot to turn it on there

#

thx

#

@split granite hope you don't mind another question....I'm trying to create a button card that toggles a group on and off and I want the icon to change color (like a light card icon would). I realize this is not standard behavior now, and was about to dive into using the custom button-card from RomRider to try to make this work. Is that the approach you would take too? Or should I template this thing.

split granite
#

Just ask, don't tag πŸ˜‰

fallen falcon
#

k, will do

split granite
#

I don't really use the UI like that, I view it that if I have to use the UI I failed... sorry

#

My UI is primarily to give me a status screen and admin data πŸ˜„

fallen falcon
#

yeah, i don't normally use the UI for actions either, but I'm building a wall mounted kiosk type control and that's where I want to use this behavior. Respect your point though. thanks.

split granite
#

If those are lights in a group, use a light group

kind shellBOT
fallen falcon
#

ah, good idea. I've used these before just to group a couple of LIFX bulbs in a lamp into one controllable entity. That is a good approach for this too, hadn't thought of it.

mild veldt
#

@dapper grotto templates are not natively supported in Lovelace, at all. Your configuration is also incomplete; what are are you using?

kind shellBOT
void marten
#

May sound like an obvious question bus is the default lovelace "button" card different to the custom button card?

split granite
#

Yes

void marten
#

Thought so πŸ™‚

void marten
#

What's the best way to debug the custom button card beyond dev tools? - It's not loading any values apart from the name, even after copying the example so don't think it's sensors faulting.

misty plaza
#

Hi! How do I import material-web-components (mwc) in my custom cards (the ones not used in frontend HA, such as mwc-select)?

mild veldt
#

@void marten start simple and work your way up. For starters just define the entity

void marten
#

Hey Ian, I did do that earlier - worked my way up. The entity itself works (tap), if I tap I can see the info about the sensor etc

#

so I know that much works at least

void marten
#

Finally figured it out, on the example...the second "custom_fields" section actually indents -1 back, even though it comes straight after the other custom_fields entry

tall bay
#

looks unclickable but it is

trail stream
#

Are there any themes someone can recommend that provide the best visibility at a distance? (large fonts, good color contrast, large tiles, etc...)

viscid grotto
#

Hi all - Does anyone know of an integration / automation that would let a non-admin user create a basic light timer?

e.g. Using an Android tablet, a visitor could set the Kitchen Light to turn off after an hour?

split granite
#

If there's a card in the UI any user can use it

viscid grotto
#

Sorry, I haven't done any Lovelace tinkering myself, is there an existing card that does that kind of thing?

split granite
#

Not as a clock, that I know of

viscid grotto
#

Ok, thank you.

fossil kindle
#

Hi, can i change the size of the buttons for light in lovelace ??

#

if i have 5 in a row its one size and if i have 4 thats one size ??

stoic rain
#

Anyone got any Lovelace-screenshots or galleries to share? Looking for some inspiration πŸ™‚

split granite
#

The forum has a stack of them

errant birch
#

I'm trying to do some custom css styling, but what is the best way to find the correct css tag ? using trial and error but i've tried dozens of options and they all don't work. tried right click copy selector but that wont work

stoic rain
tranquil solar
#

#presence_detection

#

i had my presence detection working with ping but has been broken since the last update. i am not able to find the way around it. any ideas to get it working again?

limpid remnant
#

In the midst of a brain fade it seems - I thought I've seen something about this, but... my home's Window entities report Normal or Violated when closed or open. The Group collection of them reports an 'unknown' State. Presumably this is because the entities are not On or Off. Is there a way to group them without creating binary_sensors for them all? I'd like to just map Violated to off, for example, in a customization. v0.106

lavish solar
#

How do they communicate? Zwave, zigbee, 433. Alarm system, other hub?

limpid remnant
#

They're sensor entities from an ElkM1 platform

lavish solar
#

Maybe change the device class for the entity?

limpid remnant
#

That's what I'm thinking, but to which class?

lavish solar
#

Try door or window

#

Mai not work it's not a binary sensor

limpid remnant
#

Sure would be nice to customize a state to anther state without creating a whole new entity (binary_sensor). Hoping I'm missing something

lavish solar
#

Surprised they don't come over as binary sensors. If it's just motion detection

#

And this is the state in devtools>states?

limpid remnant
#

Yea, sensor.garage_window <state> Normal

#

May be the Elk Integration

#

Its reporting Alarm system-type states that don't play with groups well, it appears.

#

Checked, Elk Zones (windows, etc.) are reported as sensors.

lavish solar
#

Do they not group at all or does the group not behave like you want

limpid remnant
#

Individual entities report as Violated or Normal. A Group of them shows a state of 'unknown". Unless there are other issues, I presume 'unknown' comes from failing to evaluate Violated/Normal and Group is looking only for 'on'/'off'

#

No log messages

lavish solar
#

Maybe use the group and create a new template binary for the group that iterates through the entities

#

So just one new sensor for the group instead of one per actual sensor

#

Just brainstorming

limpid remnant
#

πŸ‘ I think that will be the workaround.

#

There are lots of windows/doors. I've got too many entities already

lavish solar
#

Can pick it back up in another channel too

inner bloom
#

The motion sensor history graph says "closed" instead of "clear" like it does for other places where it shows motion sensor status.

#

This seems like maybe just a bug in the lovelace component that interprets the historical binary sensor state. Would this be an easy first-contribution?F

limpid remnant
#

THANKS paperclip !!!

lavish solar
#

Good luck!

trail stream
#

What sets the card size? I was hoping it would dynamically adjust when I set the font size but no such luck. Coming from Actiontiles I'm finding this a bit challenging. I'd like to create a 3 digit sensor output that I can read from 10 feet on a 12" tablet. Is this possible?

trail stream
#

It looks like there might be a way to set the card height as a % with card-mod. Anyone know the format of this?

limpid apex
#

Hello. I'm in a quest to build a mobile interface based on the plugin swipe-card. I created a huge card that works sometimes. Most of the time i get this error t.setConfig is not a function and sometimes it just works. Does anyone know could be causing this?

limber ibex
#

Hey guys (been a while since I've been here) but just wondering if anyone knows why the "Automation" section doesn't show up anymore on the default Overview Lovelace Dashbaord (not customised) -- All the Automation9s) are there and still work but you can't view them on the Dashbaord anymore

#

I'm on the latest Hass Vm appliance

muted inlet
#

@limber ibex it was a design choice in a recent update. You can make a dedicated Lovelace view for automations if you want though.

limber ibex
#

Oh I see

#

Damn that's a shame

#

My wife was so use to being able to trigger one of the automations that would "turn all lights off"

#

Is there a way to write/define custom "switches" that do artbitrary things?

muted inlet
#

Well again, you can make a dedicated view for automations, or add an entity button that controls that

limber ibex
#

That automatically appear on the lovelave ui?

#

an entity button okay

#

point me to the docs on how to do this πŸ™‚

#

Or can/should I create a Scene fo rthis?

#

I notice that's kind of newish since some time ago

muted inlet
#

Or make a script. Scenes are basically watered-down scripts

limber ibex
#

I see

#

Okay I'll play around with this thanks ;0

unreal urchin
#

hi friends. looks like there's a big difference with how panel_iframe additions to the sidebar appear vs panel mode tabs. how can I get a panel tab to behave more like the other (specifically with respect to filling the screen vertically)?

unreal urchin
#
title: 
views:
  - panel: true
    cards:
      - type: iframe
        style: |
          #root {
            height: calc(100vh - 48.5px);
            padding-top: 0 !important;
          }
        url: >-
          https://app.rach.io/etcetcetc```
granite spruce
#

I don't think I understand, how can I manually change the webui account passwords so the accounts retain privileges to configure no matter how I url or fqdn or dns name on a lan? And the backup legacy password?

livid oracle
#

Hi, I upgraded to .107.7, having lots of issues with some cards not loading right away then I get the red error box, then it goes away..... any reason?

dim jolt
#

As I’m the only admin in the house, how do I (or how do they) set the default dashboard for a user on say their mobile? (As a user they don’t have the config menu)?

#

Am I missing something obvious?

livid oracle
#

Weather
Custom element doesn't exist: hui-iframe-card.

#

I don't get why these errors are here now and were fine before

#

there were no breaking changes for this

drifting shell
#

Hello Everyone, I am newbie to Home-Assistant and enjoying it a lot πŸ™‚

#

I used for for few weeks and it works pretty neat. Now I would like to customize the UI

#

Tried googling around forums and learned about lovelace. Problem is that its quite confusing to implement the information around net as its stale because of new Lovelace Dashboard options on latest HA Versions.

#

so here is my doubt.

#

I am on HA version HassOS 3.12

#

Tried updating my UI on dashboard with below resource configs

#
  - url: /local/mini-graph-card-bundle.js?v=0.9.3
    type: module```
#

But getting the following error

#

I am not able to find any options on Lovelace config panel

#

Looks like I am cannot upload a screen-shot on this discord chat.

split granite
#

Enable Advanced mode in your user profile

#

For some reason the Resources tab is hidden until you do that 🀦

drifting shell
#

Interesting, thanks @split granite I'll try that now

#

Cool, I got the resources page now. That made the trick.

#

Thanks @split granite !! Now I am going to play-around and get my graph cards working 🀞

split granite
#

No worries

drifting shell
#

ok, so I got the resource tab and added the resource successfully now. How does the resource gets mapped to a lovelace dashboard.

#

I am adding a manual card like this

#
  entities:
   - binary_sensor.2nd_head_room```
#
- type: 'custom:mini-graph-card'
  entities:
    - binary_sensor.2nd_head_room```
#

never-mind, I think I got it

#

its just parsing issue, I guess

#
name: Latency Figures
entities:
  - binary_sensor.2nd_head_room
wintry gull
#

@split granite the docs say you still have to create the ui-Lovelace.yaml file

split granite
#

No they don't πŸ˜‰

#

They say you do that if you're using YAML mode

wintry gull
#

I’m just starting so which do you suggest?

split granite
#

UI mode πŸ˜‰

#

It's easier to work with, and you can switch later if you really need to

#

The only reasons for using YAML mode are really to embed secrets, or to use includes

#

Both of those are relatively non-standard

wintry gull
#

So I need yaml if I want to use custom cards?

split granite
#

Nope

#

If you did, I'd have said that πŸ˜‰

wintry gull
#

Ok so I just write everything in my config yaml like it was before in ui-Lovelace before?

split granite
#

Nope

#

You add resources in the Lovelace Dashboard

#

You customise your UI directly in the UI itself

#

Zero editing of files involved

wintry gull
#

Oookkkk I will have try that out

#

I haven’t used HA in a while and it seems things have changed

#

Thanks

split granite
#

With a new release every 3 weeks, it doesn't take long for things to change significantly πŸ˜„

wintry gull
#

Yea I can tell

#

So to add custom cards now I still have to include them in config and then they appear as an option in UI?

split granite
wintry gull
#

Ok ok

#

Thanks

rigid horizon
#

found an issue with html5 notification and a firefox plugin and i don't know if it's by design or not πŸ™‚ if you install "facebook container" in firefox it seems to disable html5 push notifications.

#

could anyone with a deeper understanding see if i should bug reported or if it's working like intended? πŸ™‚

drifting shell
#

@split granite Looking for your help to extract attributes of my binary sensor and plot it on a graph.

#

Here are the same code

#

binary_sensor.2nd_head_room and below are its attributes.

#
round_trip_time_max: '3.138'
round_trip_time_mdev: ''
round_trip_time_min: '2.429'
friendly_name: 2nd_Head_Room
device_class: connectivity```
#
Invalid config for [binary_sensor.template]: invalid template (TemplateSyntaxError: expected token 'end of print statement', got 'nd_head_room') for dictionary value @ data['sensors']['2nd_floor_avg_rtt']['value_template']. Got '{{ states.sensor.2nd_head_room.attributes.round_trip_time_avg | float }}'. (See ?, line ?).```
split granite
#

Please, don't tag folks just to demand ask them to help you

#

Looks though like your template sensor definition is wrong

drifting shell
#

oh sorry for that 😦

split granite
#

It seems harmless, but when you get them a lot, it's annoying πŸ˜‰

kind shellBOT
split granite
#

Show the sensor definitions

#

Don't paste them in the channel, use the above

drifting shell
#

ack

#

Here is my sensor related configuration.yml file

split granite
#

Ah!

#

binary_sensor is on/off

#

sensor can be anything

#

You've put all those under binary_sensor

#
sensor:
  - platform: template
    sensors:
       2nd_floor_avg_rtt:
          entity_id: binary_sensor.2nd_head_room
          value_template: '{{ states.sensor.2nd_head_room.attributes.round_trip_time_avg | float }}'
          friendly_name: 'Floor_RTT'
drifting shell
#

oops, I got this from online and just used. Let me change them to sensor and see if thats working.

#

Looks like ping module is only available inside binary_sensor

#

After changing my configs, here is the error

#

Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Invalid config for [sensor.template]: invalid template (TemplateSyntaxError: expected token 'end of print statement', got 'nd_head_room') for dictionary value @ data['sensors']['2nd_floor_avg_rtt']['value_template']. Got '{{ states.sensor.2nd_head_room.attributes.round_trip_time_avg | float }}'. (See ?, line ?).

split granite
#

Yup

#

See the integration docs for each πŸ˜‰

drifting shell
split granite
#

The only thing you need to change is the one I posted above

#

And probably systemmonitor - check the docs for that too

kind shellBOT
drifting shell
#

hmm, I tried moving it under sensor definition as well.

#

It throw's this error πŸ˜•

split granite
#

Likely because you're using 2 as the first character after the .

#

That'll always cause issues

drifting shell
#

ok fine, Let me rename that entity and see if thats going to help.

split granite
#
sensor:
  - platform: template
    sensors:
       second_floor_avg_rtt:
          value_template: '{{ state_attr('sensor.2nd_head_room','round_trip_time_avg') | float }}'
          friendly_name: 'Floor_RTT'
``` may work
drifting shell
#

ack, trying

split granite
#

You'll also want to rename all those binary sensors I'm afraid

drifting shell
#

ok Tinkerer, I'll try to change that as well. Power cut in my home, my HA went down just now. Will do the proposed config changes once power restored and update here.

split granite
#

😦

drifting shell
#

ok, my HA instance is up now

#
              friendly_name: 'Floor_RTT'
                           ^```
kind shellBOT
split granite
#

Share the current config so we don't have to guess πŸ˜‰

drifting shell
#

ack

#

Here is the latest config thats giving above syntax error

vapid field
#

Hi, my first question, so sorry in advance in case I am doing it the wrong way. My question:
Is it possible to configure two lovelace frontends in parallel, one for Iphone and one for Ipad? On Iphone I would like to work with tabs, for Ipad I would like to see all devices on one screen.

Thanks a lot for any tip or support!

split granite
#
          value_template: '{{ state_attr('sensor.second_head_room','round_trip_time_avg') | float }}'
                          ^                                                                         ^
#

You can't use the same quotes inside and outside - my fault

#
          value_template: "{{ state_attr('sensor.second_head_room','round_trip_time_avg') | float }}"
#

@vapid field Multiple Dashboards

vapid field
#

thanks for giving me the right direction ...

drifting shell
#

its working now, Thanks @split granite !!

drifting shell
#

sorry guys for reaching out again, I made the value_template working, but its not returning any data. Its showing always zero

#

just wondering what I am missing here.

#

If I check the actual sensor state under developer tools its shows values for the attributes. But then if I verify my value template its showing zero

#

round_trip_time_avg: '4.209'
round_trip_time_max: '5.471'
round_trip_time_mdev: ''
round_trip_time_min: '2.948'
friendly_name: 2nd_Head_Room
device_class: connectivity
#

But value template returns zero

#
    sensors:
       second_floor_avg_rtt:
          value_template: "{{ state_attr('sensor.2nd_Head_Room','round_trip_time_max') | float
 }}"
          friendly_name: 'Floor_RTT'```
split granite
#

Go to devtools -> Templates and paste your sensor in

#

Then look on the right and check to see what you get

#

Oh

#

~check @drifting shell

kind shellBOT
#

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

split granite
#

sensor.2nd_Head_Room doesn't exist πŸ˜‰

drifting shell
#

I think it should be binary_sensor

split granite
#

Still doesn't exist

#

Look in devtools -> Entities for your actual entity ID

#

Probably sensor.2nd_head_room - but that 2nd is still problematic

mossy timber
#

So I feed a time stamp in the YYYY-MM-DDTHH:MM:SS format into a device_class: timestamp. The time is local time. But it renders as if it's UTC.

drifting shell
#

Thanks for the tips @split granite !! its working after making below changes.

#
  - platform: template
2
    sensors:
3
       second_floor_avg_rtt:
4
          value_template: "{{ state_attr('binary_sensor.2nd_Head_Room','round_trip_time_max') | float
5
 }}"
6
          friendly_name: 'Floor_RTT'```
#
    sensors:
       second_floor_avg_rtt:
          value_template: "92.378"
          friendly_name: 'Floor_RTT```
mossy timber
#

So, for me, it says "In 7 hours", as I'm in +0700 time zone.

drifting shell
#

getting the values πŸ™‚

split granite
#

Is the underlying entity state correct?

mossy timber
#

the underlying entity state contains a UNIX epoch (therefore in UTC), but I render it through timestamp_custom() to get the string into the desired format.

#

Weirdly, adding local_time=True (or False) doesnt seem to work.

split granite
#

Does it work in the Templates menu?

#

Is your timezone in HA right?

mossy timber
#

Is your timezone in HA right?
@split granite Yes

#
{% set value_json = {
  "lastboot": 1585708683
} %}

{{ value_json.lastboot | timestamp_custom('%Y-%m-%dT%H:%M:%S') }} ```
#

this yields a string in the correct format, in my local time

#

And that is also what happens when I remove device_class: timestamp in the sensor definition.

#

It shows the time in the correct format, in my local time

#

but when I add the device class, it thinks that timestamp is 7 hours later than it is

wheat current
#

check your browser settings

mossy timber
#

it says the same in the HA app on my phone, but happy to check browser settings ... what setting would that be?

#

computer time zone is set correctly

wheat current
#

any setting that changes the TZ, what card are you using to display it?

mossy timber
#

entities card

wheat current
#

try a sensor card

mossy timber
#

It's a timestamp, "has no unit of measurement and therefor can not display a line graph" ?

#
  name: Mac lastboot
  state_topic: "systems/mac/status"
  icon: mdi:clock
  value_template: >-
    {{ value_json.lastboot | timestamp_custom('%Y-%m-%dT%H:%M:%S') }}
  device_class: timestamp```
#

this is the sensor definition

wheat current
#

My bad, entities is correct

mossy timber
#

so in lovelace, add format: relative ?

#

That didn't do anything. device_class: timestamp already makes it a relative text?

wheat current
#

then relative is the default 😦

#

move the a contry that has UTC as the TZ? πŸ˜„

mossy timber
#

ew

#

the timestamp_local and timestamp_utc function display the correct answer, but when I feed that into device_class: timestamp it results in 'Invalid date'.

royal badge
#

Hello, Nick here. Im trying to make a simple separate lovelace button to toggle and display MUTE state of my Denon media player. (or ALL of my media players)
Service is working ok, when i'm trying to call it from Developers/Services and use True or False. I've read formus topic's but non of them work with new Lovelace 😦
https://paste.ubuntu.com/p/qTfSTfdvZn/ more here πŸ™‚ , can any one help me here? What i'm missing?

upper belfry
#

So here i am πŸ˜„

split granite
#

You want to look for dotsvertical in the top right of your UI

#

Select that and then Take control

upper belfry
#

Yep

split granite
#

Once you've done that you can now change how your UI looks

upper belfry
#

Already did that yeah

split granite
#

Rather than having them as Badges

upper belfry
#

Okay i'll try one moment

#

Perfect!!!

#

Just what i wanted πŸ˜„

split granite
#

πŸ‘

upper belfry
#

it's beginning to take shape πŸ™‚

#

Now i just need to find a way to switch on my LG TV via the tablet. Already added it to the configuration.yaml but if i add the media tile in Lovelace i get media control too, just want a switch at first

split granite
#

tap_action πŸ˜‰

upper belfry
#

and what should i write in the argument for the action itseld?

#

*itseld

#

*f

#

type: glance
entities:

  • entity: media_player.lg_webos_smart_tv
    title: TV
    tap_action:
    action: media_player.toggle

won't work

kind shellBOT
#

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

```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G

split granite
#
tap_action:
  action: call-service
  service: media_player.toggle
  service_data:
    entity_id: media_player.lg_webos_smart_tv
scenic current
#

Forgive me if this is common knowledge, but is something broken with the integrated temperature graphs? I'm running 0.107.6 and all graphs are flat lines

scenic current
#

Excuse me if this has been asked, but is something wrong with integrated temperature graphs on 107? I'm running 0.107.6 and since upgrading all my graphs are flatlines and not at the current displayed temperature.

runic storm
#

Anybody know of a way to add a calendar card to lovelace UI without using custom cards? I am using old Fire 7 tablet and it doesnt render any custom cards due to old webview version within Fully Kiosk browser.

split granite
#

Patience @scenic current πŸ˜‰

scenic current
#

Did it show up twice? I had to close my browser and did not see my question in the scrollback history. Apologies.

north sleet
#

noob question: is it possible to change icons based on entity status i.e. door closed/open in Lovelace? ty

split granite
outer gulch
#

the new multiple dashboards from the latest upgrade of lovelace looks very nice.. but when creating new dashboards they are filled with ALL entities.. is there a way to start from scratch?

muted inlet
#

you can take control of those dashboards too

outer gulch
#

yeah, but do i have to remove each and every of the entities manually?

#

i wanted to start from scratch

#

ah, just delete the view

#

gotcha

muted inlet
#

you could clear out all the entities using the raw config editor

#

or that, yeah

modest kernel
#

is there any easy way to make cards smaller on front end?

polar kelp
#

Depends on what you think is easy, but generally no.

#

Except ctrl+-. That might work.

modest kernel
#

so they is just zooming in and out?

#

so that*

muted inlet
#

yup

modest kernel
#

got ya..and one more question folks sorry..I have a binary sensor setup for garage door open or close. If you take a look at the badge in the image the door is open. Can I make the switch card image also show the status

split granite
#

Set the device class

modest kernel
#

Thank You

safe berry
#

I have an iPad on 13.4 and all my entity buttons seem to double tap when I press it once, anyone else notice this or know anything about it?

feral rivet
#

So I was successful with the help of iantrich getting my first brower-mod popup to happen. I do have a ton of tons as result , but let's start with just only a few. here is my code that I have used https://paste.ubuntu.com/p/Yp8XTyM3Mq/. Q1 How do I get it to show my action control panel and not just where I would input a code ? Although I have 3 states as part of my alarm system when I press the button I am only seeing two of them. Q2 How can I change that?

silver dome
#

Hello ! I have a quick question regarding Lovelace. It it possible to keep Lovelace autogenerated panel and develop manual yaml interfaces i n the same time? Or I have to choose either one or the other?

latent moss
#

@silver dome yes that is possible now with 0.107, check under Configuration in the sidebar and then Lovelace Dashboards

#

You can create as many dashboards as you want, and they can be a mixture of YAML, UI editor, or Auto Generated

winter blade
#

Can I reload customize.yaml?

silver dome
#

Woaw cool! I'll have a try, thank you @latent moss!

minor shadow
#

I have a 20m radius for "home" set up and also put it in my config but it looks like it's still on 200m, when i walk to home, a few blocks away i receive a message that's i arrived home (did that via automation). How my 20m radius not working?

This will override the default home zone

zone:

  • name: Home
    latitude: !secret home_latitude
    longitude: !secret home_longitude
    radius: 20
split granite
#

Did you reload the zones after you added that?

minor shadow
#

i did HA restart after that

#

and a couple more restarts in the meanwhile

split granite
#

Did you also run a config check?

kind shellBOT
#

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

minor shadow
#

yes, do that everytime

granite spruce
#

How can I change the password of the webui's owner user login?

#

?

trail stream
#

How would I go about converting a sensor output to an integer in the lovelace UI? Or maybe this is done back in the config.yaml file where the sensor is defined? I've tried this with no success: value_template: "{{ (states('value_json.temp') float - 6) | round(0) }}"

lavish solar
#

Do you need a pipe before the float? |float

#

Test in devtools template

mild veldt
#

@trail stream template sensor

wispy portal
#

hmmm

#

I think I either had sun core exploding in one of the rooms or the temp sensor just went crazy for 1 report

lavish solar
#

definitely the sun

trail stream
#

@mild veldt Many thanks!

sullen stream
#

hello all.... if I'm setting up HA for a friend an a RPI 4..... and I already have it setup for my house will i run into conflicts if setting up his Pi when mine is already setup?

wispy portal
#

you shouldn't have issues tbh

muted inlet
#

Nope

wispy portal
#

I've ran two instances for a bit

muted inlet
#

I have a separate testing instance, no issues

wispy portal
#

before I swapped over diff box

sullen stream
#

cool thx

#

even if I plug in ethernet etc...? don't mean to be a worry wart

#

What is to stop the other Pi from connection to my current port:8123?

wintry gull
#

Hello I can’t get a custom card to work. I have added a www folder, added another folder with the card name, then added the card file. When I got to resources I can see the card but when I try to use it it says custom element doesn’t exist

sullen stream
#

lovelace

wintry gull
#

What about it?

sullen stream
wintry gull
#

That’s the channel we are in

sullen stream
#

ok sorry

muted inlet
#

@sullen stream doesn't matter if it's the same port because it'll have a different IP address. Also doesn't matter if it's also a wired connection

#

@wintry gull if you just added the www folder, restart home assistant

wintry gull
#

@muted inlet I have. Like 5 times

#

Something something I do notice is that it says deprecated under resources for that card. Is this normal?@muted inlet

muted inlet
#

Not sure, those custom cards might just need an update

#

Check that you're using the right name for the custom card in the card config

wintry gull
#

For what I know yes

#

I’m trying to install upcoming media card

#

Now I get the error. Platform error sensor.radaar_upcoming_media - Inegration β€˜Radarr_upcoming_media’ not found.

#

Has anyone got this running here?

#

@muted inlet any idea

muted inlet
#

indentation issue most likely

#

oh wait. if that's a card it doesn't go in configuration.yaml

wintry gull
#

I have to add the sensor to config no?

#

Then add the card in www

muted inlet
#

Oh I see what that is. So yeah, the indentation for the sensor in your config is probably wrong, or you didn't add the custom component to the custom_components/ directory. If you did add the custom component you need to restart before home assistant will see it (the config check will complain until you restart I believe). So in that case just double check that the sensor config is right before restarting

kind shellBOT
muted inlet
#

Ignore that, sorry

wintry gull
#

Let’s take a step back. This card uses components to talk to get information. I made a new folder in the same folder where configuration.yaml is called custom-components. I then added another folder in that folder with the name of the component. Then added the files inside it.

#

That’s all I have to do to install a component right?

muted inlet
#

Yep, I get what's going on. Didn't realize it also needed a separate custom component along with the card until I looked it up. That's correct except the folder should be named custom_components

wintry gull
#

Wow ok that was it. I had a - instead of a _

#

Ok so that’s fixed but I still get the error that says custom element doesn’t exist: upcoming-media-card.

#

I have the card in www/custom-cards/

#

Does this also have to be _ instead of -?

muted inlet
#

Check that the path is right in resources

wintry gull
#

In resources I put /local/www/custom-cards/upcoming-media-card/upcoming-media-card.js v1

#

Would this be correct?

#

Just took www out and it still doesn’t show

#

Ok I got it to β€œwork”. No more errors but it doesn’t show anything except for the title.

wintry gull
#

@muted inlet thanks for your help. I still don’t have anything showing but I think it could be an unraid ip thing. All errors are gone though. Thanks.

muted inlet
#

no prob, unfortunately i don't use that integration or card so i won't be of much help at this point

icy patrol
#

hello;

#

started getting this: custom element doesn't exist hui-picture-entity-card for my brosermod

#

anyone else have the same issue?

fleet scaffold
#

hi, I came back to HomeAssistant after a while and trying slowly rebuild the setup I had before my RPi sd card died and I have a strange visual bug..when I'm go to "Configure UI" from the main dashboard and then hover over items the frame is not displaying correctly, it's fine left, bottom, right but is cut at the top?

errant birch
fleet scaffold
#

adding a screenshot, fresh install

#

or not, lol really I can't do it on windows?

vapid field
#

@fading sorrel for the logos, what do you mean by the "shortest edge"? Is that the horizontal or vertical.
For example in a horizontal image, the shortest edge is normally the height.
Hence I would limit the height to either 256 or 512. Is that correct?

#

(my dev skills are way out of date, but hope I can help with these logos)

split granite
#

~images @fleet scaffold

kind shellBOT
#

@fleet scaffold Please use imgur or other image sharing web sites, and share the link here.

fleet scaffold
#

yeah, figured out that it's not Discord but the channel

split granite
#

Image posting is blocked here by default because too many people post code as images

fleet scaffold
#

oh, totally understand, no big deal, but I really thought it's Discord πŸ˜„

void marten
#

qq - within the custom button card, under the custom_fields section (return, blar) - Can you do arithmetic (deduct one sensor value from another) or would I need to go back and just that using a template sensor?

tall pewter
#

Hey is there a button I could press which would run a google assistant command. For example i want to press a button and my cctv shows on my google nest hub

kind shellBOT
split granite
#

Feature requests to over there πŸ˜‰

#

There's a whole section for them

limpid apex
#

Thanks!

mild veldt
#

classic, make @split granite look crazy

split granite
#

I am crazy

#

Nobody has to make me look it πŸ˜‰

true moon
#

Can i use climate.set_temperature to make 2 buttons an - and a + button where you increase or decrease the temperature?

muted inlet
#

sure, create two scripts that increase and decrease the temp by 1 (using templating) and call those scripts with buttons in your frontend

#

or, well, whatever interval you want. doesn't have to be 1

true moon
#

What do you mean by "using templating"?

kind shellBOT
muted inlet
#
"{{ state_attr('climate.thermostat', 'temperature') | float + 1 }}"
true moon
#

Aaaah thanks

#

i was struggeling to understand πŸ˜‰

muted inlet
#

no prob, naturally replace climate.thermostat with your thermostat entity ID

true moon
#

Yes

#

do i need to use it as an data_template?

muted inlet
#

yup

#

always

true moon
#

Aaaah okay

#

Time to learn something new πŸ™‚

#
  sequence:
    - service: climate.set_temperature
      data_template:
        message: |
          "{{ state_attr('climate.thermostat', 'temperature') | float + 1 }}"```
#

this should work?

muted inlet
#

message:?

#
temp_up:
  sequence:
    - service: climate.set_temperature
      data_template:
        temperature: "{{ state_attr('climate.thermostat', 'temperature') | float + 1 }}"
true moon
#

hmmm

#

Ive deleted message

#
  sequence:
    - service: climate.set_temperature
      data_template:
        "{{ state_attr('climate.plugwise_thermostat', 'temperature') | float + 1 }}"```
muted inlet
#

did you see what i posted above?

true moon
#

Yes

#

the message:?

true moon
#

Yes ive seen and used it.

muted inlet
#

not based on what you just posted

true moon
#

uhhh

#

you lost me?

true moon
#

Aaah okay sorry

#
temp_up:
  sequence:
    - service: climate.set_temperature
      data_template:
        temperature: "{{ state_attr('climate.plugwise_thermostat', 'temperature') | float + 1 }}"```
#

this is correct right?

muted inlet
#

looks good

true moon
#
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 115, in validate
    raise vol.Invalid("must contain at least one of {}.".format(", ".join(keys)))
voluptuous.error.Invalid: must contain at least one of temperature, target_temp_high, target_temp_low.```
#

it's giving me an error

muted inlet
#

oh you're missing entity ID in the service call

#
temp_up:
  sequence:
    - service: climate.set_temperature
      entity_id: climate.plugwise_thermostat
      data_template:
        temperature: "{{ state_attr('climate.plugwise_thermostat', 'temperature') | float + 1 }}"
true moon
#

Aaaah

#

yes

muted inlet
true moon
#

okay

errant birch
latent moss
#

@errant birch here's one from my setup,

- sensor.percentage_slept_today
# Only show when I woke up after I've actually woken up
- type: conditional
  conditions:
    - entity: binary_sensor.sleeping
      state: 'off'
  row:
    entity: input_datetime.sean_awake
polar kelp
#

πŸ€” I should make state switch work with rows too...

errant birch
#

ah, I was trying to put a service call in there, perhaps that simply isn't possible ?

polar kelp
#

Should be.

#
row:
  type: call-service
  service: etc...```
#

Let me check the code

#

Yes. Should be.

errant birch
#

it works !!

#

it was a formatting error on my behalf.. thanks for the help !

fleet scaffold
#

I have a strange visual bug..when I'm go to "Configure UI" from the main dashboard and then hover over items the frame is not displaying correctly, it's fine left, bottom, right but is cut at the top? it's brand new install without anything added yet

atomic glacier
vapid field
#

hey there. iΒ΄m just new to homeassistant. i updated to .107 and wanted to add a custom ressource. while adding it with the raw editor i get a notice that i should insert ressource-entrys in the lovelace-config window. but where could i find this lovelace-config window?

split granite
#

configuration -> Lovelace

#

Make sure you've enabled Advanced mode in your user profile first though

#

For some reason the Resources tab is hidden until you do

vapid field
#

thank you!

worldly seal
#

Hey guys! I'm trying to make a mini graph card that changes its upper_bound according to the sensor value without any luck. I tested it in DT>Template and it returns the correct value but as soon as I pull it into my config I'm getting error ...OrderedDict... My code looks as follow upper_bound: {{states('sensor.worldwide_coronavirus_confirmed') | int}} I tried with double quotes and single quotes around the entire statement but then the value isn't used for the upper_bound limit

kind shellBOT
split granite
#

Show us the _full card config, and the full error πŸ˜‰

worldly seal
#

error is invalid key: "OrderedDict([("states('sensor.worldwide_coronavirus_confirmed') | int", None)])" in "/config/ui-lovelace.yaml", line 56, column 0and all the code is here https://paste.ubuntu.com/p/WPJ6TYPqpy/

split granite
#

Red boxes of hell

worldly seal
#

πŸ˜‘ should I just paste it as text?

split granite
#

Your indenting is also ... interesting

#

That said, I don't think you can use a template there

worldly seal
split granite
#

Yeah, that doesn't have the red boxes of hell

worldly seal
#

shucks

split granite
#

The indenting is still weird, but I think your problem is that you're trying to use a template where you can't use a template

worldly seal
#

will remeber that for future thanks

#

The indenting is still weird, but I think your problem is that you're trying to use a template where you can't use a template

#

makes sense

#

is there any workaround?

split granite
#

Not that I know of

#

Other than maybe asking the dev of the card to allow you to specify an entity there

worldly seal
#

I'll try to reach him on github. Thanks again for always helping @split granite 🀜 πŸ€›

inner bloom
#

lol why is history only able to go down to 1 day

#

dont people actually want to be able to see sensor data instead of sub-1px lines on a long bar?

dapper grotto
#

Hello. I have an house floor with switches/lights (state_icons), images (room darker/lighter), camera images, vacuum buttons etc... When I turn on/off a light/switch it doesn't update the icon_state/images... I need to refresh the page to get the update... before was working properly.

#

Any Idea of what it can be?

flint geyser
#

Is it possible to change the allignment of a lovelace cards title? Center/left align for example.

mild veldt
#

@flint geyser card-mod

torn rose
#

I wonder if anyone could help me, I'm trying to create a button that would toggle between two scene, I have a scene called cinema_on and another called cinema_off . basically they just change philips hue tints. I couldn't figure how to make that work with a button card. I've been able to do something similar using the custom:button-card with a group but scene aren't working the same way it seem

torn rose
#

nvm I found a solution, if anyone is having the same issue, I created a toggle switch helper, and with node-red I simply activate the scene depending on the state

feral rivet
mild veldt
#

@feral rivet you're calling a service, so your action should reflect that

feral rivet
#

hey iantrich the sample card is based off the eample you sent me and I think that I am calling a service , but how do I get the service_data to call my entities card?

#

I am not sure what I put for the entity: part unless I must list all the automation entities.

cosmic gazelle
#

Is it possible to integrate an icon template with the badges?
For example:

        icon_template: >-
          {% if is_state('binary_sensor.gate', 'on') %}
            mdi:gate-open
          {% else %}
            mdi:gate
          {% endif %}
mild veldt
#

@feral rivet the browser_mod one you posted had action: more-info. It should be action: call-service

wintry gull
#

Hello

#

I’m trying to install custom header but I don’t seems to find the uieditor for custom header. Any ideas?

#

I downloaded it, added it to a folder under www, added the resource under resource tab, but now I’m stuck at this point.

latent moss
#

@wintry gull i haven't done this since it was changed in the last version, but I think that you have to press the Lovelace menu (3 dots in top right corner) and then press "Reload Resources"

wintry gull
#

@latent moss if that’s the case then I must have done something wrong because I don’t get an extra menu option there.

#

I did restart. I would asume it does the same

latent moss
#

@wintry gull That should work, but I'm not really sure, I did it a different way (through HACS, and I use YAML mode too). I believe that the UI editor for Custom Header is supposed to show in the main Lovelace menu, not in the card picker with all of the other card editors.

wintry gull
#

In that case I might have installed the js wrong.

#

Is it possible to have hacs on HA or only hassio?

#

Ok well I just restarted my computer because of another issue and it shows up now. I guess the cashe has be cleared

latent moss
noble sky
#

Good evening all, I was wondering if anyone playing with gauge cards has ever tried making a dual zone card. For instance for temperature if your green zone in the center is between 20-25 degrees, yellow zone would be 15-20 AND 25-30, red zone would be 0-15 AND 30-35 (example values). Can you use min1/min2 & max1/max2 ranges?

fleet scaffold
#

I have a strange visual bug..when I'm go to "Configure UI" from the main dashboard and then hover over items the frame is not displaying correctly, it's fine left, bottom, right but is cut at the top? it's brand new install without anything added yet
https://imgur.com/dHJc7QF

#

and I don't know if it's just something known and I just have to live with it or there is some tweak to make it right

deep skiff
#

Is there a way to move an entire "tab" in one Lovelace dashboard over to another dashboard in a simple way? Trying to spread stuff out into multiple dashboards to get a cleaner setup.

dapper grotto
#

no one is able to suggest me what to check?

#

Floorplant view doesn't get refreshed

#

only if I press F5

deep skiff
#

Is there a way to move an entire "tab" in one Lovelace dashboard over to another dashboard in a simple way? Trying to spread stuff out into multiple dashboards to get a cleaner setup.
I found out how to do it. Use the "raw configuration" feature in lovelace, copy all of the yaml from your existing dashboard into the new one and then delete the tabs you don't need in each of them.

fleet scaffold
#

hm..that's strange..it's Firefox issue, it's fine in Chromium based browsers.. πŸ€”

raw cape
#

Does anyone use the cast service to cast their dashboard to something like a Nest Hub? I'm using the self generating theme that was featured in the 2nd community highlights, which, after upgrading to 0.107 has it's own dashboard. If I go to cast.home-assistant.io, I can only select the 'Home' view, which is the default lovelace view (which I also got before setting the theme dashboard as my main dashboard in the HA app). All views from the theme do have the path variable. Using the cast.show_lovelace_view I'm only getting a 'no view found with path X' with whatever I use as view_path

kind shellBOT
split granite
#
  - type: entities
    entities:
    - type: cast
      name: Overview
      view: home
``` is what I use in a card, to cast `/lovelace/home`
raw cape
#

Hmm, that returns a 'Cast API unavailable'

split granite
#

You're using HTTPS?

raw cape
#

Yes, using the DuckDNS addon btw

#

I don't have the cast: option in my configuration.yaml though, would that make a difference?

#

Both my HA installation and Nest Hub are on the same network.. no funky vlans going on here

split granite
#

If the service shows in devtools -> Services you're good

raw cape
#

Yea, figured it out... I'm mainly using firefox. In Chome it does allow me to cast. However, my Nest Hub now shows the HA ❀️ Nabu Casa with 'Connected' below it. No view just yet

split granite
#

I see the same for the service call, but not the card

#

Once any card is shown the service call works

dapper grotto
#

I have a weird problem. I decided to get rid of spotify integration and plugins deleting them

#

now every time I refresh the main page

#

of HA

#

I get the following error in the log

#

2020-04-03 11:18:26 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2525662650672] Error handling message: Unknown error
Traceback (most recent call last):
File "C:\Python38\lib\site-packages\homeassistant\components\websocket_api\decorators.py", line 20, in handle_async_response
await func(hass, connection, msg)
File "C:\Python38\lib\site-packages\homeassistant\components\frontend_init
.py", line 549, in websocket_get_translations
resources = await async_get_translations(hass, msg["language"])
File "C:\Python38\lib\site-packages\homeassistant\helpers\translation.py", line 152, in async_get_translations
resources = await async_get_component_resources(hass, language)
File "C:\Python38\lib\site-packages\homeassistant\helpers\translation.py", line 122, in async_get_component_resources
path = await component_translation_file(hass, component, language)
File "C:\Python38\lib\site-packages\homeassistant\helpers\translation.py", line 52, in component_translation_file
integration = await async_get_integration(hass, domain)
File "C:\Python38\lib\site-packages\homeassistant\loader.py", line 341, in async_get_integration
raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration 'spotify' not found.

wheat current
#

you removed the core integration for spotify, that has nothing to do with #frontend-archived, reinstall HA

grim cairn
#

How do I set the default theme in 0.107, I had it set before but now since moving resources to configuration the theme has defaulted the the blue default theme instead of my custom preference?

wheat current
#

use the frontend.set_theme service (all users), or set it in your profile.
This has not changed since the introduction of themes

grim cairn
#

So start up automation to set theme?

#

If I want it set universally

split granite
#

Yup

wheat current
#

that works

#

it's even an example for that in the docs

grim cairn
#

Thanks for your help

hallow granite
#

hello can someone point me in the right diretion with my service call and po-up-card?

kind shellBOT
hallow granite
#

I want a pup-up.. with live cam and buttons to lock or unlock the door..

polar kelp
#

...but you're getting...

split granite
#

~codewall @hallow granite

kind shellBOT
#

@hallow granite Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.

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

hallow granite
#

sorry.. yeah codewal ..

#

@polar kelp I get the pop-up.. great with live stream and lock entity on it. But this lock entity is "dead" I cannot do anythin wth this.. how would i make this lock working?

polar kelp
#

It's better to skip the command: parameter, btw, and just call browser-mod.popup.

#

Does it work in a picture-glance card that's not in a popup?

hallow granite
#

it would open a new popup with lock entity

#

i just want a button in this picture-glance card to open or close the door.. if ths is a lock or script i don't mind

polar kelp
#

That's the problem then. You can't open a popup from a popup, unfortunately.

hallow granite
#

but docs note really helful of picture glance as examples missing

polar kelp
#

You'd need something that toggles on click in a picture-glanc card.

hallow granite
#

bt nrmally i can have button in this card? with tab actions etc?

polar kelp
#

Or maybe you could do it with a picture-elements instead.

hallow granite
#

does pictures elements do live cam?

polar kelp
#

I don't know.

#

You could also popup a stack with a picture card and a button card that's setup to toggle the lock.

hallow granite
#

I need cam live stream

#

this zusammenfriemeln of cards is still a pita for me πŸ˜›

fleet scaffold
#

question, is it possible to style hui-card-options using custom css added through resources or something?

polar kelp
#

No, because of shadowDOM.

#

It's built on ha-card, though, so it should respect things like ha-card-background and ha-card-border-radius.

#

How often do you plan to see it anyway?

fleet scaffold
#

hi, I am actually just trying to fix bug in Firefox with outline in edit mode I was asking before

#

it's not a big deal, but it's bugging me since I'm using FF most of the time

#

and with shadowDOM I was thinking I could do it in some similiar way as in your card-mod plugin with "$" and all that πŸ˜‰ but so far I had no luck and maybe I just leave it or report issue

#

with dev tools I was actually able to fix it by using box-shadow instead of outline like so:

outline: none;
box-shadow: 0 0 0 2px var(--primary-color);
#

looks the same as outline, and I could do it only for FF with
@-moz-document url-prefix()
but yeah, got stuck on the shadowroot stuff πŸ˜‰

polar kelp
#

Woah. Never heard of that bug. That's ugly!

hallow granite
#

@polar kelp do you have an example to create a popup card with live cam stram and button to turn on light / unlock/lock door?

polar kelp
#

No. But if you can do it in a stack, that can be put in a popup.

hallow granite
#

like i said i tied with picture-glance but the entites seem only be valid for watching the state

#

OK.. I will create a vertical stack card then and put entity / button-card and picture glance inside?