#frontend-archived

1 messages Β· Page 153 of 1

tawny vault
#

config passes

dawn patrol
#

hm yes that might work @split granite

hexed furnace
#

Can someone explain the basci steps needed to use a custom card I found on github? Do I need HACS, do I need to add the .js file to my local folder? Can I simply copy/paste? Do I use a manual card when I add it to the UI?

wheat current
#

sure, no, yes, yes, yes

hexed furnace
#

OK, I added the .js in the www folder

#

I also added it in the resource section of the lovelace config. Gave it the same location (/local)

#

When I simply copy/paste it into a custom card it says no card type found

#

Should I do a restart first?

wheat current
#

Remove - in front of "type"

hexed furnace
#

"Custom element doesn't exist: button-card."

wheat current
#

Better

hexed furnace
#

Progress πŸ˜„

wheat current
#

Now if you just created the www you need to restart (like the docs say)

hexed furnace
#

Still the same error

#

LEt me check the location of that .js

#

Weird, it wasn't there. I added it again.

#

And restarting

#

OK, restarted, the .js file (button-card.js) is sitting in the /www folder. But: "Custom element doesn't exist: button-card."

wheat current
#

Clear cache

hexed furnace
#

Can't find that in the UI anywhere.

wheat current
#

Good (it's not there)

#

It's in your browser, not your UI

hexed furnace
#

Ah!

#

One sec

#

I think that did it. The card isn't working but I'm not getting any error at least.

#

Got to double check all the entities

#

Thank you @wheat current. Got other more work to do but you solved the custom card thing it seems πŸ™‚

wheat current
#

If you had hacs, you would be able to skip most of these issues πŸ˜…

hexed furnace
#

You should've said that in the beginning! πŸ€¦β€β™‚οΈ 🀣

#

Seems to be an error in the later part of the card. Got 90% of it working

#

The errors I have tend to be between my chair and my keyboard

#

πŸŽ‰ Got it!!! It was a whole bunch of entity id's I forgot to change πŸ€¦β€β™‚οΈ πŸ˜†

trim bronze
#

can someone please point me in the right direction where to add the Cast entity row to the Lovelace UI ?

compact nexus
#

who or what is a cast entity row

trim bronze
compact nexus
#

yeah i just found that

fierce vale
#

Hi

#

I am wondering if there is a way to show up a specific card by a URL

compact nexus
#

like an external url? that you want to show up in lovelace @fierce vale ?

fierce vale
#

no, vice versa I do not want to show something external in lovelace, I want to get lovelace like something external πŸ™‚ I have a floor plan in use and there I can place my items. Also I can add for clicks to open URLs. If I do not do, by default it opens the "more info" for the entity

#

but for climate or dimmers or so, the more-info doesnΒ΄t look that good like the card does

compact nexus
#

so you want the floorplan page to pop up when you click a button?

fierce vale
#

d like to have the card opened instead

#

I have the floorplan as a panel

#

and in the floorplan I placed the entity with a state-label

#

e.g. a thermostat

#

showing up the actual temp

#

when I click it I get the entityΒ΄s more information "card" with buttons for "temp up/temp down". But I like more the card with the gauge like "drag it where you want", but donΒ΄t know how to call it - if there is a way at all

#

understand?

compact nexus
#

kind of. you want it to popup and show a different lovelace card basically?

fierce vale
#

pop up I would prefer

compact nexus
#

ok for that you'll probably want to use Browser Mod, found in HACS

fierce vale
#

tap - pop up - set temp - close it --> back to the floorplan

compact nexus
#

yeah browser mod can do that

#

there is good documentation on how to set it up. take a look there

fierce vale
#

IΒ΄ll have a look for it

#

thank you!

compact nexus
#

sure

#

@trim bronze im still trying to understand this thing. stand by

trim bronze
#

Cheers first time trying to integrate a cast and pulling hair out here

compact nexus
#

make an entities card and put this in it:

type: entities
title: My Title
entities:
  - type: cast
    view: alarm-panel
    name: thing to cast
#

obv change the stuff to your own stuff

#

that link has all the different variables you can change

fierce vale
#

just reading about the browser_mod thing... I have the impression this does then utilize the browsers popup functionality from the lovelace, is it? So new device/browser, other behaviour

compact nexus
#

it is a lovelace popup

#

not a new browser tab or anything

#

just like a normal lovelace popup

fierce vale
#

can I configure it to always do this popup anyway which browser comes?

#

so it is client neutral?

#

IΒ΄ll give it a try

#

PS, for dimmers itΒ΄s the same: boring design on the default "more info" with alinear slider and much for simple use not interesting stuff but a good looking gauge slider on the lovelace card

compact nexus
#

yes when you write the script for the popup you can just put 'this' as the deviceID and it should popup wherever it was triggered

#

but i've never tested that

fierce vale
#

it works somehow - but not as I want. It shows up the deviceΒ΄s card, yes - but without the slider

compact nexus
#

this is a thermostat?

#

what card type did you specify in your script?

#

you need to use the actual thermostat card not an entity card

#
type: thermostat
entity: climate.thermostat_307
fierce vale
#

Ah! I was on the right track already

#

this works, thank you!

compact nexus
#

great! you're welcome

fierce vale
#

is there also a way to show it without a Title? I guess no, didnΒ΄t find any option for that in the readme

#

if I fire it without, it does not show up

compact nexus
#

good question, hang on

fierce vale
#

not that important

trim bronze
#

make an entities card and put this in it:

type: entities
title: My Title
entities:
  - type: cast
    view: alarm-panel
    name: thing to cast

@compact nexus Thanks for that, just need to try configure my bas url for https and should be sorted πŸ™‚

compact nexus
#

np @trim bronze .

#

@fierce vale now that you brought that up i want that for my own popups haha. never noticed it until now

fierce vale
#

πŸ™‚ would make them look a little bit more slim

#

no need for a title

compact nexus
#

@fierce vale if you just put title: " " (with a space) there is no title but still the space is there

fierce vale
#

hmm... this works, yes. But the "X" to close it keeps the same big so didnΒ΄t help a lot though πŸ˜„ Anyway

#

I can fire it in developer area but when I set the same up as a tap_action it does not work

#

shall I post my code?

#
              action: call-service
              service: browser_mod.popup
              service_data:
                data:
                  title: " "
                  card:
                    type: thermostat
                    entity: climate.peq2166824
                  deviceID:
                    - this```
#

if I pick the service in developer tools and paste the same data, it works

compact nexus
#

make it into a script and use script.turn_on as the tap action

fierce vale
#

hmpf... first script

compact nexus
#

big day!

#

if it doesn't work then it is because of the deviceID part. that is the part i wasn't sure would work. you might need to specify the device

fierce vale
#

but it works when I fire it from developer tools area!

compact nexus
#

that is strange

#

try clearing your browser cache

#

that fixes a lot of problems with browser mod

fierce vale
#

nope

#

maybe too late today (2 am).

#

IΒ΄ll try my best another day πŸ˜„

#

thank you anyway

compact nexus
#

yeah i'm not sure. i'll probably be on tomorrow if you need help

fierce vale
#

very much!

vapid field
#

Hi HA Friends.
I have integrated Philips Air-Purifiers in Home Assistant. I can add it to an entity card and see the attributes values. Attributes include allergen index (values 1-12) and PM25 values that change dynamically with air quality and the sensors on the air-purifier. How can I display the attributes' values in a gauge card? i want to display the range 1-12 with critical level indicators. I know how to use a gauge card with eg a temperature sensor where the values are states but I don't know how to display attributes. I'm not a coder and I've read about templating but not managed to put the pieces together. Any help is much appreciated.

twilit light
#

I am looking to have an input select option prompt with a confirmation dialogue. Anyone have some ideas as to how to accomplish this? I have seen some people trying to route through a button/input Boolean/switch but I was wanting to know if there was a plug-in or better solution to accomplish this? Thoughts/suggestions would be great! Thanks

vapid field
#

if the confirm button was in a secondary info window, clicking anywhere outside that would be canceling, right? @twilit light

atomic glacier
dawn patrol
#

Hi, has anybody tried to convert a sensor with "bytes" value, to a gigabyte value ?

split granite
#

That'd be a template, and lots of people have written those

dawn patrol
#

Ok, ill look into that, thanks

green peak
#

Hi. If I want to put a input_select next to a input_text on the same line in a card what is the best card to do that and do I need a plugin from HACS to do it?

finite pond
#

is it possible to stack the cards in such a manner that there's always 1 card in a row??

split granite
finite pond
#

So HACS is the way to go?

#

Should I run this in my shell or activate the virtual env and run it?
curl -sfSL https://hacs.xyz/install | bash -

split granite
#

HACS makes it easier for sure

finite pond
#

right so run it in the venv?

split granite
#

In the config folder

finite pond
#

/home/homeassistant/.homeassistant?

split granite
#

If that's your config folder, yes

finite pond
#

the user I'm running the script as wont matter?

split granite
#

It will πŸ˜‰

flat tartan
#

hi all. In the sun.sun entity (default in HA) you also have details when the sun is going in digits for example 20:35 sun is under... is there a way to get this info in a card ? i would like to have the sun.sun back information also

split granite
#

Template sensor, but also some weather cards do that

flat tartan
#

Hi @split granite You mean i need to put sun.sun in sensor: conf.yaml ?

#

sorry still learning πŸ™‚

split granite
#

You can use one of those to pull any attribute and turn it into an entity

#

The example there shows a next rising example

flat tartan
#

aah oke

split granite
flat tartan
#

great that should work also going to look at that card.

#

Thx!

#

that card is even better πŸ™‚

#

trying to install that πŸ™‚ thx @split granite

vapid field
#

why do people make cards available and not put a picture of it on the info page...

dapper grotto
#

Hi all, can I reference a png image that is out of HomeAssistant path?

#
- card:
                   entity: sensor.face_veranda
                   image: '${states[''sensor.face_veranda''].attributes.file}'
                   type: 'custom:hui-image-element'
                entities:
                   - sensor.face_veranda

#

path is: C:/GoogleHome/Python/Output/2020-04-23 15.55.10.833290 Veranda.png

kind shellBOT
#

@dapper grotto 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

gilded swallow
#

Any idea why sometimes I take a whole lot of time for the UI to load after a restart?
I can access HA via SSH after a few seconds from the restart.. But sometimes, it can take a very long time until the UI is reachable...

split granite
#

The log should tell you a bit about that

#

You may need to up the log level to info, but the problem isn't the UI, it's Home Assistant

#

The UI is the last thing to launch

gilded swallow
#

Alright... Once it will load now, I will change the logger and will try to restart again. Tho now it can take a really long time.. Well, time for a Puff.. πŸ˜‰

lucid bronze
#

What option to use media tts in actions, call service?

split granite
#

Yes, with the name of the tts service, and appropriate options

atomic glacier
finite pond
copper mural
#

I have my lovelace resources in configuration.yaml as I only use lovelace-mode. Is it possible to reload that section without reboot HA ?

split granite
#

Sadly no

copper mural
#

I dont want to stop using yaml mode either. So I hope for a fix then πŸ™‚

split granite
atomic glacier
#

@finite pond would probaby get better/more consistent results setting the size, e.g. max_width: [60%, 40%] or max_width: [100%] or max_width: [962px, 316px] whichever type applies to where you are placing the layout

icy patrol
#

would anyone know how to send a payload to a telegram service node?

#

i have tried {"message":"{{payload}}"}

dapper grotto
#

@atomic glacier thanks, I already solved it πŸ™‚

vapid field
#

Good evening everybody. I have a big issue πŸ™‚ I am trying to solve my issue for days now but i cant do any progress. Is it possible to have a card in my dashboard with 4 sliders and added 4 entity conditions to each slider? So when i turn on slider 1, my entities 1,2,3 will be on, the 4th off. Visa verca it should show me the activated slider as "on" depending on the status of the for entities.

#

This is my trial :))

#

I already tried it with groups, but there are no conditions allowed

gentle blaze
#

Probably a stupid question, is there an easy way to add a shortcut to the entities screen in the sidebar?

split granite
#

Not a stupid question, but it's not possible

gentle blaze
#

Ah ok thanks

vapid field
#

@split granite Do you have an idea how i can do my thing? πŸ™‚

split granite
#

a) if I did, I'd have said
b) Tagging folks like that is rude - please don't, or people will block you πŸ˜‰

vapid field
#

πŸ˜„ alright

uncut dew
#

Anyone else having problems with the new card interfase? I just updated to 0.108.8, now when i try to add a new card it freezes

vapid field
#

no, works fine here

#

i try to rewrite my question: is it possible to use the combination of the status from more than one entitiy to get a status on a card?

#

sounds like a template

#

thanks for the hint. i am asking google..

kind shellBOT
split granite
uncut dew
#

I figgured it out. it appears to be the IPP that is doing it

tacit cave
#

@polar kelp Is there a way to access the state machine with lovelace_gen?

polar kelp
#

No

#

There was in its predecessor. Didn’t work well and was more confusing than useful.

tacit cave
#

@polar kelp thanks

zealous oak
#

Hi

#

Does anyone know if it's possible on my home assistant device to redirect 404 errors to 444 instead?

#

πŸ™‚

split granite
#

Without modifying the source... no

zealous oak
#

Thanks @split granite . That's a shame, πŸ™‚

split granite
#

Nothing stopping you submitting a PR to add a feature πŸ˜‰

zealous oak
#

Haha, apart from my coding skills

odd light
#

anyone know where some docs are for adding an mp4 as the background for the front end?

jade bough
#

Sorry for the basic question but I can not get this simple button to work or find online how to get it to work. I just want to make a button card to activate a scene and I'm stuck at what to put in for the service data string

latent moss
#

@jade bough This should work. I do think it should be eaiser though, gonna open a feature request for it.

tap_action:
  action: call-service
  service: scene.turn_on
  service_data:
    entity_id: scene.night_watch
jade bough
#

Thanks, I literally just figured it out too. I keep forgetting _id. Thanks

little ridge
#

Why is it that every time I open the card options for my stuff, my HA tab freezes and uses a TON of resource. Only way to fix is force close the tab and re-open the tab.

ripe bison
#

hi! is this the place for lovelace questions?

split granite
#

Yup

ripe bison
#

nice

kind shellBOT
ripe bison
#

in an entities card: is it possible to change the toggle switch that gets presented for each entity to some icon that can be clicked?

karmic vessel
#

whats the easiest way to move a lovelace tab to a secondary dashbaord?

timber locust
#

Hi togheter
I just look for a nice solution. Something like a conditional card but... let me explain

#

I have 6 entities for 3 devices.

Example Device 1:
sensor.entity1.state
sensor.entity1.timeleft

Now I want to display sensor.entity1.timeleft just if sensor.entity1.state is On.
So that should be easy with a conditional card. But... I want this for all three devices in one card.

#

So basicly... if sensor.entityX.state is On show sensor.entityX.timeleft value in card.

atomic glacier
#

@ripe bison you can use a button card inside an entities card or just use a glance card, maybe

timber locust
#

Uff... this looks complicaded

lucid bronze
#

Do people have two automations for motion for on and off or do you use conditions to do both? IE if motion detect turn on, if no motion turn off?

split granite
#

The answer will be yes - some people do one, some do the other (with templates)

lucid bronze
#

Frontend automation question though? or it wanted to just be mentioned πŸ˜› ?

split granite
#

Automations... aren't a frontend thing πŸ˜‰

#

Sure, there's a "pretty" editor, but there's a separate channel for a reason

feral rivet
#

trying to install iantrich's custom:list-card but I am not understand the install instructions: ```Step 1

Save list-card to <config directory>/www/list-card.js on your Home Assistant instanse.```. Am I supposed to be creating a folder called list card and then placing the list card code inside of it?

mild veldt
#

Use HACS if you can

feral rivet
#

the example really confuses me wget https://raw.githubusercontent.com/custom-cards/list-card/master/list-card.js mv list-card.js /config/www/

#

I don't see it in HACS. I looked for list-card and custom:list-card and found nothing.

mild veldt
#

you can add repos in the settings

#

but it should be default

#

just search "list"

#

I lied, it is not default

feral rivet
#

lol. yea I figured it was not default

#

@mild veldt I am not seeing the repo in the card page, could you please point to where it is?

mild veldt
#

the github page IS the repo

feral rivet
#

does it matter which category I select in the HACS settings when adding the repo?

mild veldt
#

plugins

#

updated readme

feral rivet
#

wow that was fast

gaunt maple
#

Hi All, does someone know a card which shows history and works with HA Cast? Tried the logbook-card and home-feed-card, but no luck yet..

feral rivet
#

hey iantrich, so although I have added the card in HACS and have rebooted my system, I am getting this errorCustom element doesn't exist: list-card.

wheat current
#

Then it's:
a) Not working
b) Not imported correctly

#

How did you define it?

feral rivet
#

I imported it using the information iantrich provide in the above lines. It looks good in HACS. this is how i am currently using it title: ' Quote of the day' entity: sensor.bible_gateway_feed feed_attribute: entries style: | ha-card { height: 128px; overflow: hidden; } type: 'custom:list-card'

wheat current
#

Let me try again.
How did you define it in your lovelace resources?

feral rivet
#

so if i understand the question, I have it defined as a plugin.

wheat current
#

So that is in HACS, I'm asking about lovelace

feral rivet
#

my bad , I don't know where to go find that information. So I don't think I have it defined in lovelace. With iantrich 's update to the card this morning their is no reference or guide to adding the card to lovelace.

wheat current
#

okey..
Are you using YAML or UI (storage) mode for lovelace?

feral rivet
#

UI

wheat current
#

Good πŸ‘
In HACS, when you view the plugin, do you see a "Add to lovelace button"?

feral rivet
#

i did when I first added it, but I clicked on the button.

wheat current
#

Good πŸ‘
Now if you click on the "Open plugin" button, do you get an error, or a wall of text/code?

feral rivet
#

wall of text/code

wheat current
#

Good good, what OS and which browser are you using?

feral rivet
#

hassio . firefox

wheat current
#

hassio is not a OS, sooo windows probably?
Try holding down (ctrl) and (shift) then hit the "R" key and see if that helps

feral rivet
#

I'm running HA in a VM. What should I expect to see when I hit these keys?

wheat current
#

How you run it is not important, how you access it is :)
You should see the page refresh

dapper grotto
#

Hello, is it possible, on a tap_action of an image, open a bigger version of the image (like a popup) ?

little ridge
#

Hey Frontenders! Why is it that every time I open the card options for my stuff on my desktop, my HA tab freezes and uses a TON of resource. Only way to fix is force close the tab and re-open the tab. It is fine on the mobile app
https://cloudup.com/cEYeIJAGGlW

feral rivet
#

Thanks Ludeeus, that fixed the card

tired quail
#

@little ridge are you using layout-card?

distant stag
#

How do I automatically collapse the side menu?

little ridge
#

@tired quail no. But it's any card, including media cards

buoyant plover
#

Has anyone got a voice agent (like Siri-esque) working for Home Assistant? I've been looking into Mycroft tbh

split granite
devout hatch
#

how can I in my glance to have toggles sliders for on off instead just icon with status On/Off?

#

here is my code now ```type: glance
entities:

  • entity: media_player.denon_avr
  • entity: media_player.denon_zone2
    show_icon: true
    title: Denon AVR Zones```
#

is it doable?

split granite
#

Not in glance, no, that's kind of the whole point of the glance card πŸ˜‰

devout hatch
#

ok I figure it out

#

and how to change dynamically icon of a entity

#

based on status on/off ?

#
            icon: >
        {% if is_state('switch.xiaomi_gateway_alarm','on') %} mdi:shield-home-
        {% else %} mdi:shield-home-outline
        % endif %}```
split granite
#

Generally speaking, that's the purpose of device classes

devout hatch
#

probably like this

split granite
#

For sensors

#

Some other integrations support icon templates, but you'll mostly have to tackle that in the frontend, with CSS AFAIK

devout hatch
#

ahh, too much hassle

#

nevermind πŸ™‚

#

@split granite you were right, switching to UI Lovelace is just so much easier!

split granite
#

πŸ‘

devout hatch
#

I even didnt know about other cards lol

#

like history card

split granite
#

Wait until you start exploring the custom cards... that's where the real crazy begins πŸ˜„

distant stag
#

Custom cards are a different lifestyle

#

a quite addicting one tho

dapper grotto
#

Hello, is it possible, on a tap_action of an image, open a bigger version of the image (like a popup) ?

tacit cave
#

by defualt, cameras do that

tranquil pollen
#

@uncut dew I deleted my IPP, but my cards are still causing my broswer tab to become unresponsive. Is there anything else that you did to keep the cards from freezing?

uncut dew
#

I removed it and restarted, seemed to do the trick for me. what do the logs say?

tranquil pollen
#

The logs say this error shows up 27 times: Config entry for roku not ready yet.

#

Also, Failed to create HTTP server at port 8123: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8123): address in use

