#frontend-archived

1 messages · Page 158 of 1

wicked lake
#

@mild veldt - I'm working on it 🙂 Can I use a template for the service to call on action?
service: "{% if is_state('states.timer.piano_practice.state', 'paused') %} timer.start {% else %} timer.pause {% endif %}" gives me an error - no templating allowed here, it seems. And I can't use service_template for this field as far as I can see.

#

I can call a script that has the template and calls the right service, but I was hoping to do it without yet another entity...

mild veldt
#

You can template there but is not jinja

#

Read the JavaScript Templating section

wicked lake
#

Sweet. service: '[[[ if (entity.state == "paused") return "timer.start"; else return "timer.pause" ]]]'

keen agate
#

@mild veldt thx

keen agate
#

i got the animation to work, but now my "transform" to make the icon larger doesn't work

#

nm...got it

keen agate
#

well...sorta...the icon "wobbles" on my portable devices...looks perfect on the desktop

dense glacier
#

can I use value_template on any sensor or does the sensor has to specifically allow that value? Trying to change the time output of one of my sensors

vapid field
#

I am trying to use this theme:

#

But when I try to execute step 5 I get an error

#

Expected a value of type `undefined` for `style` but received `"ha-card {\n background-color: var(--primary-background-color);\n border-radius: 15px;\n margin: 10px;\n box-shadow: \n {% if is_state('sun.sun', 'above_horizon') %}\n -8px -8px 8px 0 rgba(255,255,255,.5),8px 8px 8px 0 rgba(0,0,0,.03);\n {% else %}\n -8px -8px 8px 0 rgba(50, 50, 50,.5),8px 8px 8px 0 rgba(0,0,0,.15);\n {% endif %} \n } \n"`.

#

But only when I'm using certain cards

frigid gale
#

how do you set app new calendar dashboard ?

#

I couldn't find any info

spice mauve
#

Is there a way to change the tap action depending on the state of the entity. My use case is that if my vacuum is currently operating, I would like to make it return to the base with a tap and when it is not operating, it should start to clean on a tap.

karmic tiger
#

@spice mauve If the card you're using supports templates for the tap action, yes.

spice mauve
#

which one would that be for example?

karmic tiger
#

There are many. It matters more which one you're using...

#

If you're using a build-in Lovelace card, you may be more limited.

spice mauve
#

ok, cool, thanks for the information!

wicked lake
#

@spice mauve - scroll up several posts and see a JS template I just worked out for a very similar thing (timer pause/start).

vapid field
#

[homeassistant.util.yaml.loader] could not determine a constructor for the tag '!secrets'
I get the error when i use "api_key: !secrets openweathermap_api_key"

#

Got the problem. its secret not secrets

severe thistle
#

Hi, I have a bit of an odd problem with the new calendar panel. I can see all my todoist calendars listed and my google calendars. Except there are no entries. If I comment out the todoist integration the google calendars appear. I do have some errors in the log about todoist, but it does work as I can see all the todoist projects listed in states in the developer panel... has anyone else reported anything like this? I made a comment on the update announcement on the forum but no one has mentioned anything. ponder

frigid gale
#

how did you get new calender panel ?

severe thistle
#

Updated to 0.110 and it just appeared

#

I'm actually on 0.110.1 now though

vapid field
#

bug in frontend in latest 0.110.1 when moving card try to move it to the end of the page two times and then in says config invalid or something.. raw config editor is blank.. until u remove the card that u moved u cant edit it trought raw config to get it fixed.. card is lost....

#

happen to me in two times allready

karmic tiger
#

So report it as a bug 🙂

#

This isn't the place to report bugs - that'd be over at the GitHub repo

vapid field
#

too much off a hastle couse just got my lovelace fixed after that.. so dont want to break it again to get exact logs and stuff.. ill wait for it to be fixed...

wheat current
#

ill wait for it to be fixed

#

How is it going to be fixed if no one reports it?

karmic tiger
#

I also love the mentality of coming to a community to take something but not being willing to give back... 🤷‍♂️

sullen gate
#

@split granite I push the "+" button to add MQTT and now it ask me what is my Broker ...I don't know what I need to do...

split granite
#

You put in the IP of your broker...

sullen gate
#

yes but I never install anthing so I think I should install something on my raspberryPI to have a Broker up and run, isn't it?

errant grail
#

Hi 😉 Someone would know what is this theme here ?

split granite
#

Why are you setting up MQTT?

sullen gate
#

I don't know really, I need to see my ONVIF cameras

#

and I red that I shuold use MQTT

split granite
#

No

sullen gate
#

so I have many Foscam Cameras and some ONVIF, do you know how to intergate them in hassio and how to see them all in the lovelace UI?

#

ok thx

karmic tiger
#

@sullen gate You get help with integrating things in #integrations-archived , then you come back here to figure out the UI stuff.

sullen gate
#

ok, I got it, tnx

ionic spade
#

hi, can someone verify if that is realy a bug -
I have two history graph cards with two sensor signals, for one i set 24h timespan for the other only 1h - after reloading the length of the graphs is always the same

polar kelp
#

Do you mean the width of the graph on the screen, or the time they show?

ionic spade
#

the time span

zenith crescent
#

I tried wiping and restoring back to an earlier snapshot (a week ago) but now I cant even get close. I did tail the log in the VM's console, there are some problems with internal connections for ingress and discovery https://www.screencast.com/t/Gb8oleQp3

solar pecan
#

Hi, anyone about who knows about LG tv's and issues with media_player settings?

graceful ether
#

hi, is there a way to replicate a header_toggle on to of a glance card ? i managed to hide the title and create an entity for it, but it obviously don't look like a header_toggle ...

sour sundial
#

hi

#

can i split the default history tab in multiple ones ?

zenith crescent
#

@graceful ether I find VerticalStack is good for something like that were the initial card doesnt have everything I want

graceful ether
#

