#frontend-archived

1 messages Β· Page 169 of 1

elder pendant
#

well the example redefines the innerHTML of the content each time hass updates

hybrid berry
#

in the example this would make nearly no difference but when you start working with higher res images, it would be kinda insane to reload the image every time... even if its cached

elder pendant
#

right, so you should be able to change the children of the content only when a relevant change is detected

hybrid berry
#

that means the example is actually not optimised right? because the image is reloaded every time, apart from the fact that it doesn't change...

elder pendant
#

right

#

not really sure why that was the example that was chosen

polar kelp
hybrid berry
#

this makes a lot more sense @polar kelp πŸ‘ thank you very much...
the naming with this.button.innerHTML makes it more clear aswell..

#

I would vote for adding the second example to the docs

elder pendant
#

Anyone can make a PR to the docs

hybrid berry
#

i know... i will keep it in mind and create a PR once i finished what i am working on ... soon

peak valley
#

Hey guys i think i might of found a bug with the logbook

I have the excluded the air_quality domain from my logbook.yaml config and i do not see it in the logbook, unless i manually select the date of today, they magically appear from somewhere

elder pendant
#

When did you exclude it?

#

Wait you excluded it from just the logbook, not the recorder?

peak valley
#

correct

elder pendant
#

hmm, that does sound like a bug then

peak valley
#

ok i will file a bug report

#

thanks for your help

#

would you categorize this bug under frontend or core

elder pendant
#

I think the core integration is where the actual logic is for the data queries

#

so I would put it under core. Someone will let you know if that's not correct (hopefully)

peak valley
#

thanks

vestal scaffold
#

hi All,

I have a shutter switch flashed with Tasmota, all works fine but i would like to display the current shutter position in HA. Is this possible?

elder pendant
#

Does tasmota report the shutter position?

vestal scaffold
#

yes it does

#

it shows a sliding bar and shows the position in % in the console

elder pendant
#

Then it would just be a matter of setting the position topic and closed/open positions in your mqtt cover config in HA

vestal scaffold
#

okay uhm, how should i do that?πŸ˜‡

elder pendant
#

Did you define the cover manually?

#

And have you tried adding it to an entities card?

vestal scaffold
#

there is an "shutter status" entity, but it always hows 100%. no matter what the position really is

elder pendant
#

Sounds like it’s misconfigured then. Did you define it manually?

vestal scaffold
#

no i did not, the enitity showed up when i used setoption19 1 on tasmota

elder pendant
#

It seems like it's not properly defining topics for discovery then. I would ask in the tasmota discord

vestal scaffold
#

In the payload, it looks like it displays some "RSSI" value, which in tasmota also always is 100%

#

i'll ask there. thanks!

hybrid berry
vestal scaffold
#

@hybrid berry Okay thanks, but if i understand the payload, that is the value it shows

#
name: Tasmota_Shutter status
state_topic: tele/tasmota_shutter/HASS_STATE
availability_topic: tele/tasmota_shutter/LWT
payload_available: Online
payload_not_available: Offline
json_attributes_topic: tele/tasmota_shutter/HASS_STATE
unit_of_measurement: '%'
value_template: '{{value_json[''RSSI'']}}'
icon: 'mdi:information-outline'
#

this is the payload of that entity

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

past falcon
#

Hey is there any way to see the config for the new dark mode theme? I really like it but would love to make a couple of minor tweaks to it and be able to turn it on/off with time.

karmic tiger
#

Looks like you just set it in conjunction with your theme:

For custom themes, there is a new option on the set_theme service call, mode: 'dark'; this allows to set a theme that will be used when your device is in dark mode.

Lastly, when using the set_theme service, the settings are now persistent across restarts. So if you have an automation that calls set_theme on startup, you don’t need it anymore. πŸ˜‰

#

I don't see a way to set it via a service call without also invoking a theme.

warm acorn
#

I tried to add "hours_to_show: 48" to a map card on my UI im using to track a device and i get the message "Expected a value type 'undefined' for 'hours_to_show' but received 48. Does this mean i am using a version of HA that doesn't have this ability? Im on HA .102.0b1

wheat current
#

You are running a beta version from 12 versions ago, you should update anyway

warm acorn
#

... theres no way.

#

how do i have lovelace on a 12 year old version?

dark dirge
#

we have a units mismatch

warm acorn
#

Frontend version: 20191114.0

muted inlet
#

Lovelace has been the default since 0.86

karmic tiger
muted inlet
#

Heh unit

warm acorn
#

oh.. version.. not years.. kek

#

I have a the manual install method, wish me luck, every time i update i nuke HA

karmic tiger
#

If it's only positive, does that make it an absolute unit?

muted inlet
#

Maybe try not waiting 12 major versions to update πŸ˜›

warm acorn
#

If HA wasn't such an awesome program that never gives me issues maybe i would update all the time

wheat current
#

I update daily πŸ˜„

polar kelp
#

I don't think you count.

wheat current
#

probably not πŸ˜›

polar kelp
#

But seriously, you're not, like, running your prod server on dev, right?

wheat current
#

why not?

polar kelp
#

Actually, you're right. That's probably pretty safe. And I think Paulus does too...

#

I updated mine to .113 yesterday...

wheat current
#

I don't think I have ever needed to do a roll back after upgrading to nightly

#

I would not recomend it, but it works for me

muted inlet
#

Not sure my heart is ready for nightly. Betas are generally fine though, I've only had to roll back once due to a bad build

warm acorn
#

I pulled up my bigboy pants and upgraded to 0.112.5

dark dirge
#

that's an odd choice

warm acorn
#

But i still get the same error when adding hours_to_show to a map on the UI

dark dirge
#

it was pulled for everything but core

#

and still 2 revs behind

warm acorn
#

You talking to me RobC?

dark dirge
#

I am

#

maybe unrelated to your issue, but randomly picking 0.112.5 is just curious

warm acorn
#

I just ran python3.7 -m pip install --upgrade homeassistant to update my instance

#

thats what it gave me.

dark dirge
#

anyway, off-topic for this channel and probably unrelated to your issue

warm acorn
#

OK

#

The HA website says the map card supports what I'm trying to do so no sure.

dark dirge
#

~share your card config

kind shellBOT
warm acorn
dark dirge
#

"works for me"

#

where do you get that error message?

polar kelp
#

"Expected a value type 'undefined' for 'hours_to_show' but received 48" That's in yellow, right?

winter hollow
#

It was introduced in 0.108

#

Make sure your cache is cleared

#

Should also be part of UI editor

polar kelp
#

If so, it's not an error but a warning saying that the GUI editor won't work because that doesn'... ok, then it's your cache.

hybrid berry
#

@vestal scaffold do you still need help?

#

I think your problem isn't frontend related though you can PM me if you want to.. I have some esps with tasmota setup aswell

warm acorn
#

I figured out my issue with the map. I had to update the frontend. I guess it doesn't do that when you upgrade HA. --upgrade home-assistant-frontend ... or maybe it was my cache after update

#

holy crapolla there are a lot of changes.

#

like driving a new car

karmic tiger
#

I remember driving.

sweet sail
#

Hi, what is the main purpose of button "Reconfigure device" in device screen ? What does it exactly do ?

formal tide
#

I just upgraded to 114, when I open my front page it instantly asks me which card I want to add.... every time i refrsh

#

who can help?

stoic rain
#

For my second YAML-based dashboard, how can I split it into multiple files per view?

#

lovelace:
mode: yaml
dashboards:
lovelace-mobile:
mode: yaml
title: Mobil
icon: mdi:cellphone-android
filename: lovelace-mobile.yaml

#

I

#

I'm guessing something with the filename:, but what?

formal tide
winter hollow
#

@formal tide that's card tools

#

Update it I guess

polar kelp
#

You shouldn't need to have card-tools at all.

formal tide
#

spot on, thanks

halcyon olive
#

Hi all,
I am Johan and am new here. Great to find this forum. I have a quick question regarding the new 0.114 update. When switching to the new "dark mode" (great new feature), the standard map also is set to dark mode. Is there anyway to keep dark mode active but have the map stay light?
I have googled but not found any information how to accomplish that.
Setting a custom theme could of course work around the problem, but it would be great to not have to install custom themes.

polar kelp
#

That's probably the only way though.

#

Kudos for actually trying to google intricacies of a feature that was released 10 hours ago, though.

winter hollow
#

You could create a Lovelace dashboard with a map card in panel mode

#

That has an option for light/dark mode

compact pebble
#

I was wondering how to use the xbox logo mdi icon in home assistant? I type in mdi:microsoft-xbox but it does not work

halcyon olive
#

Thanks, not sure how to make a feature request. But I believe forcing the map to light mode should be possible since it is overlooked when the theme mode is dark.
I suppose I have to switch back to using custom themese then for now. Thanks for confirming there is no easy soluton I have missed.

dark dirge
#

in the forum @halcyon olive

compact pebble
#

Thanks @dark dirge

latent moss
#

@compact pebble mdi:microsoft-xbox should work without needing simpleicons actually (I use it in my personal setup), but you need to be on Home Assistant 0.113 or later. If you're sticking on an older version of HA for a bit, use the old icon name mdi:xbox instead.

sweet sail
#

Hello, I have sometimes problems in my HA installation, I see this error when I want to go to Configuration, or Developer tools, or other page: "Error while loading page dashboard.". When I look to the console I see this log:

{
  "message": "Loading chunk 105 failed.\n(missing: https://<hidden>/frontend_latest/chunk.164c04a47708c1514dcf.js)"
}
#

In browser I can do refresh, then it load page, but I see this error on Android device too, and there is no refresh, I need to kill app, a then start it again.

#

Does anyone know what it means ?, How to solve this issue ? Thx.

heavy mango
#

Is it possible to do math in card using entity value? πŸ€”

true jungle
#

Is there a way to get more context on these warnings? I have searched my config and found nothing. I have even had a look in the config entry json:

Icon mdi:timer was renamed to mdi:timer-outline, please change your config, it will be removed in version 0.115.```
vapid field
#

How can I have a different styling for the last button clicked in a group of buttons, using custom button card?

karmic tiger
#

You'd need some way of determining which one was clicked last before you can style them. Cards don't remember that, so it'll probably have to be some kind of template using states.

#

Even then, checking states of entities just means something changed, not that the button in question changed it.

vapid field
#

I have jinja2 I can use in YAML files - I'm using Dwains-Theme, from scratch. I know how to use jinja, but no idea how to save the button state on click or something. I have a web development background and things work very differently there.

#

I will have a better look at states. Any pointers where to get me started I would appreciate. Are states only boolean?

karmic tiger
#

A state can be anything. Entities each have a state and may have several optional attributes.

#

But you don't set states from the UI. Nor, I think, can you keep track of them over time like you're suggesting.

#

If you're used to MVC, Lovelace is just the View. The Model and Controller are elsewhere.

#

Or maybe it's closer to MVVM, I forget πŸ˜„

#

But if you're using something as heavily-customised as Dwain's Theme, you might need to raise a feature request over there instead of trying to hack something together.

vapid field
#

Could be somewhere in between too πŸ˜„

#

I know he does it, and I can see where the code is, but doesn't make sense logically, I'm missing something or I'm not placing things properly in YAML

wheat current
#

@true jungle most likely an addon

vapid field
#

In his theme, he's giving a YAML key a value, and then checks if that key matches another value using jinja

karmic tiger
#

If you can link me to the code, I can have a quick look. But I'll warn you, I'm not great with Lovelace or Jinja πŸ˜„

vapid field
#

Haha! no worries, me neither, I just started playing around 2 days ago. Thank you though! I'll PM you the code links.

karmic tiger
#

In here is fine, that way other people might see something.

#

I'm not hanging around long, just having a quick break from work.

vapid field
#

Sure then πŸ™‚ Here it goes:
It starts from here: https://github.com/dwainscheeren/lovelace-dwains-theme/blob/1.4/dwains-theme/views/main/01.homepage.yaml#L232
The way he !includes the header switch YAML file is weird to me. Inside that file, he basically loops to create a horizontal-stack made of custom:button-card - which is the group of buttons for the menu. Can be found here https://github.com/dwainscheeren/lovelace-dwains-theme/blob/1.4/dwains-theme/views/partials/heading_switch.yaml
Note that he uses active and headings as variables which are YAML keys provided just under the includes.
Changing active to another variable name still works.

karmic tiger
#

Yeah, that's beyond me πŸ˜„

vapid field
#

That's fine! Thanks for you help anyway. I'll post in here when I'll figure it out πŸ™‚

gusty nacelle
#

Hi. Is there an option to order panel_iframes using e.g. an index?

vapid field
#

Regards, setting up a menu with last clicked button with different styling - this is a possibility in Dwains Theme. In your Lovelace YAML file

      cards:
        - !include 
          - ../partials/menu/menu.yaml
          - active: {{ _d_t_trans.main.title }}

Whatever is inside ../partials/menu/menu.yaml can use the variables stated under it ( active ). The !include and the YAML mapping as shown are key factors to get this working. This is only possible because of how Dwain is parsing YAML in his component and because he enhances YAML up with Jinja. Quite a wizard!
This is my best how I could understand it πŸ˜…

true jungle
#

Aha log viewer, thanks @wheat current

polar kelp
#

Browsing through the last couple of messages; what you want can't be done only in the frontend without changing how the button card works. As Mono said, you need something in the backend to store the latest clicked button.

vapid field
#

Kudos to you @polar kelp ! Really glad to find this, I will be refactoring my code to depend on this. Thank you very much to your awesome components for HA!

finite venture
#

Anyone have GDACS and have a markdown on Lovelace? I have the Mt Sinabung volcano message but the issue date is 2019. Any reason why is it so? Last I heard was Aug 10th.

#

I'm using state.attributes.from_date.strftime

night shell
#

hm, if HA finds a broken image, it apparently replaces it with /static/images/image-broken.svg; how can I find out what the original broken image was? or, rephrase, when does HA send out an image-broken.svg file?

raven nacelle
#

are themes not available in yaml mode?

grim light
#

Can anyone see why this conditional is not working. I initially thought it was because the integration didn't expose a state for 'No Scheduled Game', but the dev patched the proper state into the integration. The conditional still isn't working though (card should be hidden when 'No Scheduled Game'), but it is not.

#
card:
  cards:
    - name: Current Games
      template: header
      type: 'custom:button-card'
    - entities:
        - entity: sensor.toronto_maple_leafs
      show_header_toggle: false
      type: entities
  type: vertical-stack
conditions:
  - entity: sensor.toronto_maple_leafs
    state_not: No Scheduled Game
type: conditional
raven nacelle
#

state should be in quotes

#

look at the example state_not: "off"

grim light
#

I tried that as well. It didn't work either way. Also tried single quotes.

#
state_not: No Scheduled Game
state_not: "No Scheduled Game"
state_not: 'No Scheduled Game'

None of the above formats work. The card shows up for all three.

#

I'm not sure if there is some weird thing I'm missing, if its a bug with the integration, or a bug with homeassistant.

wide reef
#

try all lower case?

grim light
#

I tried that as well already.

wheat current
#

what does "states('sensor.toronto_maple_leafs')" give?

grim light
#

The state in Dev Tools is listed as "No Scheduled Game"

wheat current
#

sure

#

Now paste that template in the template tester

grim light
#

It just returns: states('sensor.toronto_maple_leafs')

wheat current
#

🀦

#

"{{states('sensor.toronto_maple_leafs')}}" now

grim light
#

Knew that didn't look quite like jinja..lol

#

"No Scheduled Game "

#

Looks like the state has an extra space

#

Thankee Sir

wheat current
#

As I expected πŸ˜„

grim light
#

Could have sworn I tried that as well..lol

#

Thanks again

prime meadow
#

Hello

#

Can you tell me if entites car, type conditionnal, can work with template stat of a sensor. To make a conditionnal card for battery

#

Doc don't specify that

vapid field
#

Hey guys, since the new version whenever I load the main lovelace page I get the add a card popup "Which card would you like to add to your "default_view" view?"

polar kelp
#

Remove card-tools unless one of the cards you are currently using explicitly tells you that you need to have it installed. If one does, upgrade it.

vapid field
#

thanks, removed card-tools.. restarted HA and its still there

polar kelp
#

Are you using the old beta version of card-mod which introduced theme styling?

vapid field
#

yes I think I was, I removed it from lovelace resources and the box is gone. Much appreciated

polar kelp
#

Then you should upgrade that if you're using it. That functionality is in the main version now, and much improved (albeit undocumented so far).

vapid field
#

I have had a habit of installing mods and never using them, Ill see if anything breaks from removing it. so far so good

foggy tendon
#

Why, if i do a "ha core stop", HA server will always restart automatically after the stop? Which is the correct command to only stop the server?

karmic tiger
#

I'm not sure how that's anything to do with Lovelace. Try asking in the installation channel for the method you used:

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.

foggy tendon
#

@karmic tiger are you answering to my question?

#

Ok, but i think it's not related to the installation... i have hassos running on a RPi4 so the command must be "ha core stop" but there is something that after the stop restart automatically the server...

karmic tiger
#

It's definitely not about your Lovelace dashboard.
And the behaviour of how the back-end stuff works is likely going to depend on how you're running it... i.e. how you installed it.

#

Pick an installation channel, ask there.

wheat current
#

It is related to the installation, you can not stop Home Assistant on HAOS

karmic tiger
#

If you don't believe me, believe the dev πŸ˜‰

foggy tendon
#

Ah, so which is the command to really stop HA ? I am only following the instructions i have about hassos

karmic tiger
foggy tendon
#

ok i'll do it, thanks...

wheat current
karmic tiger
#

I don't disagree. Just figured this is the wrong channel to be having the discussion πŸ˜„

wheat current
#

That I agree to πŸ˜„

foggy tendon
#

But this problem is not related to a single release of HA as since i installed for the first time hassos (one years ago i think) i had always the same issue... If i do the command from the frontend or from a terminal i always get the same behaviour...

karmic tiger
#

The behaviour of the backend of your HA setup depends on how you installed it.

#

This channel is for all the pretty UI stuff people make, not questions about the backend.

foggy tendon
#

πŸ‘

prime meadow
#

nobody know conditional cards ? Or conditionnal type on entities cards ?

polar kelp
#

It cannot. It only works for the state.

prime meadow
#

Thanks you !!

#

Ok it's seems very great

gilded tiger
#

how do I reference a local icon? icon: mdi:'localpath\filename' is that right?

karmic tiger
#

'mdi' = Material Design icon

plain pike
#

it's a standard list of icons if you're using mdi:

gilded tiger
#

that makes sense. just never put 2 and 2 together

#

I have used those icons many times.

#

but now, I am wanting to use a custom animated icon that changes per a template

#

so, then it is just icon: 'local/path/filename'

plain pike
#

probably πŸ€·β€β™‚οΈ

#

I just know mdi:

#

LOL

gilded tiger
#

Thanks.

elder pendant
#

You have to use entity_picture not icon

gilded tiger
#

OK, thanks

wet schooner
#

I’m redecorating Lovelace and I need some help. I have a particular theme that includes transparency on all the cards. In one particular view, I’ve chosen a different theme, but the transparency persists.

Some themes manage to override this transparency, but I can’t figure out how they’re doing it. What am I missing?

umbral harness
#

is this the correct channel to ask about errors in log showing up on frontend?

#

basically im getting "Login attempt or request with invalid authentication from 192.168.1.93" which is my unraid server. i'm unable to figure out what would be causing that

true jungle
#

@wet schooner I've tended to use a theme that uses the same color of the background. rgba(0,0,0,0) or transparent might work too

wet schooner
#

Sorry. I probably wasn’t clear... The transparency works fine. My issue is that I’m trying to make the cards solid on one particular view by changing the theme for that view. Unfortunately, they are still picking up the transparency from the global theme.

gilded tiger
#

@umbral harness could it be that your unraid server is trying to access the samba share in Home assistant?

umbral harness
#

oh possibly

#

im a noob with smb.. but iirc it tries to add it to a swarm with a master?

gilded tiger
#

Sorry, I have no idea.

junior anchor
#

Hi, does anyone know if it's possible to switch the image that a picture glance card references so that it displays one image in dark mode and another image in light mode?

gilded tiger
#

I would think you can do that with a template, but exactly sure how.

umbral harness
#

@gilded tiger i added guest in smb to see if that's it.

gilded tiger
#

@umbral harness you can also whitelist ip addresses in the configuration

umbral harness
#

good call. if this fixes it i will

gilded tiger
#

@junior anchor if you figure it out, let me know. I would be interested in the full solution

junior anchor
#

@gilded tiger will do, I have poked around the templating some but hadn't gotten anything working yet.

umbral harness
#

i have another question regarding streams from a camera. i'm using the picture entity card with a stream from my unifi doorbell (exposed as camera.doorbell entity) and after some time the card kinda.. disapppears? i have to refresh the browser for it to come back with a stream on lovelace

gilded tiger
#

it may fix your problem.

umbral harness
#

it might

#

but i just realized it's really low fps

#

i think i need to try rtsp instead

gilded tiger
#

yes, I would agree try rtsp. I had a camera running the rtsp stream that worked well.

umbral harness
#

kk

#

so for rtsp do i need to install the stream integration?

gilded tiger
#

I don't think so.

#

the picture glance cards, via the UI, has an option for camera feed.

umbral harness
#

i can figure it out

#

i think i need to read the docs on the hacs unifi protect integration

gilded tiger
#

in unifi protect you can enable an rtsp feed.

#

and setup a camera in you configuration.yaml file

#

something like this:

#
  • platform: generic
    name: Cam1
    still_image_url: "null"
    stream_source: rtsp://admin:password@192.168.x.x/live
    verify_ssl: false
umbral harness
#

i did enable the rtsp feed within protect on the camera

#

yeah i think he is already exposing that to doorbell.camera

gilded tiger
#

make sure you put a static ip on the camera.

umbral harness
#

but at low fps

#

yeah

#

good call

#

thx, i'll play with it

gilded tiger
#

buena suerte

umbral harness
#

i just moved from the docker container hass to hassos so i'm new to all the fancy stuff

gilded tiger
#

no, just install via hacs

#

there are instructions within the repo for installing via hacs.

umbral harness
#

ah it's under frontend

#

sure enough

#

yea

#

i noticed the documentation.. was surprised it was so good

#

tyty

gilded tiger
#

on my install, I aways have to add the resources manually

umbral harness
#

that's how my setup was

#

i really like moving things to docker and away from VMs, but i bit the bullet

#

btw looks like samba was the culprit to that error in logs

#

good call!

umbral harness
#

@gilded tiger another noob level question regarding the refreshable picture card..

#

in the github repo it shows "resources:" then a bit of code

#

does that mean it wants me to add that to the configuration.yaml?

#

i assume so

dark dirge
#

if you're managing Loveloace through the UI, you can go to Configuriation->Lovelace->Resources

gilded tiger
#

are you building your pages via yaml? or via the gui?

umbral harness
#

mostly gui

dark dirge
#

it's not half and half πŸ™‚

#

a little pregnant

umbral harness
#

oh

#

by pages you mean the dashboard tabs?

#

gui

dark dirge
#

you're either in "storage"mode (UI) or YAML mode (YAML)

umbral harness
#

i see it in resources now

#

so that means it is linking it to the config via gui instead of adding to the configuration.yaml file?

dark dirge
#

it keeps them in .storage for you

umbral harness
#

ok

#

so then i think i was a bit confused with what i added

#

i thought the refreshable picture card would then show up as an option to add an entity to

#

similar to picture glance card etc

#

instead, is it allowing me to add those cards via the manual card setup?

gilded tiger
#

you have to select custom card at the bottom, the enter the code for it, like in the repo

umbral harness
#

gotcha

#

that was my misunderstanding

#

i thought the repo was just showing how i could manually add it, not as a requirement

#

success! appreciate it.

gilded tiger
#

Glad to help. Lord knows I have received plenty of help here myself.

primal idol
#

Since I have updated to 114 my Mini Graph Card graphs are not visible anymore. Anyone any idea how to resolve this ?

slim ocean
#

hey guys, to use decluttering card its necessary use lovelace mode yaml? or can use it by UI?

vagrant summit
#

Hey guys, I'm new to Home Assistant and have been playing with custom dashboards. I've scoured the docs, but cant seem to find a way to customize the entity buttons at the top, above the cards. Is this possible?

dark dirge
#

They’re called β€˜badges’

vagrant summit
#

thank you, that helps.

#

The only thing I could do with one is disable the entity, but that didn't seem to help. left the badge there with a warning.

#

I've created multiple dashboards, one for our rental home and one for our primary home, and I want to have only the badges that apply to that house. Fixing the cards was easy, but I'm stuck on the badges.

#

now that I know what they are called, I've been able to find a little more info online on how to customize them.

frigid gale
#

Since I have updated to 114 my Mini Graph Card graphs are not visible anymore. Anyone any idea how to resolve this ?
@primal idol
I have recent updatet to 114 my mini graph card is working maybe you need to update the mini graph card

cedar girder
#

im wondering if its possible to reformat date in this format 2020-08-17T00:00:00+00:00 to a just "17-08" within flex-table-card lovelace card

#

ok, dont mind me, i have found something even better. Will share on the forums shortly

wet schooner
#

@vagrant summit Badges are specified when editing the options for the view / tab, along with the URL and icon.

minor viper
#

Question: How should i create a card, where the hold tap action turns on/off all the entities in it. double tap action opens up the card as a popup? :)

#

especially having several entities

karmic tiger
heavy pasture
#

I have just added the new accuweather integration. Is there a good frontend card that I can start with to learn how to use this integration?

vapid field
#

Is there any way to fix the weather app? The text is too long for the card widht

lucid bronze
#

When you are using snapshots to restore, is there any reasons HA could not allow you to upload snapshots through the web ui? currently I have been having to install an addon and mess around with that to get access to put snapshots in, would see a easy way to get back going, is this something that can't happen for a reason or worth posting as suggestion.. thoughts?

chrome island
#

hey, quick question, i'm on the latest 114.1 build, and i am unable to add any helpers via the GUI, all of the options in the dialog are grayed out. i originally had one input_datetime configured in yaml, and that one showed up as available but the others aren't. in testing, removing it from my config makes them all gray out.

is there something i'm missing? the documentation doesn't state it has to be turned on in the yaml config, but i'm wondering if i need to

#

well, enabling them in the config enabled them to be added via the gui, so i guess it's required

#

ah -- it's listed in default_configuration now, and i don't have that enabled. that's why!

latent moss
#

@chrome island you need to either have default_config: or add them all manually

#

beaten

chrome island
#

πŸ˜„ yup, just figured that out! i'll keep an eye on default_config during updates and such. thanks @latent moss!

little barn
#

Hi, I have the mini-media-player configured and I'd like to setup the "label" field so that it picks the value from a sensor.
my current working configuration is:
label: Radio
what I would like is:
label: { states(sensor.radio_station) }

but that gets evaluated to '[object object]' and I don't know enough of yaml to fix it... can anyone help please?

errant schooner
#

Since I upgraded to 0.114 I have this notification:
Invalid config
The following integrations and platforms could not be set up:

history
logbook
default_config
Please check your config.

My configuration is valid though.
And default_config: is in configuration.yamml
And there are no Logbook and History items in my menu anymore.
How can I get them back?

wheat current
#

Easy way:
Delete the DB file and restart Home Assistant

errant schooner
#

Thanks @wheat current! That was it.

karmic tiger
#

@little barn You gave it an object, not a template. Jinja templates are surrounded in a pair of double curly braces {{ }}.

icy patrol
#

any cool sensors that work with pfsense?

dark dirge
calm terrace
#

Anyone else have a problem with Lovelace showing the pop-up "Which card would you like to add to your "Home" view?" every time you load your dashboard? It's really annoying 😫

karmic tiger
#

Yes, they are. And if you used the search, you'd find the answer πŸ˜‰

#

You have card-tools installed. Don't.

calm terrace
#

Only answer I found was to update HACS integrations and restart. Tried that but it's still happening

karmic tiger
#

Unless you explicitly need it, don't use it.

copper tendon
#

Is there a way to reset Lovelace and let it rebuild its automatic screen?

karmic tiger
#

Just make a new dashboard and don't take control of it.

calm terrace
#

I'm pretty sure I don't have card-tools installed. Can't see it in HACS or Supervisor

karmic tiger
#

Most people there are reporting card-tools as the culprit. Even if you didn't install it via HACS, it sounds like you installed it manually.

copper tendon
#

Just make a new dashboard and don't take control of it.
@karmic tiger how do I do that?

karmic tiger
#

configuration > Lovelace dashboards > +

calm terrace
#

Thanks mono, I'll take a look at the issue

copper tendon
#

That did it, thanks a bunch!

calm terrace
#

@karmic tiger That worked, I found it in Resources πŸ˜€

dark dirge
#

the names of some icons are changing and others are being added or deleted

#

which version of HA are you using?

#

it's working fine for me

#

you may want to enclose it in quotes

#

'mdi:sleep'

#

ok

hexed socket
#

it seems home assistant automatically sets the radius around my house to like 200meters. where or how can i change it i cant find it in the config folder anywhere

dark dirge
#

the database has nothing to do with icons. other than reviewing the logs, I don't know what else to suggest

#

@hexed socket Did you configure a home zone? In YAML or the UI?

hexed socket
#

no

#

well in the beining it asked on setup i think

dark dirge
#

you can change the radius if you do

hexed socket
#

it wont let me under the maps tab

#

i have another zone setup and it has a with thing to shrink the size home is organge and wont shrink

dark dirge
#

I configured mine in YAML, so I don't know what it looks like in the UI

hexed socket
#

can i add something to my config.yaml?

dark dirge
#

yes

hexed socket
#

ok ill research a bit more

scenic bolt
#

Hi there, super basic and probably silly question. Running Home Assistant in docker, have hacs setup, I install a front end custom card, then go to lovelace>dashboards> resources and add the card I just installed i.e. /hacsfiles/slider-entity-row/slider-entity-row.js then restart HA, and yet when I try to add it into my lovelace it says that the custom element doesnt exist. Im sure im just missing a simple step, but I cant figure out what it is.

dark dirge
#

are you managing Lovelace in YAML or the UI?

scenic bolt
#

currently in UI

hexed socket
#

i think hacs auto adds the resources may be wrong

dark dirge
#

I think HACS should automatically the resource for you

scenic bolt
#

is there a way to tell if it has or hasnt?

dark dirge
#

what does your card config look like?

#

it should show up where you say you added it

#

and it should auto-reload resources, so no restart should be needed

scenic bolt
#
  - type: 'custom:slider-entity-row'
    entity: light.hanging_lamp```