uncut dew
#

I might have rebooted the device as well. it happened again for me so restarted my VM, seemed to sort it a second time

harsh mauve
#

Just read the YAML announcement. I've been using HA since before Lovelace, and since Lovelace started I've been using yaml mode. If I use custom cards, including decluttering card, is there anyway to switch yet to normal editing mode in the browser for on the fly previews?

mild veldt
#

YAML for Lovelace is not going away

mild veldt
scarlet heart
#

Hi everyone! Is there a way to force refresh of cached picture-glance image every 15 minutes? I know I can add a version at the end, but not sure how I can continue to do that every 10 minutes programatically. I have a generated picture with Text that I am displaying in picture-glance.

#

I also notice I can give a camera_image: attribute but that cannot take a picture and seems to require a camera entity

vapid field
#

Is there a way to drag and drop to arrange cards? I should need a custom card to prevent 3 columns, 1 with 15 items and 2 with 1 each??

#

AKA.. how do I stop whatever sorting is occuring??

feral rivet
#

is there a way to enable scrolling for the home feed card so that a list can be tracked without expanding the card size?

compact nexus
#

@feral rivet set the max height

#

it will scroll once it reaches the max height

feral rivet
#

got it. thanks

atomic glacier
#

Since I've been meesing around with the state-switch transitions a few days, I had a more useful idea that came to mind. Would it be possible/easier to add the ability to assign a different transition for each state that is met?
e.g.

          ...
          states:
            buttonshow:
              transition: slide-left
              ...
              ...
            buttonhide:
              transition: slide-right
              ...

