#frontend-archived

1 messages · Page 170 of 1

fierce vale
#

which is where again?

brisk badger
#

configuration | Logs

#

scroll to the bottom and load all logs

fierce vale
#

there I cannot see anything of ZHA

#

do I have to change the log level anyhow?

brisk badger
#

Click Load Full HA Logs (blue button at the bottom?)

fierce vale
#

I did

#

at zha-map, what does that mean: 5. Add to your lovelace global config as type: module

#

this I did not do up to now

brisk badger
#

where are u reading that?

fierce vale
#

point #5

brisk badger
#

go from Step 5 there

fierce vale
#

I also have in front of me 😉

#

I did that all

halcyon mantle
#

Any idea why this is not working? I'm getting unknown type encountered: history-graph. https://hastebin.com/facololate.bash I'm trying to nest the history graph under the custom-fold card. UPDATE: Might only work for entities...

brisk badger
#

@fierce vale I think you are just gonna have to keep trying stuff - It took me a while to get it too

#

bed time for me now

fierce vale
#

re-iterating step 7 now, restarting again now

#

thank you!

brisk badger
#

good luck @fierce vale

fierce vale
#

🤦‍♂️ path is missing

deep hedge
#

I have an entities card that displays the kWh used by a device. I'm trying to figure out a way to display the cost on the same card. I don't know of a way to use a template to do the math to display (e.g., cost = kWh * rate_per_kWh) on that card. Is this possible, or is a separate card type, or a variable using something like the Custom Component Generic Variable to create a new entity, the only way? Can someone point me in the right direction, please?

wet pond
#

i have 3 cards, the one in the middle is a climate (ac) and this card in the middle of other 2 is a conditional card, it will appear only in the summer, now for testing proposes i've changed season.season to winter and idd the card disappears like it should do, the problem is i remain with a space that displays nothing between the other 2 cards, how can i fix it? this happens to you ?
@wet pond

There's any number of ways you can get around that. Complaining about HA isn't exactly productive.
@karmic tiger
Any help is appreciated, so how do i do it?

devout hatch
#

does anybody have problem with circle sensor card - Im getting an red error on my UI: Custom element doesn't exist: circle-sensor-card.

#

I installed via HACS, and I checked in my resource file, its there.

proud patrol
#

Anyone know if it's possible to add Integration pages (like Z-Wave, Zigbee etc.) to the sidebar?

gusty nacelle
#

Hi there! I'm using auto-entities by @polar kelp . Is there a way to replace characters in the this.entity_id variable?
E.g. I want to replace the found entity switch.home_server_docker_homeassistant with sensor.home_server_docker_homeassistant https://imgur.com/Ho7qM5A

Adding suffixes or prefixes is no issue

polar kelp
#

Not with auto-entities itself, unless you use a template match and do it all manually.

gusty nacelle
#

So for instance a template that puts .home_server_docker_homeassistant in to this.entity_id?

#

And then I can prefix with the correct device class when needed?

gusty nacelle
#

I now have a working filter, but I fail to use the options/custom card along for each entry

#

Is it possible?

timber coral
#

Hi! Who knows what the easiest way is to reduce the font size of all cards for a specific dashboard? I'm casting my dashboard to the Nest Hub, but it's not fitting very nicely. When I could reduce the font size it should fit. I've tried adding a CSS file and setting the font-size , but it seems I'm not able to override it, even with !important it's getting ignored.

vapid field
#

Hello...I am having some issues with Lovelace and adding cards. When trying to add a new card, the interface freezes for 2-5 mins before I can scroll or select anyhting. I have searched the HA forums as well as Google and found only a couple of threads that mention this. This one: https://community.home-assistant.io/t/lovelace-ui-add-card-panel-freeze-unresponsive-for-long-time/195483/5 points to a sensor that was updating every second as the cause. As far as I can tell, I do not have anything like this but I am wondering if there are any logs that I can check to help track down the culprit.

Also wanted to mention that I am running HA in a VM with plenty of CPU and RAM so I know this is not the issue

strange hatch
#

Help needed please. I’ve recently updated to 0.114.3 and since 0.114.2 I’ve been unable to use any Lovelace toggles and some of the buttons. The IOS app just reloads the whole page and the pc browser (Firefox) gives some weird html error. I don’t really know what to google for, so trying here too.

strange hatch
#

@wheat current Thanks a lot!

crude bluff
#

I recently reinstalled home assistant and hacs and now I can't figure out how to add custom card because when I installed them through hacs and restarted home assistant I get this error : Error: Custom element not found: simple-weather-card

#

This would not be an issue but I cand find a tutorial that is up to date

crude bluff
#

While searching for an answer i realized that the button "add to lovelace" is no longer here

#

the integrations work's fine

glass summit
#

Can anyone lend a hand in configuring a Glance Card? Currently, I have it all set up so it shows the state of a machine, and the % of CPU, RAM, and Disk. Now I want to add color to it so 0-50% is Green, 50%-70% is Yellow, 70%-80% is Orange, and 90%+ is Red.

https://pastebin.ubuntu.com/p/H4FDJzkBHD/

Pretty sure I just need to add in "Style" for each entity. I have another button card I was playing around with that showed 2 states, running and off to changed the color to green/red, but I think this is going to be a little more involved than that

https://pastebin.ubuntu.com/p/YzZ3K8TmMX/

glass summit
plush dune
#

Could someone tell me HOW figure out where a bad login is coming from? ip address shows my synology box as thats how i have it avail via https

#

its driving me INSANE in the membrain...

muted inlet
#

insane in the brain!

#

Do you have a reverse proxy set up?

plush dune
#

Yes, via my synology box.

#

this makes it so i can manage the cert and also have it .mypersonaldomain.com

#

But i look all through my synology logs and i cant find ANYTHING that gives me the real ip that its failing.

muted inlet
#

You need to use the X-Forwarded-For header

plush dune
#

I have searched and searched and am just not smart enough to figure out the issue i guess... I thought it would kinda "fix its self" so i "moved it to the basement" and it just keeps popping.

muted inlet
#

Set up your reverse proxy to forward that header too and tell home assistant to read it

plush dune
#

@muted inlet Okay, so I really hate to be high maint here but I really could use you to hold my hair....

muted inlet
#

Lmao

plush dune
#

Your saying "add" custom header here...

muted inlet
#

I only know NGINX

kind shellBOT
#

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

muted inlet
sharp nymph
#

Hi, I'm interested in helping extend the current Calendar view. My wife wants a home "command center" with a core feature of a calendar display. The current display is quite good and would work in a kiosk mode in our house, but I need to be able to click on an event and view the details.

#

where could I start?

#