hexed socket
#

in the UI go to config/lovelace

#

top right reasource

#

shows whats loaded

scenic bolt
#

there wasn't anything in there, and so ive been trying to figure out what file path it desires to see the module

#

tried like /www/community/slider-entity-row/slider-entity-row.js as well as just /hacsfiles/slider-entity-row.js etc

hexed socket
#

odd i just install via hacs install button and rebooted and the resource showed up

scenic bolt
#

Hmm

dark dirge
#

it tells you when you add it:

#
url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js
type: module
#

that came from HACS when I just installed it

#

it can be confusing because the docs for the cards usually have a different path, and you can put it whereever you want manually

scenic bolt
#

Ah, I missed the lovelace part there...my bad :(

dark dirge
#

but it looks like you're using the wrong path

scenic bolt
#

Yea, I got it sorted, it just popped up

#

Thank you!

hexed socket
#

np

dark dirge
#

that's why HACS should really do it for you, so you don't have to worry about it

scenic bolt
#

Next I need to figure out the best way to add a whole room slider

#

There should be a "flex" channel here for people to share what their lovelace looks like, would be fun to drool over them

dark dirge
#

there's a "Share your projects!" section in the forum

scenic bolt
#

ill have to browse

dark dirge
#

probably better there than to have them lost to history in Discord

hexed socket
#

hahaha that link fixed it in 2 seconds

dark dirge
#

Googled for "home assistant zone radius" πŸ˜‰

scenic bolt
#

Man I copy pasted from another one, and it didnt work for some reason... /hacsfiles/mini-media-player/mini-media-player-bundle.js url: /hacsfiles/mini-media-player/mini-media-player-bundle.js type: module

dark dirge
#

you can always browse the directory yourself and find the file

#

"/hacsfiles" is just "www" and everything else is below it

scenic bolt
#

I know the file path is /www/community/mini-media-player/mini-media-player-bundle.js

dark dirge
#

oh, "/hacsfiles" may be "/www/community", then

scenic bolt
#

and I copy pasted the card from the github, so that shouldn't be an issue

#

yea, because the slider thing worked with /hacsfiles/

pliant prairie
#

is there a way to pin a card? like badges but pinned card that always on top no matter what viewport is

karmic tiger
#

You could take control of your dashboard and come up with a sensible layout. A mix of horizontal and vertical stacks can work. Or use layout-card.

pliant prairie
#

i use vertical stack inside horizontal stack

#

i'll try layout-card, thanks

outer gulch
#

when bringing up cctv-cameras in the lovelace ui, is it possible to also get the sound from the microphone on the camera?

pine plinth
#

I have a card for my Harmony activities. 2 of these should lower the projector screen. However, as the screen takes a bit to lower down I would like it to start at the press of the button - not via automation based on remote entity status change (the status change only occurs after the activity is fully launched). Is it possible to build this command into the button for the activity?

pine plinth
#
  - action: toggle
    entity: cover.shutter_screen_switch
  - action: call-service
    service: remote.turn_on
    service_data:
      activity: Leinwand
      entity_id: remote.wohnzimmer
type: button```
#

i.e. like this, but I am not in a position to test this right now.

strong falcon
#

Having an issue that started sometime after updating to .114 where certain cards are not showing up in Chrome on Windows or Fully Kiosk on Android. The cards are still showing up on iOS Companion and Fully Kiosk on Fire Tablets. The cards in question are custom button cards with the same configuration. Any thoughts?

pine plinth
#

actually on above, it should look like this but I am afraid the 3 action items under tap won't work: ```tap_action:

  • action: toggle
    entity: cover.shutter_screen_switch
  • action: call-service
    service: input_boolean.turn_on
    service_data:
    entity: input_boolean.harmony_activity
  • action: call-service
    service: remote.turn_on
    service_data:
    activity: Kino
    entity_id: remote.wohnzimmer
    type: button
karmic tiger
#

I believe a tap action has to be a singular action. However, that tap action could be a service call to invoke a script, and your script could have all those steps πŸ˜‰

pine plinth
#

oh perfect - thats the solution I was looking for. I will give it a try, thanks

junior ginkgo
#

Good morning. I have a zwave motion sensor that shows 'on' or 'off' as the state. I'd like the icon on the screen to show a diff icon for the on or off state. Is there a way to do this from the standard lovelace ui config? or on the entity itself when setting the icon?

arctic fox
#

hey, is it only me that the weather widget's precipitation value is badly rounded, always renders like 0.99999999999 instead of 1? (can't attach picture on this channel)