Just thought I'd ask. πŸ€·πŸ»β€β™‚οΈ @polar kelp Thanks!

dapper grotto
#

Hello, is it possible, on a tap_action of an image, open a bigger version of the image (like a popup) ? --> I have a thumbnail and I want to show the real size images

atomic glacier
split granite
dapper grotto
#

DinoTech, I'll check pls

#

Tinkerer, I know for the camera, but it's not a camera

split granite
#

See the link πŸ˜‰

dapper grotto
#

it's a set on shapshots with face/person identification

#

coming from a sensor template

split granite
#

See the link

#

I use that for what you're talking about, so oddly enough it works

dapper grotto
#

Local file?

#

Can I also use template with it?

split granite
#

Have a look at the docs

dapper grotto
#

I will thanks

alpine summit
#

Is there a way to retrive (and backup) my lovelace UI config and ressources config without switching to mode yaml ?

  mode: yaml```
split granite
#

Yup

#

.storage/lovelace
or
open the Raw Editor

alpine summit
#

Ah, just a matter of .gitignore then hehe. thanks !

split granite
#

There's a lot in .storage/ you don't want to make public πŸ˜‰

alpine summit
#

yeah, i wont go full .storage i'll filter no worries

#

thanks for amazing support tho

#

i belive putting !.storage/lovelace !.storage/lovelace_resources in the documentation default .gitignore could be interesing. i dont know if there is security concerns.

split granite
#

Security, unlikely. Your lovelace is unlikely to hold any secrets

alpine summit
#

in the same time i also think ignoring *.db ... as no one want to upload 200mb of binary data to github

finite pond
#

Can the value of a sensor be changed only in Badges?

#

Basically I want to show the value of a sensor in MB/s in a badge...

finite pond
#

Can value_template be used in the frontend?

dapper grotto
#

Tinkerer, I don't think local file is fitting my needs

#

I need to have a parametric file (template)

#

of my last snapshot from my camera

#

where a person/face has been detected

#

and when I click, I want to see it full size

#

but local file is a sort of fix file camera

spiral pasture
#

Can't you copy the file to a known name as well and use that for the camera?

odd light
#

do we have an easy way to add HA restart, group reload etc to the front end yet? a custom card perhaps?

spiral pasture
#

hmjgriffon - yes

#

anything with tap_action etc. can be configured to run a service such as homeassistant.restart or any of the reload services (just go to developer tools -> services and type reload into the service box to see a list of options.

odd light
#

yeah, you have to make big buttons for that though, was trying to avoid but I guess its good enough

spiral pasture
#

why big buttons?

odd light
#

you can't do it with an entity card, I don't think

spiral pasture
#

you can do it with most cards. For example glance - use any old entity, change the icon / name to something appropriate and set tap_action to do what you want

#

or use button and put several in a horizontal-stack (you can also set the height now)

odd light
#

ohhh

#

that's a way to go

spiral pasture
#

or use a call-service special entities row in an entities card

#

there are many ways to skin that cat πŸ™‚

odd light
#

true

young valley
#

Quick one I hope - have a Deebot and a Roomba that I've got now set up - creating an entities card for them, how can I add the attribute battery-level to these cards? Not sure if it's possible or not from the documentation?

split granite
#

I don't see anything in the docs to say it can be shown

young valley
#

@split granite yes, I was looking at plugins like Canary in HACS that seem to suggest they can do this, but I could be misunderstanding completely??

split granite
#

Custom cards can do many things 🀷

#

Stock cards can do whatever the docs say they can, until you modify them with one of the many custom things

young valley
#

Heh, in your experience is it better to stay away from custom cards then?

split granite
#

I use a few, I have nothing against them πŸ˜‰

#

On the other hand, I make relatively little use of the UI, so I'm not a great person to ask about custom cards

#

The Canary card looks handy though, allowing you to achieve what you want

icy patrol
#

Would anyone know how to capture the state of an entity attribute?

#

I have a camera that has a attribute of 'Is Online' and i want to capture that into a sensor that i can display

#

so if it changes to false; i will know

dapper grotto
#

@spiral pasture I will check that

split granite
icy patrol
#

thanks - i looked into template sensor but it does not update as the entity state always remains 'idle' only the attribute changes

split granite
#

Then you got the template wrong 🀷

winged nebula
#

hi every one. i want to build a smart hab with lcd (raspberry pi and hdmi lcd or spi lcd) so i need set panel on hdmi instead of hassio cmd or use raspberry gpio and spi by python. is there any solution ? i search many in internet but i didn find any thing

icy patrol
#

thanks @split granite ahhh templates dont like quotes around true and false!

fleet barn
#

@gilded thicket Hey, I know you were looking at flex layouts. I have a snip that might help.
https://pastebin.com/8cHmGg5Q
This is a fully flexible layout

#

I hope it makes sense. I have done a bit of tweaking. Let me know if it doesnt work for you.

stoic rain
#

Hey I have an issue.

#

Never mind, I solved it.

#

Thanks rubberducks.

split granite
#

πŸ˜‚

stoic rain
#

This is a true story based on my last 15 minutes of not seeing what's in front of me (in my code). The instant I typed my question, I realized what was wrong. Just thought I'd let you all know.

split granite
#

We've all been there

#

Like when you post your code, and then spot the typo

fleet barn
#

I almost always only recognize my issue once I ask the question >_>

#

That being said, does anyone have a working Lovelace floorplan? I have the original floorplan working fine, but I am trying to add the new one, followed the docs, and its not recognizing the resource.

split granite
fleet barn
#

Followed it to the letter. I think.

split granite
#

Yup, since 0.107 I think it is there are some things that don't work, but the card itself works fine

fleet barn
#

Whenever I try to add the card, it says the setConfig is wrong, which I am reading as its no seeing he resources

#

Ive placed floorplan folder in my www folder. And I have added the resources as the docs state...

split granite
#

Resources go in a different place to what that doc says

#

Things moved in 0.107

fleet barn
#

I see. That is a big help πŸ™‚

split granite
#

Enabled Advanced mode in your user profile, add them to the Resources section of configuration -> Lovelace dashboards

fleet barn
#

I am there. I added it in there...

fleet barn
#

Maybe if I better understood what Cannot read property 'setConfig' of undefined means I could troubleshoot this better.

fleet barn
#

As for adding the resources, this is what I have placed under my configuration > lovelace > resources > /local/floorplan/floorplan-card.js?v=1.1.14

split granite
#
- type: module
  url: /local/floorplan/floorplan-card.js?v=1.1.14
#

It needs to be a module

fleet barn
#

Well yes, but I added it the new way, so I just used the dropdown.

#

That is correct right?

split granite
#

Then as long as you have the type set, you should be good

fleet barn
#

Hmm. I deleted the resource. And when I try to add the example snip from github, it still says that its undefined. That makes me think its not seeing anything at all.

#

So I opened the js file and it says the version is 1.1.8
If I am calling 1.1.14 then could that be the problem?

split granite
#

Nah

fleet barn
#

Is there an updated docs somewhere? Im trying everything on that forum post... trying removing things, it doesnt seem to make a difference.

#

I have other HACS based modules, so I have a general understanding of how to add stuff in lol

#

config is the root right? I don't need to include that I assume?

river walrus
#

Is there a way to add a Media Control card for a group of devices?

#

or do they all have to be on one card?

#

sorry on their own card

split granite
#

I think there's a media player group

#

Nah, my bad, there isn't

cedar girder
#

im trying to set up google cast on my HA, but im confused where to put - type: cast entity in my lovelace

kind shellBOT
split granite
#

That?

cedar girder
split granite
#

So, you've already set up the integration, and you're just trying to cast the view?

cedar girder
#

ive got the script all right i believe, but when i run it, a page with Nabu Casa & Home Assistant logos shows up on Google Nest, with a message that url was not found

#

so im assuming that i messed up the entity as the url in the script matches the url of lovelace tab

split granite
#

The view you cast has to match the path in the view

#

Not the URL

cedar girder
#

but where can i find the path if its not url

split granite
#

You define it πŸ˜‰

#

Look at my link

cedar girder
#

why you have four different casts defined in one view?

split granite
#

They each cast a different view

#
    - type: cast
      name: Overview
      view: home
``` casts the view with the path `home`
cedar girder
#