Thank's @zenith crescent , that what i used to add my entity on top of the glance card, but the entity 'name' isn't all bold and stuff like a header_toggle :(

mild veldt
#

@graceful ether card-mod could help with that

quiet wedge
#

With the new possiblity with multiple lovelace UI's I want to look into using a locelace panel instead of a appdaemon dashboard. But how do I get a lovelace panel to show without the borders, do I have to use custom header for that? And what do others do, set up a specific user for it?

errant grail
#

Hi

#

I installed a theme

#

i edited the yaml to perfect it

#

but i would like to do a last thing

graceful ether
#

@graceful ether card-mod could help with that
@mild veldt that's a big one, but i'll look into it.
I kinda avoid it for now because of how deep it can go

errant grail
#

It would be possible to change the color of lights icons when the lights are off ?

mild veldt
#

Well the other option it to not worry about it 😜

#

@errant grail card-mod

errant grail
#

card-mod ? 😋

#

it's a property to add in the yaml ?

graceful ether
#

it's a pluging to add (using hacs make it easyer)

errant grail
#

It wouldn't exist easier way with the yaml file of the theme ?It wouldn't exist easier way with the yaml file of the theme ?

#

In fact, i would like to avoid to display a white icon when a light is off

#

In dark grey instead of white would be better

mild veldt
#

Well you specifically said lights, you can't specify that in your theme

errant grail
#

In fact, the property "paper-item-icon-color: grey" in the yaml file was at the root of this problem

#

i commented it

#

and it's ok now

spice mauve
#

Can I ask a question about HACS here? I have upgraded to version 1 and now my plugins do not work anymore. The path in the browser is https://<homeassistant>/community_plugin/<plugin-name>/<javascript-file>.js but the folder on the system is /config/www/community/<plugin-name>/<javascript-file>.js and is not found. Do the plugins need to be updated? This applies e.g. for mini-graph-card.

split granite
spice mauve
#

does that mean that the plugins have to be adjusted or can this be done with configuration of hacs or stuff?

split granite
#

/community_plugin has been deprecated for quite a while now

#

Just updating your resources should fix it

spice mauve
#

which resources would that be?

split granite
#

The lovelace resources 😉

#

configuration -> Lovelace -> Resources if you're using the UI

spice mauve
#

ah, right, now I remember, I was looking for that in HACS and behind the three dots in the frontend but did not find it, thanks for the hint!

split granite
#

That's because HACS is a tool for installing other things

#

Things you can install manually too

hexed furnace
#

Is there a text-only card? I want to make kind of a title block over a 2x2 set of cards.

split granite
#

Markdown card?

hexed furnace
#

🤦 Sheesh

#

Missed that

#

So, it's not a special customized card?!? 😉

split granite
drifting karma
alpine ermine
#

Was working on Xbox Edge Browser but post 110 many icons and badge sensors not working.. but does in Win10 Edge Browser.

#

Technically can click on where icons were and it does function... strange how some show and others don't.

#

Was very convenient on large screen. **Update seems corrected now... noticed that there was at least a 3 sec. delay of these icons on working systems...as well.. not sure faster changes (icons) .. come without slower trade offs.

polar kelp
#

Well you specifically said lights, you can't specify that in your theme
@mild veldt ...yet...

twilit remnant
#

Hello Community, is it possible to create a card that shows only turned on devices?

split granite
#

Yes

#

The Entity Filter card allows you to define a list of entities that you want to track only when in a certain state. Very useful for showing lights that you forgot to turn off or show a list of people only when they’re at home.

sour crag
#

is this only relevant for scene, or for scripts as well? (couldn't find anything about it on the linked page)

split granite
#

If it applied to scripts, it would also be in the script docs 😉

twilit remnant
#

Thank you Tinkerer :) Do I have to set all the entities that should show there? because a wildcard light light.* doesn't work :/

sour crag
#

it doesn't seem to be mentioned in the scene docs either?

split granite
#

There's an auto-entities custom card that may help there @twilit remnant

sour crag
#

but, anyhow, as long as that weirdness only applies to scenes, not scripts, I guess I am fine

#

thanks

swift marten
#

is there a front-end in HACS that lets you stack multiple buttons in the same row? I've changed the size to be much smaller than normal because I'd like to have like 3 buttons in a row to consolidate space

split granite
#

There's already a built in horizontal (and vertical) stack card

swift marten
#

but do those cards handle buttons?

split granite
#

They handle cards

swift marten
#

I'm sorry if the questions are dumb, I'm playing around with my lovelace setup for the first time

#

so do I start with using that horizontal stack card and then add the buttons I want to it?

split granite
#

Yes

swift marten
#

nevermind, I'm an idiot

#

thanks

split granite
#

Add the cards - they're all cards 😉

tough quiver
#

Is it possible to make a gauge card out of an attribute to an entity?

earnest swallow
#

@tough quiver yes, create a template sensor

tough quiver
#

so no then

earnest swallow
#

Purely within the UI - no. But you can create a second sensor, which has a value/state of the attribute, and put that sensor into the gauge

split granite
#

There is a custom component that allows you to do it all in the UI

tough quiver
#

Yeah - I intended to do a template sensor but wasn't sure if specifying an attribute directly in the UI was possible.

#

ooh - interesting, which one is that?

split granite
#

As just found from HACS 😉

tough quiver
#

ah 👍

#

oh that creates the template sensors.

#

I guess I was thinking more this

steady sluice
#

My frontend no longer shows the custom header after the newest update

#

And I dont know how to fix it, I cant access iut

#

0.110.1

karmic tiger
#

Have you updated all your components and cleared your cache?

fierce cosmos
#

How's that program called for making those nice floor plans. With that semi 3d top view.

sterile warren
#

hi, i'm trying out a new button layout, but i canot make sence of this:

Small text to display - First button

          - content: >              
              # There are  {% if is_state('sensor.lights_on', '0') %}
              currently no  {% else %}  {{states('sensor.lights_on')}}  {%
              endif %} lights on
            style: |
              ha-card {
              --paper-card-background-color: 'rgba(11, 11, 11, 0.00)';
              box-shadow: 2px 2px rgba(0,0,0,0.0);
                 }
#

How do i get the lights to count how many is on? Do i have to list all of them somehow?

drifting karma
tough quiver
#

Hey - just wondering if it's possible to use a custom icon on a card? (Namely the custom:button-card) I have the icon I want to use in PNG,SVG or literally any format potentially needed.

tacit cave
#

It’s possible but you need to use a custom field and return an icon from it. My configuration has examples. FYI it’s painful because you have to style every aspect.

drifting karma
#

petro! my man, how do i make my background fill the whole screen?

tacit cave
#

I don’t have it memorized

#

But if you can find my config, it’s in my main Lovelace file

#

Petro31 on github

#

I’m on cell, lemme see if I can get it

drifting karma
#

i think you win for having the most complicated setup

tacit cave
#

background: center / cover no-repeat url("/local/images/background.jpg") fixed

drifting karma
#

background: center / cover no-repeat url("/local/images/background.jpg") fixed
doesnt work

tacit cave
#

Ive never viewed the image on a large monitor

#

Er, interface

drifting karma
tacit cave
#

Missing a “

drifting karma
#

but when its on my macbook air there's an odd gap and doesnt extend

tacit cave
#

Eh, it’s hashed Nm

drifting karma
#

its there

#

it seems to work fine when i have my sidebar extended but not when its closed

#

and i just have the icons showing

tacit cave
#

Remove the %22 and replace with double quote

drifting karma
#

yes still has an odd gap

#

it loads fine for a few seconds and then returns with a gap

tacit cave
#

Ctrl+f5?

drifting karma
tough quiver
#

It’s possible but you need to use a custom field and return an icon from it. My configuration has examples. FYI it’s painful because you have to style every aspect.
@tacit cave I'll have a look at your GitHub tomorrow and give it a crack. I assume an SVG is going to be best in this case.

tacit cave
#

Svg optimized

drifting karma
#

@tacit cave doesnt help 😦

#

super frustrating

#

guess ill put in an issue

#

on githubg

tacit cave
#

Sorry I can’t help then, on phone. I would google “stretch image background css maintain aspect ratio”

#

It’s not an issue tho. It’s css

#

That issue will be closed almost instantly

drifting karma
#

where would i put it if i have the background in lovelace?

tacit cave
#

Not sure what you mean.. you just need to figure out the css style that fits your needs

drifting karma
#

seems weird its only an issue when i collapse the side bar to icons only

tacit cave
#

Are you using custom header?

drifting karma
#

yes

tacit cave
#

It’s more likely that then anything else

drifting karma
#

i took out

#

and its still an issue

tacit cave
#

No you have to disable custom header to turn it off

#

Removing from your config doesn’t remove it

drifting karma
#

you mean remove it from resources?

tacit cave
#

No there’s a disable command that you send to your url

drifting karma
#

there is?

tacit cave
#

Yes, it’s probably covered in the docs

drifting karma
#

i added ?disable_ch at the end, though it filled the screen, if i scroll down the gap is still there

#

weird it wont just fill everything with the picture

#

seems to be an issue with the custom header

tacit cave
#

Have you googled any css?

#

Are you sure it’s not the css?

drifting karma
#

yeah

tacit cave
#

I just find it odd that only you are seeing it. What browser?

drifting karma
#

chrome/safari

#

i will keep googling, appreciate the guidance, it seems fine when it first loads for a few seconds, then it wont wokr

tacit cave
#

So chrome/safari takes the old school css approach. Include that in your searches

#

I’ve had to really mangle some css to make it look the same between safari and chrome

drifting karma
#

i was just testing it in safari but im normally just on chrome

#

works fine on mobile

honest herald
#

hey guys I update to 0.110 and most of my frontend is missing

#

I remember seeing there was a change to the resource urls which I changed to /hacsfiles/but that didnt work

#

well guess im going back to 109 😦

dark dirge
#

You could, I guess. Did you do any debugging?

honest herald
#

no

#

how would I go about that

#

okay actually I was hitting refresh not reload resources in the ui

#

so its all good now duh!!

sacred axle
#

I have a touch screen display that I run a home assistant client. I run it in full screen and have a button to launch a url to a new site. However I cant figure out a way to close that tab to go back to hass since it's in full screen. any suggestions?

#

if I could just have a gesture to close a tab it would be fine
edit: I found a solution that so far is working. smartUp Gestures a chrome extension allows for customization of gestures. I created a touch one for closing the tab.

icy patrol
#

anyone using this as well or is there something else out there that will show a slider for a dimmer

sacred axle
#

a light card has a slider for a dimmer

icy patrol
#

thanks; will i be able to use that card in my existing stack of entities?

#

not all are lights, some are switches

muted inlet
#

Switches are on/off though

sacred axle
#

I don't think you can use them as a flat entity like the entities are. the light card is more like a button interface with a slider built in

icy patrol
#

yea i see that the light is like a button

sacred axle
#

and yes you can use smart switches on light cards

icy patrol
#

i was looking to keep them flat

sacred axle
#

you will probably have to find a custom card then. At least I don't know of a way to make the light entity flat

icy patrol
#

maybe when the dimming is on, then show the slider ona new row - is that possible

sacred axle
#

I've noticed that lovelace built in entities are pretty basic. Most of what you will end up using is custom cards other's have created

icy patrol
#

ok thanks; i will search HACS and see whats out there

sacred axle
#

I found a solution to my full screen tab issue. I added an edit to my above post for anyone interested

latent bramble
#

Hi, I have setup custum-ui in HA but i can't seem to see the ui appearing in my phone, although it appear when I'm accessing through the browser (chrome) in PC? any reason behind this?

worthy kiln
#

All custom cards are no longer working since the included where moved to a seperate lovelace place. How to fix that?

green raft
#

If I basically wanted a blank, semi-transparent <div> in a picture-elements card, easiest way to just use a 1x1px image element and then style to suit?

polar kelp
#

Yep

loud thistle
#

Any thoughts about some kind of calendar buffering and updating after a specific timeframe? Why? My work CALDAV is soo slooow and that way one would at least have sort of recent entries all the time.

karmic tiger
loud thistle
#

Good question. Calendar is frontend, at least the listing I guess. But I am open for corrections ^^

karmic tiger
#

The thing that displays your calendar entries will be frontend. What gets your calendar entries?

kind shellBOT
tough quiver
#

MY attempts with:

        state:
          - value: 'off'
            styles:
              card:
                - color: 'var(--paper-item-icon-color)'
          - value: 'on'
            styles:
              card:
                - color: 'var(--paper-item-icon-active-color)'``` did not work unfortunately.
#

@tacit cave I know you mentioned something about this - i've dug through your hass repo and couldn't find how you did it.

#

agh, bot stole my first message.

split granite
#

~codewall @tough quiver

kind shellBOT
#

@tough quiver 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.

tough quiver
#

its fine, its chucked it into a paste for me anyway

split granite
#

🤦

#

It's not "fine" - you're supposed to do that yourself 😉

#

The bot is there for when folks forget, to avoid those on mobile or with lower resolution screens having nothing but walls of text

tacit cave
#

@tough quiver my toggle button inside Lovelace/templates/buttons has an example

tough quiver
#

👍 ill give it a read.

vapid field
#

Does anybody know how to scale icons in a custom iconset? Had to change it to the new way to do it and since then my icons are cut off.

#

I tried setting another viewbox but that didn't change anything

polar kelp
#

I don't think that's supported in the new method yet, but you can approximate the old method.

molten sonnet
#

Anybody using NWS and the weather forecast card running into issues where name of the day doesn't show up on the forecast?

karmic tiger
#

Weather card doesn't know which day it is? Sounds like it's been in lockdown too long.

molten sonnet
#

@karmic tiger Poor thing.

vital forge
#

Hello, I want to use the state of a sensor in markdown card. How would I do that? I used to do that with [[sensor.camereload]] when using the vanilla lovelace.yaml approach, but I can't seem to get it working with the integrated lovelace stuff...

split granite
#

You can put templates in there, that should still work...

#

{{ states('sensor.camereload') }}

vital forge
#

Thank you Tinkerer. That worked indeed.

winged parrot
icy patrol
#

hey guys i am using an entity filter with a markdown card and i have it so when a light switch is on, it tells me which lights are on. Which works.. Issues is when i turn on the light, the filter does not update on its own - i have to press f5 to refresh the page for it to show

#

is there something that can help to make it auto refresh with a that state turns on

elder pendant
distant phoenix
#

Have the Hue icons been changed/removed in the last release? I had a custom component for my Hue dimmer/tap that showed their icons. Had to replace it with the newer CCs and now can't find the icons anywhere. I tried Custom Icon loader, but it hasn't been updated to use the new API method and I'm having trouble figuring out how to use it.

icy patrol
#

thanks @elder pendant i have something like this

type: markdown
          title: Summary
          content: |          
            
            {% if is_state('sensor.lightson', '0') %}
              
            {% else %}
              ***
              **The Following Lights Are On:**
              {%- for l in config.entities %}
                * {{ state_attr(l.entity, 'friendly_name') }}  
              {%- endfor %}
            {% endif %}
#

my sensor.lightson is like this

- platform: template
  sensors:
    lightson:
      friendly_name: "Number Of Lights On"
      entity_id: switch.porch_lights, switch.foyer_light
elder pendant
#

okay, so add the entity_id of each switch you want to track

icy patrol
#

where would i add that entity_id? not sure where in the markdown

elder pendant
#

did you read the link that I posted?

icy patrol
#

i just added it here

        card:
          type: markdown
          title: Summary
          entity_id: switch.holiday_switch
          content: | 
#

but i still need to hit f5

elder pendant
#

You're only tracking one switch?

icy patrol
#

i have a bunch, but for testing; i just added the 1

elder pendant
#

and it doesn't update when you toggle that switch?

icy patrol
#

it used it but with all these updates - now it does not change unless i hit f5

#

when its on or off

elder pendant
#

With that configuration it will only render the template if switch.holiday_switch changes state. If the template does not update then it seems you've found a bug

icy patrol
#

interesting; yes as i recall in the past it would update right away without hitting F5

elder pendant
#

What is the state of sensor.lightson?

kind shellBOT
icy patrol
#

sorry for the long paste

#

i use that to tell me the count of lights on

#

and then in the markdown i use that to say if more than 0 then display

#

and if 0 - dont display anything in the markdown

split granite
#

~rule6 @icy patrol

kind shellBOT
#

@icy patrol Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.

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

elder pendant
#

Okay, but that wasn't what I asked. Is the sensor properly updating state?

icy patrol
#

yes the sensor is updating right away - if i turn on a light the number changes without hitting F5

elder pendant
#

okay, so why not put that sensor in the entity_id config?

icy patrol
#

even if i had entity_id: with the switch names manually, it was still not updating

elder pendant
#

What version of HA?

icy patrol
#

Home Assistant 0.110.2

polar kelp
elder pendant
#

When I make a template in a markdown card it updates on whatever entity I put in entity_id: in 0.110.2

#

I'm not sure where config.entities is coming from in your template

icy patrol
#

i have this on top of the markdown as well

       type: entity-filter
        entities:
          - switch.holiday_switch 
        state_filter:
          - 'on'
#

but with more; this is just an example

elder pendant
#

🤦 why are you omitting so much of this card config and then asking why it doesn't work? If I can't see the config then I can't help

icy patrol
#

sorry man; i just scrolled up and saw that i had that (been a while since it set this up)

#

i just did this

#

and seems to be updating live now

worthy cosmos
#

Hi all, i've got HASSIO setup on a raspi3B+ and running for some months. All happy and all, got it mostly on desktop to configure things and also on my phone (P20) to enable things. I also got some HACS plugins for Lovelace (like button-card and slider-entity).
Now i wanted to use my old Nexus 7 as a wall-mount so I can use it to turn on lights in the house. Got a problem where it wont load-in these HACS intergrations "custom element doesn't exists: button-card.".
I think that is weird, cause im logged-in as the same user as my desktop and phone... Do i need to include the Nexus 7 somewhere? Can't remember that i had to do something special for my P20 phone?

#

The HACS .js files are also in the lovelace recources file.

#

resources:

  • type: module
    url: /community_plugin/custom-header/custom-header.js
  • type: module
    url: /community_plugin/mini-graph-card/mini-graph-card-bundle.js
  • url: /local/auto-entities.js
    type: module
  • url: /hacsfiles/button-card/button-card.js
    type: module
  • url: /local/slider-entity-row.js
    type: module
kindred hull
#

Just getting started trying out HA after spending some time on OH. I would like to create a card with three buttons across the top that call a service controlling garage doors and three buttons across second row that show the door state via the controllers entity. Can someone point me to documentation or an example of how to group these together in the UI or the syntax for the yaml if I need to create this via a file editor?

I have 3 services in one horizontal card now and the sensors in another. Also wondering if there is a way to hide the inidividual cards I stacked to mae the horizontal card to call the services.

worthy cosmos
kindred hull
#

@worthy cosmos I have looked at that. Is HACS something that might later be a part of HA or woud it be more likely replaced when HA add more to standard functionality -- or it that just asking you to guess

worthy cosmos
#

I have no idea, but it looks like HACS is officialy supported by HA and it works great. The community is huge and there are plugins for everything.

dark dirge
#

Everything you find in HACS is not tested by Home Assistant, that includes HACS itself.
The HACS and Home Assistant teams do not support anything you find here.

worthy cosmos
#

supported in like "it does work great"
Not like >its made by HA and they support it
my bad

kindred hull
#

@worthy cosmos @dark dirge THanks - I think the sponge is full for today. Sounds like next best thing. I'll give it a try when the sponge isn't quite as full.

worthy cosmos
#

Oke guys, found the problem. It looked like the default WebView of LineageOS couldn't handle the load-in of the HACS plugins. I changed it in "Developer options > WebView implementation > (It was AOSP WebView, I changed it to Chrome Stable). Now it's working all fine!

sacred turtle
#

Hi All, sorry to ask a very n00b question but i can't find the guy that was originally working on it.. had there been any progress on adding the state_color: true as a visual editor option?

molten sonnet
#

@winged parrot Thanks for the link. I didn't realize there was a bug for that already.

dim jolt
#

anyone using the custom:home-feed-card using content_template: '{{display_name}} is {{state}}' just shows "is"
with MQTT devices friendly_name isnt listed. Does this need to be done using customize ?

swift marten
#

anyone else having trouble with the mini media player displaying in lovelace?

tight scarab
#

no, but I am still struggling with getting the artwork to show on it

#

when used in combination with auto entities card

swift marten
#

where do you go to edit the resources area?

#

in the UI

elder pendant
#

@swift marten make sure it’s updated

hoary raven
#

Hello - I absolutly know what my password is for HA, but it refuses to change, or accept my password at login. Is there an easy way to change my password without "knowing" the old one? Running env on raspberry pi.

tight scarab
#
card:
  type: entities
type: 'custom:auto-entities'
filter:
  include:
    - entity_id: media_player.plex_*
      options:
        group: true
        type: 'custom:mini-media-player'
      state: playing
``` ^ this works really well to show all of the currently active Plex sessions without showing a whole bunch of idle/unavailable accounts, but I can't seem to get it to show anything but a blank background regardless of what attributes I specify for `artwork`
swift marten
#

I'm updated to the newest HA and the newest mini-player from HACS that upgraded to today

tight scarab
#

@swift marten is it included in the lovelace resources?

#

configuration -> lovelace dashboards -> resources

swift marten
#

I'm not sure where to look for that- in my files on the pi or in the UI?

tight scarab
#

sorry, pinged the wrong person

swift marten
#

ah hold on let me check

tight scarab
#

or just go to /config/lovelace/resources

#

old hacs used to have a button or prompt you to automatically add it there; I think newhacs does it automatically without asking

#

but I'm not 100% sure

swift marten
#

in the resources area it says this:

#

/community_plugin/mini-media-player/mini-media-player-bundle.js

tight scarab
#

Is that where yours is? 🙂

dark dirge
#

That needs to be /hacsfiles/ now

tight scarab
#

mine is in /hacsfiles/mini-media-player (/config/www/community)

swift marten
#

let me edit it and see

#

will I need to restart now to see or will it fix itself if that was the issue?

tight scarab
#

should fix itself

#

will need to refresh the page

dark dirge
#

Changing resources requires calling the reload_resources service now or restarting

tight scarab
#

Oh. That's new then, sorry.

swift marten
#

GAH

#

that was it

#

thanks guys...been driving me insane all weekend

#

does every resource have to be switched to hacsfiles now?

dark dirge
#

No, that’s just where HACS puts them.

swift marten
#

ah

dark dirge
#

If you have non-HACS plugins you can leave them alone

swift marten
#

okay great

pastel rain
#

Hey All, does anyone know what other cards (other than custom button and custom swipe card) on top of picture element cards?

#

im trying to place a weather card and a mini graph card it just gives me errors

mild veldt
#

@pastel rain anything can be put on the picture-elements card, but some core cards need to be pre-loaded and if using a core card you need to use the hui-<card name>-card trick

pastel rain
#

ahhh that is what I was missing. thanks!

woven echo
#

I see the message about clearing your cache to fix the giant HACS logo problem. Is there a solution if I'm seeing it in the iOS app as well?

dark dirge
#

There’s a ‘clear front end cache’ option at the bottom of the app settings

#

And you can pull down from the top of the screen to reload

queen thunder
#

Oof, it's been a good year at least since my last major upgrade. Time to fix everything that's broken.

leaden yarrow
#

Are there any integrations/plugins that allow you to modify appearance of the "show more info" card when you click on an entity in lovelace?

polar kelp
#

browser_mod

leaden yarrow
#

Thank you!

vapid field
#

hi. is there a way to prevent of shortening the text within a conditional card? i'ld like to display around 3 lines of text - its cut to one line...

unique pagoda
#

Hi all, good day

Are there ans custom button card specialists around here? I'm new to it and kind of overwhelmed by it's multi functionality. Here the gathered requirements:

lovelace horizontal stack

  • button card 1: showing night or day (entity sun.sun; states above_horizon, below_horizon) and elevation rising or sinking (entity sun.sun; atribute rising, value true or false) with an arrow up or down in top right corner. Total of 4 diffferend card states.
  • button card 2: showing timestamp for next event sun setting or next rising, depending on what comes next (if above horizon setting, else rising), icons mdi:weather-sunset-up and mdi:weather-sunset-down (entity sun.sun; atributes next_rising or next_setting; frontend timestamp localized with timestamp_custom("%a, %d.%m. — %H:%M:%S")

Anyone else interested in this or wanting to contribute a bit?

vapid field
#

I don't think that's supported in the new method yet, but you can approximate the old method.
@polar kelp Does that mean that my icons need to have the correct size in order to be scaled correctly?

polar kelp
#

I've kind of lost track at the moment. Can't really tell.

somber crater
#

My cards are looking strange when clicking on them on mobile.
https://i.imgur.com/jzsc0yi.jpg
Is this a known issue or something on my end?
Running latest stable: 0.110.2

solemn cairn
#

Hi All, I'm having issues with one device on my network (An old iPad im trying to repurpose as a terminal for a room in the house). Both using the App and Safari yields the same errors, hence moving this issue in here.

Essentially I appear to be having a connection error. I can register the device, log in, view lovelace (Inc a live feed of a camera and media players). However trying to turn entiities/devices on and off does nothing. The switch isnt greyed out either, its as if i am switching things off and on but the devices do not work. I also cannot see a lot of the integrations and addons in my rhs panel. Sometimes they appear, sometimes not. Even when they do, I cannot load any pages up other than Lovelace most of the time. Even supervisor!

#

Ive also tried Chrome for iPad, to be sure.

#

Also, its working fine on a Macbook Pro, Windows 10 PC, iPhone 11 Pro, and latest gen iPad. It appears to just be the 1 device I actually want to be able to use to control homeassistant from that is faulty. Of course!

leaden yarrow
#

What generation is the iPad?

solemn cairn
#

4th!

leaden yarrow
#

Assuming it's fully up to date with iOS 10?

solemn cairn
#

10.3.3

leaden yarrow
#

So both chrome, safari and the app are giving you shit

#

?

solemn cairn
#

Yep, Ive tried a factory reset, renaming the iPad to ensure no clashes there, static IP given

leaden yarrow
#

Try to create a new account that is specific for that device

#

I had a weird issue with my kindle where i tried to login with my admin credentials

#

and it just wouldn't take -- kept on hanging

#

I created a specific account/login for it

solemn cairn
#

Okay, tried that. Still the same issue.

leaden yarrow
#

So it "halfway" loads

solemn cairn
#

Yeah, I can view lovelace, even the live stream. Switches appear functional, but arent. I can sometimes see all my adons, sometimes cant, if I try to load anything I get errors about connections.

leaden yarrow
#

I bet you it's an addon

solemn cairn
#

Also on first login, I get "unable to connect" hit retry, login and it then logs in

#

If i go into configuration, for example, I can see options. But trying to enter any of the options results in an endlessly spinning wheel or "error while loading page..."

#

Supervisor also doesnt load

leaden yarrow
#

10.3.3 is relatively old but should still support some browser components

solemn cairn
#

indeed, I was hoping i could make use of it anyway.

leaden yarrow
#

It honestly might be a limitation there

solemn cairn
#

its odd because it allows me to install the latest app, and app has the same issue

leaden yarrow
#

The app is just a webview

#

so it's using the same libraries as safari

#

or chrome

solemn cairn
#

ah i see i see

leaden yarrow
#

for the hell of it, try opera or firefox?

solemn cairn
#

its strange how it'll load lovelace and allow me to interact with it all no problem, just results in nothing.

#

I'll try firefox, may as well

leaden yarrow
#

i'm not a dev, but i work for a mobile app company, so i know enough that most of these apps share services from the OS

solemn cairn
#

Firefox needs ios 11

#

Opera needs iOS12

solemn cairn
#

😦

leaden yarrow
#

Looks like other dude had the same issue

#

Not resolved

solemn cairn
#

Ah piss!

leaden yarrow
#

This might be an idea -- but maybe make a dashboard that's compatible w/ Ios 10.3.3 use all barebones cards

solemn cairn
#

I wonder if any of the third party tile apps. work.

leaden yarrow
#

or use tileboard

#

yeah

#

i was gonna suggest that

#

Homekit might work?

#

homebridge***

solemn cairn
#

does homebridge essentially allow all my cheap shit to work with home app?

leaden yarrow
#

Bingo

#

I use it so my wife can use her home app to control her stuff

#

And I have it connected to home assistant so I can control what entities she can control or not

#

She'll never control the thermostat on my watch

#

let's just hope that the home app actually works on 10.3.3

solemn cairn
#

hahahah nice one, its on here so ill give it a go after lunch. Thanks dude!

leaden yarrow
#

yep good luck !

crystal moat
#

Hey guys!

Is there a way to Use an attribute value as variable in a Picture Element configuration code?

Basically, I am trying to use the brightness of a light as the opacity percentage of a state_image. In order to accurately reflect the brightness in a room in a 3d plan.

This is what I think it should look like. Although with a valid variable. https://i.imgur.com/uloExUt.png

I also tried using "{{ state_attr('light.livingroom_lights', 'brightness') }}"

vapid field
#

is there a way to prevent of shortening the text within a conditional card? i'ld like to display around 3 lines of text - its cut to one line...

solemn cairn
#

Update: Homekit is a workaround for all those whoarent too attached to lovelace running older iOS devices. Thankyou @leaden yarrow

leaden yarrow
#

Glad I could be of some help!

winter blade
crystal moat
winter blade
#

Guess something changed with the latest HA release. I've tried updating the card, didn't work

edgy canopy
#

Little question, is it possible to hide the icon of an entity in a entities card ? I tried "show-icon: false", "icon: none", "icon: '' " but no result

karmic tiger
fallow oak
#

Is there a way to have a horizontal stack card span more than one column?

karmic tiger
#

Turn on panel mode?

#

Just be aware that panel mode means you'll have to nest all your cards, since it'll only display the first one.

leaden yarrow
#

Panel mode + layout card or just do vertical/horizontal stacks

winter blade
#

@karmic tiger Thank you, it worked!

#

Is it possible to change the display name of the "default" theme and the "backend-selected"?

vapid field
#

is there a way to prevent of shortening the text within a conditional card? i'ld like to display around 3 lines of text - its cut to one line... 3rd attemp to get any reaction to my question.

elder pendant
#

Those aren't just display names, they are keys. You'd have to make a custom JS plugin to change it to have different display names

#

@vapid field what card are you using to display text? Markdown?

vapid field
#

hi Villhellm. its a condition card

elder pendant
#

Conditional cards display other cards

#

they don't display anything on their own

vapid field
#

if condition is matched it displays a sensor. the sensor is a text.

#

i do have a screenshot. but donno where to put it...

elder pendant
#

You could use a markdown card to split the sensor value into multiple lines

vapid field
#

i dont wanna split the text, i wanna displayed them in full, without shortening. the override with a markdowncard may work.

#

why im asking: in earlier versions of HA it worked without any hassle. since <i forgot> its shortened.

#

0.97 or such. cant remember.

#

i am looking for a trick, something like masking it with special characters, or such. isnt there any trick?

#

i tried all i know, none worked

#

ok, it works as markdown. tnx @elder pendant !!

distant stag
#
  mode: yaml
  custom_header:
    header_text: 'Custom Header'
  resources:
    - url: /hacsfiles/custom-header/custom-header.js
      type: module```
I'm trying to set up the custom header module, but I get this error: `Invalid config for [lovelace]: [custom_header] is an invalid option for [lovelace]. Check: lovelace->lovelace->custom_header. (See /config/configuration.yaml, line 20).`
#

HACS successfully installed the custom-header.js to /www/community/custom-header and based on their documentation the custom_header config goes under lovelace

elder pendant
#

Custom Header config goes in ui-lovelace.yaml. Not in configuration.yaml

distant stag
#

Ah

#

Thanks

elder pendant
#

"Configure UI" and then "Raw Config Editor" or in the file ui-lovelace.yaml

#

Though the example yaml shows the resources block still, so I can see how you were confused

distant stag
#

at the same level as resources: and views:
I was confused by this line

elder pendant
#

Resources used to be defined in ui-lovelace.yaml. This is a relatively new change

#

I submitted a PR to update the Custom Header docs

candid lintel
#

My buttons in Lovelace stay selected after clicking them

#

That shaddow there didnt hang out in the past

#

Once i click outside of the window it disappears

elder pendant
#

@candid lintel what browser, what version of HA, and what is your card config?

candid lintel
#

Latest version of HA

#

this is from a Vertical Stack Card Configuration but it's on every card in my UI

elder pendant
#

Latest is not a version

candid lintel
#

ha sorry

edgy canopy
#

Little question, is it possible to hide the icon of an entity in a entities card ? I tried "show-icon: false", "icon: none", "icon: '' " but no result
@edgy canopy So it means it's not possible ?

candid lintel
#

Huh look at that..Home Assistant Core 0.110.3 You are currently running version 0.110.2

#

guess I'll do the update

elder pendant
#

So not latest 😉

#

@edgy canopy icon: none works for me

#

in fact icon: followed by anything that's not a valid icon shows blank

edgy canopy
#

Yeah but the space is empty, no solution for removing the space ? Because the text of the state need more space (see https://imgur.com/a/aFwvdcF )

elder pendant
#

Then there is no default way to do that. You'd have to use a custom row type or a different card altogether

edgy canopy
#

Okay, I will try to use custom button card. But I want the last-changed time. In entities the time is relative and in my language ("there is 1 day ago...") but in button card I've "2020-05-26T15:39:01.044010+00:00", is there a function like "as_timestamp(states.sensor.mysensor.last_changed)" to do the same job as last-changed phrase in entities ?

elder pendant
#

You can use a markdown card with a template to display anything you want

edgy canopy
#

Great idea but no function to convert a timestamp into the best unit according to the value ?

candid lintel
#

Updated, and on the lastest version of HA! I still see the shadow when I click on a button, even on a fresh view https://imgur.com/9xTTFhl

elder pendant
#

What browser?

candid lintel
#

i tried Chrome and Microsoft edge

fallow oak
#

I am trying out the Lovelace layout-card. I quite simply want columns that I can add cards to, three columns that theoretically can become as tall as they want, stacked side-by-side. Can someone please let me know the concept I need to adapt?

candid lintel
#

Sounds like you want a combination of vertical stack and horizontal stack cards

#

in the example i just posted i have 2 rows of 4 cards

fallow oak
#

So, a horizontal-stack card that surrounds multiple vertical-stack cards?

candid lintel
#

yea pretty much

fallow oak
#

Let me try that! Thanks!

candid lintel
#

at 11:21 Juan explains how to do it

fallow oak
#

Not sure you got the time right there....
Here is my current lovelace config: https://paste.ubuntu.com/p/2Xyx3mnbwB/
But the columns are compressed horizontally.... They only share the width of one column (if that makes sense)

elder pendant
#

You need to set the view to panel mode

random bramble
#

Has anyone managed to add a datefield or datapicker on the frontend on lovelace and pass those values into a mysql procedure or query?

fallow oak
#

So, the current config + panel mode?

elder pendant
#

yup

fallow oak
#

Ahhh! Fantastic! 😉

#

Thanks @candid lintel and @elder pendant !

random bramble
fallow oak
#

Hehe... Best of luck!

#

Another related question... Are there any fillers available? Now that I have three vertical stack side-by-side I´d like to bump cards in one column dow so that it matches the card in the column besides it...

#

Not sure that made any sense.... 😕

karmic tiger
#

You mean you want some vertical padding between cards?

fallow oak
#

Yes

#

That is a much easier way to put it! 😛

elder pendant
#

You could try markdown

karmic tiger
#

Not something I've done yet, so I don't know what the best answer is. My dash is a mess 😄

fallow oak
#

The layout-card is the reason I´m here in the first place...

#

@elder pendant I´ll give it a try!

elder pendant
#

Might want to try vertical stack in card as well if you want a seamless look

fallow oak
#

Is that anything else than vertical-stack?

elder pendant
#

It turns it all into one seamless card, so you don't actually see the separation between cards

past falcon
#

Hey, is there a way to remove the calendar from the side panel?

karmic tiger
#

Yeah, don't have any calendar integrations.

#

It appears by default when you have at least one and currently can't be hidden.

past falcon
#

man...

elder pendant
#

(shameless plug)

past falcon
#

lol ok I'll look T THAT

karmic tiger
#

That's neat, Villhellm

past falcon
#

@elder pendant will I need to include add ons I've selected to show in sidebar on my sidebar-order.yaml file?

elder pendant
#

Don't include anything you don't want to manipulate

past falcon
#

ok great

raven ember
#

Lovelace question! Can you use only one sensor on a entity that has 4 sensors on a history graph?

#

You can see on the posted link that there are 4 sensor temperatures for a single entity. I want only one of them to show. The HA documentation on this lovelace card doesn't seem to have any information about how to fix this.

elder pendant
#

That's a climate entity, not a sensor. Check Developer Tools > States to see if there is a sensor there with the value you're looking for

raven ember
#

Doesn't look like there is a specific sensor. The value of "current temp" is an attribute of the climate entity.

elder pendant
#

You can make a template sensor for an attribute

raven ember
#

Ah. Interesting idea. I'll try that. Thanks!

raven ember
#

@elder pendant Taking your advice from earlier. I made a template sesnor and set it to the entity attribute. But now i'm getting unit issues, even tho in the config I should have it the exact same. Look at these images to see the issue, and the developer state checker to compare units: https://imgur.com/a/D6MjFXP

twin mason
#

I’ve added new Shellies (with MQTT) manually to the config via the file editor and when restarting via Configuration…server controls…restart does not seem to do anything. I have to manually unpulg my pi3 for the devices to be recognised in the states. Am I doing something wrong? I think the restart has stopped working?

warm plover
#

Which files is safe to remove from .storage folder which is equal to fresh install with no entities? Config files outside is another thing I will handle.

The thing is after upgrade to the latest build strange things happens with frontend addons, missing icons in left menu and so on. And searching for other methods to try before reinststall the whole system.

Tried restore backup, but when I perform upgrade the strange thing appears again

random bramble
#

Awesome - can pull a mysql stored procedure (with 2 date parameters) in grafana. Then I should in theory be able to place this in an iframe or appropriate object on lovelace.

split granite
#

Nuke everything in your config folder @warm plover

broken venture
#

i'm trying to change the icon (more specifically the device_class) of my door sensor so it shows a door instead of a checkmark. I've been able to include my customize.yaml which changes the sensor to opening but it still shows a checkmark in the interface

split granite
#

Open/close the door

broken venture
#

thought of that 😉 still shows a checkmark

split granite
#

You ran a reload core?

#

The device class shows as door?

broken venture
#

yes, reloaded, even restarted all together, the device_class was set to opener.

#

let me try door

split granite
#

It needs to be door for that

broken venture
#

lol.. thank you very much.. that was it.

#

is there an explanation of the classes? I'm assuming the device describes certain possibilities but how would I have known that it had to be door?

split granite
#

See the link 😉

past falcon
#

@elder pendant I'm stuggling to get your sidebar plugin to work. I downloaded the custom-sidebar.js file to my /config/www/ folder. My sidebar-order.yaml file just looks like this:

order:
  - item: calendar
    hide: true

and I have this in my configuration.yaml

frontend:
  extra_module_url:
    - /local/custom-sidebar.js
  themes: !include_dir_merge_named themes

but calendar is still on my sidebar. Am I missing something?

soft stump
#

Hello! I'm installing https://github.com/ofekashery/vertical-stack-in-card through hacs.

The guys says that I should the resource in ui-lovelace.yml, but settings lovelace mode to yaml is a bit to advanced for me right now.

Are there any possibility that I can add the resource in the configuration.yml? or directly in the card I'm going to create+

versed forge
#

Anyone here can tell me if its possible to add an "or" condition to a "Conditional Card"?

kind shellBOT
versed forge
#

I see... 😄

kind shellBOT
#

@versed forge 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.

split granite
#

~codewall @versed forge

versed forge
#

@split granite Yeah realized it 🙂

split granite
#

A little late... but hopefully you'll remember in the future 😉

versed forge
#

I will

#

Nevermind...i found the solution just add

        conditions:
          - entity: media_player.kuche
            state_not: paused
          - entity: media_player.kuche
            state_not: idle```

and it works 😄
soft stump
#

@split granite could you give me some advice for my problem 🙂 ?

split granite
#

🤦

#

Tagging folks @soft stump ... that usually comes across badly

soft stump
#

Sorry

split granite
#

Not so bad when thanking folks, but when demanding help....

#

Because that's how it comes across

#

Pretty sure HACS handles things for you, but 🤷

soft stump
#

You're totally right. My apologies

split granite
#

No worries, it seems harmless from your side

#

Getting the 10th ping this hour... is frustrating on this side 😉

soft stump
#

🙂

#

I tried to ask hacs, but they said it's better to ask here since it's lovelace.

split granite
#

I think HACS adds things automatically if you're in UI mode

#

You can check by enabling Advanced mode in your user profile and looking in configuration -> Lovelace -> Resources

soft stump
#

I thought to as well, but it doesn't add things automaticly in UI mode.
The resources that I installed doesn't appear there.

split granite
#

Let me spin up my test instance and test

#

Just used HACS to install a card, resources added automatically

soft stump
#

Thats nice. Let me try again

#

I tried installing: Lovelace Xiaomi Vacuum Map Card

#

Reinstalling ok -> configure ha -> lovelace dashboards -> resources -> nothing

#

:S

split granite
#

Well, it's in mine 🤷

#

That suggests you need to check your log

soft stump
#

Hmm strange. The log doesn't say much

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 info or debug
  • Explain what the problem you're having is - sharing configuration, errors, and logs
tardy niche
#

I'm using a Picture Elements Card with a floor plan image. What I want to do is to have a group toggle on/off by clicking a button on the floor plan. Here is what I have in my card configuration:

    title: Loft
    tap-action: call-service
    service: homeassistant.toggle
    entity_id: group.loft
    style:
      left: 44%
      top: 28%
      background: white```
When I click on the button nothing seems to happen.  I've also tried doing the same thing by calling a script that toggles the group entities.  But I get an error saying it can't find the script, but from the UI I can run the script and it works.  How do I toggle my group (that contains 3 switch entities)?
kind shellBOT
vapid field
#

Any idea what's wrong with this:
type: glance
entities:

  • entity: light.tv_plafond
    tap_action:
    action: toggle
#

oops sorry, didn't know how to make paste it like everyone does

mild veldt
#

@vapid field are you getting an error?

tight scarab
#

Is there a way to get at entity state attributes in entities cards or markdown cards' templates?

mild veldt
#

@tight scarab {{state_attr('climate.thermostat', 'current_temperature')}}

#

@tardy niche that's not how you use actions.

#

Actually, that doesn't even use actions.

#

you need to define service_data and put entity_id in there

elder pendant
#

@past falcon sidebar-order.yaml is in your /config/www directory as well? And did you restart HA after adding the extra module?

tardy niche
#

@mild veldt Thanks! That got me going the right direction. Here is what I ended up with and it's now working...

    title: Loft
    tap-action: call-service
    service: homeassistant.toggle
    service_data: 
      entity_id: group.loft
    style:
      background: white
      left: 44%
      top: 28% ```
mild veldt
#

you can remove tap-action

tardy niche
#

@mild veldt done. 🙂

soft stump
#

I got further now 🙂

When I try to add a custom card/ manual write yml and paste inn the code.
The card configuration says "​
Cannot read property 'setConfig' of undefined"
and on the right side it says "No card type found"

The type I´m using is - type: 'custom:vertical-stack-in-card'
I´ve installed that type through hacs and it´s in the resource.

vapid field
#

It was just a warning sorry @mild veldt , thanks. I got confused but it works

tight scarab
#

thanks, iantrich 🙂

raven ember
#

I made a template sesnor and set it to the entity attribute. But now i'm getting unit issues, even tho in the config I should have it the exact same. Look at these images to see the issue, and the developer state checker to compare units: https://imgur.com/a/D6MjFXP

#

Looking for advice?

tight scarab
#
service_data:
  entity_id: fan.dyson_pure_cool_link
  oscillating: "{{ not state_attr('fan.dyson_pure_cool_link', 'oscillating') }}"
``` hmm @mild veldt am I able to do something like this?  It doesn't like the syntax.  Basically need to toggle something that doesn't have a built in toggle.
mild veldt
#

@tight scarab you cannot use templates in Lovelace unless specifically supported by the individual card

tight scarab
#

Ahh ok, got it. So for instance, markdown cards support it, but buttons maybe not.

mild veldt
#

You could use my config-template-card

#

That allows for JavaScript templates where ever you want

raven ember
#

Sorry to be an annoyance, any one have any idea with my issue above? I can't seem to figure it out. 😦

tight scarab
#

I don't see the issue @raven ember ? Looks like it's in degrees F?

raven ember
#

All 3 of the temperature sensors should be on the same graph.

#

@tight scarab

tight scarab
#

ahh

raven ember
#

For some reason, my template sensor is in "F" and the rest are in "oF"

tight scarab
#

did you define it as in degrees F ?

#

like I have one:

#
- platform: mqtt
  state_topic: "Relay/sensors/temperature"
  name: "Downstairs Relay Temperature"
  unit_of_measurement: "°C"
raven ember
#

the above photo has how i defined it

#

in configuration.yaml

tight scarab
#

That's weird that it's defined as °F but shows as just F

raven ember
#

exactly

elder pendant
#

Did you ever have it defined as just F?

raven ember
#

I can try real quick

elder pendant
#

No I mean did you have it set to F before setting it to °F

raven ember
#

I believe i did the first time.

elder pendant
#

Then you have values in your database with just F which is causing them to appear as F in history

#

You need to purge your DB of every entry related to this entity

raven ember
#

Best way to go about doing this?

elder pendant
#

alternatively you can just wait until your next purge cycle

#

Are you using the sqlite db still?

raven ember
#

Not sure. I just installed it the typical way no a Raspberry Pi 4. so idk?

elder pendant
#

You should see a home-assistant.db (or some such) file in your config folder

raven ember
#

Thanks!

past falcon
#

@past falcon sidebar-order.yaml is in your /config/www directory as well? And did you restart HA after adding the extra module?
@elder pendant doh had to clear cache

tight scarab
#

@mild veldt using your card now, but in the JS templating, how might I get at entity attributes? I can get the (in my case) states['fan.dyson_pure_cool_link'].state (on) but am trying to dig into the state attributes (oscillating = true)

steady sluice
#

How easy would it be to send a push notification to my phone with a photo of a camera on my network, and a button to turn on an entity whenever a door is opened?

#

I looked into the notification thing on the wiki but it doesnt say much I can understand

atomic glacier
mild veldt
#

@tight scarab there's an example at the bottom of the ReadMe

steady sluice
#

Oh ok thanks

tawny lynx
#

When the frontend becomes inaccessible, what should I look for in the logs? I'm running HA in a VM, and HA is up and running and logging stuff in real time - but, after a restart, I cannot access via IP or URL (DuckDNS ).

tight scarab
#

I'm sorry I didn't see that Ian, I was only looking at the variables section at the top of that example.

#

Failed to call service fan/oscillate. invalid boolean value ${states['fan.dyson_pure_cool_link'].attributes.oscillating == 'false' ? 'true' : 'false' } for dictionary value @ data['oscillating'] still seems to be unhappy though. I'll keep mucking with it, at least feels like I'm on the right track with the JS templating. 🙂

elder pendant
#

Have you tried losing the single quotes around the boolean values?

tight scarab
#

Same message. But good to know if they are treated as constants and not literals

mild veldt
#

@tight scarab how are you using this?

kind shellBOT
tight scarab
#

in a custom:button-card inside of a custom:config-template-card inside of a custom:vertical-stack-in-card 🙂

mild veldt
#

So the problem is it wants a yaml true/false but the config-template-card returns a string

tight scarab
#

can I cast it somehow

mild veldt
#

not sure

#

Could always call a script instead

tight scarab
#

I guess I could do that. This is a floor tower fan that has some extra settings like "oscillating" or "night mode" where the LED display goes dim and it'd just be nice to have a single toggle button for each of those rather than separate buttons to turn the mode on or off

#

There are any number of ways around it, I suppose I could even create an input_boolean and have it trigger a script or automation when it gets toggled

#

overkill? maybe

mild veldt
#

You're essentially trying to put a script in Lovelace as is. I think a single script should be able to handle all states

unreal urchin
#

getting a bunch of this on the upcoming-media-card, but i browse to any of these directly in another tab they load fine. any ideas?

#

durrrr, ublock did it

tulip moss
#

hey I have a fresh install on Debian and I see the fronted version is 20191204.1 (0.103.6) and a fresh installation on a rpi has a newer frontend 20200519.0 (0.110.0)
Can I install the newer versions on debian as well?

kind shellBOT
#

Not sure which install you're using? If you have add-ons, or see references to either Hass.io or Supervisor, then you're using #330944238910963714. If you're running natively in Docker or in a venv then you have the #672217570283094017 install method

split granite
#

☝️ See the relevant channel for your install method

lime glacier
#

any reason to why my lovelace ui would create 3 columns but leave the middle one empty? https://take.ms/I0xiK

#

can I disable the 'logbook' and 'history' tabs on the left for some users?

whole bay
hexed furnace
#

I have some covers that have position and tilt attributes. I have an entities card that lists them all and gives the standard up/stop/down buttons for covers. I then added to each entity listed a: secondary_info: tilt-position This works but after a reboot it won't show any of the secondary infos unless that attribute is changed. The line is totally blank. Once I change the tilt, I'll get "Tilt position: 64" displayed. Is this something related to KNX sensors or an issue with Lovelace or my config?

random bramble
#

Ok odd one here. I have a lovelace card with the url path to grafana for a graph. If I use my duckdns as the domain in the url it will work on my phone (local wifi), but get a 401 error on my pc browser for the same graph. If I swap it by putting 192.168.1.26:8123 in the url as the domain for the graph it will show on my pc browser but get the 401 error on the phone app then. Its one or the other. Am I missing something? Thanks

hexed furnace
#

Clear the cache on both browsers and see which one works (if any).

random bramble
#

cheers Bigfork. Cleared the cache but did not work - But then I opened the portal on the pc browser using the duckdns domain - logged in and then it worked. Then opened another firefox browser and logged into the account using the IP and port address and appears to have synced everything up now.

hexed furnace
#

I'm 2-for-2 today solving peoples problems with the wrong advice 🤣 I need to write an advice column for the local paper.

#

Or Politics!!! 😄

random bramble
#

In theory your step should have worked first time Bigfork 👍

#

But in the world of IT not everything works as planned

junior ginkgo
#

can I disable the 'logbook' and 'history' tabs on the left for some users?
@lime glacier I'd also like to know this. I want access to them, but I don't need them in the tab

lime glacier
#

Yeah, it doesn't look it as far as I can tell. I just want it for admin users

upper tulip
#

Does anyone know of a custom card that is similar in appearance to the homekit app and how entities appear on there?

random bramble
#

Similar to HomeHabit app. I use that on my phone for its simplicity

dapper grotto
#

Hi all

#

I have a MQTT sensor for PIR motion detect

#

with two statuses

#

"Spento" and "Movimento"

#

how can I colour the state-icon

#

on the floor map

#

with two different colours, depending on the status?

split granite
#

Make sure it's a binary_sensor

dapper grotto
#

That's my definition

#

''' - platform: mqtt
state_topic: "homeassistant/pir1/status"
name: "Pir Veranda"
unit_of_measurement: ""
value_template: '{{ value | round(0) }}''''

#

How shall I change it?

split granite
#

You didn't answer the question 😉

dapper grotto
#

You didn't make a question 😉

#

but a statement

#

it's a sensor... normal one

#

not binary_sensor

tight scarab
#

I think what he's saying is you should probably add a binary_sensor

#

if you want to know if there is movement or not

split granite
#

If it's a binary sensor, the colour will change

#

If it's not, it won't

tight scarab
#

Or you could do things the long way and create an automation or script to push an icon/color change

dapper grotto
#

Can I define a binary sensor as mqtt?

#

if statuses are "Spento" and "Movimento"

#

?

elder pendant
#

Yes

tight scarab
#

sounds like you'd probably need to define a sensore_binario instead

elder pendant
#

also why are you calling round(0) in the template if the value is a string?

dapper grotto
#

that was an error

#

thanks @elder pendant I will give it a try

#

@tight scarab nice joke... really!

#

I'm still laughing...

#

😞

tight scarab
#

There are a million more dad jokes where that came from. If you keep trying to perform numeric operations against string values, you'll have a real battle on your hands.

#

round(1): fight!

dapper grotto
#

don't worry @tight scarab

#

😉

#

It works perfectly @elder pendant thanks!!

teal vector
#

Hello guys, do you know on which parameters the frontend enable the open and close buttons for a cover? One of the user of my component (Somfy) see them disabled. Its covers have supported features set to 11.

limpid apex
#

Is there any custom card for input select? I'd like to customize how many options are displayed at once, so the dropdown doesn't get too big. If there isn't, are there any other custom cards that give me a nice UI to select numbers (from 17 to 26 for example)?

elder pendant
#

Not that I've ever seen

wheat current
#

Input number with a 17 as min and 26 as max

limpid apex
#

I still have the issue of not having the ability of choosing how many numbers i want to display at once

karmic tiger
#

It sounds like you want something that lets you generate the HTML yourself on the fly. That way, you could add the size attribute to the <select> element. Unless there's a card that lets you specify that attribute... which seems less likely.

scenic current
limpid apex
#

Thanks @karmic tiger

karmic tiger
#

@scenic current update HACS, refresh cache.

scenic current
#

@karmic tiger Thanks.. Is that some sort of notification system? Like it only shows up if there's an update?

karmic tiger
#

No, it's a bug.

scenic current
#

🙂

#

So that cleared up the image I showed but now the HACS sidebar icon/link is gone. It does appear/disappear quickly. Do you tell me what the url is for that page so I can try to get to it manually?

wide reef
#

/hacs

scenic current
#

Yeah, something went wrong. I'm getting a 404 when I go there.

karmic tiger
#

Have you restarted HA since updating HACS?

#

If not... do

plucky storm
#

Is there a way to add items to an entity card, using a wildcard? For example I name my kasa switches kasa1-kasaX, can I add them all to a card without explicitly listing 1-X on the card?

karmic tiger
#

Although... you'd have to feed in a list to begin with, so maybe not what you're looking for 😦

plucky storm
#

Yeah I think that might fit the bill, thanks!

winter blade
#

I've added this:
weather-icon-sunny: mdi:white-balance-sunny
To my active theme to remove the yellow circle when it's sunny. But for some reason there is just no icon right now, does someone know why?

fathom tree
#

looks cool, but it ain't workin for me.

gilded kelp
#

I'm making a floor plan in the picture element. I get how to resize an icon with --mdc-icon-size, how do I resize a badge? I'm trying to put the tempreture of my bedroom in that room.

leaden yarrow
#

@gilded kelp how do you resize an icon?

#

do you have a yaml snippet i can see

kind shellBOT
tardy sinew
#

So, the icons work, just not the badges I jusy dont know how to make a badge smaller. Really i just need a better reference. A lot of stuff was old I saw and didnt even reference the newish picture elements.

leaden yarrow
#

@tardy sinew have you tried using transform?

#
  • type: state-badge
    entity: weather.local_hourly
    style:
    left: 10%
    top: 10%
    transform: scale(.5,.5)
#

That works for me

dapper grotto
#

Hi all

#

I have a floorplan map

#

In this, I have the images of my surveillance cameras

#

e.g.

#
                            entity: camera.veranda
                            style:
                              border: 2px solid red
                              border-radius: 10%
                              left: 75%
                              top: 75%
                              width: 10%
                            type: image
#

As you can see from the image, when the camera_image is refreshing... or if there's a connection issue, the image appears to be blank

#

and bigger

#

is there a way to prevent this?

leaden yarrow
#

@dapper grotto : have you read this post?

dapper grotto
#

How can I do back ticks?

split granite
#

Usually the one next to 1️⃣

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

dapper grotto
#

Not on my keyboard 🙂

split granite
#

Then copy and paste 😉

dapper grotto
#

but I can copy and paste

#

😉

#

yes

split granite
#

#botspam for testing...

dapper grotto
#

@leaden yarrow is there a place in this article that explains how to fix my issue?

leaden yarrow
#

Did you see the last post in the discussion?

dapper grotto
#

let me check

leaden yarrow
#

It's talking about streaming and how to setup the camera

#

But I don't use the camera element

#

So I can't say how well it works or if it does

dapper grotto
#

How do you relate the latest comment with my case?

#

I'm a bit lost

leaden yarrow
#

I apologize, I might have misread what you wrote

dapper grotto
#

No worries... I was just wondering

#

do you feel it's related?

leaden yarrow
#

i'm re-reading your question, it might be -- because the user in this issue is looking to get a constant stream in their camera, yours keeps breaking during the refresh

#

there might be something there

dapper grotto
#

I'll re-check

#

It's different ones...

#

he wants live image in the floormap

#

I tested live image, and it's slowing down everything (with 12 cameras)

#

so I have still image that refresh every whatever seconds

leaden yarrow
#

gotcha

dapper grotto
#

but during this refresh... I got the blank image

#

and it's annoying... cause it's bigger, ugly and covers the rest of the map

leaden yarrow
#

this might be a browser issue as well

#

is the image constantly being overwritten

dapper grotto
#

I use Chrome

#

With Edge, I cannot even load the custom components... I see a lot of red boxes with error messages

leaden yarrow
#

Have you tried just using the image on a card of it's own to isolate the problem?

#

So to see if it renders the same blank image without being involved in the picture elements master floor plan card

#

If it does the same thing, then you have an issue with the entity, if it doesn't then we know for sure it's the card

dapper grotto
#

I have another card

#

with camera_image and picture-glance

#

and it works perfectly

#

Maybe the problem is type: image

#

but I cannot use picture-glance on a floorplan map

leaden yarrow
#

Right, it might be that, there might be some addons/plugins for picture elmenets that you may be able to utilize

dapper grotto
#

I hope so 😦

hexed furnace
#

When changing pictures in lovelace you need to clear browser data each time. It's a pain in the ass but it won't show any updated images otherwise.

#

I keep telling myself I need to add a shortcut button for clearing browser cache each time I'm debugging Lovelace. Then I forget when I get it working 😉

dapper grotto
#

@hexed furnace how shall I do it?

#

the camera image is updating automatically

#

the blank image appears only between the two updates

#

from old image to new image

#

sometimes I get a plain horizontal red line...

#

the border becomes a line without the image

hexed furnace
#

I was thinking more about images. Let me try a live image myself in a picture-elements card and see what it does.

hexed furnace
#

It seems to be the card. I can get it working in picture-entity but not picture-elements.

#

From the docs it seems like it should work.

#

Is your camera configured as a stream: in config.yaml?

dapper grotto
#
  • platform: generic
    name: Veranda2
    authentication: digest
hexed furnace
#

I'm not getting to to work. Can't figure out if it's a stream setting or a camera setting.

dapper grotto
#

So it can be a bug?

hexed furnace
#

It could be but HA issues for me are usually between my chair and the keyboard.

dapper grotto
#

🙂

copper mural
#

Is it possible to have a view on mobile devices and another one on desktops?

polar kelp
#

You can pick a default dashboard per device.

#

Or you could use custom:state-switch to swap out the contents of your view depending on e.g. screen width.

copper mural
#

@polar kelp How do I define a device? I mean, I want a default dashboard on all users use a phone (me and my kids), and another when I use Chrome on my computer. Where do I setup this?

polar kelp
#

Under Configuration -> Lovelace dashboards, you can select a dashboard and click "Set as default on this device".

copper mural
#

Ah thanks. I then have to rebuild my gui to not use yaml 😛

polar kelp
#

Nah. You get yaml dashboards in that list too.

copper mural
#

@polar kelp Ah, thats true tho. Thanks.

polar kelp
mild veldt
#

@polar kelp @copper mural you can set the default in your profile as well

vapid field
#

Anyone got tips on customising the icons for cover entities? I have cover.my_curtains defined as curtains... but it uses open/closed blinds as its icon and has up and down arrows for open and close... which are not ideal.. I'd like to replace the buttons with something like <> and >< (arrows not less/more-than), and preferably better icons for the main icon (though can't see anything suitable on mdi)

copper mural
#

@mild veldt I'll see that now. Awesome!

polar kelp
#

Is that per device too?

#

It is. Neat!

karmic vessel
#

is the following not do-able? trying to only show media player entities on a page if they aren't idle or off https://pastebin.com/3cVLQhCY getting error that must specifty entity from media_player domain

#

nvm i see a conditional will do what i want

meager grotto
#

is there a way to make a popup when clicking on an entity?

elder pendant
#

With the browser mod custom integration, yes

karmic vessel
#

although even doing a conditional of not equal to off still getting them showing

#

nvm didn't realize they show in editing mode haha

meager grotto
#

no hacs support for browser mod yet? nevermind looking in the wrongplace

steady sluice
#

Hey guys so I just visited a home with Savant tablets on the walls, and I really liked the layout of the tablet, and how thin it was. Is there any way to get something like that for home assistant? Both the thin tablet and the user interface

split granite
#

Well, "thin tablet" is just a case of finding one - or using a recessed mount

#

The UI... Lovelace is fairly customisable, particularly if you use Floorplan. There's also a stack of other frontends you can use

elder pendant
#

In the end it's all html and js

steady sluice
#

What about music? Can I load a playlist of songs into home assistant and when I click a button the list comes up, so I can select what I want?

muted inlet
#

Home assistant isn't really meant to be a media server

steady sluice
#

What if I connected a media server to it?

muted inlet
#

I think there are some integrations for it

steady sluice
#

Oh ok I’ll check those out thanks

pearl furnace
#

Hey. quick question, i have a shutter via mqtt, and in entities I can see "up", "down", "stop" and the "position" (a slider), how can i get the slider in the dashboard. if i add the entities there i only get up down and stop. https://ibb.co/kSwWwHg

elder pendant
pearl furnace
#

thanks will check it

tardy sinew
#

@leaden yarrow that was it thanks! Is there a good guide for stuff like this? The documentation about it is helpful but it doesnt tell you whats valid for which objects.

distant phoenix
#

Is it me or did Dev Tools used to open up to States instead of the Info tab? I think there was an option somewhere to not have it open Info, but I can't find it.

mild veldt
#

the default did change but there was never an option to my knowledge

elder pendant
#

you could use a custom plugin to change the href for that link

swift forge
#

hi guys. New to HA... which is the best way to display if my heater is or on off in HA dashboard? I can send mqtt data from nodered, which is already connected, i just don't know for example if i need to create a binary sensor, or a boolean or what else, and how to set it via mqtt or direct call via nodered ha nodes, and finally have it display for example a lamp turning on or off... nothing complicated but i can't imagine the correct path to do this

split granite
#

Creating an entity is the way

#

Binary sensor, or make it bi-directional with a switch

signal copper
#

Binary sensor, or make it bi-directional with a switch
@split granite hi, a generic switch, an mqtt one, or template? me and @swift forge are just digging into this from 2 days...

split granite
#

Up to you really, I'd suggest an MQTT switch seems the simplest

#

Heck, you could use an input_boolean defined in HA that AppDaemon can interact with

signal copper
#

and so to have it in frontend, just add a corresponding card... let's try... @swift forge up to you for now! 😄

edgy canopy
#

Hello everybody ! Someone know what component the web interface of HA requires ? (Javascript, flash player...) ?

#

I've an Android tablet, stuck in Android 4.0 (no update and no custom rom), HomeAssistant app is not availaible, so I would use my browser, but Opera mini didn't find the server (WTF) and Firefox show "Home Assistant" as title page and a blue rectangle but no authentication

polar kelp
elder pendant
#

It's javascript, just newer fancier javascript

polar kelp
crystal moat
#

Anybody here used "config-template-card" for advance things? (Like nesting a variable in a statement ${} )

tight scarab
#

@edgy canopy is it 4.0 or.. 4.x?

#

You can go to something like apkmirror.com and download an older version of Chrome that supports your Android version.

edgy canopy
#

Android 4.0.3

#

So 2012

#

Wow 8 years

edgy canopy
#

I hate Chrome for the privacy but if there's no other solution...

tight scarab
#

You can also check compatibility of apps like HomeHabit or other front-end replacements for HA

edgy canopy
#

Even Aptoide can't be installed on this device

tight scarab
#

Or you could just go buy a cheap Fire tablet or something for better compatibility 🙂

#

But yeah, that's your best option if you want to stick with this one. I have an ancient Samsung Galaxy Tab 10.1 that I got for free from Google I/O in like... 2011, when Honeycomb was about to launch. It makes me sad, but using it is more trouble than it's worth at this point, even for simple things.

edgy canopy
#

Yeah, or try a "portage" of Lineage on this Archos antiquity

#

Samsung tablets, especially big models like yours, can be flashed with recent custom roms

tight scarab
#

ehhhhhhhhhhhhhhhhh

edgy canopy
#

I got a Galaxy Tab 2, the battery drops into security mode and the digitizer broke so I put it in trash but I would use it if it was possible

tight scarab
#

I have a 7.x rom flashed to it and it barely works, honestly.

edgy canopy
#

Anyway, my mother is using a Galaxy S5 from 2014, also Android 4 at the start but now Android 10 with Havoc or Lineage

#

Yeah, the hardware can be not enought

#

right

#

Play Store crashed when installing Chrome, it's a sign! 😆

#

(Play Store crash when installing any app)

tight scarab
#

Yeah you're going to have a tough time getting Google Play Services running smoothly on it I'm sure

edgy canopy
#

This tablet never know anything about any app from google except Play Store, I think the play services will never be installed on it

#

Now we're "initializing the void, pretty cool! 😅

#

"Chrome 50.0.2661.89 works Can also be added to desktop" in HA doc is the first or latest supported version ?

elder pendant
#

The “Release” column contains the release number which was tested. This doesn’t mean that older or newer releases are not work.

#

Wow nice English there as well

edgy canopy
#

Wow nice English there as well
@elder pendant Sorry but I'm french, I try...

elder pendant
#

No I meant in the docs, not you!

#

"newer releases are not work" this part in particular

#

Now I feel bad 😞

edgy canopy
#

Ohh okay, yeah It's not perfect but fully understandable

elder pendant
#

I'm sorry for the misunderstanding. I would never judge someone's English like that. The docs are to be held to a higher standard though

edgy canopy
#

No problem, don't worry! 😅

elder pendant
#

I always just assume English is not anyone's first language here

edgy canopy
#

Then I will delete the message

elder pendant
#

The entire site is blank to me

#

No console errors, no HTML, nothing

edgy canopy
#

Exactly the same here

#

Thanks!

#

Maybe tomorrow this old brick will have Android 4.1 instead of 4.0

#

The sysadmins are maybe playing minecraft on nginx servers raised_eye

raven ember
#

Is it possible to hide an entire lovelace custom card depending on the state of an entity? Specifically if its off or on.

polar kelp
raven ember
#

I've tested this conditional card on its own and it's completely fine, but the second I indent it to be part of an entities card, it gives me this no row configured error

raven ember
#

had do this as a vertical stack. Thanks tho!

fervent mango
muted inlet
#

Use the full local URL

fervent mango
#

it works with either the local or DDNS url. just most of the scripts or examples I see use the /local/img.jpg

muted inlet
#

GWloopyBlobShrug the docs should say if it can be anything other than a URL

fervent mango
#

yeah all doc state the /config/www = /local and all examples show it being called as /local/img.jpg that why I'm confused. I had to create the www folder and have restarted services 12X times testing. just not sure why it seems to work for other and not me. I also made sure the file was in all lowercase as I saw that could be an issue. IDK. thanks

muted inlet
#

Can you share one of those examples? I'm guessing it doesn't literally mean you can use just /local/whatever, I think it's just saying what www/ actually is in the URL

fervent mango
muted inlet
#

Sorry, I meant from the docs

#

Or wherever you saw an example

fervent mango
#

only thing I can thing is this and most are image: as this is a camera it's calling still_image_url: and it's requiring a url . image: isn't valid (tried it and received an error)

muted inlet
#

That's also a different card

fervent mango
opal furnace
#

hi all, im a noob with ha and am on my first installation on a rpi3b! everything has been going great so far, but i just have a quick lovelace question that i am hoping isnt too complicated. I have already enabled advanced config, but I have not dived into editing the configuration.yaml yet. My question is there anyway to change the color and size of the blue title bar at the very top?

mild veldt
#

@opal furnace yes. You would use a theme

opal furnace
#

ive looked around and there appears to be an addon that i can install through hacs to do what i want, but i think thats pushing my abilities a bit.

mild veldt
#

Yes, custom header to make it smaller

opal furnace
#

ahh would those require editing the config.yaml?

mild veldt
#

No

#

Sorry, themes, yes

#

Custom header, no

opal furnace
#

oh cool ill start googling!

#

thanks

#

oh yeah Custom Header is an addon which can be installed through HACS

#

this is what i saw before

#

i guess ill give it a shot!

tight scarab
#

is it all-YAML-all-the-time or all-UI-all-the-time when it comes to Lovelace?

#

I can't have some UI-managed dashboards, and some driven from YAML files?

mild veldt
#

Yes you can

#

Only thing is if you have any yaml then all resources are maintained in configuration.yaml

tight scarab
#

Kind of feels like UI mode is great for spitballing and trying things out quickly and using the preview but that once things settle down it would be far preferable to keep this all in SCM

mild veldt
#

Personal preference

#

I prefer UI

tight scarab
#

It wouldn't be so bad I guess if I could optionally disable the preview window. Having only half my code window width makes it difficult for the larger nested cards.

mild veldt
#

You can use the raw config editor if you don't want a preview

tight scarab
#

Or use Chrome dev tools to delete the preview div while editing 🙂

mild veldt
#

I mean, I guess...?

tight scarab
#

Yeah. 🙂 The preview is helpful sometimes too though just to check syntax and indentation.

#

I got my buttons with conditional data template elements working that I was struggling with the other day.