karmic tiger
#

It's happening for all of us. Someone forgot about floating point math.

#

It'll get fixed πŸ˜‰

#

If you ever want to know if other people have a problem, it's usually better to search the issues

kind shellBOT
karmic tiger
plain pike
#

shoot, it said I was due 22.0000000122in of rain the other day

#

πŸ˜„

karmic tiger
#

And you only got 22?

plain pike
#

I got 23!

#

big mad

karmic tiger
#

Totally wrong. This is unacceptable.

plain pike
#

I know, I need to see a manager and a refund

#

oh wait

#

it's me. I'm the manager.

#

LOL

#

I might get fired over this brb

#

ok so the boss is a prick and I hate it here

#

LOL

#

anyway back to work I go, I'm a slave driver too

rocky goblet
#

Still trying to wrap my head around yaml, and json, and how sensitive it is on the formation of text.

I have a switch: statement in my configuration.yaml from before, and now im trying to add an integration from reolink cameras, that also seem to contain a switch: statement, how can i make this work?

muted inlet
#
switch:
- platform: foo
  ...
- platform: bar
  ...
rocky goblet
#

including the new code in a separate file and calling it with !unclude does not help?

#

Oh @muted inlet i can do that even if they are completely unrelated to eachother?

muted inlet
#

yeah, you can only have one of each primary key (switch: in this case)

#

.packages are an exception to that rule, but those are handled differently

kind shellBOT
#

To enable packages, add packages: !include_dir_named packages to your configuration.yaml so that it looks similar to this:

homeassistant:
  name: Home
  latitude: !secret home_latitude
  ...
  packages: !include_dir_named packages

Important: The packages: line must be nested under homeassistant:!

For more information on packages, please refer to the packages docs: https://home-assistant.io/docs/configuration/packages/

rocky goblet
#

For some reason i have always figured that code close together needed to be related

#

Yeah i have read several posts regarding how great packages are, being able to call a dir of your own yaml files

muted inlet
#

well, they are related. they're both switch: platforms

#

but the hyphen makes them a list which separates them

rocky goblet
#

But splitting it into packages also makes troubleshooting somewhat more dificult?

muted inlet
rocky goblet
#

Right you are, ill ask in that channel next time πŸ™‚

somber harness
#

I have a button card. I want haptic feedback when it is pressed (i.e. I want my phone to vibrate when I click it). Any way to force this?

muted inlet
#

go to your profile and make sure "Vibrate" is turned on

somber harness
#

It is, but the button doesn't vibrate my phone. It vibrates for some other things, so I know that the vibration works.

#

That's why I'm asking about the button card specifically.

muted inlet
#

hmm, that's weird. works for me with button cards 🀷 maybe try force closing the app

somber harness
#

Hmm. I'll keep messing with it then. Thanks!

heavy mango
#

Anyone know where to start with this issue?http://homeassistant.local:8123/frontend_latest/chunk.cf565e41b8a8dce0642a.js:133:238 Uncaught TypeError: Cannot read property 'header' of null

#

It seems like all my zigbee devices has bugged out somehow during the day

amber jewel
#

i just updated and now it doesnt seem to be working anymore

wheat current
#
  1. verify that the file exist
  2. clear browser cache
  3. Check browser console for issues
amber jewel
#

ahh it was the cache πŸ˜—

#

ty

signal prairie
#

Where is the proper place to request MDI icon additions?

karmic tiger
#

That would probably be over on the Material Design project.

#

HA uses what's in MDI. HA doesn't add to MDI.

signal prairie
#

Thanks! I already had MDI create the icons I want. Just need HA to include them.

#

So is there a specific area in GitHub for those requests or are we just at the developer mercy? Haha. I had MDI create an alarm panel icon for my custom alarm

karmic tiger
#

The specific area is on that page Ludeeus just linked.

#

HA will eventually use a newer version of MDI, at which point you'll have access to all the icons in that version.

signal prairie
#

That’s actually where you request for MDI themselves to add an icon, but alright.

dark dirge
#

That’s where they come from

#

If the icon already exists in a newer MDI release, it’ll eventually be picked up. If you want a new icon that doesn’t exist, you need to go to the source

candid acorn
#

Hi everyone, i have a toggle script in my frontend and i want that when i toggle the script with a button card, it switches between two different mdi icons, is this possible ?

#

Don't hesitate to mention me if i don't reply under 1 hour from 10am (UTC+2) because i'm very busy with notifications on discord

#

I'm french so sorry for my english if it is bad

compact nexus
#

@candid acorn you could make a template switch which turns on the script as the turn_on action, and then use icon_template to tell it which icon to use. probably use an input boolean in the template

#

or just put the whole script in the template switch and dont use the script at all

candid acorn
#

my script which is called in the button card in the frontend is a call service of a rest command which mute / unmute my speaker

compact nexus
#

you could put the rest command in a template switch.

candid acorn
#

can you explain me more please, i don't understand well what you're thinking about

compact nexus
#