ah i get it

#

so the cast entity is actually used to cast a view not to define a view to be cast?

split granite
#

Yes

cedar girder
#

ah, im trying to do that from script though

split granite
#

It still casts an existing view

cedar girder
#

i mean make a script which will cast a view and then run the script from Google voice assistant

split granite
#

Right, but it still casts an existing view

cedar girder
#

but im getting: view 'weather' was not found error

#

it works in demo though

split granite
#

Do you have a view called weather?

#

Is your base_url set and includes https://?

cedar girder
#

ive got a view called Weather with url weather, maybe that's the problem

vapid field
#

It used to

split granite
#

Yup

#

Add-ons are, generally speaking, just software in containers

#

So, if there's an add-on, you can install manually

vapid field
#

Oh, it's an addon

split granite
#

Yup

vapid field
#

AH.. THAT's what I was looking for.. couldn't figure out how to use the hassio addons tuff... thanks!

#

Wait.. a better question would be.. is this the best way to edit files in HA?

split granite
#

Best is about you

#

I mean, I use SSH and vi... 🀷

vapid field
#

inlcuing with the phone hahaha.. that's the main issue

split granite
#

I also use SSH so I can run a config check after every change πŸ˜‰

vapid field
#

without jumping around in the UI you mean?

split granite
#

Yup, and also because ...

kind shellBOT
#

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

vapid field
#

I thought I read this configurator had a config check button... we'll see. I just need to easily edit via the phone

#

Ok, I'll start doing that correctly too

split granite
#

I think the only thing the GUI really messes up is not spotting duplicate switch: (etc)

vapid field
#

Oh yeah.. it only checks strict formatting... ?

split granite
#

I'm not sure to be honest, I just know that problem has caught a few folks out

storm rampart
#

Hello, I have been researching how to implement our own HTML and CSS code, I have seen and tried many user solutions to do it and the furthest I have come has been to put a theme and change some colors. I have also read that even if it is OpenSource HomeAssistant limits many things, for example when editing the CSS in the menu on the left.
If there is any way I can edit the full HomeAssistant style please let me know

vapid field
#

fork the source?

storm rampart
#

yes

vapid field
#

well, that was easy πŸ™‚

vapid field
#

Tinkerer is your HA in docker?

#

I am trying to figure out how to daemonize the configurator, but I have no systemd dir

split granite
#

Nah

vapid field
#

do I just crate it and the OS reads the service file like normal?

split granite
#

If you're in Docker, use docker-compose

vapid field
#

oh, I thought you were a docker guy

split granite
#

Oh, I use docker

#

Heck, I build my own containers

vapid field
#

the file wouldn't start for me

split granite
#

Just ... not with HA πŸ˜‰

#

(not that Docker, or not, is very frontend related πŸ˜› )

vapid field
#

no, this is about the configurator still hahah

white trellis
#

I have an issue with my background JPG in my themes, which doesn't work anymore. I'd been using the "lovelace-background" and just tried to rename it to only "background:" - but still without success. Have the definition been renamed or how do I get my backgrounds back?

blissful tartan
#

Been viewing the discussion of Google Cast as I cant get it to work with my Google Hub. The first time I tried it worked and since then zip just the screen showing HA/Love/Nabu Casa. I get a not connected and Error: unable to connect to the Home Assistant websocket API. Have http defined, have followed https://www.home-assistant.io/integrations/cast/ and Tinkerer you posted https://github.com/DubhAd/Home-AssistantConfig/blob/master/lovelace/view-cast.yaml#L8 added the cast section as a view-cast.yaml but how do I call that up? Understand the conf.yaml include but I am lost to how where you are defining the views?

random root
#

Guys

#

I have a sensor with a timestamp

#

I would like to show this sensor on the gui in a more readable way

#

I don't want to create another sensor

#

Just not to create another write on my ssd (this sensor if wrote often)

#

Is there a way to do it?

odd light
#

is there a good dark theme with transparent cards?

random root
#

Can I create a sensor that "format the data" but not log ?

tranquil pollen
#

@uncut dew figured out that my cards were causing my system to freeze because I was using the Brave browser. Works fine in Firefox and Vivaldi. 3 hrs installing and uninstalling well spent lol

random root
#

@tranquil pollen just use Chrome

tranquil pollen
#

@random root I try and avoid Google products if possible.

random root
#

Just curious. Why?

tranquil pollen
#

Once a company knows everywhere you go, everything you eat, everything you search, everything you gmail, etc. you're pretty muched p0wned. Just trying to spread decentralization πŸ™‚

odd light
#

google. is. evil.

vapid field
#

is there STILL no way to filter the history view???

storm rampart
#

Hello, I have been reading manuals and none has helped me, I would like to know what files I have to access to change the CSS to FULL and what code I have to paste in. I know that to edit them they are .yaml files, but I don't know where to start the truth ... if anyone can help me I really appreciate it.

tired quail
#

change the CSS to FULL?

storm rampart
#

I mean being able to change everything, like setting the display of a menu window to none, or changing their icons

shrewd condor
#

Hi

#

I'm trying to use HACS to add some custom cards that I can only make work using lovelace in yaml mode, but if I try to use it in interactive mode from config lovelace resources, I see that the .js modules load from the chrome but I get the message "No card type configured". Any idea what I might be doing wrong

spiral pasture
#

No card type configured is not related to correct loading of resources, it means you’ve not got the yaml right. You need a β€œtype: custom:cardname” in the card config. Obviously replacing card name with the name of the card.

atomic glacier
#

@storm rampart card-mod is very flexible with styles

shrewd condor
#

@spiral pasture why the same -type: custom:mini-graph-card works on yaml mode and not in interactive mode ?

spiral pasture
#

@shrewd condor it shouldn’t be any different - when you say interactive mode, where are you typing it?

wheat current
#

@shrewd condor When you add it in the UI with a a manual card, there should not be - before type

dark tartan
#

anyone know why my packaged customisations might have stopped working?

#

never mind my bad fixed it #idiot

dark tartan
#

getting an error in log

Logger: frontend.js.latest.202004072
Source: components/system_log/__init__.py:209
First occurred: 11:33:54 AM (1 occurrences)
Last logged: 11:33:54 AM

http://hassio.local:8123/lovelace/0:0:0 Uncaught

my last error i need to fix any help appreciated

finite pond
#

How do I change icon of a media_player card?

This doesn't seem to work...

      - cards:
          - entity: media_player.plex_plex_for_android_tv_sony_bravia
            name: Plex - Sony Bravia
            icon: 'mdi:plex'
            type: media-control
        layout: vertical
        type: 'custom:layout-card'
split granite
#

Does the card say it supports that?

finite pond
#

oh because its a custom one?

split granite
#

Well, no, more that each card document what the options are

#

For that card, does it say you can change the icon?

finite pond
#

erm where do I find this info?

split granite
#

In the documentation for the card πŸ˜‰

#

All core integrations and cards are documented on the HA site, see the channel topic

#

Custom components and cards should also have docs provided by the devs

finite pond
#

hmm doesnt say anything related to icons here, so I guess its not supported?

split granite
#

That'd be how I'd read it too

finite pond
#

If I want vertical layout for every card in a view or every view, do I have to manually add it to each item in the view?

spiral pasture
#

Correct. However, you could change the icon for the entity (as long as you don't mind it changing wherever it's displayed). Click on it to get the more-info popup and the click the gear top-right

finite pond
#

Is it possible to show a media player card in the main view only when its playing?

split granite
#

Yup

spiral pasture
#

for the layout-card question you choose vertical for the layout-card which then displays your other cards in a vertical stack

split granite
#

Worth taking the time to read the descriptions of all the stock cards πŸ˜‰

spiral pasture
#
type: conditional
conditions:
  - entity: media_player.{{ player }}
    state_not: "off"
  - entity: media_player.{{ player }}
    state_not: "unavailable"
card:
  type: media-control
  entity: media_player.{{ player }}
#

change {{ player }} to your media player name

finite pond
#

Yeah

Worth taking the time to read the descriptions of all the stock cards πŸ˜‰
yup there's a lot to uncover. ideas keep popping in my head

#

thank you

split granite
#

Welcome to the rabbit hole of HA πŸ˜„

#

Oh, I wonder if...

finite pond
#

Correct. However, you could change the icon for the entity (as long as you don't mind it changing wherever it's displayed). Click on it to get the more-info popup and the click the gear top-right
@spiral pasture this did it! thanks

south meadow
#

Integrated a bunch of hue lights into HA, can control the on/off state and the brightness through the lights card, is there a way to also control the color in the same card?

vapid field
#

is there a way to go back to the fully automated UI ?

finite pond
#

how do I apply layout-card vertical to a stack?

prime osprey
#

How do I delete a dashboard I added accidentally?

finite pond
#

Configuration -> Lovelace Dashboards @prime osprey

prime osprey
#

Can’t see how to remove

#

Sorted

#

I was trying to setup a theme, no idea how.

sand ridge
#

Is there any way to conditionally change the icon for an entity in an entities card?

#

Aka show an open window icon if it's open instead of a closed window icon

spiral pasture
#

@vapid field go to the raw configuration editor, delete everything and save

#

you can also have auto generated UI in one dashboard and manual in others

#

you can even mix yaml and gui editted dashboards

#

@finite pond not sure what you mean, the cards in layout-card will for a vertical stack if you use layout:vertical

finite pond
#