I looked at some of the options in HACS, but none of them (that I've seen) has a nice full-page calendar display for the month

random pike
#

Hmm, anyone found that the brightness slider on the Light Card isn't working out of the box? I can slide the brightness fine on the entity, but sliding on the Light Card gives "Failed to call service light/turn_on. value must be at most 100 for dictionary value @ data['brightness_pct']

split nacelle
#

Hello Everyone

#

im hoping someone here can help me, I have an issue thats been driving me mad over the past few days.

#

Im using homeassistant, using a VM and installed vis the VMDK image. Ihave instaled HACS and installed the simple thermostat plugin

#

I have it working on safari on my mac, but it will not work using the IOS app.

#

Im using traefic reverse proxy, to access my instance, if I connect using my local IP on the IPS app it works fine, however if I use my reverse proxy on the app it does not work.

#

both IP and proxy address work on the mac

wet pond
#

Maybe here is not the correct place to ask but again hard to figure out where. I am trying to install Mini Climate Card via HACS, so custom card is installed, resources are correctly set by HACS, ha was restarted and still type: 'custom:mini-climate' gives me "No card type found"

#

any ideas?

wheat current
#

Remove - from before type

wet pond
#

excelent, ofc it works 🙂

wheat current
#

Doing it correct usually works 😄

wet pond
#

they list all examples with -

wheat current
#

That is still valid

wet pond
#

ofc is not a list is only one card so yah 🙂

wheat current
#

but not in a "manual card"

wet pond
#

is valid when you have a list of more then one cards correct?

wheat current
#

if you use the raw editor of YAML it's valid, there it needs a list.
When you use the "Manual card" you add a list item to the cards list in that view

#

so if you prefix with -, you are tilling it that you want to use - - type, which is not valid

wet pond
#

ahhh got it

#

ty @wheat current

simple grotto
#

how do I get a battery level icon for a template sensor?

#

all my other battery level sensors have it but not ones I make in template sensors

#

Front door and Kitchen motion sensor has the "eye" icon. I can make it a normal battery but having one that shows the level would be better

boreal patio
#

Is there a way to show the entity details as a card in lovelace. (The information that appear in the popup that appears when you click an entity)

simple grotto
#

yeah using a template sensor

#

then add a card you want and find the new sensor

brave surge
#

I have a couple of scenes I can't get rid of. They seem to have been created in yaml, because they are not editable from the frontend. But my scenes.yaml file is completely empty. The scenes are available in the scenes editor, and they are all executable. ?? How can I get rid of them?

feral comet
#

hi everyone. does anyone know if it is possible to change the styling used by leaflet on the map card?

thin bison
#

hello

tacit cave
#

@feral comet you can adjust styles on the map card, not sure what leaflet has to do with it

#

hello @thin bison

thin bison
#

I've got a stupid noobie question.... hope its ok to ask in here?

tacit cave
#

depends on the question, if it's related to frontend, ask away

thin bison
#

yes it is 😄 Editing a view on my PC browser, I see the tiles (is that the right term?) arranged in rows and columns

#

On my mobile phone they are just one under the other - now that's fine...

#

but they're in a strange order on the PC and it's hard to tell what order they are going to appear in

#

its like column a, row 1 then column a row 2 then column b row 1 and 2, then column 3 then it starts again on column 1 row 3

tacit cave
#

The order on your phone is the "correct" order

#

on anything with more that 1 column, order will get funky

thin bison
#

but is there any way to easily tell on the PC as I am editing? Like getting the ordinal number displayed on the tile?

tacit cave
#

Yes, make the width of the page skinny so only 1 column is showing

thin bison
#

Its weird as I click "up" arrow to rearrange it hops into a place I am not expecting

#

oh ok

#

good idea lol

tacit cave
#

if you are in chrome, you can set it to mobile

thin bison
#

ah right I'll try that

tacit cave
#

but the order is calculated based on height of the card, and remaining cards try to fill in gaps

#

it tries to minimize vertical scrolling in a browser with multiple columns

#

it works "ok"

thin bison
#

One more question, is there a way to tick a bunch of entities at once and have them all added as tiles rather than the having to open the + for each one?

tacit cave
#

There might be, but I don't know how to do it.

#

I don't use the interface to do things like taht

feral comet
#

@tacit cave sorry, I mean change the tiles

thin bison
#

Ok thanks 🙂

tacit cave
#

@feral comet what do you mean tiles?

#

the map card is a single card, it doesn't have tiles?

thin bison
#

Cards thats the word - must remember it

feral comet
#

@tacit cave the tiles used by leaflet

#

and there are some people interested in how the poster was able to make the map look that way

tacit cave
#

can you screenshot it?

feral comet
#

however, OP didn't answer, so I thought I would ask here

#

sure

tacit cave
#

no access to fb at work

#

and leaflet doesn't have an integration for HA, and there isn't a custom card. So, I have an idea of what it would be, just need a screencap.

feral comet
#

I don't see any way to upload here, so I guess I need to post somewhere else

tacit cave
#

send me a PM

thin bison
#

Oh, no image pasting

split remnant
#

Hello, I use the bar-card to create some bar cards! Most of the changes are done with card-mod, and some examples are provided in the github repo! I also use the config-template-card to make the graphs more dynamic to my use case, all works but the style modifications to the bar-card , I assume this is related to being inside the config-template-card! Any advice to do this and use the styles provided in the github repo? Should I apply the style to the config-template-card and try to get to the bar-card elements by the shadow tree, or apply the styles to the bar-card that is inside the config-template-card? Thank you

tacit cave
#

just put the style on the bar card inside the template card

#

don't put the style on the template card

split remnant
#

don't put the style on the template card
@tacit cave I tried that! But the style is not applied, I used the examples from the github repo, if I only use the bar-card it works! If I use the bar-card inside the config-template-card it does not work

stone crown
#

Hey guys, i have a short question and i think you can answer this quick 😂
i'm trying me out in the hassio scrape... but i damn don't get it...
i was trying to scrape one little thing on a page... [https://aare.guru/#bern] <h2 class="mainValue" title="Oder genauer: 18.68°C"><span class="celsius">18.7</span></h2>
how do i have to configure it ? i tried everything out... but i think i'm to stupid for it 😂

karmic tiger
#

What have you tried?

stone crown
#

Everything and i deleted everything after i think 2h of trying...

karmic tiger
#

So you aren't going to share your config for someone to check?

#

Anyway... you need to share over in #integrations-archived for the scrape integration. It's not about Lovelace.

stone crown
#

Ty @karmic tiger

vagrant ivy
#

I thought I new this question. Now I'm looking around and second guessing myself. Can I have different logins for HA? I've setup different users but I'm unable to figure out how to allow them to login as themselves with their own Lovelace view.

compact nexus
#

@vagrant ivy when you are logged in as the user, click the username at the bottom left and you can select a default dashboard as well as some other stuff.

plain pike
#

is there a way to restrict a user to only parts of the dash tho?

compact nexus
#

@plain pike if you go to Configuration > Lovelace Dashboards and click on one of the non-default dashboards you can set it to 'admin only'. so assuming you want your dashboard to be restricted, make the secondary dashboard the default and set yours to admin only. i haven't tried it since im the only user but it should work

plain pike
#

oh I don't have a non-default dashboard so I guess that won't work for me

#

I want to be able to give my son access to his room and the common areas only

compact nexus
#

yeah you'd have to separate everything out to multiple dashboards to do that

plain pike
#

@compact nexus yuh Bajan?

compact nexus
#

you could just duplicate the default dashboard and remove the stuff you don't want him to have access to

#

No, my name is a character from Futurama lol

plain pike
#

dammit

#

guess I am the only Caribbean guy on here

compact nexus
#

maybe, but there are people from all over the world on here

plain pike
#

oh I know that much, I know for sure I'm the only one from The Bahamas I've seen tho

compact nexus
#

sorry to disappoint you lol

plain pike
#

meh no worries

#

in truth I'm glad about the Bahamians 😛

vagrant ivy
#

@vagrant ivy when you are logged in as the user, click the username at the bottom left and you can select a default dashboard as well as some other stuff.
@compact nexus First... Barbados! That is so awesome.

Second, I think you misunderstood my question.

Steps to recreate:

  1. Go to Users. Create a User named Jane Doe and save.
  2. Click on my profile in the bottom left.
  3. In my profile, click on Log Out.
  4. On the Login Screen, ... what do I put here in order to log in as Jane Doe?
#

Sorry it took me a couple edits to stop hitting "Enter".

compact nexus
#

i think you would just put Jane Doe as the user

#

what is your auth provider?

vagrant ivy
#

Auth Provider? It's a local server, mate. I think I might have just answered my own question though. Thanks for being patient with me.

I had created the existing users long before there was a "Users" configuration so I never set a User Name or Password for them. The version upgrade just inherited whatever was there, but it never gave me a means to edit any of it.

compact nexus
#

ah

#

not all of them require a username and password

vagrant ivy
#

Wow. TIL about HA's Auth Providers.

#

Thanks!

plain pike
#

ahhhh yes.... pre 0.77 you had to specify your auth provider too

#

I nearly forgot that

winter prism
#
  - entity: sensor.memory_use
    max: 3806
    min: 0
    type: gauge
type: horizontal-stack```
How can I replace the hardcoded 3806 number with the output of a Linux command?
formal tide
#

anybody knows of a way to open/trigger a image.camera overlay from inside a iframe (e.g. click inside the frame)?

plain pike
#

not me

candid acorn
#

Hello, i've a problem witht the home assistant login page, i can connect with https://mysubdomain.duckdns.org:8123/ but i can't with https://192.168.1.91:8123/ because the login page loads but when i hit connect it shows me the error "Unable to connect to Home Assistant. RETRY". Does anybody know how can i manage to get this working ?

plain pike
#

what version you on?

candid acorn
#

version of what ?

plain pike
#

home assistant core and supervisor

#

well core really

candid acorn
#

supervisor version 235 and core 0.114.3

plain pike
#

did you recently upgrade and that's when you noticed this?

candid acorn
#

no, it'a long time problem

plain pike
#

when did you notice it?

#

because there have been changes since like 0.102 or something

candid acorn
#

because i have often internet downs and during downs i couldn't connect with the duckdns url or local ip

plain pike
#

that might break it

#

do you have base_url in your config?

candid acorn
#

yes

plain pike
#

that's your problem

#

that was depreciated ages ago

#

internal_url and external_url are it's replacements

candid acorn
#

i have that in my config yaml base_url: mysubdomain.duckdns.org:8123 in my secrets.yaml and that ```yaml
http:
base_url: !secret base_url
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

plain pike
#

comment out base_url

candid acorn
#

and i reload ?

plain pike
#

and go to configuration > general

#

and fill in internal_url and external_url

candid acorn
#

The editor is disabled because the configuration is stored in configuration.yaml.

#

it's written

plain pike
#

if you fill in internal url with https: you have to use IP unless your DNS works like mind

#

what editor?

candid acorn
#

the frontend editor for urls

#

maybe i need to restart hass before i can edit that

plain pike
#

so you have homeassistant: in your config?

candid acorn
#

yes

plain pike
#

just add those under there then

#

well with the right values

#

😛

candid acorn
#

under the http section ?

plain pike
#

no

candid acorn
#

or the "homeassistant: "section ?

plain pike
#
http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
#

http should look like this

candid acorn
#

that's it okay

plain pike
#

yes in the homeassistant section

candid acorn
#

ok

plain pike
#

you should add what I sent

candid acorn
plain pike
#

yes

candid acorn
#

ok

plain pike
#

like that but like I said with the correct links

candid acorn
#

yes i know

#

i modify that and after that i restart hass ?

plain pike
#

homeassistant.reload_core_config and you should be good

candid acorn
#

ok

plain pike
#

you shouldn't have to restart

candid acorn
#

i put the port for the external url ?

#

like for the internal

#

can i use the ip adress for the internal url ?

plain pike
#

yes

#

you can use ip address for internal if you want to do https:

#

otherwise it will fail unless your DNS works like mine

candid acorn
plain pike
#

i put the port for the external url ?
@candid acorn if you specified a port in base_url you should in internal and external as well

candid acorn
#

ok

plain pike
candid acorn
#

ok

#

i will restart now

plain pike
#

just homeassistant.reload_core_config

candid acorn
#

i create a snapshot before just in case

muted inlet
#

Or "reload core config" at configuration > server controls

candid acorn
#

Or "reload core config" at configuration > server controls
i don't have that

muted inlet
#

Enable advanced mode in your profile

#

Click on your profile icon in the sidebar

candid acorn
#

it's already on

plain pike
#

😄

candid acorn
#

i've access to the controls but there is'nt a "reload core config" button

muted inlet
#

Oh it's been renamed

candid acorn
#

i just restart hass, it's more simple

plain pike
#

by the way your external link is asking me for a login

#

😛

candid acorn
#

it's not mine

#

in all cases

muted inlet
#

It's "reload location and customizations"

plain pike
#

either way it's allowing from the outside now if it wasn't before

candid acorn
#

which external link do you speak ?

muted inlet
#

Used to be reload core config

plain pike
#

that one

candid acorn
#

can you remove the url please

#

i've removed from my first message

#

thanks

#

it doesn't want anyways to connect me with the local ip adress

#

same error

#

it's weird

#

So you don't know how to help me anymore ?

muted inlet
#

clear your browser's cache and try removing internal_url:

candid acorn
#

by going in incognito mode, it doesn't change anything

#

so i will try to remove internal url

muted inlet
#

internal_url: is basically useless since you have SSL set up in home assistant itself

#

that's more for when you use a reverse proxy that handles SSL

candid acorn
#

ok i will try right now

vapid field
#

Hey - I'm using (trying to use!) this Dual gauge card (https://github.com/custom-cards/dual-gauge-card) - it's installed via HACS, and when I use the config UI to add it, it's fine. But when I switch to using yaml config for my UI control, it errors with "Custom element doesn't exist: dual-gauge-card." - I've added the resource to the ui-lovelace.yml file as:
resources:
- url: /hacsfiles/dual-gauge-card/dual-gauge-card.js
- type: js

and restarted - but still no joy. What am I doing wrong?

candid acorn
#

it does'nt work even after removing the internal url

#

@vapid field we are discussing me and Tediore so please wait 'til we have finished

muted inlet
#

it's fine for them to jump in too

candid acorn
#

ok

vapid field
#

😉

plain pike
#

bahahahahahaha

#

wow

vapid field
#

I've never been told off before in a discord channel! haha!

plain pike
#

I've never seen anyone be told off in any chat channel ever

#

so you're not alone

vapid field
#

hahah!

plain pike
#

at least not for chatting normally

vapid field
#

Nope - very strange!

muted inlet
#

check the home assistant log @candid acorn

plain pike
#

I'm kind of intrigued now to see if somehow he was going to leave a "ok I am done, you can speak" message

#

waits with popcorn

muted inlet
#

@vapid field i think you have to configure the resources at configuration > lovelace even if you're using lovelace YAML config

candid acorn
#

ok, and sorry if I might have been a bit uncool but it was just so Tediore wouldn't have 2 different people with 2 different problems to deal with at the same time but if he doesn't mind, no problem.

split granite
#

Dude, that's how this works

#

Folks talk, you deal 😉

plain pike
#

Tediore not the only person to help 😛

#

I know my name's not green or purple or blue

candid acorn
#

i will check that (the log) now Tediore

plain pike
#

but I help too 😛

split granite
#

If you want 1:1 support, you have to find somebody crazy enough to accept payment, and pay them...

muted inlet
#

i accept paypal or venmo

plain pike
#

I accept paypal or bank transfer

split granite
#

I prefer gold, in the current economy

plain pike
#

you can pay me to say nothing too

candid acorn
#

it's not a problem for me, i don't care it was just for tediore to not have headache

#

that's all

plain pike
#

if you want one on one with Ted, pay me to shut up

#

😄

#

it's not a problem for me, i don't care it was just for tediore to not have headache
it's all good it's also our job to make fun 😄

#

this is the internet after all

candid acorn
#

ok

vapid field
#

@vapid field i think you have to configure the resources at configuration > lovelace even if you're using lovelace YAML config
@muted inlet It won't let me manage resources via the config section in YAML mode, but it does show the ones I've added to the ui-lovelace yml file

candid acorn
#

do you mean the supervisor log or the core log ?

muted inlet
#

core

candid acorn
#

ok

#

it throws me this ```log
2020-08-26 17:22:51 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.66

#

192.168.1.66 is my computer

#

192.168.1.91 is my hass server

elder pendant
#

You don't manage resources through the UI if you are using YAML mode

muted inlet
#

configuration location moved

elder pendant
#

they go under the lovelace: config in configuration.yaml

vapid field
#

aha! let me try that. Good spot

candid acorn
elder pendant
#

If you wade through the convoluted lovelace docs eventually you would have found that information

muted inlet
#

it took me a few google searches to find it

vapid field
#

If you wade through the convoluted lovelace docs eventually you would have found that information
@elder pendant haha, I did have a quick look, but clearly, too quick!

muted inlet
elder pendant
#

For some reason they decided to list it under Dashboards & Views instead of YAML mode

#

because... reasons...

vapid field
#

bah - it still doesn't work, same "Custom element doesn't exist: dual-gauge-card." - I'll have a play later, it's probably something I'm doing wrong somewhere. Thanks for all the guidance though

elder pendant
#

it's probably definitely something I'm doing wrong somewhere

#

ftfy

#

😉

wheat current
#

Most likely, you are missing a browser caache clear

vapid field
#

Most likely, you are missing a browser caache clear
@wheat current Am trying in incognito each time - because, I've been burned by cache many times before

elder pendant
#

What do you have in your lovelace: config block currently?

muted inlet
#
lovelace:
  pls_work: pls
elder pendant
#

Based on your previous messages I'm guessing you used type: js, which is no longer valid. You need to use type: module

#

also you had one too many -

candid acorn
#

and i forgot to say that i've ```log
2020-08-26 17:32:35 WARNING (MainThread) [homeassistant.config_entries] Config entry for upnp not ready yet. Retrying in 80 seconds

#

maybe there's a link

#

spamming is every 2 minutes in this case

vapid field
#

What do you have in your lovelace: config block currently?
@elder pendant
lovelace:
mode: yaml
resources:
- url: /community_plugin/dual-gauge-card/dual-gauge-card.js
type: module

elder pendant
#

community_plugin is wrong. It should be hacsfiles

#

Which you had correct earlier, not sure why you changed it

frank crest
#

Any ideas on the fix for this? ```2020-08-26 11:38:54 ERROR (MainThread) [frontend.js.latest.202008110] https://redacted/frontend_latest/chunk.3d772f14bfbc1b2f2625.js:2:20587 Uncaught TypeError: Cannot read property '_leaflet_pos' of undefined

candid acorn
#

i need to go Tediore and others but don't hesitate to ping me multiple times if you have a solution 🙏

vapid field
#

Which you had correct earlier, not sure why you changed it
@elder pendant I'd hit the point of trial and error! Changing it back now, and restarting 🙂

#

Buzzing, that's fixed it! Thanks @elder pendant and @muted inlet - hugely appreciated

vapid field
#

Hi all, I have created a new plugin for showing solar powered house energy flow. I'm now facing the problem, that in the ios app after it's become inactive/reloads my method to recalculate the sizes and show the card correctly is not being called. It might suffice to react to the "ios.become_active" event, but I'm not sure how to subscribe only using javascript. This might be even the wrong event, but I don't even get that subscription going, at least not with ".addEventListener(" method. (https://github.com/reptilex/tesla-style-solar-power-card) Probably there is more wrong 😄

#

So the question is, what event do I have to listen to, to resize my card elements on ios app reload?

karmic tiger
#

That's probably more of a dev channel question. The ones under 'support' are more for usage than for creating your own cards/integrations/etc.

vapid field
#

ok, thanks, I'll go there then

soft smelt
#

Just starting out editing my UI. Using the yaml editor via the UI I have changed entity card to glance successfully but trying to add tap_action results in Expected a value of type undefined for tap_action but received {"action":"toggle"}. Is this not available in the UI yaml editor?

novel rain
#

Is there an on display component for homeassist?

soft smelt
#

Apologies..now see that this is a per entity setting

boreal patio
#

I am trying to get the boilerplate card working https://github.com/custom-cards/boilerplate-card. I have followed the instructions to the point.

But when I add the card in my yaml config, like so:

      - type: 'custom:boilerplate-card'
        show_error: false
        show_warning: false

I get the following error:

boilerplate-card.js:3098 Uncaught (in promise) TypeError: Cannot read property 'entity' of undefined
    at Y (boilerplate-card.js:3098)
    at HTMLElement.shouldUpdate (boilerplate-card.js:3609)
    at HTMLElement.performUpdate (boilerplate-card.js:2171)
    at HTMLElement._enqueueUpdate (boilerplate-card.js:2126)

I have tried with and without specifying entity

mild rock
#

Hi good evening, I am struggling to setup a entity filter for my media players. is it possible to filter my media players which is playing and show only playing media player in frontend? My configuration is like

type: entity-filter
entities:
  - media_player.living_room
state_filter:
  - playing
card:
  type: media-control
kind shellBOT
#

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

tacit cave
#

@mild rock it only works for cars with an entity list I believe

#

cards*

#

You wnat to use conditional card

mild rock
#

hmm. I am trying to figure out any other "easy" way but I can't find.

tacit cave
#

the conditional card

#
type: conditional
conditions:
- entity: media_player.living_room
  state: playing
card:
  type: media-control
  entity: media_player.living_room
mild rock
#

and If I want to another media_player such as media_player.bathroom this means that I need to add another card

tacit cave
#

Yep, because the media-control card is a single card

#

single card to single entity

mild rock
#

So for a 10 media player I need to add 10 card. That will be heavy

tacit cave
#

yep

mild rock
#

Actually if I use a customcard like mini-media-player, the entity filter works because it has a custom card support for entities.

tacit cave
#

as long as the card supports entities, you should be able to use the entities filter

mild rock
#

Unfortunately, it does not support default lovelace cards.

tacit cave
#

I think you're missing the point. It filters entities in a single card

mild rock
#

So do you know is there a side effect if I add 10 card in a row (slow frontend, high memory usage etc)

#

Probably 🙂

tacit cave
#

you want to filter entities across multiple cards.

#

see with an entities card, you have 10 entites inside 1 card. Where the media-control is a single entity to a single card.

#

The memory consumption will be the same regardless of which card you use

#

even if you had the entity-filter working the way you wanted, you'd still have listeners for each entity

mild rock
#

I see, thanks for your help!

#

thanks again!

pliant mirage
#

You could try state-switch

simple grotto
#

how do I get a battery level icon for a template sensor?
all my other battery level sensors have it but not ones I make in template sensors
https://imgur.com/y6qIwcJ
Front door and Kitchen motion sensor has the "eye" icon. I can make it a normal battery but having one that shows the level would be better

karmic glade
#

@simple grotto Hi In your entities list find the two senors you want to change click on it and look for the Icon overide and change it to battery

winter prism
novel rain
#

Is there touchscreen support for HomeAssistant?

simple grotto
#

@karmic glade that doesnt work as the entities are "read only" I would have to change them in the customise.yaml but I want it to show battery level icon not just a standard battery icon

karmic glade
#

@simple grotto ok thats out of my league

nimble furnace
#

Mine are much wider, and I cannot find any way to make them narrower like in the image above

pliant mirage
#

Maybe give a reference to the
Original Post and also a picture of your current layout

#

Then it’s easier to figure out what’s different 😉

#

@simple grotto if you can read the percentage of the Sensor you should be able to set the icon according to the % by using a template

vapid field
#

Hi all,

I have a question about permissions.
I want to install the Home Assistant IOS app on my kids iphones just to track them and use automation whenever they arrive at a given location.

However, when i install the app they can access everything.
Now i played around with Custom Header, created a new tab Welcome with nothing in it and set it to kiosk mode.
It works but…
When i do a force touch on the IOS app i see the scenes widgets and they are able to change the lights…

Is there a way to accomplish what i want?

pliant mirage
#

Have u made a separate login for your kids?

vapid field
#

yes made seperate login

pliant mirage
#

The scenes can be set up in the App if I’m correct, so maybe remove the scenes from their app

#

Tried on my iPad and iPhone with different accounts. iPad can see the scene / iPhone not

vapid field
#

no, i have setup the scenes in HA via the webinterface, they appear automatically in the IOS apps

pliant mirage
#

Tried it out. You can deactivate that scene on the specific device by uncheck it in the app configuration

vapid field
#

Ok, but when launching the app the user sees a cogwheel on the right lower corner for a brief time. when i click it i can activate it again

pliant mirage
#

I think that’s nothing you could get around. If they manage to get into the setting, they could even change the url, to access the default Lovelace page.

vapid field
#

Ok, is there another way to accomplish what i want

#

?

pliant mirage
#

Not very familiar with sences at all. But maybe rebuild the scenes as some sort of script and check for the current logged in user to control the lights.

#

So that only if the User matches the lights toggle

#

But I think that’s highly advanced

vernal charm
#

Is it possible to turn off "Automatically close connection" global for all users?

simple grotto
#

how do I get a battery level icon for a template sensor?
all my other battery level sensors have it but not ones I make in template sensors
https://imgur.com/y6qIwcJ
Front door and Kitchen motion sensor has the "eye" icon. I can make it a normal battery but having one that shows the level would be better

pliant mirage
#

@simple grotto if you can read the percentage of the Sensor you should be able to set the icon according to the % by using a template

#

Include an if statement in the value template and set the range in which the specific icon should be used

nimble furnace
river sand
#

Is it possible to setup the Spotify player with the option to like tracks? Just interfacing with the API via PUT,DELETE https://api.spotify.com/v1/me/tracks with the currently playing track. Asking here because ideally, I want to have a somewhat complex media player in the UI using Sonos as well (local push on Sonos is much more noticeably faster than Spotify's cloud polling)

A sort of conditional media player: IF I'm playing Spotify on Sonos, show the Sonos player with a like option, which interfaces with the Spotify API for the current track only when the Sonos track matches on Spotify. ELSE show Spotify with the like option

#

How do I change the line color in the sensor graph card?
@nimble furnace Unfortunately, or not, there's no way to manually/programatically change the colour of the graph on this card. It's based on your UI's accent colour. You can change this in your profile settings http|s://<installation-url>/profile > Accent color under Theme

nimble furnace
#

@river sand so it is not possible to use different line colors on every graph?

#

It would be easier to differentiate them

river sand
#

I agree with you, honestly. But as far as I know, there isn't.

I personally like the sensor card, much cleaner looking than History (especially if at some point the entity becomes unavailable). It'd be nice to overlay different sensors with different colours as well.

regal orchid
#

is it jsut me ok are the seperated yalm reloads gone with the latest release?

#

in 0.113.3 i just had a button under server controls to just reload some yaml file but now i don't see them

#

so now it looks like i need to restart full HA server to get the changes from the yalm files.

elder pendant
#

You need to enable "advanced mode ™️ " on your user profile

regal orchid
#

great thank coundn't remember i've put that one on previous time 🤣

novel rain
#

Is there any HA support for a touchscreen being connected to the pi?

unreal urchin
#

is there any way to resize the more-info popup natively, or do i need to look at browser-mod or similar? would like a nearly fullscreen camera view on tap

muted inlet
#

@novel rain no, unless you run an operating system with a desktop environment on it and install a web browser

jaunty notch
#

so, im looking for a way to show a simple panel on the lovelace UI that shows the CPU temp
I've tried the google machine, but it just brings up people asking the same question, and having problems

#

and afaik System Monitor cannot show the CPU temp, only usage and stuff

#

and, this is all running in a Docker container

tacit cave
#

depends on your system, i use this

#
  - platform: command_line
    name: CPU Temperature
    command: "cat /sys/class/thermal/thermal_zone3/temp"
    unit_of_measurement: "°C"
    value_template: '{{ value | multiply(0.001) | round(1) }}'
jaunty notch
#

I'll give it a shot, thanks

jaunty notch
#

invalid config for [binary_sensor.command_line]: [unit_of_measurement] is an invalid option for [binary_sensor.command_line]. Check: binary_sensor.command_line->unit_of_measurement. (See ?, line ?).

#

yeah I don't think that's gonna work

elder pendant
#

Not as a binary sensor, no

jaunty notch
#

🤔

#

it thinks this is a binary sensor?

#

oh im dumb

#

very dumb

elder pendant
#

😉

jaunty notch
#

I added that under the binary sensor section

#

oops

elder pendant
#

If you're running in a docker container you'll probably have to ssh into the host machine to run that command

#

Or map that directory

jaunty notch
#

I mean, I ran the command cat /sys/class/thermal/thermal_zone0/temp inside the container, and it reported the correct temp

elder pendant
#

Oh, well there you go then

jaunty notch
#

it is a sensor, correct?

latent moss
jaunty notch
#

sensor: [insert that paragraph here]?

#

yeet, says configuration is correct, lets see if it works then

#

thanks man! it works

somber harness
#

On the left side of the main UI I see "Overview", "Map", etc, as well as some add-ons I've added like "motionEye" and "Node-RED". How can I add a custom entry there that loads a webpage in the main window? Specifically, I have Octopi (Rapsberry PI hosted Octoprint) running at http://<local-IP>/ and I want to be able to access it from anywhere I can access HA.

proud patrol
#

Regarding structuring of the lovelace section in configuration.yaml, when one uses mode: storage, where does the resources: section go?

elder pendant
somber harness
#

@elder pendant "If you are accessing Home Assistant over HTTPS using SSL, you cannot access HTTP sites through an iframe panel.". I will try it but I suspect this may be an issue.

proud patrol
#

hm perhaps the resources: section goes in each dashboard.yaml file?

wheat current
#

Resources goes in the UI

#

Configuration -> Lovelace dashboards -> Resources

proud patrol
#

ooooh

hollow tendon
#

Hello all! can someone help me with a basic lovelace question?

kind shellBOT
#

@hollow tendon Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.

hollow tendon
#

Is there a way that I can change how many columns I have on my lovelace dashboard? Also I need to change the order of the cards

#

I'm trying to send a printscreen here to make it easier but it is not allowed

pulsar bobcat
#

can you combine an auto-entities card with a browser mod pop up

idle nacelle
#

guys - a question - i would like to add left/right fixed arrow controls at the top of all views which navigates to the next left or right view. i added the arrows for all views with action "browse" to the next and previous urls. q1 - is there a better way to do this? q2 - the main problem with this is that these arrow buttons are not fixed (static) - so if you scroll down the page they won't be accessible until you scroll up again - anyway to make them fixed?

lime glacier
#

since the version of HASS where it has dark mode, taking on the mode of your device (which is brilliant btw, love it).... I have a picture-elements card which is a floor plan of my house...... the weird thing is, the 'state-lables' front colour is now almost invisible...

#

maybe even next level this, can I make the background opaque or inverse the colours of the floor plan with the mode, is that a thing?

flint shard
#

Hmm, is there a way to keep HomeAssistant from automatically converting some temperatures from Celsius to Fahrenheit?

#

I have exactly two temperature sensors that would make more sense being represented in Celsius, but HA really wants to convert them to imperial

polar kelp
#

Maybe if you change the unit_of_measurement to 1? You'll lose the degF/degC unit symbol after the number, but it shouldn't convert.

#

Assuming the sensor value is in C, that is.

#

@lime glacier I think if you add "--primary-text-color": black to your style for the element, that should lock it to black regardless of the theme.

lime glacier
#

k, thanks

proud patrol
copper sky
#

hi guys. Im trying to use the iframe card on lovelace but i cant find a option for scaling.

#

is there a way to rescale the displayed website ?

tacit cave
#

@proud patrol style, maybe. Change the color yes. Check out card mod, you can apply styles via that. Some advanced things are out of reach but most style options should be available.

#

@copper sky your only option is the basic card size or a full view (panel: true) at the top of the view.

pliant mirage
muted inlet
#

if it's a card config, yes

pliant mirage
#

its about splitting configuration.yaml

muted inlet
pliant mirage
#

thx

vale harness
#

hey i know there was a change a while back that changed icon color when a certain type of switch is on/off, i've just added some mqtt switches and can't seem to remember how to make then display the same as my other integrated switches.

muted inlet
#

state_color: true in the card config

vale harness
#

thanks

rain flower
#

Hey folks. I just installed a nodemcu to control my two garage door openers and it also includes a sensor for each door to tell if it's open or not. It uses two switches for the relays, one for each door, and two binary sensors for the door sensors, obviously one for each door.
In HA, all four of these show up as separate entities. I'm looking to create a button for each door that also display the garage door icon of an open or closed door based the value of the binary sensors.
How would I go about that in lovelace?

Edit: I figured it out. Have the button use the sensor entity then on press, call the switch toggle for the relay entity.

idle nacelle
#

guys - a question - i would like to add left/right fixed arrow controls at the top of all views which navigates to the next left or right view. i added the arrows for all views with action "browse" to the next and previous urls. q1 - is there a better way to do this? q2 - the main problem with this is that these arrow buttons are not fixed (static) - so if you scroll down the page they won't be accessible until you scroll up again - anyway to make them fixed?
@idle nacelle anyone?

west sigil
#

Anyone aware of a frontend integration that would allow me to display a card when I click on an entity, instead of the entity detail?

proven rock
#

it's possible to use a card for on/off switch light and have the circle for brightness ?

spare meadow
#

everytime i reload my lovelace it asks me which card i want to add... "nothing! leave me alone! it's fine the way it is!"

how do i tell it to bugger off?

elder pendant
#

@spare meadow update or uninstall card tools

clear dome
#

guys how do I hide the main title bar on the dashboard/all pages?

dark dirge
#

Maybe Custom Header?

#

It had lots of options

clear dome
#

Thanks I will check it out

#

Perfect, working well!

cyan gale
#

Does the Lovelace conditional card actually work? If so I am doing something wrong here! I set the conditional to be visible when a sensor is in the 'On' state. I am displaying that sensor in another card and it definitely says on but the card I setup to be conditional does not show. If I go into edit then I can see the content in the card. Feels like it is ignoring the condition but I do not know why 😦

karmic tiger
#

'On' isn't a state'. 'on' is.

#

If you're unsure about the real values, check the entity in devtools > States

#

The UI will often show 'friendly' values for things.

finite pond
proven rock
#

hello, could someone give me the name of the card to use on the left part of this dashboard please? or there is the time and weather with the badges

cyan gale
#

That explains it. Ta Mono I had bee trying to figure out where to see the actual value. Hadn't put together it was just a matter of scrolling down the list of the States. I thought I had to put the Entity in the top to see it then there was not get states only set. Figured it out now, thank you.

spark fern
#

Hi All! Hope I'm asking in the right area. I have a Home Assistant installation, with HADashboard in order to use Floorplan. I have just setup a Tileboard dashboard, which is great, on a wall embedded tablet. Looking to see if I can get the floorplan as an full screen entity within Tileboard? Is this possible? Thanks!

dark dirge
#

HADashboard is a feature of AppDaemon

spark fern
#

But this is a Tileboard question I guess?

dark dirge
#

Is that Lovelace?

#

That’s what this channel is for

spark fern
#

@dark dirge Thanks Rob, but I just asked in the AppDaemon section and they told me to come here....

karmic tiger
#

AppDaemon isn't HA, so you're not going to get much help here.

dark dirge
#

or, who knows? maybe somebody else will come along

frank ocean
#

I have multiple lights in a group with a single switch to turn them on. Is it possible to change the more info popup when you long press?

#

I would really like to have toggles for all the switches in the group

#

That screen.

dark dirge
frank ocean
#

Exactly what I need I think. Thanks @dark dirge

mild hornet
#

My Lovelace header (navigation) disappeared with the latest update. Any fix? I can briefly see it when refreshing. Cache clear didn’t help

#

I can see in my inspector that it has a display:none on it...

proven rock
#

nothing to help me for the name of card used for this

dark dirge
#

it looks like a vertical stack or similar with several cards

mild hornet
#

Fixed my issue. Damn custom header

clever ore
#

what version you running elo

#

HA version

mild hornet
#

Just updated everything to the latest

clever ore
#

what fixed your issue? updating to the latest CH?

mild hornet
#

Yep basically. I hadn’t installed HACS previously so I had sorta manually added custom header. Just deleted the manual install, installed HACS, and added the latest custom header through there

clever ore
#

Damn Custom Header, always fixing things with updates...

mild hornet
#

Basically haha

rain flower
#

Hey folks, I've successfully gotten HA to allow remote access via DuckDNS. However, I can't get the thing to load on my Tesla's browser. (First world problem, I know.) I'm just wondering if anyone else has had tried to connect to HA this way and can help me out? It works fine on my phone using Chrome.

tranquil crane
#

so i'm using life360

is there a way to show a text like

only "home"

#

based on the place of my entity

#

i'm using ui-lovelace

robust mist
#

Hello everyone, is there a way to make the title of a lovelace card (entities one) actionable ? To display another lovelace tab for exemple ?

sage carbon
#

Hi, does anyone know how to disable the "floor plan" view popup on each time i log into hassio?

plush dune
#

Does anyone know were we find the list of "Hass:" icons?

tulip juniper
daring wharf
#

I have a history graph card that has an incorrect unit of measure that I corrected on the sensor but the card did not reflect the change and stopped recording changes in value. I tried deleting the card and adding it again but the error was still there. How can I fix this?

near zodiac
#

Anyone have any idea how you change the alignment or justification of buttons within a horizontal stack with card-mod? Vertically the stacks sit right next to each other but within a horizontal stack it evenly spaced the buttons across the screen

#

I’ve tried overriding margin, padding, and various alignment CSS calls across every level I can think of.

tacit cave
#

You have to override the internal padding on the horizontal stack's grid

fickle pasture
#

I am trying to add bore well water pump (20amp) to HA. Please suggest a relay that works with 20amp/240V

tacit cave
fickle pasture
#

I am not good in electronics and looking for some ready available

tacit cave
#

frontend is for UI questions

bitter compass
#

So all sudden, my system went offline. It's on, I see it on wifi, can't remote in.

bitter compass
#

I've lost wifi con connection

karmic tiger
#

I think you're lost. This channel is for creating Lovelace dashboards. If you're having trouble with your system, go to the right installation channel.

kind shellBOT
#

Not sure which install you're using? If you have system_health enabled you can check Configuration -> Info, or see the following.

  • If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204

  • If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714

  • If you're running docker commands or use a Docker manager and have no add-ons then you have #449717345808547842

  • Finally, if you use pip to install or upgrade you have #551864459891703809

Having difficulty chosing an install method? See this blog post for guidance.

bitter compass
#

There is no other channel?

#

Integration?

near zodiac
#

You have to override the internal padding on the horizontal stack's grid
@tacit cave Any idea what the CSS label is for that grid?

tacit cave
#

@near zodiac it's probably not labeled, you'll have to inspect the element

proven rock
#

Juste question, it's possible to have 1 card with the light and the brightness with other entity

#

in yellow arrow is the switch sonoff (on/off)

#

but in blue arrow is necessary to me to change the brightness on other entity (philips hue)

#

it's possible ? or maybe a card to that in HACS ?

#

thank's for your help

spark fern
#

Hi guys, any chance for some help? I have a Lovelace UI view, with a picture element. I want it to appear in the middle of the screen on my tablet, but instead the image appears at the top. Can I set this at CSS level for the picture element itself?

tacit cave
#

@proven rock you can make a template light to do that.

#

@spark fern if you use custom cards, you can get this done by placing “empty cards” in a 9x9 grid using 3 horizontal stacks in a vertical stack. Place your card in the second row second column. Make sure the view is set to panel: true.

spark fern
#

@tacit cave Thanks, I cant seem to add anything extra once I have the floorplan in there and panel enabled?

tacit cave
#

If you do that with the vertical stack, it will fill the page

#

If you do that with a floor floor plan only, that will fill your page

#

But if your image has a shitty aspect ratio, it won’t

#

You could also try the custom layout card

spark fern
#

@tacit cave Thanks man, appreciated, will take a look!

proven rock
#

@tacit cave thank’s for your reply, do you have a example ? No card existe for this ?

broken marsh
#

Could this error stem from a markdown card that iterates over a sensor with null value (not updated yet) or is it unrelated? https://pastebin.com/MuYadW8G EDIT: Looks like it was. Need to set an initial value for my sensor that isn't null.

fallow oak
#

Hey all! I am on macOS 11/iOS14 and having issues with the frontend... The interface refreshes whenever there is a confirmation dialog. I think I heard this was a known issue, but is there a workaround/fix?

wheat current
#

Update to beta6

fallow oak
#

Ooh! Thanks!

cold thunder
#

hi, i wonder if there is a sensor card for binary sensors? i want to visualize the time in which my motion sensor triggers. the sensor card wants floats and gives me Specify an entity from within the sensor domain.

karmic tiger
#

You just want to see if it's on/off?

cold thunder
#

i found that i can just see it in the logbook with exact timestamps

karmic tiger
#

Yes. And if you still want a card, just use the Entity Card.

cold thunder
#

ok thanks i will check that out

grim compass
#

What is the right way to delete the generated view ? I did deleted it from my lovelace config but it's still there 🤔

karmic tiger
#

You don't delete it, you just set another one as the default instead and it'll be hidden.

#

Defaults are per device, btw.

grim compass
#

ah ok thanks

barren hawk
#

Hi guys. Had to reinstall HA (Raspi) as it got corrupted. Made a copy of all files (not a proper backup, just copied the files) but I am not able to find anywhere my lovelace dashboard code to use it as reference. I have used a few Mini Graph Cards. Is it saved somewhere or I've just lost it?

solemn narwhal
#

Did you use YAML mode or UI config mode?

barren hawk
#

I used UI for most of the cards, but the Mini Graph cards were created manually. It wasn't easy to tune them to my needs, so it would be really helpful to be able to see the code

solemn narwhal
#

If you copied your whole config folder, your YAML for Mini Graph cards (since they were configured manually) will be saved wherever you saved the YAML for them. As for the UI configs, those are stored in the .storage folder under lovelace.XXXX . I am not sure if you are able to directly load this back in though.

barren hawk
#

Thank you, @solemn narwhal
In the .storage folder I've found a 'lovelace' file with the code in a format similar to XML. Not ideal, but less is nothing. Thank you!

hexed furnace
#

I have a couple Tasmotized Sonoffs operating lights. I'd like to change the device class to light for these so they show as lights in the frontend. I can change the icon, but I wanted the nice functionality of the yellow/blue colors for on/off. I assumed I could just change the device class in customize but that didn't work (I assume the device class was simply: light). i.e. after the entity name line, I have "device_class: light". Is there a way to do this via device-class/customize.yaml or do I need to make a template?

#

Nevermind. Apparenty, that was removed in v.106 and moved to the UI. 🤦‍♂️

novel bison
#

Is there a way to call multiple services on a tap_action?

karmic tiger
#

Yeah, make a script and call that.

novel bison
#

I guess that could work but im trying to have 9 pictures that all play different spotify playlists so it would mean creating a different script for all of them unless there is a way to define a variable for each of them that is input into the script

karmic tiger
#

That's one of the purposes of scripts, so yes, you should be able to do that.

novel bison
#

ok, thanks

novel bison
#
name: Play Playlist
show_icon: true
show_name: true
show_state: false
tap_action:
  action: call-service
  service: script.turn_on
  entity_id: script.play_spotify_playlist
  service_data:
    entity_id: media_player.spotify_xxxxxx
    media_content_type: playlist
    variables:
      media_content_id: 'spotify:artist:53XhwfbYqKCa1cC15pYq2q'
type: button```

Apparently this configuration is wrong can someone help me fix it?
elder pendant
#

What part of it is wrong? Are you getting an error?

novel bison
#

apparently the formatting is wrong

karmic tiger
#

The entire channel said so? 😮

polar kelp
#

Sometimes we can be surprisingly consentual.

plain pike
#

yup

somber harness
#

For my Hue lights, I can click the light's icon in the lovelace UI and if the bulb is on, I get a color picker so that I can set the light's color/brightness/temperature. I want the same color picker for a template light, so that I can use it as an input to some other function. Any idea how to get this?

#

wow. Template lights do not support color picking without replacing some files in HA. Any suggestions for a wife friendly workaround, e.g. one that makes sense? I want to use a color picker to define some variables (e.g. r, g, b, brightness).

spark fern
#

Hi guys, how can I set text to null on stage-badge cards within a picture element?

pine bane
#

Hi, I have tried to search forums etc but I can't find the info I'm looking for, is there any way of detecting the state of integrations running? Such as deconz, duckdns etc, I noticed that today that deconz appeared as running in the integration view but it was not, so if this can be visualized and to setup notifications in the frontend it would be great, is there a way to do that

dark dirge
#

Integrations don’t really ‘run’

pine bane
#

Yeah well, it was "started" then in the integrations but not actually "on"

dark dirge
#

They all do different things at different times in response to different things

pine bane
#

Ok

dark dirge
#

I don’t know what it would mean for an integration to be configured but not be ‘on’

#

If you mean ‘not configured properly’, then you may see errors in the log or entities be unavailable, but it’ll be different for each integration

pine bane
#

Nah it has been working flawless for a long time, I just noticed it not working today, so I had to go to the integrations page and switch it on even thou it was on, but I will see if I can work out a way for it

dark dirge
#

I don’t use Deconz and didn’t know it had an explicit on/off. That would be specific to it and not typical

#

I wish a user could enable and disable integrations from the UI, but that’s a different thing

pine bane
#

I see yeah this was in the supervisor->add ons section where it appeared as on but wasn't actually on

#

I will check a bit and investigate it thanks

karmic tiger
#

I'm assuming you mean add-ons rather than integrations, seeing as both DuckDNS and deCONZ have add-ons.

spark fern
vocal pivot
#

hey guys, quick question

#

can i some how get a icon and a name in the menu bar in HA?

karmic tiger
#

The custom-header component has a setting to display both text and icon.

frosty crane
#

https://imgur.com/9DWDzS5.jpg 👈 Does anyone else get this issue? I was trying to type volume_level into the UI on the iOS app (can replicate on Safari too so not just an app issue) and I get the error in the screenshot as soon as I type the first letter (in this example “v”)...If I then format the YAML correctly and hit the three dots to “Edit with UI” it’ll then show in the UI again the way I’d expect...

elder pendant
#

Data has to be an object. You are trying to give it a string

frosty crane
#

But if I straight away paste volume_level: then the error doesn’t appear at all?

#

It feels like the error maybe comes too soon (or something like that?) ie. it’s trying to validate what I’m typing too quickly maybe? (I literally have no idea though so could obviously be completely wrong!)

elder pendant
#

To add to data: as an object you need to put volume_level: on a new line and indented two spaces

kind shellBOT
#

YAML is the mark up language used by Home Assistant, consistent indenting (two spaces per level) is key. Here is a primer, and this explains multi-line templates. For validating YAML see YAML Lint.

frosty crane
elder pendant
#

That's not what your screenshot showed

frosty crane
#

As soon as I start typing I get the error in my first screenshot which adds the “v” next to data:

#

Yeah apologies, I realised I only have half of the picture there with a poor explanation

#

So I’ve given you info out of order really - I try typing in the white box in the UI (circled in red in my last screenshot)...as soon as I type one letter (in my example it’s the letter “v”) the UI then errors and shows me what is in my first screenshot

#

With the error, if I format correctly as proper YAML and then hit “edit with UI” once again, it comes back to normal as expected

#

I can avoid the error altogether if I paste the information straight away - In this example I’d paste volume_level: and I’d be able to continue as normal

elder pendant
#

Ah, I see. Yup that is super broken. Check the frontend repo for an existing/closed issue. If there is not one there then you should open an issue

frosty crane
#

I’ve had a little look so assumed it was something silly, clearly not so I’ll make sure to raise it!

frosty oasis
elder pendant
#

What is the problem exactly?

frosty oasis
#

It shows all entities next to my username

muted inlet
#

looks like you're using the auto-generated dashboard

frosty crane
#

(My issue, not related to Micro’s issue)

frosty oasis
#

It based on the auto dashboard. I found that I can delete it in the raw editor. Thank you

hollow fox
#

Just starting to jump in to front end stuff. Is it possible to have a lovelace card that pulls text and artwork directly from somewhere else on a home LAN?

#

A "now playing" card? Or is it possible to edit a media player card to do something similar?

spare meadow
#

@hollow fox i use custom:button-card for that.

#

i set a sensor to the url of the media and then use that sensor as the background property of the custom card

dark dirge
#

I have yet to find anything that the custom button card cannot do

#

you could build your entire interface in a custom button card 🙂

spare meadow
#

mine is a series of button-cards, but yeah.

dark dirge
#

mine too

spare meadow
#

very versatile...

#

i seem to be suffering from a failed upgrade of the custom-grocy component... hmm

#

"loading data" nothing more.

#

sighs

hollow fox
#

Thanks, I'm looking into that now. Trying to pull data from a PC regarding whatever game is currently playing and throw the title & artwork into some kind of media player-esque card

plain pike
#

well I know discord usually knows what game is playing on a PC .....

dark dirge
#

like "Home Assistant"

hollow fox
#

The data I can get - I can pull that from launchbox

plain pike
#

ahh ok

hollow fox
#

It's the frontend bit thats bewildering me at the moment since I've never really messed with it before!

plain pike
#

well I don't do bodywork 😄

hollow fox
#

Ha starting to wish I didn't!

hollow fox
#

When adding an image to a custom button card, is it possible to add an iframe, or does it have to be the path to the actual image file?

elder pendant
#

It has to be an image

hollow fox
#

Thanks that confirms what I've been banging my head against. To do that I have to build the image url from separate strings and work with the text. Doesn't seem all that straightforward at the moment! Templates and backslashes seem to be a bad mix

elder pendant
#

I'm not sure why you would need to use backslashes, but backslashes define an escape character. To use them literally you have to do two together \\

hollow fox
#

I need to build the image url from a couple of strings that use backslashes. Escaping the backslashes is doing some awfully strange things! Might need to move over to templates

rocky arrow
#

Hi all, noob question about the frontend/lovelace that I can't seem to figure out. How do I show apps in the HA sidebar for non-admin users? Specifically Grocy, which is directly available from the add-on store

#

I understand how to do panel_custom and panel_iframe, and have used it for TasmoAdmin, ZWaveGraph and a few others that didn't have the "show in sidebar" option. However, Grocy has the "show in sidebar" option but only I as an Admin user see it. My wife's non-admin account cannot see it in the sidebar

dark dirge
#

I didn't know that was blocked, but if it's really a web UI link that you want to expose, you could use an panel_iframe

rocky arrow
#

The reason ZWaveGraph and TasmoAdmin show up on hers is because they are added thru panel_custom and panel_iframe respectively. I guess that ignores Admin and non-Admin permissions

#

Hm, doesn't look like it's "truly" a Web UI link. It's authentication is baked directly into HomeAssistant

dark dirge
#

yeah, you'd probably need to expose a port and use a direct link

#

it looks like you can add whatever port you want in the Network configuration section (disabled by default)

rocky arrow
#

ahh, and then likely expose it to all

#

I'll try that, thank you @dark dirge !

rocky arrow
#

@dark dirge just wanted to say thank you, it worked. I added a port, and created an iframe panel in my configuration.yaml. Shows up for all users now 🙂

bitter compass
#

so what is panel view for? i just noticed it but can only show one panel

tranquil cove
#

Hello eveyrone

#

I'm trying to setup picture with badges on it and style badges bases on sensor state. I'm using card modder. The problem is that if I will put style: element with top/left it works but when I'd like to have conditions I need to use:

style: |
.:

and then none of css attributes is applied.
Here is my config example: https://pastebin.pl/view/79fa5f6f

#

Do you have any idea what I'm doing wrong?

dark dirge
#

@bitter compass Panel view gives you control over the while screen for layout, eliminating the badges and increasing the available width.

loud obsidian
#

Question, I set my wife up as a new user (not admin) I created a new Lovelace dashboard for her, but I don't see a way of assigning it to her nor do I see a way for her to select the new Dashboard when logged in as her. How can I get her user to default to the new dashboard?

dark dirge
#

You set the default dashboard in the profile. Circle with initials in the lower left

loud obsidian
#

Ah! Thank you!!!!!!!

civic stream
#

Is it possible to remove the legend in the history_graph card?

karmic tiger
#

Not according to the docs. You might want to check out the custom card mini-graph

#

Alternatively, there are ways to mod cards, including the custom component card-mod.

civic stream
#

Got it, thanks!

woven ledge
#

Hi all, not sure if this is the right channel. let me know if i should redirect this Q:
Does anyone have experience installing a Sonoff TX T2? I wanted to replace my current 2-gang fan lightswitch with a Sonoff TX T2 but it looks like the TX T2 won't cover the entire hole of my old 2-gang box. What do people do to fix that? Re-patch the drywall and then cut a new hole from scratch?

plain pike
#

you can get an adapter plate that will take 2 gang to single gang then you patch the rest

woven ledge
#

#diy-archived. gotcha, thank you. Thanks for responding too. I did see someone on amazon do that and personally i didn't think it looked too great

vapid field
#

where can I find how to add a person as a litte round icon at the top of the dashboard like the one that comes by default in HA? I've tried looking at the docs in HA for cards and person detection but maybe I'm not looking in the right place?

karmic tiger
#

They're called badges

vapid field
#

ok. thx. When i click on the "+" sign to create a new card I don't see badges. I'll google and see how to add them.

dark dirge
#

they're not cards, they're in a separate section

vocal pivot
#

can i somehow change the location of my home in the Zones tab?

elder pendant
#

Not in the zones tab, no. You change it in the general configuration page

vocal pivot
#

thx mate 😄

#

that worked

safe notch
#

I have a button card in Overview linked to a scene, but when I click the button it shows:

"Failed to call services scene/turn_off. Service not found."

If I open Configuration > Scenes, and click "Play" for the same scene, it works without a problem.

Any thoughts on what to check to get the button card working again?

NOTE: It worked normally last night.

dark dirge
#

scenes can't be turned off

#

"play" is "turn on"

elder pendant
#

I highly doubt it worked normally last night

safe notch
#

Hmm, so I have two scenes:

Office On
Office Off

In Office On, it sets the state of two lights to "on", and vice-versa for Office Off.

Is that not a valid setup?

elder pendant
#

that doesn't change the fact that scene.turn_off does not exist

dark dirge
#

a scene to turn things off is fine, but you're turning it "on"

safe notch
#

Right, I'm with you both. I just added the button to Lovelace, and here's the config:

entity: scene.office_on
hold_action:
  action: more-info
show_icon: true
show_name: true
show_state: false
tap_action:
  action: toggle
type: button
dark dirge
#

you can't toggle a scene

#

you'd need to have two buttons, or call a script that uses device states or an input_boolean to call the right one

#

you said you have two scenes already (one on, one off), but you're only using one of them

safe notch
#

I had noticed that as well — what should that be set to exactly? I see there are 6 options currently, but none seem to make sense for this to be honest.

dark dirge
#

or you could create a template switch and toggle that

#

what should what be set to?

safe notch
#

"Tap Action (Optional)" specifically.

dark dirge
#

whatever you want to happen when you actuate the button

#

could be call-service, and you can give it a service and entity

#

one of mine:

#
                      tap_action:
                        action: call-service
                        service: switch.turn_on
                        service_data:
                          entity_id: switch.garage_door_switch
#

if you don't give it an entity as part of service data, then it acts on the entity you provided to the card itself

safe notch
#

Wow, that was way more complex than I expected! I think I have it working now though, thanks for the help!

grim compass
#

I am having an issue with my cover entities on lovelace, the upper button is not responsive, just like i can't clic it. I don't have any issue with stop and down buttons, the up feature works if i directly call the service cover.open_cover does anyone have any clue to how to solve this ?

#

This is for all my covers*

elder pendant
#

Does the state of your cover change when you open/close it?

grim compass
#

no, it's always open

elder pendant
#

Well that's your problem

grim compass
#

ok but why ? 🤔

#

and how to fix it ?

#

i am using shellies 2.5 and the state is correctly reported there

#

i mean in shelly interface

plain pike
#

it's not being passed to HA then

elder pendant
#

🤷 you need to get the proper state in HA. Check your configuration

grim compass
#

yes but is there something i cna do ?

#

i am using the hacs shelly integration

#

everything is reported through dicsovery

plain pike
#

mqtt?

grim compass
#

no mqtt

plain pike
#

oh wait you said

elder pendant
#

You'd need to ask the creators of the custom component

plain pike
#

hacs shelly

grim compass
#

yes hacs shelly

plain pike
#

yeah what Villhellm said

#

^^

grim compass
#

:/ ok thank

#

might be it

#

i'll wait a bit then

plain pike
#

you're using 1.8 on your shelly?

grim compass
#

1.8.3 yes

#

Latest

grim compass
#

Yep thats what i linkee

#

Linked

#

Will add a comment just in case but it is probably related

plain pike
#

the reason I posted that was the person was using the same firmware as you and was told it doesn't work yet with the 1.9 version

hollow cradle
#

Hello

#

how's everybody?

#

I'm having some trouble with saving an automation item.

#

In the actions, I select one of my philips hue color lights. But I switch to YAML.

#

I made some changes. Like brightness_pct, but I tried a bunch of the color properties, but when I add them it doesn't let me save the automation item.

#

I tried color_name, rgb_color and xy_color

#

none does it let me save.

elder pendant
#

What exactly have you tried?

hollow cradle
#

as for the format. I used rgb_color: [0,255,0], xy_color: [0.4,0.4]

#

and color_name: green

elder pendant
#

What does it say when you try to save it?

plush dune
#

Okay, not sure if i am in the right spot. Also a warning I am like level 0 HA ninja at this point...

I am trying to make a Sim Garage Door Opener like I had in Samsung's DumbThings. I am trying to combine an sensor.garage.acceleration + binary_sensor.garage.contact and a switch.garage.

Id like to be able look at the garage Icon and see when open when its closed and show when its in motion. I have searched the web and have only found peeps that combine binary_sensor.garage.contact and a switch.garage

hollow cradle
#

When I click the orange save button, it does nothing.

elder pendant
#

It doesn't give a warning message anywhere?

hollow cradle
#

I just looked at the network output

#

{"message": "Message malformed: extra keys not allowed @ data['color_name']"}

#

This is the exact YAML:

brightness_pct: 80
device_id: a0334f0ebc0744d6881f45f2365eb776
domain: light
entity_id: light.color_light
type: flash
color_name: green
elder pendant
#

Device automation, yikes. No idea

hollow cradle
#

Is there a different way of doing it then?

elder pendant
#

Yes. With the service light.turn_on

hollow cradle
#

Is the service data same YAML syntax?

elder pendant
hollow cradle
#

Yeah, but the syntax of how to fill it in?

#

because it's not accepting them either.

plain pike
#

is the color you're trying listed in color name?

elder pendant
#

There are examples on that page. What exactly are you putting in?

plain pike
#

wait I see it in the list

#

I know they get picky with names

elder pendant
#

I'm sure green is a valid color 😉

plain pike
#

well you would think so

#

but sometimes you see forestgreen darkgreen greenyellow

#

and no green

#

but I see it's supported on the list

elder pendant
#

🤷 I've never had an issue

hollow cradle
#

I just tried rgb

#

no luck

plain pike
#

I've seen it on cheap bulbs

elder pendant
#

You need to show us what you're trying

plain pike
#

also if that above paste is exact yaml it's not indented

hollow cradle
#

I filled in rgb_color: [0,255,0] and it reformatted it to
brightness_pct: 80
flash: short
rgb_color:

  • 0
  • 255
  • 0
plain pike
#

it says Three comma-separated integers that represent the color in RGB, within square brackets.

elder pendant
#

okay, what error is it giving you?

plain pike
#

so your rgb_color is formatted wrong

elder pendant
#

that's valid

plain pike
#

oh wait I see

hollow cradle
#

It reformatted it all by itself

plain pike
#

I only read half the first line

#

LOL

hollow cradle
#

I'm not getting any error.. It's flashing and everything, just the color is not green.

plain pike
#

what color is it?

hollow cradle
#

white

#

Doesn't seem like the brightness is working either

#

I lowered it to 50, but still bright.

elder pendant
#

Does it work if you try to call the service manually with the services dev tool?

hollow cradle
#

I removed flash: short and now brightness and color works.

#

I guess those don't work with flash property?

plain pike
#

perhaps

elder pendant
#

Apparently not

hollow cradle
#

bummer

plain pike
#

tried long flash?

elder pendant
#

Is the light on when you try to run it?

plain pike
#

have you tried setting the color and brightness and toggling the light?

hollow cradle
#

I think I see what's happening. Just noticed it with the long flash

#

The light turns on white, then it starts to change to green

#

but it flashes so quickly that it doesn't completely turn green.

plain pike
#

ok so make another step in your automation toggle the light

elder pendant
#

Sounds like a device limitation to me

hollow cradle
#

Philips Hue Color

plain pike
#

Sounds like a device limitation to me
that's why I asked about the long flash

#

sometimes the leds take a second to get the right color

#

and HA is too fast for it

elder pendant
#

I've never had that issue

plain pike
#

again cheap bulbs

#

I had that issue making my light toggle when my phone is fully charged

#

the damn thing flashed so fast the bulb never got a chance to turn on

#

some of these LED/CFL bulbs take a smidge longer to "warm" up

elder pendant
#

More likely it is poor communication. LEDs don't warm up

plain pike
#

well my LED bulbs aren't smart

#

the sonoff's they are wired to are

#

I had to add a delay in the turn on turn off but then found toggle

#

More likely it is poor communication. LEDs don't warm up
and you're right it's my poor communication of the process

#

what I really meant was simply turn on

#

LOL

#

some of the CFL bulbs flicker first too

severe escarp
#

could buttons/scripts/scenes in entities cards get an "action_icon" variable that you could use instead of "action_name"?

#

then you can click on an icon instead of a word to perform the action

split remnant
#

Hello all any one else is having problems accessing the not used entities menu in Android? I'm not able to open the menu in the app or even in the Chrome browser! This only happens in the android, in the desktop app works OK!

formal tide
#

can <app-toolbar> be adjusted in height? I tried (and failed) with JS

wheat current
#

Yes and no, it's doable, but not easy, the height of that is only half of what you want to adjust.
You are better of using CH instead

formal tide
#

CH?

kind shellBOT
#

Custom Header adds enhancements and customization options to Home Assistant's Lovelace header. Features include: styling/hiding of all header elements, dynamic changes with Jinja templates, per user/device configs, compact mode, footer mode, split mode, and more.

formal tide
#

custom header can do that? awesome

wheat current
#

If anything can it can, since it replaces the header completly

polar kelp
#

@timber flint If app-header-background-color doesn't exist, primary-color is used instead.

#

But that also affect other things.

formal tide
#

seems impossibru 😦

polar kelp
#

A card-mod theme could probably do it...

formal tide
#

card mods can edit header properties? 🤔

timber flint
#

thomasloven Thank you very much, I found out the same, I changed it and worked correctly.

#

its looks perfect now.

polar kelp
#

@formal tide In your theme file put yaml card-mod-root: | app-header { max-height: 50px; }

#

You may need some more changes, and maybe style app-toolbar too to make it look good, though.

#

But that should get you started.

formal tide
#

🥳 thanks @polar kelp

polar kelp
#

Card-mod 2.0 only.

formal tide
#

I believe I might still run into problems because app-toolbar is bigger in a custom panel view (what i want to make smaller) - and this view doesn't have cards on it... guess I'm stuck and/or too stupid

bitter compass
#

is weather stuff here? or in integrations? my forecast displaying incorrect since i updated my system on the front end but not sure i have it set up properly

wheat current
#

Who knows 🤷‍♂️ what is "incorrect"?

bitter compass
#

when it says its raining put no rain in forecast for a week?

#

and temparature is way off? like its pulling another location

#

it used to work, using darksky.

#

i had their api in secrets file but copied it directly in configuration file now and rebooting

#

that seemed to fix it. weird. does the secrets.yaml not work amymore?

#

or did it change how you set that up?

#

so strange, my UI just turned all my lights on. i turned them off via their toggles and says its off, but all lights are still on. wont go off?

formal tide
#

are you using zwave?

bitter compass
#

yep

formal tide
#

wait till ``` trigger:

  • platform: event
    event_type: zwave.network_ready
  • platform: event
    event_type: zwave.network_complete
  • platform: event
    event_type: zwave.network_complete_some_dead ``` is finished
bitter compass
#

yeah, was just able to trigger it successfully. why would they all come on after reboot and not last known state?

#

what is that markup you posted? is that something i can put into a card to monitor?

formal tide
#

you can use these triggers as conditions to show the cards only when the network is ready

smoky peak
#

I am wondering if I have something wrong with my own installation, or if there is a bug in the version I am currently running. I am running 0.114.4 and I've noticed a change recently (I think only since the last upgrade) in that any entity which I have displayed on a card which should "chart", for example temp or windspeed has only a straight line, even though the entity may say that it was updated on that same chart as recently as a few seconds ago. This is not tied to any particular entity, but applies to all; on/off charts for lights and switches, open/closed for contact sensors, rain, temp, etc. Is anyone else having this problem?

timber flint
#

Can I change only this type of text color what is invisible right now? The problem is that its using primary color now, Can I only edit this type of text?
https://imgur.com/a/hc1kCIq

timber flint
#

Please someone help me how can I get the name of an unused text color?

#

Found finally: mdc-theme-primary <- This is the text color

coral surge
#

I want to add the "default" view of all integrations to a lovelace ui. Is there a way that HA can automatically do this? Or would it all have to be done manually? like, essentially just have everything that can be shown with certain integrations, automatically show up and then modify from there?

#

It seems to happen the first time that you install HA and get everything set up, but that dashboard accidentally got removed and I want to get something similar back without having to reinstall

polar kelp
#

Go to Configuration -> Lovelace Dashboards and add a new one.

#

Also, I think that if you open the raw editor, delete everything and save it will revert to the auto generated one.

elder pendant
#

It gives you a warning before it will let you save a blank configuration

#
Are you sure you want to remove your Lovelace UI configuration? We will automatically generate your Lovelace UI views with your areas and devices.
coral surge
#

ill try that thanks... Also, anyone know how to move the side bar to be along the top instead?

#

@polar kelp that totally worked. Thanks so much it helps alot

inner bone
#

Does anyone know how to make the sensor.time display a US AM/PM format? I'm thinking its a template sensor but im being a bit lazy and hoping there's a different way

dark dirge
#

I think that’s going to be a template, either a template sensor or a Lovelace card that supports templates (depending on where you want it displayed )

inner bone
#

I just found the template in the community page

#

at least i dont have to figure out how to write it 🙂

opaque hollow
#

hello everyone,
Is there a way to have some button that should open a map page with showing a particular device(I mean putting the device in the center of the screen)?

hidden plinth
#

Does anyone know if it's possible to use a service call, where you can change the default dashboard with? I want to create a button card, which sets the default dashboard to different one, with one click of the button at that view
I know I can set it to go to profile page by using url as an action. Bu I want to eliminate the process of choosing a dashboard entirely
and have it set just with one button press. I couldn't find a service call for this, so I wonder if it's at all possible

tranquil saddle
#

Is it possible to open an app on android by using a button in lovelace? I've got it working for youtube by using the url https://www.youtube.com but this won't work for netflix or amazon prime.

hidden plinth
#

if you use the deeplink it should work

#

basically, it depends on Android and the app if it opens or not. Deeplinking should work always, if you can find the deeplinks

#

a lot of apps have a deeplink

tranquil saddle
#

Okay. But this deeplink is for a special movie or episode? But there is no link which opens just the app?

hidden plinth
#

that depends on the app

#

for instance, Moovit (navigation app for public transport) uses moovit://

#

if you use only that, it opens the app

tranquil saddle
#

Okay. But the keyword deeplink helped me. So I can search for it.

hidden plinth
#

yeah, there definitely should be a url for that

#

since if you open Netflix website

#

you see a link at the top to open teh app

#

at least, on iOS it is

#

I think Android too right?

#

which is just a url actually, maybe you can inspect element

#

and find the url

tranquil saddle
#

I just wasn't logged in in the browser.

quartz sluice
#

I started having an odd error which is blowing out my logs...

#

ERROR (MainThread) [homeassistant.components.http.view] Unable to serialize to JSON: '<' not supported between instances of 'str' and 'int'

#

Which then dumps a list of my entire entitys each time it happens (which is something like 200k+)

#

I haven't made any changes to anything recently, so I'm guessing some weird metadata in entity state/attributes somewhere is producing something that's getting interpreted as JSON syntax, but nothing looks super obvious to me, although it's a lot of entity data to sift through...

#

Anyone seen anything like this before, or have ideas of what might be a culprit? They seem to happen at 10 minute intervals, which quickly results in a rather gigantic log.

vapid field
#

I am starting to have issues when adding cards in Lovelace where it is hanging. I have to wait for 30 to 45 seconds before I can do anything. I have tried moving to mariadb but this is still happening. I have tried checking the logs but do not see anything. Any advise?

broken marsh
#

Can I make a line on the markdown card to trunc to the width of the card instead of continuing on a new line?

compact nexus
#

@broken marsh are you saying that you have a dynamic message in a markdown card and sometimes it is too long to fit and word wraps? and you want it to truncate instead?

snow dock
#

Hey, the new HA front end only shows brightness when lights are on. Is there a way to show the brightness slider when lights are off?

dark gull
#

Can someone help? I have an issue where im using a proxy i wrote in node.js and it gives this error on ha login page like Error: Something went wrong. This seems to work fine connecting directly to ha but on the proxy no luck. I do have proxy settings:

http:
    base_url: (web page)
    use_x_forwarded_for: true
    trusted_proxies:
      - 127.0.0.1
#

Also in requests i notice theres a 405 with an octet stream but not sure if thats the issue now

dark gull
#

If you can i might sleep soon so ping and ill look in the morning

broken marsh
#

@compact nexus Not exactly, I want it to trunc when it's the end of the width of the card. Sometimes that will be at 40 chars but sometimes 30 chars if on mobile etc.

hybrid berry
#

Hi there 👋,
When writing a custom lovelace card: How can i open the small entity history preview window which is used in the hui-entities-card ?
How does it get handled? Via Aria?

small gulch
#

Right I feel absolutely stupid but what am I doing wrong when trying to grab an icon from material design? In the icon override on my card i am adding mdi:FloorLamp but it just blanks the icon then 😦

hybrid berry
#

@small gulch try mdi:floor-lamp

small gulch
#

@hybrid berry you absolute star! Pretty new to HA so just trying to get everything nice and neat first 🙂

clever blade
#

Does anyone else have problems with the upcoming media card not pulling cover images? Seems to work for Plex/Emby but not Sonarr/Radarr

rustic geyser
#

Can anyone help me with the dual gauge custom add on can't seem to get it working have added as per instructions through HACS but when I try adding a type: custom:dual-gauge-card I get an error saying it can't be found, any help would be appreciated, also if any suggest some other gauges that I can try for my emon power monitor

fallen cobalt
#
chunk.c136a66895309b59c3fe.js:1 Uncaught (in promise) http://192.168.0.22:8123/www/plugins/multiple-entity-row.js
multiple-entity-row.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
chunk.c136a66895309b59c3fe.js:1 Uncaught (in promise) http://192.168.0.22:8123/local/multiple-entity-row.js```
#

the path to the file
www\plugins\multiple-entity-row.js

#
  - url: /local/multiple-entity-row.js?v=3.2.0
    type: module```
tacit cave
#

@fallen cobalt your path to file doesn’t match your url. You’re missing plugins in your resources url. Local/plugins/...

#

Local only maps to config/www.

#
  - url: /local/plugins/multiple-entity-row.js?v=3.2.0
    type: module```
fallen cobalt
#

Thanks a lot

clever blade
#

How do i make space between two vertical stacks? Like in the picture here, i want to make more space between these two stacks https://imgur.com/a/usm7d5w

dark dirge
#

card_mod could probably do it

#

It’s a bit of a finicky process for me, though. Lots of trial and error

#

I usually use it to remove or reduce padding/margin

clever blade
#

Only padding-top seems to be working.. :/

Nothing moves when using padding-left and padding-right.

arctic pumice
#

hey is it possible to create map card with every lightning strike which is added by Blitzortung component?

vestal sierra
#

if i'm running home assistant in "kiosk mode" can i run two separate instances of HA, one headless, one touchscreen? i would love to see an architecture diagram of a touchscreen wall dashboard using a raspi4 and touchscreen lcd.

polar kelp
#

So basically: javascript ev = new Event("hass-more-info", {bubbles: true, composed: true}); ev.detail = {entityId: 'thing.your_entity'}; this.dispatchEvent(ev)

hybrid berry
#

thank you very much 👍 @polar kelp

rich kiln
#

hello, i was wondering is ther anyway to ad a passcode to a switch?

#

The alarm panel isnt seeming to do it

hybrid berry
#

you mean a passcode card before you can access the switches?

rich kiln
#

I have a esp-01 for my garage doo and i wanted to add a passcode so it cant be triggered by miostake by my kids or whomever

polar kelp
rich kiln
#

Well then! Thanks a bunch I'll try it out

timber flint
#

Did any of you saw this problem already? I want to add a mini-media-player, I choosed background Playstation picture, but as soon I save it it goes away, when im writing or refreshing the page it seen for a few seconds, but as soon I click save or wait a few seconds the picture goes away. https://imgur.com/a/iKTVCZh