a template switch runs actions (like in a script) as 'turn on' and 'turn off'. and you can define the icon and value template.

#

you'll just have to look into it, but it can do what you want.

candid acorn
#

ok

#

so thank you, i will try your solution

#

πŸ™

compact nexus
#

good luck!

candid acorn
#

thx

candid acorn
#

i've tried that but the switch doesn't change state :

#
switch:
  - platform: template
    switches:
      toggle_mute_cdj_speaker:
        value_template: "{{ is_state('switch.toggle_mute_cdj_speaker', 'on') }}"
        turn_on:
          service: rest_command.toggle_mute_cdj_speaker
        turn_off:
          service: rest_command.toggle_mute_cdj_speaker
        icon_template: >-
          {% if is_state('switch.toggle_mute_cdj_speaker', 'on') %}
            mdi:volume-high
          {% else %}
            mdi:volume-mute
          {% endif %}
#

Can you help me

#

please

#

i go to bed, so i will see that tomorrow

#

good night

#

you still can reply to me, i will read all at my wake up

flint shard
#

Anyone else having an issue where history-graph cards don't update unless you refresh the entire page?

candid urchin
#

since upgrading to 114, I get a card popup when opening the lovelace frontend, and when refreshing. "Which card would you like to add to your "default_view" view?". any ideas?

dark dirge
#

@flint shard That’s been an issue for a long time, and one of the reasons I moved to mini-graph-card

flint shard
#

Might have to look into that. Is it possible to label the graph's axis with that add-on?

dark dirge
#

It’s not great at that

#

But check it out

flint shard
#

Yeaaah, that's why I don't use the graph on HA's built-in sensor cards

#

No axis labels kinda make graphs worthless

#

Yeah, looks like it doesn't label the X axis at all, and labeling the Y axis is limited

dark dirge
#

I have yet to find a graph solution that meets my needs

flint shard
#

Same, the history-graph card is the closest, but it's buggy in a number of ways

#

And the lack of auto-refresh is killing me

#

@dark dirge Hmm, installed it, set my card to show Y axis labels, and... nothing. Still only shows them on hover even though they're set to always show

dark dirge
#

Yeah, that’s how it works. It’s all about minimal design

flint shard
#

Except the documentation appears to show you can make it always show labels...

#

Default: Hover. Options: Hover / True / False

dark dirge
#

Fine for trends, not so great for visualizing actual data points

flint shard
#

I would assume "True" = always show

dark dirge
#

You can bring it up on the forum thread

#

It confused me too

flint shard
#

Actually, even setting them all to "False" doesn't work...

#

Still shows them on hover

dark dirge
#

Or file an issue

flint shard
#

I'm probably just going to uninstall it, it really doesn't do anything the Sensor card doesn't already do

#

There's a little more here, but not much

karmic glade
#

Hi Is there a known bug with "Select which users should see this view in the navigation" in the lovelace panel view.
Me the admin have 3 tabs A,B,C in lovelace
i only want my daughter with her own login to see tab C
when she logs in she can see tab A
somethings not right has anyone else see this or is it just me.

polar kelp
#

I have a feeling that was fixed recently. What's your version?

karmic glade
#

@polar kelp Hi im running 0.114.1

#

@polar kelp i just noticed 0.114.2 is out ill update to that as well

polar kelp
#

I don't know if the fix is merged to the released version, but I'm pretty sure someone mentioned making it.

karmic glade
#

@polar kelp Ok great thank you

polar kelp
#

Quickfix is to move tab C to the first spot, iirc.

karmic glade
#

@polar kelp Lol yes ive been doing that thanks

split remnant
#

hello all... is it possible to a card-mod (or somting similar) to all the cards at the same time, with template? I have a lot of entityes that have the same attribute, and I would like, for example, taht if that atribute is true to change things in the style, like background or the icon color

gusty nacelle
#

Hiii. Is it possible to do jinja template within auto-entities?

#

Like - entity: "{{ 'this.entity_id_uptime' | replace('light', 'sensor') }}"

#

The this.entity_id contains light.shelly_*

gusty nacelle
#

My real question is: Am I able to modify the this.entity variable? Like prefixes, suffixes and replacements

unique jay
#

Wondering if anyone else is having a bug that I'm having.
When I open home assistant on either my phone or PC. I get the add card interface pop. I can cancel it and carry on as normal. Strange thing is I'm not even in the edit UI screen.

lavish solar
#

should state_color: true should work on a glance card with any mdi icon?

lavish solar
#

pretty sure the answer is yes

lavish solar
#

@round lily are you doing that ui display w/o an intermediate template sensor?

round lily
#

@round lily are you doing that ui display w/o an intermediate template sensor?
@lavish solar its the garbage collection custom component

lavish solar
#

oh ok, i thought that was a google calendar entity directly displayed

round lily
#

my google cals show up in the new calendar tab tho πŸ™‚ like that feature

lavish solar
#

me too,

rocky arrow
#

Hi guys, I've got a weird problem...apologies if I'm not searching for this properly on the HA forums.

Every time I "refresh" the Lovelace UI (F5 on Chrome, drag down from top on my phone), I get a popup asking which card I would like to add to my Home view. It's the default "Add new entities" card, it happens every time without fail.

I am not in the "Configure UI" view. I'm literally just refreshing my frontend

#

Not letting me upload a screenshot here...not sure how to proceed.

I have tried:

  • Restarting HA from Configuration -> Server Controls -> Restart
  • Restarting HA through Supervisor -> System -> Reboot
  • Rebooting the actual VM (ESXi, Hass.io VMDK image)

^ None of the above work

#

It's even happening on my wife's HomeAssistant mobile dashboard - she's not an Admin user and does NOT have permission to create new UI elements!

kind shellBOT
#

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

elder pendant
#

What version of HA are you using and are you using any custom frontend cards/plugins?

rocky arrow
#

Thank you Villhelm - I'll upload a screenshot via imgur right now.

I'm using:

  • HassOS 4.12
  • HomeAssistant 0.114.2
  • ESXi 6.7, VMDK image
  • HACS, with a few "frontend" components. button-card, fold-entity-row, Secondaryinfo Entity Row, card-mod, Atomic Calendar, auto-entities, card-tools
    ^ These frontend components are primarily for the Simplified ZWave Lock Manager that FutureTense and firstof9 put together
#

Here's the view that pops up each time I refresh. Both on my Admin account (Desktop, Mobile) and my wife's non-admin account with a personal dashboard I've built just for her (non-admin, both desktop and mobile) https://i.imgur.com/ddVQgCz.png

elder pendant
#

Does it let you actually add a card?

rocky arrow
#

Yes, if I click say "Gauge" (the second icon in the screenshot above) it'll happily add the SM-G965W Battery Level gauge in. Even on the non-admin acc

elder pendant
#

Interesting. Definitely seems like a pretty major bug

rocky arrow
#

Correction: it'll add it on my Admin account. On the NON-Admin account it'll get to the "add" part but won't actually add. It'll just keep spinning on the "Submit" page

elder pendant
#

Well at least there's that

rocky arrow
#

Makes sense, since non-Admin account does not have Configure UI permissions - it's only a dashboard for the wife with no modify privs

#

yep. To make it go away, on desktop I hit esc and the dashboard behind it, behaves as normal. On mobile (Android) I have to go to "Cancel". My wife pointed it out since the "popup" shows up each time and she has to dismiss it to control any lights etc

#

One thing to note, I'm on HACS 1.3.0b1, whereas 1.4.1 is available. And card-tools (custom card) version 10, version 11 is available. I will update those and report back

#

HACS doesn't "nag" to update, I have to go to the HACS template page to see any updates available, so I usually miss it

wheat current
polar kelp
#

@rocky arrow do you have card-tools?

elder pendant
#

They said they did have card-tools

polar kelp
#

Remove it. You (98% likely) don’t need it anyway.

#

And if you do, update it.

rocky arrow
#

@wheat current thank you for that HACS notification piece! I'll take a look at that next πŸ™‚

#

@elder pendant @polar kelp yep - I do have card-tools. Just updated HACS to 1.4.1, will try updating card-tools next. It was on v10, available is v11

#

@polar kelp can you tell me a bit about that? Why remove? I understand update, it should always be latest of course

#