If I add ```
layout: vertical
type: 'custom:layout-card'

#

I'm still confused how layout-card works.

kind shellBOT
finite pond
#

Basically I want every card to be vertical so they scale regardless of the screen size. Is there a better way?

spiral pasture
#

layout-card is a 'container' for other cards - as are horizontal-stack and vertical-stack. If you want all your cards to be in a single vertical column then vertical-stack is the easiest

#
- type: vertical-stack
  cards:
    - type: conditional-card
      ...
#

then list all your cards under cards:

#

if you want something more complex that layout-card has various options, if you set layout: vertical it'll work similar to a vertical-stack but allows you to add -break between cards to force them to the next column.

#

layout-card is generally best used in panel mode

storm rampart
#

Hello, I have been investigating how to change the menu icon that minimizes it for a .jpg image without success. If someone knows something I will appreciate it very much. 😊

#

And if anyone knows how to also change the name above β€œHome Assistant”

quiet tree
#

Hi is there any way to use markdown or any of the LaTeX inspired systems to format strings? I could not find information about it.

#

E.g. instead if having something like m^3 as a unit I would like to get the real mathematicla correct $m^3$

#

Which works not in discord either πŸ˜‰

#

other example would be fractions like m/s which would be $\dfrac{m}{s}$ as LaTeX notation and resulting in a nicely set of a real fraction unit

shrewd condor
#

@wheat current thanks! That was it!
The f$%Β·%& middle script that was left over

fallow oak
#

Hi folks! I have lost my internet connection. My ISP wonΒ΄t be able to fix it before the end of the week. I am also unable to load the HA frontend. I guess there is a connection there?

#

Is there a way to get a proper frontend without an internet connection?

cinder iris
#

I guess you put your HA online?

quiet tree
#

@fallow oak would help if you tell us, where you installed your HA

wheat current
#

That does not matter, if you do not have internet you need to use IP to access, since the ssl validation will fail

fallow oak
#

I am within the same network using the IP, all good. I can authenticate but the elements within the UI won't load...

wheat current
#

AFAIK nothing default uses internet (other than the new brand images)

split granite
#

Some custom cards might, maybe?

fallow oak
#

Hmmm... nothing loads, only a bit of color background for the left menu bar... Then it might be something else... Thanks everyone! 😎

flint geyser
#

Can anyone please help me work out how to avoid this warning message I am seeing?

#

The warning is "YAML file /config/lovelace/views/covid.yaml contains duplicate key "type". Check lines 122 and 127."

#

Above are links to the code and what it looks like

#

I tried removing the "type:entities" portion (line 6 in pastebin) but that breaks things and it no longer looks correct.

lucid bronze
#

@split granite so frontend automation is action I have set as ''call service'' and service of tts.google_translate_say , what do I put in the service data? ... how do I know how to code for it to to x speaker and what to say

split granite
#

Service data is the same as the normal TTS call's data section

#

You need an entity, and the message

lucid bronze
#

thanks πŸ™‚

split granite
#

The order largely doesn't matter

#

As long as it works, it works. If it doesn't, check the log

lucid bronze
#

ah okay, need to get in habit of checking logs - Invalid data for call_service at pos 1: extra keys not allowed @ data['data']

split granite
#

That box you put those things in - the title is service data - aka the data: section

#

You don't need to enter data:

lucid bronze
#

Cool working, still new so not first instict to check logs πŸ™‚

kind shellBOT
#

If you're having problems with your updates to your configuration:

  • Check the troubleshooting steps
  • Check your log file - remembering you may need to set logger to notice
  • Explain what the problem you're having is - sharing configuration, errors, and logs
lucid bronze
#

next milestone is getting it to play mp3 files... doorbell noise

lucid bronze
#

It particularly easy/med/hard?

split granite
#

Largely pretty trivial

lucid bronze
#

okay :), think them aqara buttons look quite good as a doorbell

split granite
#
  - service: media_player.play_media
    data:
      entity_id: media_player.cast_second_bedroom_speaker
      media_content_id: http://192.168.0.42:8123/local/sounds/sub_alert.mp3
      media_content_type: music
lucid bronze
#

Brill, will copy and paste, job for tommorow when I am supposed to be working!

pine bane
#

hi all, i have asked a few times to get one thing sorted, that is the krisinfo lovelace card, i get the sensor and all working but i cannot figure out how to put it in a card, is there anyone using it that can share some insight in this ? i have installed it trhough hacs both the integration (krisinformation) and the lovelace card (Krisinfo card)

I just get the "Custom element doesn't exist: krisinfo-card."

lucid bronze
#

@split granite inside the www folder do you have mp3 in the root or do you have them in a folder called ''sounds''?

split granite
#

www/ maps to local/ in the URL, so ... /config/www/sounds/ is the folder

lucid bronze
#

sorry for being blonde but that means you do have it in a folder called sounds ?

split granite
#

Yes

lucid bronze
#

it essential or na?

split granite
#

As long as it's somewhere under www/ it doesn't matter where

#

However, I'd suggest it to avoid things getting cluttered

lucid bronze
#

okay yes sure will do was just asking in case techinical reasoning πŸ™‚

#

@split granite thanks got it working... had issue but turns out my ip for HA is not what I thought, I normal use homeassistant:local πŸ˜› ..all good

split granite
#

Worth setting a static lease if you haven't already πŸ˜‰

lucid bronze
#

Yes will check that, my server does but not sure about vm, πŸ™‚

storm rampart
#

Hello, is there any way to remove the hommeassistant sidebar for a user without permissions? And when the administrator enters, the bar is there?

atomic glacier
shy tapir
#

Hi everyone. I am having an issues viewing the devices on Home-assistant. everything else works as expected but this page just returns an error. Error while loading page devices.

limpid remnant
#

@shy tapir Any clues in Developer/Logs? Maybe restart (after first trying a browser cache clearing). Have you run a config check? What config changes have you recently made (particularly related to devices)? Need more clues and investigatory results to help.

shy tapir
#

only change i did today was to add adgaurd add-on and that should not do anything.

#

but last hardware change was to add wyzesense2mqtt

#

just rebooted but still same

limpid remnant
#

Logs?

#

Clear cache

shy tapir
#

let me try clear cache too

#

wow- trying different browser and worked . πŸ˜†

limpid remnant
#

Then look into duckdns looking for a ')'. That can't be good

#

actually '(' it seems

snow dome
#

having a bit of trouble with themes I can't see any of the themes i installed

#

Solved: Had frontend: in my configuration.yaml twice

severe estuary
#

I'm a little stuck with changing my home zone. The docs suggest that I can create another zone with the name "Home" and expect that it overrides the default one but I just end up with two. I found some tickets in github that talk about enabling the ability to edit the Home zone in the ui, but that hasn't been done yet.

I have the following in my configuration.yml, checked the config and restarted. Now I have two Home zones...

zone:
  - name: Home
    latitude: <snip>
    longitude: <snip>
    radius: 60
    icon: mdi:home
dark dirge
#

Are the names in the main homeassistant section and the home zone the same, including case?

#

Mine are both lowercase home and it’s working fine

severe estuary
#

I don't have anything in the homeassistant section, I have the default_config: and the rest of the params were configured in the UI.

#
        "location_name": "Home",```
dark dirge
#

Then try a lowercase home

#

Especially if the two you have now differ in case

severe estuary
#

Interestingly, I changed name: Home to name: "Home" and now it works.

dark dirge
#

Hmmm

#

Glad it’s working

severe estuary
#

also, name: home works... :/

#

Anyway, thanks for the help.

dark dirge
#

The states are home and β€˜not_home’ for your home zone, so hopefully what you choose accurately reflects that

tired spindle
#

Hello Community, I would like to request your help wail it's not an fresh install, and I've been busting my brains over it for the past few nights... I've decide to move my supervised instance to my docker infra (wo the supervisor of course). Docker's Infra are behind traefik and redirect to 8123, with an fresh install, wo the http section, the frontend works fine. But as soon as active it, I've received an bad gateway error. As recommanded by the documentation, I've enable x fowarding and authorized the traefik proxy and docker ip... but still same. mindblown Do I've missed something else ? thanks !

finite pond
#

how often does a sensor card update?

random niche
#

Hi all,
Several people, including guests, use home assistant. I would like to offer the possibility for the user to subscribe to notification / permanent.notification on demand / opt-in choice.
Is there any add-on, on-going related project you are aware of ?

fleet scaffold
#

about the latest button card update that introduced triggers_update..if I'm using decluttering card to reduce code repetition, so entity is a variable not explicitely 'switch.myswitch' in the button card config..I need to manually add triggers_update because it won't be auto parsed, correct?

lucid bronze
#
  - service: media_player.play_media
    data:
      entity_id: media_player.cast_second_bedroom_speaker
      media_content_id: http://192.168.0.42:8123/local/sounds/sub_alert.mp3
      media_content_type: music

@split granite I have set this up to do it to a music group so I don't need 3 seperate actions in frontend which works well, is there any code to set it to do it at certain volume or is this a diffrent action to do beforehand?

split granite
#

That's a different service call

lucid bronze
#

okay volume set, where is the code refrenced?

split granite
#

You'd do that before the play call πŸ˜‰

#

Likely at this point you want a script

lucid bronze
#

like where should my go to place be

lucid bronze
#

Can't I do it in actions first call service set volume, then call service play media... or does it not do it in order?

split granite
#

Are you not doing this on a tap action?

#

If not, you're in the wrong channel πŸ˜›

lucid bronze
split granite
#

And yes, you can have multiple actions in an automation

fleet scaffold
#

about the latest button card update that introduced triggers_update..if I'm using decluttering card to reduce code repetition, so entity is a variable not explicitely 'switch.myswitch' in the button card config..I need to manually add triggers_update because it won't be auto parsed, correct?

winter blade
#

Is it possible to disable the dynamic icon on the weather entity? I just want it to be a little sun but it's a huge yellow circle

#

I tried changing the icon in customize.yaml but doesn't make a difference

split granite
#

In a weather card, or in general?

winter blade
#

In general, it's in an entities card now

#