FYI, after updating HACS to 1.4.1 (figured it's unrelated) the popup still happens every time so far

polar kelp
#

Since... idk... 6 months, maybe(?) all my cards have the relevant pieces of card-tools built in rather than require it being installed.

#

You should only have card-tools installed if the documentation for a card specifically says so.

#

And if you find one of those, let the developer know I’ll gladly help them update to the new, better method.

rocky arrow
#

ah, you're the developer for card-tools! Very cool. Just saw the github page for it, ty πŸ™‚

polar kelp
#

Yeah... those instructions seem to be just over a year old...

rocky arrow
#

Yep they're definitely out of date. I followed the original + a combination of @round lily 's followup instructions in the (long) HA Community thread above - thanks for that, by the way!

#

Ok, just updated card-tools to 11. Restarting - will let you know how it behaves after

#

looks like 23 days ago, firstof9 suggested (in that same discussion thread above) to ensure HACS card-tools and auto-entities are still added

polar kelp
#

Holy moly the things this developer does!

#

It’s more hacky than if I had made it!

#

Amazing!

round lily
#

lol

#

all i did was convert FutureTense's .sh into a similar python and intergationized it

polar kelp
#

Can’t see anything in there that requires card-tools, though.

rocky arrow
#

πŸ‘‹ hey! yay more people to the party

#

I can't speak on what the hacks are, but I know simplified-zwave-lock-manager was built off ANOTHER lock-manager project, so card-tools might be dead code in there

#

@round lily i'm referring to the immense help you provided me and several others on the HA discussion thread, especially between May/June πŸ™‚

polar kelp
#

I’m sure it works, and probably consistently too, but... let’s say it’s not how things were meant to be done...

rocky arrow
#

Fair enough haha - good to know

polar kelp
#

Then again, it’s not things that were meant to be done either...

#

The modability of Home Assistant keeps blowing my mind.

rocky arrow
#

Ha, agreed!

round lily
#

hopefully that's a good thing πŸ˜›

#

i think lock manager's only using the fold-entity-row card now

rocky arrow
#

@polar kelp so I CAN confirm..updating to card-tools v11 DOES solve my problem. The HomeAssistant UI new card/entity popup no longer shows up. Tried after a fresh restart, login, both on the admin (mine) + non-admin (wife's) account. So that did it - thank you very much!

#

@round lily I really appreciate this, very detailed screenshots. Lots of good stuff in your UI, will take a look - thank you!

round lily
#

you're welcome πŸ™‚

frank crest
#

Around 0.113 I started getting an issue after home assistant was up for a couple days. I refresh a page in lovelace and just get a blue spinning circle. In the logs I see ```
2020-08-18 14:27:31 INFO (MainThread) [backoff] Backing off call_api(...) for 0.4s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:32 INFO (MainThread) [backoff] Backing off call_api(...) for 0.7s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:33 INFO (MainThread) [backoff] Backing off call_api(...) for 0.8s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:33 INFO (MainThread) [backoff] Backing off call_api(...) for 0.7s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:33 INFO (MainThread) [backoff] Backing off call_api(...) for 0.8s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:33 INFO (MainThread) [backoff] Backing off call_api(...) for 0.2s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:35 INFO (MainThread) [backoff] Backing off call_api(...) for 0.4s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:45 INFO (MainThread) [backoff] Backing off call_api(...) for 0.6s (asyncio.exceptions.TimeoutError)
2020-08-18 14:27:45 ERROR (MainThread) [pyhaversion] Timeout error fetching version information from PyPi,
2020-08-18 14:27:46 INFO (MainThread) [backoff] Backing off call_api(...) for 1.7s (asyncio.exceptions.TimeoutError)

meager blade
#

If I have an entity called sensor.door_contact how can I display the corresponding state.last_updated on a card in lovelace?

#

nm, found it: - entity: sensor.door_contact
secondary_info: last-changed

random mantle
#

Hello everyone

#

i made 2 scripts : start stream and stop stream and i wonder if i can use 1 nice button for this in lovelace in stead of 2 seperate buttons ? Play/Stop

#

can someone maybe help me please

amber jewel
#

I have such a weird error

#

whenever I open something like a badge and close it, it will act like i hit the back button and go in to the last menu I was in

#

not sure why heh

unique jay
#

@rocky arrow I am getting the same thing. Can you let me know if you get a fix or a reply?

elder pendant
#

The answer was to either uninstall or update card-tools

rocky arrow
#

@unique jay ^ this exactly, what @elder pendant said. I had to update card-tools to v11. Didn't chance uninstalling it because it claims to be needed for Simplified Zwave Lock Manager

unique jay
#

@rocky arrow Thankyou. :) Just did it and it's seemed to have worked now. I didn't see what Villhellm had said previously unfortunately.
Thanks for the help!

languid bridge
#

any ideas why my map wont show tile nicely? It shows one of them on the "map" sidebar thing. It shows all properly in a map card. Why wont it show in the map sidebar thing? I've reconnected tile, etc with no dice

(I dont think it's a tile issue since it works fine in a map card just not the main map)

#

looks like it will only show items not at Home... 😦

surreal pulsar
#

Does anyone know how to force Lovelace to stick to 2 columns without putting everything inside two vertical stacks side by side (assuming that would even work)?

#

Also, can badges receive custom names?

dark dirge
#

Multiple vertical stacks is tried-and-true

#

You can check out the layout-card

fluid axle
#

Morning all, Was hoping for some advice please. I have a Fibaro RGB dimmer and setup the custom:light-entity-card and I can cycle through colours however the colours on the card don't match the output from the lights for instance setting red comes out yellow and was wondering if there is a way to correct that?

muted saddle
#

does customize_glob: "switch.*": state_color: true
not work anymore? i got it in my config but in lovelace my switches still dont show state color

dark dirge
#

I don’t think that’s a customization, but a property for a card

#

A bunch of people thinking the same as you, a bunch of people realizing it doesn’t work, general pitchforks and arguments, and the whole thing fizzled out months ago

muted saddle
#

so i have to add it on every single damn card?

#

that sounds like a horrible idea

#

even more so as it does not work with folding entity row

#

got it to work, but thats just a horribly dumb way to have it tbh. now i gotta set it to every single damn card

#

wierd thing is it does show state for some switches anyway, without having it inside the card or customize section of the config..

#

im ok with haveing the option for it, but it should default to true, i cant imagine a single person going "oh shit, why does it change color, i dont want that"

tall reef
#

I everyone. I just updated from 0.113.3 to 0.114.2 and now the webpage is down. I can ping my server

vapid field
#

Custom element doesn't exist: monster-card.

#

what might be the problem, it seems that i set up the monster-card correctly

#

In /config/ui-lovelace.yaml i have:

  - url: /local/monster-card.js
    type: js```
#

with the monster-card.js in this folder:

#

config/www/monster-card.js

#

what is going wrong?

#

first time messing with lovelace btw, so might be an easy solution im missing

spiral nexus
#

I posted in the homeassistant OS channel, I'm unable to view my front end... Or anything, if anyone could help I'm desperate..

polar kelp
#

@vapid field i suggest you google lovelace-auto-entities instead.

#

You also need to restart hass after first creating www/

vapid field
#

i did restart it

#

every step i took

polar kelp
vapid field
#

thanks will have a look later

#

currently at work

#

cheers πŸ™‚

somber harness
#

Is there a way to add a subtitle to a lovelace card? I have a simple entity card with three booleans my wife can turn on and off, and I'd like to show a subtitle or some text under the card's title that explains something.

mild veldt
#

@somber harness wrap it in a vertical stack with a markdown card below the entity card with your text

#

Can't be directly below the title

somber harness
#

@mild veldt Ah, good thinking. I'll look into it. Thanks!

somber harness
#

This isn't quite an answer to my original question, but I can also use a dummy-entity-row combined with custom-card's secondaryinfo-entity-row to add custom text below a dummy entity. Not quite what i wanted but it will work for what I'm after.

karmic tiger
#

It'd probably be an automation but you have the right idea.

#

Scripts are just a series of actions. Automations have a trigger, condition and set of actions (just a script at the end, really).

#

If it has to respond to something happening, it's an automation.

hollow otter
vapid field
#

Hey all, i'm looking for some help, cant figure out where this went wrong, but i jsut updated Hass.io and it now shows multiple entities not available. they are all entities connected to my RFXcom 433 receiver. The receiver still shows up in the hardware list and i havent changed anything in my config. Just ran the update. Hope someone can point me in the right direction...

#

i updated to HassOS 4.12, after this the enities are unavailable

hollow otter
#

Nothing in the logs about that integration?

vapid field
#

nothing i can find...i use the log viewer addon to check logs

#

before the update i see a lot, stuff like 0b1101180001400c02010f40 turned of

#

but since the update there is just nothing..

kind shellBOT
#

Generally, don't tag people to ask for help - it comes across as bad manners, you’re demanding somebody answers you. It’s different if you’re thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.

Similarly, please don’t DM (direct message) people asking for help. It also comes across as demanding, and means that others can’t learn from what you do.

Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on).

karmic tiger
#

There isn't a card trigger type. The reason I suggested automations over scripts is that presumably you'll want to keep the 'radio buttons' in sync regardless of what sets them.

#

Also, script and automations questions belong in #automations-archived, where you can ask your question without tagging people. Someone will answer when they're ready.

vapid field
#

Hi, I hav added my remote control commands as switches (broadlink). In Lovelace, is there a way to only show the on command and hide the off. Tryed to google it but I'm not sure what to google.

keen reef
#

Is there a place to share screenshots of your lovelace UI? Would like to see what novel things people are doing

dark dirge
junior topaz
#

wife forgot her password to the ios app. I found an article on how to reset it but I can't figure it out

#

says use the console? I am using docker

muted inlet
#

@junior topaz there's no password to the app, it's just your home assistant password. That being said, are you an owner? If you are you can delete her user and re-create it

#

Configuration > users

#

If you're actually using a docker install. Do you have the Supervisor menu in the sidebar?

junior topaz
#

I am logged in as admin. I have developer tools and configuration

#

currently on 0.100.3

muted inlet
#

Ok so yeah the auth reset things won't work for you since that's a Supervisor specific thing

#

Oof. That's pretty far behind, I'd consider updating

junior topaz
#

i plan to soon. haven't had time and disabled docker updates because the updated images were breaking everything constantly

muted inlet
#

Yeah, auto-updates aren't advised

dense timber
#

can you put the add automation in the sidebar?

lime portal
#

Quick question - is it possible to have a Lovelace card showing the state history line chart like you get in the history panel?
Nothing coming up in the searches in making. TIA :)

#

@lime portal ... and that would be why. It's the the same history graph as I'm using for my numeric states. I was specifically removing/ignoring the history graph in my searches!

#

Don't presume the thumbnail is what you get!

fiery sail
#

can we still do custom icon colors based on state?

polar kelp
#

With card-mod

#

Or in many cases to an extent by setting state_color: true.

fiery sail
#

looking for two different color for both active and inactive

#

i have state_color: true implemented now for an input boolean, but i'm looking for a way to have the inactive state green and active state red.

karmic tiger
#

If only there was a way to mod cards.

polar kelp
#

Be nice, mono.
Card-mod is probably your solution, bwze. It's one of the first hits on google, and iirc there's an example in the readme.

fiery sail
#

thanks @polar kelp, and @karmic tiger, thanks for the sarcasm...

polar kelp
#

Do you guys remember the days when the answer to half of the questions around here was "monster-card"?

fiery sail
#

So @polar kelp , this is new to me...i'

#

I've been using customUI before this....anyway, I've added card-mod.js to my www/plugins folder and created the resource as directed in the documentation.

#

for testing purposes, I tried to style the using one of the examples in the documentation...

#

style: |
ha-card {
color: red;
}

#

but I'm getting this message after doing so...

#

UI editor is not supported for this config:
Key "style" is not supported by the UI editor.You can still edit your config in yaml.

polar kelp
#

That's right. The editor can't handle style: for now, unfortunately.

fiery sail
#

gotcha

polar kelp
#

But the card still works.

#

And if you remove the style part, the editor will come back.

fiery sail
#

yep

#

so to use....edit configuration.yaml then...correct?

polar kelp
#

No. Everything with card-mod is done in the frontend configuration and on a card-by-card basis.

#

It's not a complete replacement for customUI.

fiery sail
#

Ok, I hate to be a complete tool...but how would change icon color based on state then?

broken marsh
#

Is it not possible to search (CTRL+F) after devices in the History panel?

polar kelp
#

@fiery sail First of all, did it work? Did the text of the card you tested on turn red?

fiery sail
#

@polar kelp , nope

polar kelp
#

Even after saving?

fiery sail
#

correct

polar kelp
#

And I notice you said you added the .js file to www/plugins/card-mod.js, did you use /local/plugins/card-mod.js for your resource url?

fiery sail
#

you must be a mind reader

#

it's working now

#

so by that logic....if,

#

style: |
ha-card {
background: {% if is_state('light.bed_light', 'on') %} green {% endif %};
}

#

results in the background changing color...instead of background would I use icon?

polar kelp
#

You probably want --state-icon-color: {% if....

#

Or maybe --paper-item-icon-color.

fiery sail
#

that did it....is there a way to direct that toward only one entity?

polar kelp
fiery sail
#

ahhhh....i see it now

#

working like a charm....thanks for the education my friend

#

i notice that if you add state_color: true back to the config...it overrides the card-mod changes

polar kelp
#

Yes, because then the icons use different color variables.

#

I think it could be --paper-item-icon-active-color and --paper-itm-icon-inactive-color, but I'm not 100% sure.

fallow oak
#

Hey folks! What cards/configs are people using to put Netatmo weather data in Lovelace?

upbeat sun
#

Not sure if this is the right channel, but here goes: I'm completely unable to sign in to my HASS install. I have one browser that's currently signed in, but nothing else can authenticate successfully (Chrome and Safari). This is a big problem for me right now, as I was trying to reauth my mobile integrations

#

https://imgur.com/a/WJEtei3 is a screen recording of my issue (i know that's iPad Safari, but neither macOS Safari or macOS Chrome work)

karmic tiger
#

As per the topic, this channel's for Lovelace dashboard stuff.

#

If you've messed up your setup somehow, a better place to ask would be the relevant 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.

upbeat sun
#

ok. thanks πŸ˜„

bleak lily
#

Can someone tell me, why the history on my sensor shows me "5 hours ago", but the history graph shows no action for at least 24 hours?
Screenshot: https://d.pr/i/UGvP7I

elder pendant
#

Sensors can be updated without changing states. Usually it's because attributes are being updated

bleak lily
#

Alright, thanks :)

candid stump
#

I read about the Diagnostics & Crash reports sharing in the patch notes and I want to turn it on. Why is it so hard to find this option? What is the supervisor panel? a one time prompt after updating would have been appreciated

dark dirge
#

Supervisor is only available in Supervised installations, and the Supervisor handles the diagnostics and crash reporting

candid stump
#

ahh... I just have the standard home assistant core in a docker instance. Is there any metrics or reporting I can turn on that would be useful to the team?

dark dirge
#

probably better asked in your respective installation method channel. In this case, #449717345808547842

#

I thought there was an integration

sweet sail
#

I have found only for anniversaries,

wide reef
wide reef
#

Anybody have a suggestion of a card that can increase/decrease value with a plus/minus/arrows? Basically time picker card, but not for datetime

sweet sail
#

Thx

coral surge
#

hoping this is the right channel, but I keep getting an invalid config for resources, but the only place i can add resources is in the configuration.yaml...

on HA 0.114.2, in a container.
Trying to be able to setup a custom lovelace card right now
This is how I am adding it into my config yaml

resources:
  - url: /config/www/mini-media-player-bundle.js
    type: module```
wheat current
#

Change /config/www/ to /local/

coral surge
#

if i docker exec into the container there is no /local/

#

thats also what it was originally

wheat current
#

There should never be a local directory

coral surge
#

ah ok... well i still get the same error when it is set to local

coral surge
#

ah alright i get that now for the hosting... but I still am getting an invalid config for it

upper tulip
#

Can you have a markdown card with a tap action? I have a card displaying some text and using templates but I'd really like to be able to click on it to take me to another lovelace view?

elder pendant
#

If you're getting an invalid config error then it doesn't relate to the validity of the url, the actual configuration is incorrect

kind shellBOT
pulsar fractal
#

sorry didnt realize that much was a code wall. My question was
would someone mind walking a n00b through some basic Floorplan questions?
I created a bunch of files in sweethome 3d, put them in www/Floorplan and now I am trying to create a card. However I am getting no card type configured error with the above setup

#

this exists in Config -> Lovelace -> Resources
/hacsfiles/config-template-card/config-template-card.js

wheat current
#

I am trying to create a card.

#

How are you doing that?

#

What you shared is a view, not a card

#

are you using the "manual-card" in the UI for this?

nimble thistle
#

where all can we use !include file.yaml for lovelace UI? Trying to split up my yaml config, but I'm getting unknown tag !<!include> at ...
Current config:

views:
  - cards:
      - type: 'custom:mod-card'
        card:
          type: vertical-stack
          cards:
            - !include top-row.yaml # here
#

where top-row.yaml is in ~/.homeassistant/top-row.yaml

elder pendant
#

You're using lovelace in yaml mode?

nimble thistle
#

yup

elder pendant
#

Using includes like that works fine for me

nimble thistle
#

hmm shit

elder pendant
#

Where are you seeing that error?

nimble thistle
#

in the in-browser UI yaml editor

elder pendant
#

If you're in YAML mode then there is no UI yaml editor

nimble thistle
#

uh

#

I meant more so editing in the browser using the lovelace yaml editor, as opposted to doing it through a text editor (i.e. vim, nano)

elder pendant
#

That's not yaml mode

#

you're still in storage mode

nimble thistle
#

oh

#

brb lemme read into that

elder pendant
nimble thistle
#

so does include not work in storage mode?

elder pendant
#

no

nimble thistle
#

oh ok, good to know

#

I presume I lose the ability to configure anything via the ui altogether in yaml mode?

elder pendant
#

yup

nimble thistle
#

ah shucks

#

well thanks for the help!

lavish solar
#
entities:
  - entity: sensor.on_zoom
    icon: 'mdi:video-account'
    state_color: true
type: glance

That should show yellow when on, right?

knotty vine
#

Would this be the right place to ask about a mini-graph-card?

dark dirge
#

yep

#

or the forum thread for it

knotty vine
#

Cool. I've got a card that recently started acting very funky. sensor.smartweather_feels_like displays on the card as a flat line at the bottom of the graph. Code is here: https://paste.ubuntu.com/p/WmgVxYDDtn/

dark dirge
#

I've seen mini-graph-card go crazy sometimes

knotty vine
#

When mousing over the points, the historical value changes, so it KNOWS the value it should be.

#

The weird thing is, I've got some other cards tracking server loads and they're working perfectly.

dark dirge
#

it's usually related to me constantly reloading the page/clearing the cache to test other stuff

#

I've had some luck with clearing the local data for mini-graph-card in the browser console

knotty vine
#

Hmmm.

dark dirge
#

but it usually just resolves itself

knotty vine
#

How do you do that?

#

NM. I'll learn it better if I look it up myself. πŸ™‚

dark dirge
#

I'd have to dig around to find it πŸ™‚ It's in "local storage" or something

knotty vine
#

No worries. I'll find it.

#

Thank you very much!!!

deep hedge
#

Every time I open a new HA tab on Firefox on Windows, my theme is set back to Auto (white), even though I continue to set it to Dark. Is this a feature?

deep hedge
#

This is on 0.114

dark dirge
#

if it's not saving local data per tab

deep hedge
#

I don't follow, Rob

#

Is this because I'm using private mode in FF, perhaps? I was thinking this is a system setting, but now remember that it is per client. Does this also mean 'per tab'?

dark dirge
#

the browser saves your choice, so if you have some sort of "privacy mode" turned on in Firefox where it doesn't save any data, then it may not "remember" between tabs

deep hedge
#

Roger that. I'll dig into it from that angle. Thanks!

dark dirge
#

(from Chrome)

deep hedge
#

Ah, about to ask. That's why it didn't look familiar. I have an "application" in FF console, but it says I need a Service Worker? I've not used the Dev Tools in FF for anything other than Web and CSS stuff.

dark dirge
#

I really don't know, other than browsers are tightening their privacy features all the time

deep hedge
#

np. Mystery solved. I'll dig a little deeper. Cheers.

honest herald
#

is it possible to make the state font in a glace card bigger?

#

Thought maybe with card-mod but cant figure out how

crystal oyster
#

also the the Celsius temperature is wrong

tacit grail
#

I've put a grafana chart in my dashboard however I get a "401: Unauthorized" displayed inside the panel every now and then. Problem gets solved once I load the Grafana plugin from the sidebar. Anyone can help to get it to load without having to go into the Grafna plugin every time

lofty geyser
#

is there a way to make it only show devices assosiated with a person so that i dont have a billion deviecs i dont care about showing up on the home screen

#

it currnetly shows all devices, even if they arent assosiated with a person, so it shows things like the xbox and the tv that are always connected

karmic tiger
#

@lofty geyser Take control of your dash. The default Lovelace-controller one will show every entity. If you take control, you can decide what's shown.

pallid ibex
#

is it possible to have full width horizontal stack w/o panel mode, in panel mode i am missing the badge icons on top and some padding around

karmic tiger
#

Nope. Panel mode is always full width.

#

Lovelace will always pick the right number of columns for your device too, so you don't control that.

#

You could try layout-card and see if that'll do what you're after.

pallid ibex
#

i think i do not understand the grid system, i decided not to use the horizontal stacks as i probably do not understand it's purpose and it does not to behave like e.g. in grafana.
now i am using it with 3 items weather forecarst card, vertical stack (with two graphs), vertical stack (with two graphs). i can have the cards next to each other but only vertical, vertical, weather, but weather, vertical, vertical is not possible looks like a bug to me

karmic tiger
#

I don't know what you mean. Could you share an image?

kind shellBOT
#

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

pallid ibex
#

hm okay probably "the automatic responsive system" tries to "reuse" the space under the weather card and puts the other vertical underneath, i really like the ui, would be great if it can be more intuitive

karmic tiger
#

That's not a bug. It's just Lovelace's algorithm deciding how many columns to use.

#

If you want control, use panel mode + vertical stacks...

#

And if you really want something that looks like badges, you can use other custom cards like button-card to make them.

pallid ibex
#

na gut

#

thanks

finite pond
#

how do I set the color of the name when in a particular state with button-card?

karmic tiger
#

Something like this should work:

  styles:  
    icon:
      - color: >
          [[[
            if (entity.state < 60) return 'lime';
            if (entity.state >= 60 && entity.state < 80) return 'orange';
            else return 'red';
          ]]]```