(also changing the icon within the card doesn't work)

split granite
#

I don't think so, but I've never actually tried

finite pond
#

Home Assistant header's (top left) background is defined by primary-background-color?

polar kelp
#

yes

rugged plinth
#

I'm using "customized lovelace" how can I bring back the default "weather" view I got on a vanilla installation of hass

winter blade
#

@rugged plinth If you want the default view you can make a new lovelace view in settings -> lovelace dashboards. this one will be auto updated with new entities

rugged plinth
#

So that is at /config/lovelace/dashboards ?

#

my goal is to have the default weather part of the default UI included in my custom UI. I am trying to avoid two UIs (although that's a neat feature)

winter blade
#

That's just a weather card, you can add that to your custom lovelace UI

rugged plinth
#

yeah that sounds like what I'm looking for. Can someone paste a config example or maybe link me to some docs?

#

or is it just "the weather card via the lovelace UI" ?

sacred blade
#

Hi to all - I have been searching for quite a while now, I am not sure if what I want is possible. I really like having each person as a badge on the top of the view, alsong with the entity_picture. Looks great. Now I would like to switch the picture to a black&white version (or filter the image via CSS) if the person is not at home. Possible? Ideas? All welcome.

winter blade
#

or is it just "the weather card via the lovelace UI" ?
@rugged plinth It is, you can just add it to your UI

weary pasture
#

So, I've discovered that setting a View to not be visible to a user doesn't prevent them from actually seeing it... just removes it from the nav bar. This means that all users see the same default view even if its not supposed to be visible to them.

distant stag
#

How do I get homeassistant to reload other included yaml configurations on a simple browser refresh?

#

for example if I make any changes in my ui-lovelace.yaml, I just refresh the browser and it shows up

#

But if I have a part of the ui-lovelace.yaml (for example a template, or just a page) in a different yaml file with !include, it'll only refresh if I restart the whole HA

#

Nevermind hitting 'refresh' under the ellipsis menu updates everything, it's just that the browser refresh is not enough

sand ridge
#

Is it possible to conditionally change the icons on an entities card or a button card?

#

Like the a lock or garage door will do it by default, but I want to be able to customize that a bit

forest pewter
#

Hi. i need some assistant with picture elements card. when using a fold entity row card and when it unfolds it centers the card. is there a way to make it dropdown instead?. maybe some CSS style?

spiral pasture
#

@sacred blade it might be possible with card-mod - there's a section in the readme on styling badges and it supports templates for doing things conditionally

runic veldt
#

Here's an odd one for me: My history tab in firefox (regular and private, admin user) shows times in UTC, but the other browsers and the iOS app show them in local time. Any thoughts?

#

Logged in to all three as admin. Cleared cookies.

wheat current
#

it uses the settings from the browser, set the locale to your zone

vapid anchor
#

hi guys, i hope is everything fine with you

#

can someone give me a litle help with a picture elements?

split granite
#

Don't ask to ask, just ask πŸ˜‰

vapid anchor
#

i want to rise up a card(picture elements) how i do that?

split granite
#

rise up? Not sure what you mean

vapid anchor
#

i want a card but with certain size

#

i want sizing the image card

wild berry
#

Ok folks I need some help I'm banging my head against the wall I can't get resources/plugins to work my .js files live in
/mnt/user/appdata/home-assistant/www/plugin/lovelace-card-modder

What do I put in my resources.yaml as the path

type: module```
I had it working before 0.106.1

 And question B does the pathway go in 1 or 2? or it doesn't matter
limber ibex
#

Q: How is assigning entities to Rooms and setting up Rooms in HASS different to using groups?

#

My groups.yaml is currently empty and my main automatically configured Dashbaord is getting rahter noisey/messy.

honest coyote
#

I'm getting back into Home Assistant after not using it for a couple of years. I'm adding Persons through the UI which is neat, but I don't see the changes in any of the yaml files. Having trouble googling info on this, are the changes stored in the db file?

vapid field
#

Are any of you guys embedding HA into Nextcloud, or the other way around?

limber ibex
#

No

vapid field
#

I don't see anyone discussing it

#

google or here

honest coyote
#

I don't really get how either platform would support embedding the other, unless you mean integrating?

vapid field
#

No, I mean a link on the side I can click and browse for a bit hten hop back to HA without actually needing another window/tab, etc

#

What I think I am trying to accomplish (xy prob) is I want to edit my notes in the app there.. since HA can't seem to actually edit markdown in a card, and save it elsewhere

limber ibex
#

I dn't see the point myself

#

e.g: i files or i ha

vapid field
#

well this would allow me to keep my notes where they are, and everything else that's currently workign to that end

limber ibex
#

NextCloud/OwnCloud just don't integrate very well IHMO

#

I've used them both and they're kind of overblaoted rubbish IHMO

vapid field
#

that's what I am trying to gage

#

CAN.. they play nice enough for me to edit notes....

limber ibex
#

I'm actually going to build my own lightweight "file sharing" drive like thing

#

I don't think so πŸ™‚

#

That could work

vapid field
#

I have zero skills in web dev

limber ibex
#

me neither πŸ™‚ but still

gilded thicket
#

@gilded thicket Hey, I know you were looking at flex layouts. I have a snip that might help.
https://pastebin.com/8cHmGg5Q
This is a fully flexible layout
@fleet barn Thanks man! I appreciate this. I'll definitely play around with this.

rugged plinth
#

@winter blade thanks from earlier I'll try that in the config

feral rivet
#

looking for some help with adding the slider-card to my config. I have created the folder /config/www/slider-card.js/slider-card and placed the slider-card.js file in there. this is the next set of instructions```Add slider-card as module through front-end. or if using yaml-mode add slider-card resource to configuration.yaml.

resources:

  • url: /local/slider-card.js
    type: module```, but I honestly have no clue what to do with it since I do not have a resource component in my config file. or in my config directory. Any help would great .
summer sluice
#

Is there something I am missing when it comes to the icon for a group lighting up when the group is on? None of my icons change when the group of devices is on or off

mild veldt
#

color does not change for group states

vapid field
#

type: 'custom:light-entity-card' does

summer sluice
#

I have 2 switch's that I have in one group. How would I display that on the front end, so when I click the entity button it switch's both, and shows the correct state color?

vapid field
#

custom:light-entity-card

mild veldt
#

no need for anything custom

vapid field
#

i use custom, but I swear mine worked before too...

mild veldt
#

Once you have them as lights, you can then use the light group integration to group them as a proper light

#

@vapid field in lovelace they have never changed to my knowledge

summer sluice
#

I use that card for lights, never really thought about it for a couple switch's. I have 2 huge external monitors I was working on automating and showing on the front end

#

But I guess if I use the light-entity-card I then won't be showing it as a Entity Button anymore

unique sphinx
#

how can i see all entites of switch ? i used before with group

split granite
finite pond
split granite
#

I guess you're posting because something isn't working?

finite pond
#

Yup, its the same as before

split granite
#

Which means...?

#

Are you saying that it isn't vertical, or what?

finite pond
#

Yeah its kinda hard to explain w/out screenshots tbh

kind shellBOT
#

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

finite pond
#

I have two media player conditional cards before this card, apparently vertical layout card cannot be applied to them

split granite
#

Might help to share the whole view

split granite
#

Hmmm, no issues with putting a conditional card in a vertical stack with the layout card 🀷

#

You've got two layout cards, both of which hold a single card πŸ€”

finite pond
#

this is so daunting

#

You've got two layout cards, both of which hold a single card πŸ€”
Oh you mean:

cards:
  - card
...
  - card

instead of:

cards:
 - cards
    - card
...
 - cards
    - card
#

Is there some sort of HACS plugin for this?

split granite
#

If you want a run of cards in a vertical stack, you need to put them all in the same vertical stack 🀷

#

No, no HACS Plugin to help you visualise your layout

#

Of course, if you just want a vertical run of cards, use the built in vertical-stack card 🀷

finite pond
#

If you want a run of cards in a vertical stack, you need to put them all in the same vertical stack 🀷
Then I cant use the GUI to rearrange the cards can I?

split granite
#

I ... I no longer have any idea as to what you're trying to do...

finite pond
#

If I add all the cards in a view to a vertical stack, they appear as one large vertical card in the GUI, correct?

kind shellBOT
#

The XY problem is asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
The problem occurs when people get stuck on what they believe is the solution and are unable to step back and explain the issue in full.

split granite
#

Why don't you describe your goal, because you're getting exactly what I'd expect from the config you're using

finite pond
#

All cards in a dashboard vertical, editable from GUI

split granite
#

Then... use a vertical stack card 🀷

#

Put all your cards in that view inside that vertical stack card

#

Then you'll get an editable in the UI vertical dashboard

finite pond
#

Right so how do I go about that?

split granite
#

Use that, put your cards inside it - that can be done in the UI editor

finite pond
#

Can a break be inserted in a vertical stack?

split granite
#

What do you mean?

finite pond
#

Some extra space between cards in a vertical stack

split granite
finite pond
#

This and layout-card is separate?

split granite
#

Yes

#

Otherwise it would be part of the layout-card docs/repo

sacred blade
#

@sacred blade it might be possible with card-mod - there's a section in the readme on styling badges and it supports templates for doing things conditionally
@spiral pasture Great, big thanks for the pointer into the right direction! With card-mod i could do it, quite easily. Sample

#
  - badges:
      - entity: person.someone
        style:
          ha-state-label-badge:
            $:
              ha-label-badge:
                $: |
                  .label-badge {
                    {% if is_state('person.someone', 'home') %}
                      filter: none;
                    {% else %}
                      filter: grayscale(100%);
                    {% endif %}
                  }```
runic veldt
#

@wheat current I figured it out. Firefox has an option called privacy.resistFingerprinting, which looks like it obfuscates your time zone. Nifty, but not in this case πŸ™‚

kind shellBOT
muted sigil
#

Hi, I'm using the custom button-card component for activating a scene with this code.
https://paste.ubuntu.com/p/7V36sBM6MP/

The code above works fine,
but I would like to add an indication when the button is pressed,
like changing the color for 1 second and returning it back to the original color.
Any ideas how i could make it work?

lethal vector
#

I have the Aarlo integration working with the default cards. I have installed the aarlo-glance custom card onto the system. I am using the UI mode for configuring Lovelace.
I am confused where I add the following lines:
resources:

  • type: module
    url: /community/lovelace-hass-aarlo/hass-aarlo.js
    When I add it within the Raw editor I get the following message:
    Resources should no longer be added to the Lovelace configuration but can be added in the Lovelace config panel.
    I can't find the Lovelace config panel.
split granite
#

configuration -> Lovelace dashboards

#

Ensure that you've enabled Advanced mode in your profile

lethal vector
#

OMG I see the light now.

feral rivet
#

looking for some help with this card https://github.com/AnthonMS/ha-slider-card. I have created the folder as instructed/config/www/slider-card.js/slider-card.js and followed the instructions to Copy slider-card.js to <config directory>/www/slider-card.js. When I try to create the card i am getting this error messageNo card type configured.

muted inlet
#

@feral rivet you don't need to put it in its own directory like that, just in /config/www/ is fine. But anyway did you add it to your Lovelace resources?

feral rivet
#

yes /local/slider-card.js and the type selected is JavaScript module.

#

should I remove it from the directory?

muted inlet
#

Well there's your problem. It's not in local/ (www/), it's in local/slider-card.js/

#

So yeah either move it to local/ or update the directory listed in Lovelace resources

#

In other words, the path you list in Lovelace resources needs to match where it's at (knowing that www/ is local/)

feral rivet
#

lol I was trying to formulate a question to the info you just provided .

feral rivet
#

ok so I think I got it properly set /config/www/slider-card.js

#

unfortunately I am still getting this response from my card```No card type found

card:

  • entity: light.zooz_dimmer_switch_92
    type: 'custom:slider-card```
wheat current
#

yeah... almost no custom card docs are written with adding it in the UI in mind

#

use this:

type: custom:slider-card
entity: light.zooz_dimmer_switch_92
feral rivet
#

it worked. thanks guys

#

So the way the card is represented in the instruction I shows the entity icon which reacts to the position of the slider, but having created the slider it definitely does not create the entity icon. Can I add icon: to the card file in other to show both the icon and the slider as displayed in the example https://github.com/AnthonMS/ha-slider-card or do I need to create two separate cards?

finite pond
split granite
#

There is a cheatsheet somewhere that's pre-rendered, but without the same search

finite pond
dim jolt
#

has anyone got an example of using custom button-card that needs both an entity in service-data AND another value

#
tap_action:
  action: call-service
  service: fan.set_speed
  service-data:
    speed: 'off'
#

the docs say it uses the entity specified in the card, but i cant get it to work - am i missing something?

feral rivet
#

so i just tried out the icon: idea for the slider-card and got nada. Only the slider bar is created. anyone else using this card able to give some input on how to acheive both the slider bard and the icon button?

muted inlet
#

@dim jolt should be service_data not service-data

dim jolt
#

thanks @muted inlet sorry my rushed typo - i have service_data in my actual code

#

cant figure out where to specify entity

#

the docs state: Service data to include (e.g. entity_id: media_player.bedroom) when action defined as call-service. If your service_data requires an entity_id, you can use the keywork entity, this will actually call the service on the entity defined in the main configuration of this card. Useful for configuration templates

split granite
#

In the service data

#
  action: call-service
  service: fan.set_speed
  service-data:
    speed: 'off'
    entity_id: fan.spreader
dim jolt
#

ok thanks i'll try that

supple current
#

hi there. I used to have floorplan working, but i must have made a wrong change lately. Now i'm getting Custom element doesn't exist: floorplan-card. and i can't figure out what i'm missing

dim jolt
#

thanks @split granite that worked - how did you know that? the docs say the opposite - appreciate your jedi knowledge

split granite
#

That's exactly what the bit you quoted said to do πŸ˜‰

#

You didn't appear to have any entity_id included in the wider card config

dim jolt
#

thats not how i read it though, it says to use entity not entity_id
it says you can use entity it will call the service on the entity defined in the main config of the card (not under service_data) - no idea how you derived your answer - either way it works - so onto solve the next thing πŸ™‚ thanks as always

dim jolt
#

also - weird - fan speed attribute is reported as last value even though state = off

#

i feel like that is a bug? shouldnt speed attribute be off or false ?

hexed moat
#

hi, is there any place where ui feedback can be given? in terms of suggestions of how to improve usability etc

kind shellBOT
split granite
#

You can also raise issues on the frontend repo

kind shellBOT
hexed moat
#

ok thx

winter blade
#

Maybe this is a very dumb question but I can't get a vertical stack card containing entity cards to work within a conditional card. Can someone spot whats wrong here? https://hastebin.com/ajevesuket.bash the error HA gives didn't help me: duplicated mapping key at line 26, column 1: type: vertical-stack

split granite
#

Do you want that vertical stack inside the conditional card, or the conditional inside the vertical stack?

#

At the moment they're at the same level, hence the error

winter blade
#

vertical stack inside condition

split granite
#

Then you have to do that πŸ˜‰

#

The conditional card would hold the vertical stack card

#

The vertical stack card would hold the other cards

winter blade
#

Thanks for the tips, I will try to fix it πŸ™‚

#

It's just a little complicated because that conditional card is also in a vertical stack

half cairn
#

I have this strange issue with my garbage card. The images on it are shown as red boxes until I either expand/close the left menu, or when I open ' Configure UI'

Example image: https://i.imgur.com/GzaU6y0.jpg

The card uses both Card-Mod (mod-card actually due to horizontal stacks) and Card-templater.
My logs show no errors related to this (as far as I can tell...)

What could cause this?

#

Once loaded and shown the cards all work as intended. but how to make them properly show right away?

spiral pasture
#

are you loading any cards, rows or elements as custom:hui-xxxxxx-xxxxx?

woeful fern
#

anyone here using the cast entities card? Can't get the view path to work other than 'default_view'. I've tried using numbers (clear URL address) and I've tried having the hyphen in the name and URL.

Example entities card configuration

type: entities
entities:

  • type: cast
    name: Lights

    The path of the view (or number)

    view: lights
    hide_if_unavailable: true
upper tulip
#

Can anyone help with a transparent mark down card where I just have the title and nothing else? No content as that will be in the card underneath?

potent grail
#

Is there a way to and a sensor value to the style block of an element in a picture elements card?

I've created a compass to reflect the wind direction from my weather station and have created a compass gauges as the background and the needle is an image element. I'm using a css rotate property to rotate the needle and want to get the rotation degree value from the actual sensor value. https://github.com/jcallaghan/home-assistant-config/issues/13#issuecomment-620846971 > https://twitter.com/jamescallaghan/status/1255238918586449921

steady sluice
#

The appdameon github repo is hard to use

#

Is there an easier to use tutorials?

#

is there a list of the code somewhere? Its so confusing

shy tapir
#

I just finished installing HA- supervisor on ubuntu

#

i have not yet set https access to the localhost. When i access love-lace, HA frontend freezes when i click any entity card for details and I cant refresh that page either. i have to open another tab to reach ha but still cant view entity card.
what could be wrong?

winter blade
atomic glacier
atomic glacier
#

@potent grail Hey James, Quick question. Are you then placing this image on top of something else? or is the intentions for this to appear as a stand alone card/placeholder on a larger view? Not sure if I can help, but I may have a few ideas depending on how this is ultimately being presented in Lovelace

#

@upper tulip What are you trying to accomplish? how is it being displayed? where?

rugged plinth
#

I'm trying to get a good weather card on my frontend, I see a "weather card" but it needs me to give it an entity

#

I remember a default hass installation having such a card

#

what data source does it use?

#

ohhh I'm doing this wrong!

mild veldt
#

you need a weather entity

rugged plinth
#

yuuuup

#

let me try, ty

kind shellBOT
potent grail
#

@potent grail Hey James, Quick question. Are you then placing this image on top of something else? or is the intentions for this to appear as a stand alone card/placeholder on a larger view? Not sure if I can help, but I may have a few ideas depending on how this is ultimately being presented in Lovelace
@atomic glacier yes just using an element above. example in above pastebin

split granite
#

~appdaemon @steady sluice

kind shellBOT
#

@steady sluice AppDaemon is a loosely coupled, multithreaded, sandboxed python execution environment for writing automation apps. It uses the Home Assistant API (or MQTT) to communicate with HA. You can get help at their Discord server.

split granite
#

Try their Discord server, they'll know

civic glade
#

Hello guys I am using fully kiosk and it’s a bit slow when coming out of the screen saver, it takes a couple of seconds before the interface is responsive, but with the wall panel app it’s basically instant coming when coming from the screen saver.

#

If this is the wrong section sorry saw some post about fully in here when I searched

#

Anyone using fully is there anyway to speed that up , as I also like the ability of fully to be able to launch other apps on the tablet that I choose while in Kiosk mode

kind shellBOT
split granite
#

~codewall @upper tulip

kind shellBOT
#

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

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

upper tulip
#

Sorry! Basically I'm trying to combine a custom mini graph card(s) is horizontal stack with a markdown card but don't think the code is correct

split granite
#

You want the graph card in the markdown, or just in a horizontal stack with it?

upper tulip
#

Graph card in the markdown, I'd like to basically add a title to the horiztonal stack but format the title in such a way without using a separate card for the title.

lucid bronze
#

Hello I have figured out how to add more colors to this custom plugin, I want the lights to turn on at 30% by default, how do I add this to the code for the toggle on? - https://pastebin.com/22kSJ6Gf

polar kelp
#

Multiply each number by 0.3? πŸ€·β€β™‚οΈ

lucid bronze
#

Not each color but the on button above the colors

spiral pasture
#

@upper tulip I’m not sure I’m understanding what you’re looking for, but if it’s to have a title at the top of a card, or stack of cards so it looks like one card, then you might want to look at stack-in-card to replace your horizontal stack. You can put a title in that easily, no need for additional markdown card.

rose wind
#

Hi guys

#

What's the right path for images in lovelance?

#

I've saved an image in /config/images/myimage.png but I don't know how to insert the image in lovelance

#

I tried /config/images/myimage.png, /local/images/myimage.png and also few other combinations.

#

But nothing worked

split granite
#

/config/www/ is /local/

vapid field
#

hello Every Body

#

I have a problem with my home page "home" for the other is ok but for the card doesn't appear I need to make F5 to see the card

split granite
#

Sounds like a browser problem, try Incognito mode

vapid field
#

Tinkerer yes with incognito mode is ok

upper tulip
#

@spiral pasture https://imgur.com/u3mJEin I'd like the speedtest title for instance to match Synology Stats? I've used a title in the custom mini graph cards and it looks how I'd like but when I add a title to the speedtest card, it doesnt match?

vapid field
#

I Try to modify with user interface configuration and now with incognito mode same probleme

rose bramble
#

i accidentally clicked the wrong thing while i was in "config UI" . . i was editing a person entity badge, accidentally clicked a disable button. . . . now, no matter what i do, i cant get the person.xxx entity back for adding a badge to the UI . . . even tried deleting the person and add them back. . . how can i fix this?

latent moss
#

@rose bramble you probably disabled the entity, so it is not showing up in the Entity dropdown for lovelace card editors. Try going to Configuration (in sidebar) -> Entities page. Then in the search box at the top type in "person" , find the person.xxx and click on it. Then you'll have an option to re-enable that entity.

rose bramble
#

Thnx @latent moss ... I tried that, and it's not there....the person, user, and users device is still there, but the person.xxx entity cant be found

latent moss
#

@rose bramble You could maybe try going to Configuration -> Server Controls -> Reload Persons and see if that helps. But aside from that I'm not sure πŸ€·β€β™‚οΈ

rose bramble
#

Tried that....no change...also removed the person and created new person but still doesn't show the entity

#

Is there a file somewhere that holds the information for the entity I disabled?

#

If so, I could just edit the file and remove the disabled attribute

split granite
#

configuration -> Entities -> Filter icon in the top right

rose bramble
#

Awesome @split granite

lucid bronze
#

Is there anyway/plugin that can show you graphs a lot bigger and nice to view?

mild veldt
#

grafana

fluid slate
#

but I 'm getting Custom element doesn't exist: layout-card. type: 'custom:layout-card'

#

I did copy the file /usr/share/hassio/homeassistant/www/plugins/layout-card.js

#

and in the lovelace ressources I put

#

plugins/layout-card.js

rose wind
#

I'm playing around with lovelance and curious if I can use mdi:xyz icons instead of paths to images...

#
  "on": /local/living_room_on.jpg
  "off": /local/living_room_off.jpg```
#
  "on": mdi:qwertz
  "off": mdi:xyz```
#

I haven't been able to figure out how to do that yet.

fluid slate
#

I use mdi icon in the entities config

#

mdi:memory

#

but I never tried state image

broken marsh
#

So I updated to 109 but now every integration on the integration page is gone. Known bug? Same in incognito mode. They seem to be working still but just arent shown in the integration page. Chrome says in console:
Uncaught (in promise) e {message: "Expected "date", "number", "plural", "select", "selectordinal" or "time" but "f" found.", expected: Array(6), found: "f", location: {…}, name: "SyntaxError", …}

latent moss
woeful mountain
#

Hi, I've got a little bit of a n00bish question. I've added my yamaha receiver to HA today. And it's working. However I want to show which source it's playing on one of my dashboards but I can't figure it out.

 media_player.yamaha_receiver_guesthouse    on    source_list: AUDIO, AV1, AV2, AV3, AV4, AV5, AV6, AirPlay, ChromeCast, HDMI4, HDMI5, NET RADIO, NUC, PS4, SERVER, Spotify, TUNER, USB, V-AUX, iPod (USB)
volume_level: 0.625
is_volume_muted: false
source: PS4
friendly_name: Yamaha Receiver guesthouse
supported_features: 84364
#

I've tried something like media_player.yamaha_receiver_guesthouse.attributes.source but it's not having it

#

any tips are very welcome

split granite
woeful mountain
#

ah ok.. so there is no way to access those attributes directly?

split granite
#

Generally not, some custom cards can probably do that

woeful mountain
#

ok, I'll have a go with that. Thanks very much

random mantle
#

hi people , i'm exploring some templates for HA , and i wonder which one you're using on a tablet ?

split granite
#

Templates? for a tablet?

#

Do you mean themes?

random mantle
#

web interface theme

frank ocean
#

Is there a way to have a switch when click show more switches?

#

For instance, I have a slider that controls 2 lights in my bedroom. It would be nice if when I clicked it to get a more detailed view, if I could control both lights

misty pasture
#

Hey folks! I'm new to home assistant, and I'm trying to add a new custom card via HACS (https://github.com/custom-cards/button-card), but I'm not having much luck. It's added to the resources, but I don't see it in the available cards, and can't add it as a custom card either. Could you help me out please?

#

oh nvm it seems to be working now. I wasn't able to reference it before for some reason 🧐

mild veldt
#

@frank ocean I use the fold-entity-row for things like that

smoky depot
#

@misty pasture in a nutshell you need to create a www folder if you don't already have one under config and then put http://www.github.com/custom-cards/button-card/releases/latest/download/button-card.js inside it and then in the UI you go configuration > Lovelace Dashboards > Resources and add /www/button-card.js as a module.

#

@misty pasture I would consider installing HACS and installing it via that way, makes installing stuff like that way easier

mild veldt
misty pasture
#

Yeah I did install with HACS, it was pretty straightforward πŸ™‚

#

Thanks anyways

frank ocean
#

@mild veldt That is exactly what im looking for.

worldly cradle
#

hi, so I have home assistant running on HTTP and nginx, with a public signed cert, on HTTPS reverse proxying to home assistant over HTTP. I'm trying to get HTML5 push notifications to work and they arn't, theres a toggle in my profile called 'push notifications' but its disabled and says required SSL enabled for frontend

#

am I missing something in the proxy config?

#

ive tried adding the X-Forwarded-Proto header

muted inlet
#

@worldly cradle you'd be better off using the iOS or Android app. HTML5 notifications are...not great

worldly cradle
#

I am using the android app, just thought it was required as i read somewhere to use html5 push with android?

#

does that not have to be enabled with the android app?

#

@muted inlet

muted inlet
worldly cradle
#

oh I might have the keys wrong or something, if I call the notify service and look at the google cloud platform dashboard the API requests dosn't show anything

#

@muted inlet ohh, it does work, I tried to define my own notification service and it wasn't working, theres another tho for the app running on my phone

#

@muted inlet cheers

ornate mason
#

There's about 4 pages of "Found" Tado integrations...

vapid field
#

So I just discovered that HA will read a line in a subfolder package, even if it's completely commented out and die on strange characters saying the problem is with config.yaml

tawny lynx
#

I'm trying to add a new dashboard, but the "Create" button is greyed out. Any ideas?

#

ugh. NM. The URL autofilled my two word title separated by an underscore, but requires a dash. Why have it autofill with an illegal character???

vapid field
#

illegal characters are the error du jour

blissful tartan
#

Has any one got advice on getting Google Cast to work? Was waiting for the latest update https://github.com/home-assistant/core/pull/34701 but this hasnt got me any further. Under Dev calling service cast.show_lovelace_view and entity media_player.bedroom_display with a view_path: default_view I just get the HA/Heart/NC logo not connected then timeout to error: unable to connecto to the Home Assistant websocket API. Logs are set to homeassistant.components.cast: debug homeassistant.components.cast.media_player: debug homeassistant.components.zeroconf: debug pychromecast: debug pychromecast.discovery: debug pychromecast.socket_client: debug zeroconf: debug but does show much.

frank ocean
#

He gents, earlier it was suggested to use the fold plugin to display hide my groups of lights. The problem is, I currently use the sliders plugin. Any way to get the sliders inside of fold? Unfortunately my yaml skills are lacking.

atomic glacier
frank ocean
#

Thanks @atomic glacier I was able to figure it out

opal stone
#

Good Mornig, just a short question.
Using Android /Chrome
On Mobile LG6
Can't find log out menu item :-)
Any gint?

frank ocean
#

Indentation issue lol

atomic glacier
#

@opal stone sidebar all the way to the bottom

floral coral
#

I think I broke my home-assist. I only get a 404 page when I try to load the front page for it....

#

I tried removing the contrainer, reformating the raspi, and setting up a new docker and hass instant. pointed at my old config location and still get 404. If I point it somewhere else I don't get it and I get the normal onboarding process.

#

Any idea what/where I can look to see what is cauing it. or like should I try renaming/replacing the yaml files to see maybe what is causing it?

#

I just edited the config yaml and I got it to crash into a safe mode. so something that was working just fine yesterday, broke all of a sudden

opal stone
#

Can I upload Screenshot in Discord?
Sidebar bottom shows:
Notification
Admin (Proffilename)

Within Admin profile no logout button as well.

muted inlet
#

@floral coral Well, that was overkill as first steps... But anyway, how did you install home assistant? Core on docker it sounds like? Or did you have add-ons?

#

Sounds like core on docker if you are choosing a config location

floral coral
#

yeah

muted inlet
floral coral
#

sudo docker run --init -d --name="hass" -e "TZ=America/Chicago" -v /mnt/qnap/docker/appdata/home-assistant/:/config --net=host homeassistant/raspberrypi4-homeassistant:stable

#

ok i'll go there

lucid bronze
#

I find it difficult at squinting and using mouse or finger to use history graphs, any addons that make them bigger/prettier?

split granite
#

You've tried the stock sensor card?

lucid bronze
#

thanks, mini looka nice.. anyone to make it huge on loveface?

#

way*

split granite
#

Horizontal stack card, custom layout card, and probably a few other options

#

I mean, heck, you could make it the only card in a panel view

lucid bronze
#

Thanks will give it a go πŸ™‚

#

think panel mode will do trick

#

Question with that, I have a motion sensor that is classed as a device, how does one add a device in the history graph?

split granite
#

You don't, you add entities