#

Obviously for name instead of icon, and update the logic as needed.

finite pond
#

Looks like I need to learn JS. Thanks as always.

karmic tiger
#

Yeah, for any logic in the frontend with custom cards, you're almost always going to have to use JS. Fortunately, it's a simple language to pick up.

tranquil crane
#

hello

#

i'm trying to change the color of a icon based on their state

#

i tried this, but didn't work

#
- entity: switch.sonoff_1000606d26
  icon: mdi:fire
  style:
    color: |
       if state === 'off' 
         return 'gray' 
       else 
         return 'red'
    left: 26%
    top: 30%
    transform: scale(2,2)
  type: icon
#

only show the gray color

karmic tiger
#

What card are you using?

kind shellBOT
tranquil crane
#

i tested turning on and off return state on and off

karmic tiger
#

Maybe I'm missing something but I don't see where the picture-elements card says it accepts templates.

tranquil crane
#

idk if it accept i just tried

karmic tiger
#

Yeah.. you can't just make stuff up πŸ˜‰

#

If it's not documented, it probably won't work.

#

As a general rule, built-in cards don't accept templates, custom cards do.

tranquil crane
#

right

#

wich one should i use?

karmic tiger
#

πŸ€·β€β™‚οΈ

tranquil crane
#

...

#

k

karmic tiger
#

There's a floorplan custom card that's basically a more powerful picture-elements. And there's button-card which can do almost anything.

slender wraith
karmic tiger
#

Refresh your cache. Ctrl+F5 in most browsers.

slender wraith
#

Thanks - that did the trick

#

I wonder if "Refresh your cache" should be added to the installation guide for Front-end HACS

karmic tiger
#

'Refresh your cache' is basically just a 'something in my browser isn't working' troubleshooting step.

#

Nothing specific to HACS.

dusk holly
#

Hey guys, I'm trying to add an image to lovelace using the "picture" element. However, it requires a url (external source) or a file in 'local' like: /config/www/image.jpg
But this make this image publicly accessible. Is there a way to just use the things own fileshare?

dark dirge
#

what is "the thing" in this case?

honest herald
#

Probably stupid simple but how can I hide the icon from a sensor entity in a glance card? I have 3 in the card but just one hidden. I didnt see the option in customize

dusk holly
#

The "thing" in this case is Home assistant

dark dirge
#

you mean like embedding the image into the page that's being served?

#

otherwise, it's just a reference that needs to be resolved by the browser that's displaying it

dusk holly
#

I'm a bit confused why you're forced to make an image publicly accessible before you can use it :/

dark dirge
#

because that's how browsers work

dusk holly
#

Well yeah, I get that, but websites work by hosting their own text and images usually

dark dirge
#

publically

#

because your browser has to be able to get to it to display it

dusk holly
#

Not exactly, if I host an apache2 server at home and dont forward it on the router, it's not publicly accessible

#

It's accessible, just not publicly

honest herald
#

Is the image in www/

dusk holly
#

I know that

dark dirge
#

the bottom line is that if your browser can't get to it from where you're viewing it, it can't display it

dusk holly
#

I understand that part, I get that the browser needs to access it. I also know that if you want to access the lovelace environment that you need to enter a username and password before you can access it

dark dirge
#

@honest herald You can choose to hide all icons, but I don't think you can selectively disable some icons in a glance card

dusk holly
#

I get that the image has to be accessible

honest herald
#

@dark dirge hmm okay il play around with it.

dusk holly
#

When I tell the device to use a local website that I run at home and use a locally stored image, it works for me since I am at home and I can access the internal website. However, why am I not able to add an image to the home assistant config folder and not make it publicly accessible without any credentials

#

I'm okay with the people that can login, they can see the image. But people that are unable to can see the image once you browse to my public address.

#

My question was simple, at least, that's what I thought. I want to locally host the image (on the home assistant) so that the image is only visible to the users of the device

#

Why? Because it's a picture of me and my partner. Not everyone has to have access to that image, otherwise I would have just used imgur

dark dirge
#

I understand your use case now, but I don't know of a way to solve it with Lovelace

dusk holly
#

It's odd to me though, since it's perfectly fine browsing through it's own folders when looking for the cert files

dark dirge
#

one way would be to run your own web server that has whatever access control you like and serve the image from there

dusk holly
#

Seems a bit much for a single image lol

kind shellBOT
#

If you have a feature request for the frontend you can open one here, for Home Assistant itself please post on the forum. All other feature requests should be made to the developer of that custom card/component.

wheat current
dusk holly
#

I'm trying to read through it, not much of a github expert yet. I'm guessing this is a feature similar to that what I'm looking for

wheat current
#

Yes

dusk holly
#

Has this been released yet or is this still in beta or

dark dirge
#

merged 3 days ago

dusk holly
#

Does that mean that it has been added to the current release?

wheat current
#

Will be in 0.115

dusk holly
#

Ah right, we're on 0.114.3 right now

devout hatch
#

I cant make it work the add--on from HACS

#

circle-sensor-card

#

I installed via HACS then I restarted my HA

#

this ios my setup of the card

#

in my logs I couldnt find anything

finite pond
#

How do I change the color of the icon when the switch is on in button-card?

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 ?

muted inlet
#

Normal from what I understand

wet pond
#

seriously πŸ™‚

#

lol

#

okay

#

merci I appreciate the answer but the logic of this is at least to be blunt incredible bad, basically for 3 seasons i'll have a space with the hole dimension of climate card empty between the other 2 cards

karmic tiger
#

There's any number of ways you can get around that. Complaining about HA isn't exactly productive.

potent nova
#

Hi, is it possible to change the font size of an Entity Card especially from the status ?

grim compass
#

Can someone hlep me to understand why the first custom:layout-card works and not the second (Custom element doesn't exist: layout-card.)?

cards:
type: custom:layout-card
layout: vertical
column_width: 100%
cards:
  - type: weather-forecast
    entity: weather.dark_sky
  - type: custom:layout-card
    layout: grid
kind shellBOT
clever blade
#

I'm trying to get multiple actions into 1 button card, is that even possible?

#

I want to turn the volume up on a chromecast device, before playing a sound.

tacit cave
#

@clever blade make a script and call it from the button

clever blade
#

Awesome, i will try that. Thanks @tacit cave

grim compass
#

@tacit cave any idea for my customcard maybe ? :3

tacit cave
#

could be a number of things, not enough information in your yaml or screenshot

grim compass
#

well, it just worked after 3 ha restart

#

-literally-

tacit cave
#

clear cache and reload page, you don't need to restart for the front end

grim compass
#

oh

tacit cave
#

CTRL+F5

grim compass
#

yes i just wasnt aware of that

#

thanks

grim compass
#

are you sure that the frontend doesn't need a restart ? Without includes maybe

tacit cave
#

Doesn’t need restarts

#

Ctrl+f5

dark dirge
#

Changing includes require at least touching ui-lovelace.yaml

formal tide
#

any way I can easily change the <app-toolbar>'s height? It's too big for the mobile view :/

lilac crystal
#

Every time I click a button or switch in the frontend the page just 'hard refreshes' without actually doing the action. This happens for me on iOS (both iPhone and iPad). It also happens on both the companion app as well as from the browser (safari/chrome/brave).

wheat current
#

safari beta bug

lilac crystal
#

Hmm, didn't see any open tickets for that?

lilac crystal
#

Aha, right. That exactly sums it up, thanks Ludeeus.

brisk badger
#

Anyone help me with getting the ZHA_MAP custom component to work? or more precisely the zha-network-vizualization-card custom card in Lovelace that I just cannot get to work

#

but in Step 6 I get the error: Custom element doesn't exist: zha-network-visualization-card.

muted inlet
#

You sure you followed all the steps? You might also need to refresh the page before the card is available

brisk badger
#

I've done it a few times now and I get the same thing

muted inlet
#

try clearing your browser's cache

brisk badger
#

OMG! I just tried it in a different browser and it's worked!!

#

thank you @muted inlet

fierce vale
#

now you made me curious and I also tried installing zha-network-visualization-card but I end up having a "Custom element doesn't exist: zha-network-visualization-card"

brisk badger
#

that's what i had @fierce vale

fierce vale
#

but I tried another browser and it does NOT help

brisk badger
#

try a different browser or close the tab, clear cache,

fierce vale
#

still the same

brisk badger
#

did u do step 2 and 3?

fierce vale
#

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

brisk badger
#

restart HA and started a scan?

#

In HA click on Configuration Β¦ Lovelace Dashboards Β¦ Resources Β¦ βŠ• Β¦ URL:/local/zha-network-visualization-card.js & Resource Type JavaScript Module Β¦ Update

#

and did u install zha_map via HACS?

fierce vale
#

yes. Did all that

#

used copy&paste mostly, so also typos more or less to exclude

#

the file I created is now in /config/www/zha-network-vizualization-card/zha-network-visualization-card.js

#

and the lovelace resource points to /local/zha-network-visualization-card.js

brisk badger
#

yep, that should work

#

u definitely did the scan?

#

as in Step 3

fierce vale
#

I can do again, no problem

#

zha_map.scan_now

brisk badger
#

yes

fierce vale
#

where can I see a result?

brisk badger
#

in the debug logs I think it says?