#frontend-archived

1 messages · Page 44 of 1

tall monolith
#

oh, so just the same conditional statements as all of the other cards support now too

daring python
#

is there any component or way I can setting tuya led strip color mode (gradient , music , ... ) better than on off and change color

mild gate
#

I've removed all custom HACS frontend components and still cannot add or edit my dashboards

#

browser console: [Error] Unhandled Promise Rejection: Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mwc-linear-progress" has already been used with this registry

#

so... do I file a bug? Not sure what to include since there's no log entries

vast crane
trim wadi
mild gate
mild gate
fast steeple
#

hey all, i gathered examples from google searchs and other HA users examples and i made this as my main dashboard along with other cards not shown that totals 6300 lines of code. After hours of getting it all set up, i put it as my main page and now everything is sluggish or crashes my app or browser. So I'm looking for something simple and similar to these room cards that will show all the info in each room I currently have on these.

#

not really looking for how-tos, just looking for suggestions and options.

tall monolith
#

you have a litter room?

fast steeple
#

large closet turned into cats room with outdoor ventilation.

tall monolith
#

huh

fast steeple
#

i found a few options i think im gonna try, reply to me original msg if you have something very simple that your using and ill give it a go. Thanks all

granite briar
#

i have a closet that holds litter box and robot so the automation when it cycles doesnt send vacuum far

fast steeple
#

do you have a door flap for the vac to come and go and it closes out of sight when not in use?

tall monolith
#

it's a very fancy dashboard

fast steeple
#

unfortunately fancy is crashing too much and ill have to cut it down significantly

#

that or find what causing the issues

tall monolith
#

I only use my dashboard when something is wrong, so I haven't really spent that much effort on it

fast steeple
#

took 10 hours yesterday, and its 9 hours longer then i should have spent with it

granite briar
#

does a sweep around box after each cycle so we dont ever step on litter

tall monolith
#

i understand that a lot of people want a remote control house or a voice control house, but I want a house that just does things for me without me doing anything

fast steeple
#

i wanted everything and the more i added the more issues, so now is at the goldilocks state, just right with what i need and not what i want. but every now and then i fancy up something.

tall monolith
#

i did add a card for the sportsball matches in my area

#

but "Tom wants to know how the game went" counts as something going wrong

fast steeple
tall monolith
#

i want that hidden vac cabinet so badly

#

we might redo the kitchen next year, and if we do I'm getting that.

fast steeple
#

same, been drawing up the kitchen renos for a year so far and its looking promising

tall monolith
#

i'm trying to talk the sweetie into cabinets on feet instead of with toekicks

#

same amount of wasted space, but nowhere for mice to hide

blazing wren
tall monolith
#

#offtopic is very hit or miss. but i'll take your point in the spirit it was given

fast steeple
untold trail
stuck spire
#

Make the garage door for the robot open automatically, then it's #diy-archived

untold trail
#

technically hes asking about turning the #frontend-archived of the cabinet into a garage door so

fast steeple
mild gate
#

anyone have a particular philosophy around creating a mobile dashboard? single vertical with horizontals? Grid? Mason vs panel?

marsh ice
#

Hello!

I'm new to HA and I'd like to create a button that allows me to turn off an entire floor (floor with multiple rooms). However, I can't find any examples with floors and I can't figure out from the documentation how to do it.

#

(I saw that in the release notes for 2024.4, it was something that was mentioned)

mild gate
#

Others should chime in too, there are certainly more elegant approaches and there may be some more user-friendly ones as well

vast crane
#

do service target selectors accept floors now? 😕 it doesn't seem like they do

mild gate
vast crane
#

ah they do, it's hidden in areas

mild gate
#

nice!

#

TBT when areas was introduced I was like "why do I want to assign my NAS's hard drive temp to an area? ¯_(ツ)_/¯ " and now I have so many regretts about unassigned entities that I'll have to devote a day to assigning them ... my lights, however, are all organized

#

worries we just lost @marsh ice to the new user void

marsh ice
#

I'm trying, but it looks ugly compared to a room button 😁

marsh ice
#

It works thanks @mild gate ! Do you have a hint on how to retrieve the state of the lamps on the floor now? 👌😁

marsh ice
#

@mild gate I want something like that but not for an area, rather for a floor.

#

yellow = lights on
Grey = light off

#

with a script, when I click it activates, but I don't have the status of my lamps.

tall monolith
#

that looks like an Area Card

mild gate
#

TIL area cards exist

tall monolith
#

it's good to learn

untold trail
#

gotem

tall monolith
#

channel settings 🙂

mild gate
#

apropos of learning, anyone using bubble cards? I added a popup and now every time I load any dashboard I get that popup briefly. probably more for #add-ons-archived but still curious

untold trail
#

lul

#

<@&330946878646517761>

#

get this coomer outta here

icy patrol
#

Is there something that is equivalent to card_mod thats built into HA? Trying to move away from addons

untold trail
#

Dont think so. Nothing wrong with addons tho

marsh ice
# mild gate that _is_ a button card, right?

Yes, it's a area card, and this area card rejects the floor ID. So, I did as you said with a script, but I would like to retrieve the state of the lamps to display either an icon in a different color if they are on or off, or a message like "floor off" or "floor on" on the button.

brittle forum
#

I'm using gauge card with some styling to display room temp. Is there any way to reduce the space taken by the gauge - card is too big for my taste. Something like a horizontal gauge, maybe?

hushed agate
#

A bar card could work

#

But that's not really a gauge

#

You probably can card mod it into a different shape

brittle forum
#

I'm looking at bar-card now

zenith stag
#

Or use apex-chart and style it to a minimum

brittle forum
#

wonder if I can CSS wizard it to have a similar style as gauge

#

or at the very least, conditional coloring based on temp

#

Thanks guys, I'll proceed with research and testing

zenith stag
#

On a side-note, I'm curious why so many people use gauges for sensors that has no min/max value... I mean, what value does the gauge itself provide? Each to their own ofc, I'm just a bit confused 🥸

brittle forum
#

did you look at the code? 🙂

zenith stag
#

yes I know you added min/max, but does you actual heater/bolier have those numbers?

#

I mean, a car has a speed limit, it physically can't go faster than what it's build for

brittle forum
#

It's a matter of presenting the situation visually, hvac has no play in this

#

It's all arbitrary, to be honest

#

Also, not my code, I just adapted it to suit my needs

zenith stag
#

My rooms never go beyond 19°C / 24°C so I guess I just think the span is to narrow to present with a gauge. A chart is more informative. But yes, whatever works 🙂

brittle forum
#

Definetely open to learn about better ways 🙂

#

24 C?

#

centralized hvac?

zenith stag
#

Exhaust Air Heat Pump

hushed agate
#

Is there a working 3d floorplan card that is still working?

#

Probably in regards to hacs

slow solar
#

not sure if this is the correct place to ask this but here goes. Is there a better way to view a sensors data? I'd like to see when a contact sensor is opened but all i get is the below line. the sensor is only opened briefly which is hard to see as its a 1 pixel yellow line on the gray bar

tacit cave
#

That's what logbook is for

#

not history

#

@slow solar ^

#

the sensor domain does not show in logbook, but binary_sensors and covers do. And your device looks like a binary_sensor or cover.

slow solar
#

where do i find logbook?

tacit cave
#

on the sidebar

#

right above History

slow solar
#

oh, so it is, i was looking in settings. cool, thank you

shy totem
#

someone have a idea to use a HA card into a webpage ?

dense spear
#

Hey guys does anyone have a basic working custom-template-card that uses sensor data or a lights colour to change css. I’ve been struggling for weeks to get the syntax correct. Would be so greatful

tacit cave
#

well first, you need to mention the correct name of the card

#

then you need to show your current syntax, post it as text, not an image

#

ther'es multiple template cards, all different

fleet agate
#

Is there something like a picture-elements card where you can set time and all entities on picture-elements card refresh their state to state of set time?
so u can see states of all entities on picture-elements at selected time instead of clicking on each manually

tacit cave
#

when you say "set time" you mean the entities history?

upbeat valve
#

Hey all, I recently installed this extension to have HA in a Chrome dashboard shortcut. https://chromewebstore.google.com/detail/home-assistant/hpoiflhmfklhfcfpibmdmpeonphmdbda

However the scaling is way too big by default so I'm trying to figure out if there's something I can put in my YAML code to reduce the scaling?

Normally in my Chrome browser and the companion app I just reduce the zoom/scaling, but wondering if I can do it at the actual lovelace level

opaque gulch
#

hello quick question i got this grid with button but now i want to add a scrollbar to it so its all on one line with the thiknes of 3 collums

#

becaus when on mobile it cuts in the titles of the buttons

livid escarp
#

How do I control what tabs a user can view on a dashboard? I have a dashboard and my user X see's 6 tabs/views but when I log in as a different user Y they only see 3 tabs/views. So for example I have a tab callled switches that user X sees but user Y does not see it. I can't find where i control this.

vast crane
#

when you edit the view, there's a "visibility" tab in the view settings

livid escarp
#

Great, so that is weird when I look at the visibility tab on my mobile phone it did not give me choices but on the PC it does. Thanks

vast crane
#

maybe it needs a cache clear

livid escarp
#

@vast crane thanks for the help. I am all set now, just had to make sure the right permissions were checked and then understand it.

opaque gulch
#

For mobile

brittle forum
#

Ok so, I can't code or web dev. I'm trying to bring style to a list of temp sensors in a bar-card, and I can't figure out how. I've tried placing various style: sections within the code, playing the indenting, CSS options, nothing works. (Yes, I have cleared the cache). Here's the code - I would like to be able to change things like font colour, title alignment within the bar, height, etc. Thanks in advance - https://pastie.dev/RXVgvo.yaml

random root
#

Hi, I have a sensor. Using it via Gauge.
Is there a way to show the history of the sensor when long pressing the gauge or when simply pressing the gauge?

#

I tried
hold_action:
action: more-info
But it doesn't work

safe trout
#

@tall monolith - definitely not the decluttering card, I removed it entirely, same problem.

#

I continue to have a problem where my dashboard doesn't load unless I go into the raw configuration editor, don't modify anything (no overwriting at all), and exit. At which point it loads no problem. I've now removed the overwhelming majority of my code and it's still happening so I'm starting to really think it's a bug.
My code at this point: https://pastecode.io/s/jvi58gyd
Screen Grab of Problem: https://drive.google.com/file/d/1Rx-ARrBSG5GlUgtAMhuE1CfMghBN7P4U/view

Multiple devices affected.

#

@brittle forum I'm no expert but don't you have to do card-mod

random root
tall monolith
safe trout
#

sorry 'bout that

vast crane
tall monolith
#

i grabbed your code and threw it into a dashboard. I had to install vertical-stack-card, but the whole page of errors immediately vanished when I did and I had to reload twice to get a new error for the next thing that I didn't have installed

safe trout
#

yeah it'll work right away, but then if I close HA and reopen it, it's blank

vast crane
#

maybe try clear your cache? tap_action was made to be configurable in a recent version, but the default was, and should still be, more-info

safe trout
#

it'll work because I just came out of raw configuration editor, if I just start up HA, nothing

tall monolith
#

right. so submit a bug to the maintainer of that

vast crane
tall monolith
#

it's that card

safe trout
#

the vertical-stack-card? that's a bummer, I'll report. How do I grab a log?

#

I assume that might be helpful

tall monolith
#

no idea

brittle forum
random root
safe trout
#

it's not that card. I removed it, same problem

tall monolith
#

add it back, remove the next thing

#

keep doing that until you find the thing. but that card messed it up for me

random root
#

If you put in the vertical stack it doesn't work, it works instead

safe trout
#

I'm wondering if it's my theme

random root
#

Found the error

golden mistBOT
#

@fading forum I converted your message into a file since it's above 15 lines :+1:

fading forum
golden mistBOT
#

@livid escarp I converted your message into a file since it's above 15 lines :+1:

livid escarp
#

I am looking for some links or tutorials on how to do this, not trying to get someone to solve it for me.

tribal galleon
livid escarp
#

@tribal galleon thank, will review the page, much appreciated.

safe trout
#

I think I've seen this before but can't find it now. If I want a number above an icon to reflect something like # of lights currently on, what am I looking for? I want it displayed right on top of the button icon

livid escarp
#

@tribal galleon type: custom:mushroom-template-card entity: switch.garage_door_wally primary: Wally layout: vertical icon: | {% set state = states('binary_sensor.garage_door_wally_input', 'input') %} {% if state = 'off' %} mdi:garage-open {% else %} mdi:garage {% endif %} icon_color: | {% set state = states('binary_sensor.garage_door_wally_input', 'input') %} {% elif state = 'off' %} yellow {% else %} blue {% endif %} tap_action: toggle hold_action: none double_tap_action: none

I tried this and the button works but I do not see an icon or colors

golden mistBOT
#

@livid escarp I converted your message into a file since it's above 15 lines :+1:

tribal galleon
#

@livid escarp Your state lines are wrong. States uses the syntax shown below; is_state uses a slightly different syntax. Should be: yaml {% set state = states('binary_sensor.garage_door_wally_input') %}Your IF statements are wrong. One equal sign sets a variable; two equal signs are used for a comparison (IF). yaml {% if state == 'off' %} mdi:garage-openYou can't start an IF statement with ELIF (ELSE IF) in the icon_color. Must start with IF. Subsequent comparisons can use ELIF. If nothing matches, then ELSE.yaml {% if state == 'off' %} yellowI also have a concepts page that has some useful information. (It is still a work-in-progress.)

tribal galleon
# safe trout I think I've seen this before but can't find it now. If I want a number above an...

Here is an example that I've put into a Mushroom Chip Template card that counts the lights in a given area. (Note: the first part ensures that if no lights are on, you get a 0 and not an error; the ELSE actually does the count.) This can probably condensed to default to 0 (but I haven't tried to make it do that.) #templates-archived is better for understanding how this works. ```yaml
type: custom:mushroom-chips-card
chips:

  • type: template
    content: |-
    {% if states.light | selectattr('state', 'eq', 'on') | map(attribute='entity_id') | map('area_name')
    | select('in', ['Living Room']) | list | count == 0 %}
    {0}
    {% else %}
    {{states.light | selectattr('state', 'eq', 'on') | map(attribute='entity_id') | map('area_name')
    | select('in', ['Living Room']) | list | count}}
    {%- endif %}```
wind tulip
#

Hello @ all. How did you manage the dashboards on different devices? I use PC, Tablet and Smartphone (most time in portrait). Have you created all dashbaords for each device?

zenith stag
wind tulip
#

I think, that there is no dashboard fitting mobile (portrait) as well as PC (landscape)

#

I dont want to scroll on touchscreen devices anymore because I activated something incidentionally

zenith stag
wind tulip
#

Just for mobile/Smartphone. Cards are working on all devices, yes. But with more cards on a dashboard, it doesnt fit in all devices

livid escarp
#

@tribal galleon thanks for your help, that worked like a champ

golden mistBOT
#

@distant oracle I converted your message into a file since it's above 15 lines :+1:

distant oracle
#

Oho ok, is this message now visible for everyone still? 😄

fleet agate
tacit cave
#

you can attempt to use the history explorer card, custom frontend card.

fleet agate
normal valve
#

Is there a way to template the icons on a dashboard view?
I tried:

title: Weather
path: weather
icon: >
  {% if states('weather.forecast_home') == "cloudy" %}
  mdi:weather-cloudy
  {% else %}
  mdi:weather-sunny
  {% endif %}
cards: []

which doesn't work

vast crane
#

the frontend as a general rule does not use templates anywhere (except markdown card), so no you can't.

normal valve
#

fair enough. Thanks for the quick reply.

I don't suppose there is another way to get "current weather" as the icon for a weather view?

dense vine
#

Hey i have a very specific question, i have a dreame vac and the custom vac card with the map displayed. is there a way to resize the card so it's not so big?

worn solstice
#

Morning all! Probably has been asked a lot. But I have this issue from months now, and I want to fix it.My automation to change them dark/light and vice versa is not completing the switch anymore. There are parts in the theme (mostly background) that stays the opposite theme. Like switching from dark to light, cards will be light background dark, and viceversa. What’s going on?

normal valve
mild gate
#

anyone know how to cast a dashboard at a resolution above 720p?

zenith stag
cedar mesa
#

Is it possible to template an entity in an "Entities" card? For example:

type: entities
entities:
  - entity: |
      {% if states('binary_sensor.front_door_opening') == "on" %}
        'binary_sensor.front_door_opening'
      {% else %}
        sensor.front_door_lock_state
      {% endif %}
      
    secondary_info: last-changed
    name: Front Door
    icon: mdi:lock-check-outline

Is there a way to get this to work?
If not, then when using a mushroom-template-card, is it possible to left align some text then right align others?

worn solstice
#

Theme it happens with any themes.

zenith stag
worn solstice
outer cradle
#

Hey everyone. I have a dashboard (image below) that i want i light geen boarder around the vacuum tab when either vacuum.neal or vacuum.edna is running. Thank you guys!

zenith stag
zenith stag
worn solstice
#

Weird, I am testing it using Developer tools, and it doesn't change the theme to dark

vast crane
#

frontend set_theme can not change the light/dark mode

zenith stag
worn solstice
#

ok

#

I just don't get why is working but it leave the theme in between dark and light or light and dark

#

was working great until few months ago

#

Like this test. Light to dark.

vast crane
#

Is it only a problem with the transition? like does it look different if you F5 refresh

worn solstice
#

yeah, if I refresh it goes all dark or light

#

but it wasn't a problem in the past

vast crane
#

if those are core cards you can write up an issue

#

it's possible some aren't listening for the theme change correctly, not sure

worn solstice
#

I need to add a refresh to the automation

#

any idea how?

vast crane
#

that's not a thing. if that's a bug, than just write a github issue

copper shoal
#

Hello everyone! I would like to add something on my home with a dropdown menu, and depending on what I choose, it should run a different script.
To give a little more context: i connected Alexa to HomeAssistant, and since i have different shifts at work, I would like to use this dropdown to choose which alarm set Alexa should use. I suck at drawing, but what I would like to accomplish is something like one of these two. Can you help me? What do you suggest?

vast crane
worn solstice
#

@vast crane thanks for your help. I solved my issue adding a refresh command using browser_mod. I can't open an issue because I won't have the time to follow up with the ticket.

copper shoal
scenic current
#

Can someone remind me what CSS controls line height? See the word 'Eggs' and how the bottom of the 'g' characters are being clipped.

scenic current
#

or maybe a better question my be what is causing this clipping?

scenic current
#

So I simplified things to share. If anyone can help tell me how to control the space between elements and whatever is clipping the 'eggs' line

https://pastebin.com/X5r88xM1

Again, I am a novice

#

This is the 'normal' to do list card

tribal galleon
#

@scenic current I think you want to look for something dealing with line-spacing. Maybe bump it up from 1.0 to 1.1 or something like that.

scenic current
icy patrol
#

Hello; I have a RGBW bulb that has the option for effect_list: 0, 1, 2, 3 and via YAML it works fine

   effect_list:
      - 0
      - 1
      - 2
      - 3
      - 4

but when i added it via the Tasmota integration then the effect does not work.

{"brightness_pct":100,"effect":"2"}
icy patrol
#

found the issue; effect has to be set as Random when using the Tasmota Integration

"effect": "Random"
scenic current
barren willow
#

Hi guys, how could i add/create my own card(s) for things? id prefer to use tailwind if possible? can i just write css and js like with web development?

scenic current
# golden mirage Is this todo list?

I think this is the element I need to modify. Unfortunately I'm not very familiar with dev tools. Is the element ha-check-list-item or is it ha-check-list-item.editRow.draggable ? I don't understand why it shows a portion in blue.

vast crane
scenic current
vast crane
#

negative

golden mistBOT
#

@acoustic ember I converted your message into a file since it's above 15 lines :+1:

cedar elbow
acoustic ember
#

I tried below but seems I am not doing it correctly

light_style1:
  color_type: card
  styles:
    card:
      - background-color: |
          [[[ return (entity.attributes.rgb_color|join(", ")) >= variables.color_level
          [[[if (entity.state == 'on') return 'rgba(variables.color_level, 0.5)'; else return 'rgba(49, 54, 63, 0.5)';]]]
scenic current
# vast crane negative

Solved using:

            ha-check-list-item {
              color: white;
              font-size: 4vh;
              line-height: 1.6;
            }

line-height being the thing needing to be set

tribal galleon
#

I was close by suggesting line-spacing. 😉

tribal galleon
scenic current
#

I'm getting confused again. I have a variable set but I don't think it's being used by cardmod. how do I pass the variable correctly?

https://dpaste.org/fFuRW#L36

dusky haven
#

Anyone have experience getting an svg image to pick up a fill color assigned to a css variable? I'm using custom:button-card and I've tried just about everything. The variable and correct value shows up in the inspector, but the style the svg doesnt use the correct color.

I've got this in my svg

     viewBox="0 0 424.166 424.166" xml:space="preserve">```

And this in my custom:button-card
```    styles:
      card:
        - --svg-fill-color: red   #the svg renders green instead of red
polar radish
#

I have a weather card on my home screen. This card shows me the temperature and current conditions. The entity id is weather.home. If I click on the weather I get a table of forecasts for the next few days. I am trying to look at the data programmatically via node-red but can't seem to figure out which entity I could get the data from. If I look at the weather.home object I see none of the forecast temperatures that are displayed on the weather card. Where can I find the forecast data?

dusky haven
polar radish
#

Thanks, I will try to do that. Last year the forecast data was right in the weather.home object (several layers down)

dusky haven
polar radish
#

I just found the breaking change announcement that forecast attributes depreciated in March of 2024 and, as you say, you now have to call a service. Alas, I haven't got a clue how I do this under node-red. I made a node to call weather.get_forecast but I have yet to figure out how to populate all the various entry fields in order to get a usable output via a debug node. I have domain:weather, service: get_forecast, nothing under area or device, enity is 'forecast home' I do not know what to put under the 'data' field. Under the output heading I have msg.payload = msg.payload.

#

Unfortunately I have forgotten pretty much everything I had learned last year about writing functions and stuff and am starting back at square one.

copper shoal
#

Howdy everyone! I'm still trying to get my head sorted around widgets, so I hope I can get some help... I managed to understand how to automate input selectors, but now I would like to create a row with multiple selectors. Right now this is the code:

type: entities
entities:
  - entity: input_select.alarm_dropdown
  - entity: input_select.test3
    type: custom:multiple-entity-row
    name: test
    entities:
      - entity: input_select.test
      - entity: input_select.test2

but, as you can see, the result is kinda weird. The first line is correct, the second should have multiple dropdowns, but it only contains the value. Plus, there is this weird thing where I have to select an entity (which gets shown in last place) but doesn't have the name at the top.
How can I fix those things? I'm using a custom lovelace entity type, found here https://github.com/benct/lovelace-multiple-entity-row

tribal galleon
tender wedge
#

I'm using input_boolean toggles to home/away modes. How do I make it so that Home mode is always on when not changed?

#

I'm guessing via automations?

dark dirge
#

I'm not sure what you mean by that

vague blaze
tender wedge
#

I've used helpers, could I do it via the ui too?

vague blaze
#

(One of the things that might come over to the UI eventually? lol)

tender wedge
#

Ah no worries, thanks. Hopefully 🙂

scenic current
tribal galleon
scenic current
#

okay. Yeah, I couldn't figure out what to do

dusky haven
polar radish
heavy grove
lament oyster
#

Probably a silly question, but I'm not seeing in the docs. Is there a way to code this card to show the actual sunrise/sunset time instead of just 'in X hours'?

entities:
  - entity: sensor.sun_next_dawn
  - entity: sensor.sun_next_dusk
title: Sunrise/Sunset```
fiery ledge
#

format: time

lament oyster
#

ah hah, thank you~

#

have a sunrise/sunset automation and I wanted to be able to have the card show exactly when it's going to trigger

fiery ledge
#

all with the entities card as entities...

winged carbon
#

I am helping a friend of mine. Hes Rpi3b does not work anymore so we have switched to a rpi4b. Npw we are trying to use nginx and duckdns to remote log in. He had this sort of working earlier but without the nginx. So in his config yaml he did this ```
http:
base_url: **********.duckdns.org
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24 ``` I have tried to keep only the part from use_x_forwrded, but then we lose access to file editor as it states its access is forbidden

dark dirge
#

That's an unconventional setup

#

Normally, you would terminate SSL in NGINX and make a non-SSL connection to HA

winged carbon
#

Yes it is, as nginx shall take care of the ssl.certificate, but when I remove it we lose access to file editor, and I can not figure out why.

dark dirge
#

HA would have no connection with duckdns

#

Do one or the other

winged carbon
#

We have installed duckdns and the nginx. We have configured them, but still it makes no sense that we can not access fileeditor even from local.

dark dirge
#

I'm saying that your config doesn't make sense

#

Remove the base_url and ssl lines and terminate the duckdns connection in NGINX

winged carbon
#

what is wrong with it if I remove the scentences before use_x_forwarded

dark dirge
#

That's what I'm recommending

winged carbon
#

Yes we have removed those lines

#

but thats when we get trouble.

#

now it is like this: ```http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24

dark dirge
#

how are you trying to access it locally, i.e., via the IP address and http?

winged carbon
#

We get access locally to most of it, but not to file editor, and I can not get the remote access to work either. I have nginx and duckdns on my pi, and it has been working for two years, I can not see that we have done anythin different, but we do obviously miss something. EDIT: We had a true where it should be false, and then everything worked.

dusky haven
cedar elbow
#

Has someone used config-template-card with Apex Charts?

sour garden
#

Is there anyway to use iframes now ? or is it completely gone ?

vital burrow
tall monolith
#

what are you using it for?

sour garden
tall monolith
#

what's a quickpanel?

sour garden
vital burrow
#

For the sidebar? That's a webpage dashboard and can be created in the dashboard menu

sour garden
#

im just getting this with the webpage card

vital burrow
#

Looks like a website

#

The HA one to be precise

tall monolith
#

from Jorg's link

sour garden
#

but i cant open those that are in here

tall monolith
#

at the bottom, click "add dashboard"

vital burrow
#

You can. To configure them, klick on the dashboard's name, not on open

#

And to create one, as Tom said

tall monolith
#

i've never thought of anything I'd like to have as an embedded webpage. What are you planning to use it for?

sour garden
#

ahh thx, i think i got it now

vital burrow
#

They also have some restrictions. They cannot show http pages over a https connection or if the page blocks iframes

tall monolith
#

why not just turn that on from the addon?

#

oh, are you not using the addon? that would be a good reason, I guess

sour garden
#

yeah, maybe i should try that 🙂

#

cant find the addon, is it only awalible for ha core ?

tall monolith
#

haos

#

if you're running zigbee2mqtt in some other way than via the add-on, then turning it on via the addon won't help

sour garden
#

running it from docker

tall monolith
#

yeah, so that won't help. webpage dashboard ahoy

sour garden
#

thx

tall monolith
#

and a solid answer for why to do that which nonetheless leaves me not needing it

vital burrow
#

Just the info again: if you integrate the Z2M page via a http connection, you cannot access it, when you connect to HA via a https connection.

tall monolith
#

which is a little annoying, really

#

but I get it

vital burrow
#

Some people miss the "warning" message in the docs and wonder, why it doesn't work 😅

sour garden
tall monolith
#

it pops up a message about why it doesn't work

vital burrow
tall monolith
#

i just tried three addresses and the first two didn't work so I thought maybe it had to be http to work and instead it gave me an error

vital burrow
#

Some others block that method for security reasons

tall monolith
#

i guess my roborock's control page might be a decent thing to iframe in... i'd need to figure out the https for that though

tall monolith
copper shoal
#

Thanks a lot!

weary scroll
#

Where do I go to find cards for the front end? For instance I'm looking for the custom:vertical-stack-in-card, the card_mod, and the custom: weather-card. I tried HACS but I was having no luck.

tribal galleon
dense vine
#

is the ESP32-S3-BOX-3 discontinued?

dark dirge
#

a strange frontend question

#

why do you think so?

dense vine
#

it was lol my bad

rough silo
#

Is there a way to combine data from two different weather providers into one card? The weather from the ZAMG Integration is super accurate for current weather data as I can grab data from a whether station a couple of kilometers from home, but the integration itself is pretty lack luster and doesn't provide any forecasting options, and says "Unknown" on the card all the time. The default weather Integration from home assistant has forecasting options, but the current data isn't as precise (understandably).

Can I somehow get the current data from ZAMG and then forecasts from the default integration in the same card?

#

I'd like to get the "partly cloudy" part from the default Integration, but keep the current temp, humidity etc from the ZAMG Integration

#

I want to keep part of this data that I get when I click the card because it's pretty accurate

#

but combine it with the forecast data from the default Integration

cedar elbow
#

Is there a card for this:

bright jolt
#

Anyone know why i cant click anything on my ipad when it has kiosk mode on

light wren
#

Hello friends! I'm new to HA trying to build a tablet dashboard. Anyone here know how I can make a card that spans all 3 rows on the top for navigation like this?

#

I'm currently using left column for navigation but it's wasting so much space

#

Happy to pay someone to help if anyone has time

vital burrow
#

Looks a bit like a sidebar view.

light wren
#

Not happy with my dashboard

#

Dont know how to make it look good

cedar mesa
stark slate
tribal galleon
# light wren Not happy with my dashboard

If you're using the Sections view, you'll be very limited on customizing the layout. Masonry view is a little less limited, but still pretty limited.
If you want better control over the layout, consider a using the Panel (1 card) view and set it to a Vertical stack card which will contain the entire dashboard. Next, add a horizontal stack card that will contain the cards you want to use for the header-type navigation area. Next, add a Grid card (set to 3 columns, for example) and add the respective cards to each column. (You can add more layout-type cards inside here if you want, so, for example, a Grid card with four columns to create some buttons that are side-by-side.)
For even more customization, consider the layout-card . It is (potentially) difficult to set up and get it just right but it will give you the most customization. If you're new to designing the dashboard, I would suggest going with the Panel and Vertical stack method first to give you a better understanding before trying to use the layout-card.

tribal galleon
# rough silo Is there a way to combine data from two different weather providers into one car...

So, this doesn't quite answer your question but here's something to test. When the ZAMG entity is reporting Unknown, go to Settings > Devices & Services > click on the integration > click the three dots dotsvertical > Reload. Let the integration reload and see if the entity returns to a usable state.
If that worked, make an automation to do this automatically for you. When the entity's state changes to unknown (trigger), then do a call service. Switch it to the YAML editor and add: yaml service: homeassistant.reload_config_entry target: entity_id: "{{ trigger.entity_id }}" data: {}
See if this helps your preferred weather entity from reporting unknown. (I had to do this in the past with a weather integration except mine was unavailable.)

wise nexus
vast crane
#

Maybe see if you can suss out any extra details. Does it never work? Does it work for some cards and not others? Does it work for some views/dashboards and not others?

wise nexus
#

i couldn't get it to work for anything

vast crane
#

errors in browser console?

rough silo
wise nexus
#

it is only when moving things to the overview dashboard. I can move them from the overview to another dashboard but not back

wise nexus
vast crane
#

Please add that information to the bug ticket, this can be tracked from there.

wise nexus
#

what's an easy way to put the web console on the issue? can it just be copy pasted?

vast crane
#

the screenshot will be fine

#

or copy paste

wise nexus
#

posted

tribal galleon
vast crane
golden mistBOT
#

@vernal abyss I converted your message into a file since it's above 15 lines :+1:

vernal abyss
#

okay wow, that didn't send my pics, so here they are again:

charred fable
#

Hey Everyone!
I'm trying to use the integration called https://github.com/madmicio/ampli-panel-card. I have an Onkyo AV receiver and I started to configure and it says that some additional configurations must be done manually within the YAML file - WHAT ARE THEY???
When I tried to create an entity, the card has been minimized and the panel disappeared. see the photos attached.
how do I go from here??

tribal galleon
#

@vernal abyss Try adding bar_radius: 15px to your yaml. Maybe there's something messed up with the mushroom: setting, but this should round the edge.

#

@charred fable I'm confused where the issue is. The link you provided is not an integration; it is just a front-end card.
Where do you see you have to do some additional configuration within the YAML file? Are you talking about the resources or the example YAML used for the card.
What do you mean by "tried to create an entity"? That card appears to need a media_player entity in order to function.

charred fable
charred fable
#

in addition, they say within the card edit function "other functionalities must be configured manually in YAML editor"

#

Or should I try to manually configure the Onkyo integration as documented and that's it....

golden mistBOT
#

@copper shoal I converted your message into a file since it's above 15 lines :+1:

copper shoal
#

The image disappeared, there it is lol

brave sphinx
#

Has someone seen an issue like this? Only happening on firefox... Trying to fix it for months

tribal galleon
rough silo
wise nexus
tribal galleon
# rough silo Does this mean I'm SOL? Since the ZAMG Integration isn't reporting values, I'm t...

For getting data from the ZAMG integration, you may very well be SOL, at least for right now. I'd suggest visiting #integrations-archived for more help on that.
In terms of making a consolidated weather entity, it can be done (once data starts coming back in from ZAMG). You'll probably need to add it to your configuration.yaml. This thread would kind of point you in the general direction: How can i create new entities based on two other entities. Your situation starts around Post 5 with 123's response. (Obviously, you'll adapt it for your own usage.)

zealous musk
#

Howdy fellas, I'm guessing this is a "switch browsers or do something else" situation but worth asking anyways. I get the below when adding a URL card to HA that references zoom.earth - what I'd ideally like is to have a nice big interactive card or background, but a single card would do for the time being.

Firefox Can’t Open This Page

To protect your security, zoom.earth will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.
#

Again, I figure it's just the way Firefox and the website are built, but you don't know until you try. Maybe there's some flag you can add to the URL to bypass it or some exception I can make in about:config.
(I don't want to switch browsers just for a single card in a HA dashboard, so if that's how it is, all G!)

tribal galleon
zealous musk
# tribal galleon <@174790510454636544> Website devs can disable the ability to show a webpage in ...

Ooh, interesting tool, nice - can you educate me on what that means and if there's any way around it?
I figure they do this to ensure the site isn't being reused and overlaid with ads or piped into products to resell, etc, so that all makes sense, it's just that our country's beureau of meterology has a weather map that looks just about prime for the y2k revolution so plugging that in would be a travesty xd

#

Give me a thonk in chat haha

supple torrent
#

for some reason, I cannot access my HA. I have removed and added back the ip ban and it's empty. when I try HA.local or ipaddress:8123 no access.

tribal galleon
zealous musk
golden mistBOT
#

@light wren I converted your message into a file since it's above 15 lines :+1:

tribal galleon
#

@supple torrent try going directly to the IP address and not use the .local address (especially if you're on a Windows PC, IMO)

zealous musk
#

Let me retry, and let you know

zealous musk
supple torrent
zealous musk
supple torrent
#

so i got further this time. it was loading everything and was able to login but once it finished loading all my addons and integration i cold not access it anymore?

tribal galleon
zealous musk
#

Will see what I can make work (and unclog the chat) 💪

zealous musk
supple torrent
zealous musk
#

Hmm, it's possible a bad drive would cause the system to slow down or even halt while loading, but I wouldn't assume it's the most probable cause. Definitely don't rule it out - if you can, pull the disk out, plug it in via an external disk drive or internal SATA connector or NVMe slot, and use a simple SMART test tool like CrystalDiskMark or the manufacturer's SMART toolset to check - but my guess is the same as yours, that it's an addon playing naughties

#

Especially considering launch-at-boot addons. Did you install anything new recently?

supple torrent
light wren
#

I can takeover the world now

#

Or maybe just this tablet this

#

😂

vernal abyss
balmy plume
#

Hi. I am wondering why statistics-graph does not show the values of all entities I've added to it. Two of my Shelly entities are working fine with it, but my MQTT entities won't show up at all. The normal history-graph works fine though. What can I do about that? Is there some special thing I have to do in my sensor configuration that make them work with the history-graph?

mental crag
#

Opening entity popup card from custom cards

zealous musk
#

I personally host on Proxmox so my checks in there would be useless to you... And isn't the Zimaboard soldered? Or is it a slim NVMe slot on there? I remember wanting one for a NSA but got another box cheaper

rough silo
tacit cave
tacit cave
#

Look at the Most recent issue: The title of that issue will tell you everything you need to know

#

i.e. switch to the one I linked, then try again

rough silo
#

Okay I installed the fork. I'm still not entirely sure how to extract information from the default forecast sensor. It has a lot of data, clearly, but I cannot actually show this data in the Platinum Card. For examplem the forecast service tells me the min and max temperatures, but I can't figure out how to put them into the platinum weather card. HA says that it has only a single entity.

#

And then that entity has a ton of values inside it.

tacit cave
#

use attribute, but you have to manualy write it in (as the documentation says)

vast crane
balmy plume
vast crane
#

I don't think so, but I'm not certain

#

I thought I heard there was some case where statistics tries to backfill on initial creation, but I don't know the details.

#

but measurement sounds good.

safe pike
#

So, it appears that I owe an apology to @lyric prairie, @zenith stag and @tribal galleon. 🙂

I'm the one who struggled to get my button-card templates to apply last week. (Been out with RL for a while, sorry for the late reaction.)

Turns out, everything you said was correct. At least since I got rid of the "minimalist setup" (i.e. storing my cards in the /custom_components folder -- I still don't know when those get re-rendered, other than a cold HA reboot), both first saving the template, then saving the dashboard, gets me the latest templated card, just like @tribal galleon said. Alternatively, clicking on the 'Refresh' button in the menu works, as @zenith stag pointed out. I've been testing in a toolbar-less mode, so I forgot that this was available to me.

Still wishish for a 'dev mode' where all these caches are off and any regular Ctrl-R will just re-render everything. But this is very acceptable for now. Thanks, everyone!

zenith stag
# safe pike So, it appears that I owe an apology to <@708951807195349022>, <@100662324956994...

Once upon a time there was a service call to refresh the dashboard. I used it as a button on the dash but I suppose it would also have worked in an automation. However, it has not been gone for at least the last 18months or so. Don't know what happened to it, and canot remember the name of it :/ I kind of agree with you that an instant refresh would be nice, still, I do like that I manually have to refresh. Kind of like a save button. It's not always you want something to auto save.

willow kiln
supple torrent
#

for some reason, I cannot access my HA. I have removed and added back the ip ban and it's empty. when I try HA.local or ipaddress:8123 no access.

supple torrent
vague blaze
#
2024-06-24 09:01:47.843 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "rest_command". Check lines 110 and 200
2024-06-24 09:01:47.844 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "template". Check lines 63 and 225
#

You have problems in your YAML that you need to correct.

tacit cave
#

that won't stop it from booting up or showing the main page

supple torrent
tacit cave
#

no

#

if that log is continuously populating, then HA is running. You just can't access it

supple torrent
vague blaze
#

No, that was just an example. But, along with the yaml errors, there do look like there are networking errors as well.

supple torrent
vague blaze
#

Oh, yeah, no problem. That was the first thing that stood out. But, it looks like there's something going on with the networking. There is a line where NC closes the connection as well.

supple torrent
#

I appreciate any help

mental crag
thick stratus
#

Can someone please help me add an icon and title/text to the top left of each of my cards? I’ve tried a multitude of different ways to do this with YAML but have not had any success.

#

I assumed adding a vertical stack card with a header would do the trick but no.

vast crane
#

I think that could work? I don't know about MDI icons but you can use an emoji

inland crystal
#

Could someone help me please? I am quite new and I have just recently installed HA OS and HACS. On many pages I see that people have categories (like Frontend) under the menu item HACS. I have only a search function there. How do I get to have these categories?

vital burrow
thick stratus
#

Here’s a screen shot of where I’m at and the code

#

Adjusting the font size doesn’t even change the text with this code.

tall monolith
#

do you have any browser extensions/plugins?

zenith stag
# thick stratus

since you are allready using the custom:button-card, why not alse use it to make your headers/titles?

mild gate
#

is there any way to edit the YAML for a type:sections without editing the entire raw configuration of a multiple view dashboard?

vast crane
#

Click the pencil to edit view, and there is Edit in Yaml in the configuration dialog.

#

that'll give you yaml for just that view

mild gate
#

can the markdown card take formatting? I tried a <span> but it ddidnt work

scenic current
#
type: custom:button-card
variables:
  var_list: >-
    [[[ return
    hass.states[variables.var_assistsat_entity].attributes.data["list"] ??
    "todo.anylist_alexa_shopping_list"]]]

Looking for some JS help. I am trying to pull this value from a custom template sensor and if it has no value, undefined, null or if any error occurs it will provide the default value of "todo.anylist_alexa_shopping_list" . This does not appear to be working for me.

Does anyone know what I am doing wrong or can tell me where to find a good place to ask JS questions?

scenic current
#
[[[ try { return
    hass.states[variables.var_assistsat_entity].attributes.data["list"]} 
    catch (error) { 
   return "todo.anylist_alexa_shopping_list"}]]]

Is this even close? Desperate and trying to see if chatgpt can get me closer. This does not work though

thick stratus
#

Anyone used the Kiosker app for a wall mounted iPad?

willow berry
#

Hi, how i can add button in the menu bar ?

tacit cave
#

depends on what you want it to do, and I'm assuming you're talking about the sidebar?

willow berry
#

Yes right be cause i switch frigate into a docker but i want to re add the button in my side bar

tacit cave
#

You'll need to make a custom sidebar button using JS

#

or you could attempt to add a dashboard that points to a url

#

choose "webpage" when creating the dashboard

willow berry
#

I found this : - name: Frigate sidebar_title: Frigate sidebar_icon: mdi:camera url_path: http://192.168.2.78:5000 module_url: /local/example-panel.js embed_iframe: true require_admin: true config: ingress: core_configurator but they return me t my dashboard

tacit cave
#

did you even try what I suggested?

willow berry
#

Yeah but i dont want a button on my dashboard..

tacit cave
#

it's not going to create a button on your dashboard

#

it's going to create a dashboard that you can put in the sidebar

#

so you definitely didn't try what I suggested

willow berry
#

Ahh !

#

So i dont have https on my frigate docker but my HA using it

dense spear
#

does anyone have a working Custom-Template-card that uses an entities data for CSS. like changes picture elements card hue based on a lights colour or something I can have a look at. struggling here

tacit cave
#

that's very cryptic, please elaborate

dense spear
tacit cave
#

states['light.abc'].attributes.brightness

#

for brightness

#

color depends on many factors

dense spear
#

its the syntax of the whole picture elements card inside a custom template card im struggling with. I need to use a sensors value to change some SVG

#

sorry if im not being clear

#

I have got it to work so so many times over months but the code may work but it just never actually displays

tacit cave
#

post your code instead, I can't understand waht you're asking but I can read code.

dense spear
#

ive never got anything to change based on sensor/light values. I was hoping someone just had some example working code I could reverse engineer. I cant find any examples that fit my use roughly

#

the SVG i can get to work perfectly. I can enter manual numbers instead of sensor names and it works perfectly. just not reading from a sensor

#

the window animation works and swings perfectly with hardcoded numbers

tacit cave
#

Your config template needs to be the top most card

#

If you want the image to rotate

#

As for color, I’m assuming you want white to change?

#

Or the color in the svg?

dense spear
#

no just the opening. I mentioned colour because I was trying to do similar stuff with a floorplan and lights and couldnt get that to work either. so im assuming my mistake is the same

tacit cave
#

Then it needs to be the top most card

dense spear
#

do you mean like this roughly

#

that code I just sent doesnt draw anything at all

tacit cave
#

Yes, like that

dense spear
#

Nothing gets drawn at all

tacit cave
#

Check F12 and see whats happening

#

the only way for config-template-card to adjust other cards is if it's the top most card.

dense spear
#

ah okay. I appreciate the help btw Im tearing my hair out over this. been weeks

#

oh it was the bracket at the end

#

it works!!!! thank you so much

mental crag
#

Hi, how can I adjust the size of a column in a grid card?

#

I am doing:

         style: |
           ha-card {
             width: 120px;
           }

but that only sets the size of the component and not the actual column

tacit cave
#

f12 and try to find the element to adjust

#

also, check the forums, there's a huge card-mod thread with a ton of examples

dense spear
#

anyone know the best base colour for an accurate hue shift of an RGB light

#

like what colour do I make the overlay in photoshop so that it accurately shifts to the real life colour

scenic current
#

I swear I searched first. Can someone tell me how to add a sidebar link to HA that points to a website of my choosing? I think this used to be done with iframe but seems that has been removed?

vast crane
#

Dashboards -> Add -> Webpage

#

though it seems most websites want to block iframes, so prepare to be disappointed

vague blaze
#

There's also the Webpage card, but yeah, https is usually required from outside your network.

mild gate
#

is there a way to make the new Sections layout more 'reactive' - meaning, have it fit the resolution of a display?

#

I really like how Sections works, but it still feels like a single card with a grid or nested stacks is the only way to really control a layout for a dashboard

scenic current
mild gate
#

anyone using the upcoming_media_card ? I'm unclear on how to sort by medi type since that isn't an attribute in the plex recently added sensor

gusty vine
#

From my main HA instance I load a view on a remote instance in an iframe, on my android phone I use a Chrome webapp and it works perfectly and remembers my login details on the remote instance each time I close and re-open the webapp, but on iOS using either Safari or Chrome it doesn't remember the remote login details once the webapp is closed. Does anyone know how I can get this to work on iOS, maybe an extra setting in the x-frame-options or something?

analog summit
#

does anyone have an example card-mod to change the background of the card depending on a sensor value (that is a number, not a string)? I have tried a few different if else statements and cant seem to get it to work

golden mirage
#

Tile Card

analog summit
#

nadda, but let me tweak it a little to see what happens

golden mirage
#

remove '' then change ON with number

#

You must sure state is number
Usualy the state is string 😄

analog summit
#

Using your formatting, and making a double declartion i got it to work...and idk why, becasue it shouldn't lol

golden mistBOT
#

@analog summit I converted your message into a file since it's above 15 lines :+1:

golden mirage
#

Double card_mod:

analog summit
#

mhm. whch changed the background as intended, but the logic doesnt actually work, whoch makes sense

golden mistBOT
#

@analog summit I converted your message into a file since it's above 15 lines :+1:

analog summit
#

Doesn't work at all...

golden mistBOT
#

@golden mirage I converted your message into a file since it's above 15 lines :+1:

analog summit
#

wait, i see im missing the ' ' in some of them so let me fix that

golden mirage
#

You must add '' in
--ha-card-background: '#973632' !important;

analog summit
analog summit
golden mistBOT
#

@analog summit I converted your message into a file since it's above 15 lines :+1:

analog summit
#

Taking your exact example and setting the state via dev tools doesnt change the background, it stays the red color

#
type: entities
entities:
  - sensor.surgas
card_mod:
  style: |-
    ha-card {
      {% if states('sensor.surgas') > '80' %}
        --ha-card-background: rgba(80, 69, 69, 0.8) !important;
      {% else %} 
        --ha-card-background: rgba(180, 69, 69, 0.8) !important;
      {% endif %}
      color: white !important;
      --primary-text-color: white !important;
    }
golden mirage
#

{% elif states('sensor.surgas') '130' %} is wrong compare

#

{% if states('sensor.surgas') << '89' %} ---> {% if states('sensor.surgas') < '89' %}

#

Sorry, format corect is
--ha-card-background: #000000 !important;
Don't have '' at #000000

#

you can change condition in elif for result

#

use if endif for each conditon
Don't use elif

safe pike
#

What do themes really do?
I thought they just defined CSS variables (custom properties), but I've tried accessing one from a browser_mod popup styling rule, and from there, it is not accessible.

#

I guess the <browser-mod-popup> element gets injected right into the body of the page, and the theme variables are set somewhere below?
Is this just a known limitation to live with? I couldn't find it documented anywhere.

worldly island
zenith stag
safe pike
zenith stag
tribal galleon
weak mica
#

Copying here from #integrations-archived .. Has anyone been able to get UI-Lovelace-Minimalist to install? https://github.com/UI-Lovelace-Minimalist/UI/issues/ myself and a large number of other people, cannot get it to install at all over the last 3 weeks. Mine hangs on the configuration screen and now my lovelace adaptive-dash example doesn't look correct at all . I don't think I can paste screenshots here, but it's basically text only

upper dew
#

Does anybody know how to remove the tap action from history-graph cards?

blazing wren
vast crane
#

history card does not support tap_action

upper dew
#

Oh I think maybe you were responding to rosemary, gotcha

hard blaze
#

is there a way to remove background color on a picture card?

analog summit
#

also, thanks for the examples, they will come in handy for some other projects down the line

tribal galleon
# analog summit Whats the line for background instead of icon? and in all honesty it would be aw...

In the example, you'll notice there is two spots for card_mod. The icon portion is indented under an entity to modify that specific entity. For the background color, you were on the right track in terms of the indention. background: should work. In the example, I selected none.
The forum has a lot of info. Follow the link in the first post for lots more examples specific for the stock cards. Link

analog summit
#

ohhhhhh I need it for the card and not the spefic entity...that makes sense when looking at it that way, let me give it a shot! (hate when its something so simple that you should have caught and didn't 😄 )

golden mistBOT
#

@analog summit I converted your message into a file since it's above 15 lines :+1:

analog summit
#

what am i missing here? I am almost certain its a formatting issue

analog summit
#

Finally got it working correctly and added in some extra design stuff. here is the code for anyone looking for this in the future

golden mistBOT
#

@analog summit I converted your message into a file since it's above 15 lines :+1:

zealous heart
#

Hello, anyone can explain me how to use the decluttering template. I don't understand where I should put it :/

#

Where should I put the template, I tried to put it in the configurator yaml but it's not working

vague blaze
#

No, it would be in the yaml for the decluttering card above the card: declaration.

#

(You also might be able to put it in the yaml for your dashboard/view as well).

zealous heart
#

But then it's available only in one dashboard ?

#

The thing is, the template disapear when I close the yaml page

#

and the declutering card isn't available :/

vague blaze
#

Yeah, not sure to be honest then. It is an old card (last release was 2023/04/02).

fluid sparrow
#

Not sure if this is the right place to ask... I think I lost a bit of functionality on my light sliders at some point. When I slide up and down I see the % on the side changes, but not the big digits at the top. Is that a change by design or is my system just being wonky? I ask because when I use my fat fingers on the screen left-handed it covers the digits on the side and I can't see the number I'm choosing

hasty ruin
#

how can i make any device use a light card i need this bcs. by lights are just switches controlled by rademacher

vital burrow
hasty ruin
#

whats "Switch to X helper" cant find it :/

vital burrow
hasty ruin
#

found it! under helpers its called "Change device type of a switch"

#

thanks! :)

tribal galleon
#

The decluttering-card templates go into RAW Configuration for the dashboard. Edit the dashboard, click the three dots then choose RAW Configuration editor. (Be careful in here, especially with indentation, because you can break the dashboard.)
This is a good tutorial on the syntax and how to use the decluttering-card: Home Assistant Decluttering Card Tutorial by SmartHomeScene.

ornate isle
hard blaze
#

Good morning 🙂
Does anyone know if it is possible to make buttons with this kind of border style / proress bar

zenith stag
hard blaze
hard blaze
golden mirage
hard blaze
zenith stag
hard blaze
# zenith stag Nice work:) did you add the radius to the border?

Yes sir 🙂
I changed the background color of the card, just to show the porblem 🙂

The styling:

card:
    - box-shadow: var(--box-shadow)
    - padding: 1rem
    - background: var(--contrast-0)
    - border: 10px solid
    - border-radius: 25%
    - border-image-slice: 1
    - border-image-source: conic-gradient(at 25% 30%, white, white, green)
golden mistBOT
#

@golden mirage I converted your message into a file since it's above 15 lines :+1:

golden mirage
hard blaze
#

oh nice @golden mirage 🙂 but i will probably have the same issue with the border radius though 🙂

hard blaze
#

yeah been in there looking, but not exacly liking the answers hehe

#

looks like card-mod is the way to go, but was hopint to avoid it hehe

#

i forgot to say thanks @golden mirage , rude of me not to!

spring pollen
#

Hi! I wonder how I could make it via lovelace-card-mod so that when I click on the <ha-svg-icon> full screen it switches to full screen and instead of the low resolution video it is link to camera in HD resolution? Thank you.

vital bronze
#

Hi, how do i do so the icon on my custome mushroom chip card is same color both off and on?

hard blaze
zenith stag
vital bronze
hard blaze
vital bronze
hard blaze
zenith stag
hard blaze
zenith stag
#

no idea if it works, just thinking that it should haha

hard blaze
#

well we have to try to figure it out 🙂

#

thanks for helping dude, will try later today, need to do grown up stuff.. booooring 😛

hard blaze
# zenith stag

You're too fast bro! 🤣 Can I borrow your brain for a week?

hard blaze
# zenith stag

Copied some of yours, and used background: conic-gradient(white 20deg, black 18deg) this works like a charm so fare 🙂 thanks!

hard blaze
#

Button-card, gradiant border

red socket
#

frontend viewed via firefox 127.0.2+linuxmint1+virginia has a bug where the sidebar takes up "double width"

#

might be because the loading screen is still shown upon page load... 🤔

#

also... the frontend will "reload" every couple minutes. extremely annoying haha

#

FF 127.0.2+linuxmint1+virginia

tepid locust
#

Question. Is it possible to have a YAML file-based dashboard without having to move all my dashboards to files? The documentation more or less implies that but I want to make sure.

I want to test out UI Lovelace Minimalist but I don't want to migrate all of my dashboards to YAML.

tacit cave
#

if you swap to yaml, your main db needs to be yaml

#

otherwise you can just add yaml-only dashboards

tribal galleon
#

Both dashboard modes can be run at the same time. ```yaml
lovelace:
mode: storage

Add yaml dashboards

dashboards:
lovelace-yaml:
mode: yaml
title: YAML
icon: mdi:script
show_in_sidebar: true
filename: dashboards.yaml```Adding more dashboards with YAML
@tacit cave does Minimalist do something prevents running this way? This is what I'm running (no Minimalist).

#

@tepid locust see above

stuck spire
#

are the dashboard "badges" customizeable?

#

(if so how, I can't get to an editor beyond the list of entities to add)

#

nvm got it.

tribal galleon
red socket
tacit cave
red socket
hasty ruin
#

how can i make my buttons and switches just change they're state when they are pressed and not when they recessive the verified state of the device
example: i press a button 4 times in a row
what i want to have sent: on - off - on - off
what i don't want to have sent: on - on - on - on

vague blaze
#

You might be able to do something with a toggle helper that toggles on each button press though.

distant oracle
#

im reading energy dashboard in the documentation and online but am unable to find such or create one. does this not exist anymore or am i missing something in the configuration?

vague blaze
distant oracle
#

im updating constantly

#

2024.6.4

#

is there some way to disable it? maybe i did that in the past

vague blaze
#

You can't disable it, but you can hide/unhide it from the side panel. If you click and hold on the Home Assistant in the side bar for a couple of seconds, it'll put the sidebar into edit mode. You should see Energy with a + next to it there.

#

It'll look like this:

distant oracle
#

why is it so different for me? and no enery

#

weird

vague blaze
#

And logbook either. Is this a new install?

distant oracle
#

nah, its super old. years

vague blaze
#

Do you have default_config: specified in your configuration.yaml?

distant oracle
#

nope

#

is that something that should be in there? was always wondering how i can check for updates in my config.yaml

vague blaze
#

That's why. You need either energy: or default_config: in your configuration.

distant oracle
#

its super old and maybe missing some newer stuff

#

what else am i missing from all those years? xD

#

thanks i will try

vague blaze
#

lmao I dunno? If you post up your config.yaml, I can see?

distant oracle
#

is there some doc whats behind default_config ? cant find

golden mistBOT
delicate wharf
#

I am no longer able to connect to homeassistant from homeassistant.local:8123. I have had a quick look arround on the fourms and subreddit and couldn't see much there. I have a suspicision it may have something to do with the lets encrypt adon (probably me setting something inccoretly) as this issue started about a month after I installed it

mighty chasm
delicate wharf
#

Which is what confuses me

mighty chasm
#

Ok so you likely have a dns issue with your router or on your computer.

#

Not a front end issue.

dark dirge
#

It just means that mDNS isn't working on your network

delicate wharf
#

Where should I move it?

dark dirge
delicate wharf
#

Thanks! that makes more sense I will re post it over there

dark dirge
#

Just use the IP

#

mDNS isn't always reliable

delicate wharf
#

Ah okay, it was really nice when it was working before

dark dirge
#

You probably won't find someone who will help debug mDNS for you

delicate wharf
#

But if it isnt as reliable

dark dirge
#

Well, it stopped working for you 🙂

delicate wharf
#

All good, I will have a quick google to see if it is a simple fix

dark dirge
#

It's easily broken or confused

delicate wharf
#

But I will probaboly just leave it

mighty chasm
#

Depending on your router, you could do a dns entry manually which is what I did. I still do by IP when coding to be safe though.

delicate wharf
#

:0 now I can't even access it via it's local IP

#

Something appears to have gone even wronger

golden mistBOT
#

@modest nacelle I converted your message into a file since it's above 15 lines :+1:

late sluice
#

is it possible to change color on an icon based on a helper variable or a sensors data?

lone briar
#

Has anybody else’s servercontrol sidebar not been working for a wile now? Just goes to a blank page

ebon fractal
#

I was told this channel might be a better place to ask this question. I used to have a Home Assistant installed on my PC as a "Chrome app" or whatever it's called. This morning, it's gone and there's no option to install it as an app again. Any idea how to get that back?

ebon fractal
#

For example, I have apps for Youtube TV, Youtube Music, and Google Messages. They're pinned in my task bar.

lone briar
lone briar
#

i dont even see create shortcut

vague blaze
lone briar
#

Anonymous Username
Add Short cuts missing
The option has been moved under "Save and share".

#

just tested and it works with home asst

lone briar
lone briar
ebon fractal
lean prairie
#

Hi! Don't know if I'm in the right subchannel but can anyone help me out with general theme.yaml?

#

Or how the themes work in the File editor? I do already have a themes folder

vast crane
#

You can ask your questions here.

lean prairie
vast crane
#

This #frontend-archived channel would be appropriate for asking questions about themes. As for "stuff"... 🤷‍♂️

lean prairie
#

Yeah frontend, everything with dashboards

#

You name it

radiant marsh
lean prairie
tribal galleon
lean prairie
#

Allright but some discord servers were very strict about this

#

I think i also had this with home assistant a while back

stuck spire
#

…what is your question?

neon meteor
#

It is a lot of convo about asking a question when by now the answer would probably have been presented 😄

lean prairie
stuck spire
#

Yes

stuck spire
#

And that was answered

ebon fractal
stuck spire
lean prairie
lean prairie
tribal galleon
#

So we're discussing about to procedures in order to ask a question but yet the question still hasn't been asked? 😕

stuck spire
#

Correct.

vital burrow
#

Worst, what could happen, is that we send you to the correct one. Most people survived their first contact with us

tribal galleon
#

That, and Tinkerer usually doesn't hang out in here so this is usually a safe space. 😛

hard blaze
lean prairie
#

And in the worst case, just put it in general

#

Okay but we are whiling away

#

Ill explain

dark dirge
tribal galleon
#

I was very careful not to tag him. 😆

lean prairie
#

I think i found it

vital burrow
lean prairie
#

a file and i think i should copy this over in the file editor in the themes map if i'm correct?

stuck spire
#

You STILL haven’t asked a question

lean prairie
#

I did right?

stuck spire
#

I give up. Good luck.

vital burrow
#

There has to be a themes directory and it has to be included correctly in the configuration.yaml

tribal galleon
#

By the looks of it, this is a more advanced configuration that the Dev is showing. I don't think it is meant as a simple copy&paste but more of an "adapt it to your needs" kind of thing. Which also means understanding what is needed, where, and how, for example.

lean prairie
#

Yeah i understand

tribal galleon
#

With that said, is there a particular element that you're trying to replicate or just trying to get the whole thing to work on your side?

lean prairie
#

Trying to get the whole thing to work on my side yes

tribal galleon
#

Okay. Then in that case, it is going to require a bunch more than just the theme.

lean prairie
#

I understand

tribal galleon
#

If you look at the Download section, you'll see all the dependencies that is required. Kiosk Mode , custom:button-card ,layout-card, card_mod, etc. (All common third-party stuff, hence the links above added via AutoHotKey.) Installing those is going to be the first place to start.

lean prairie
#

I already did these

#

But on the download page you also see this. And on the github page you can download that file and this is already integrated

tribal galleon
#

I suggest using the GitHub and the instructions as more of a guide. Use it to slowly incorporate the elements into your dashboard.

neon meteor
#

☝️don't try to eat the entire cake in one sitting, take one bite at a time

tribal galleon
#

If it is already integrated, then it is probably more-or-less showing how it can be added to your specific configuration without needing everything from the Dev.

tender pine
#

i'm trying to put a image in my frontend with - background-image: url("local/image.png"); i cant get it to work tried "/local/image.png","./local/image.png","media/local/image.png","/media/local/image.png","./media/local/image.png" it seems te never work
only if i apply the full http addres the image shows up 😕

tribal galleon
tender pine
#

ill try that thanks

tribal galleon
tender pine
tribal galleon
#

Did you re-do the mapping to change that? I'm pretty certain that the images need to be in /www/. (And now that I think about it, if the mapping was changed to /media, it would probably break the dashboards...)

hard blaze
#

place it in www, and use this path "local/images.png"

i just did this, and i used this in a card: image: local/images/vehicle/mg5.png

tribal galleon
#

That would explain why the image shows when you use the full path because /media/ is a shared folder on your network Try putting the image in /www/. Also, if the image is in /media, I don't think it will show up if you are outside your network (like at work). But, it will work if it is in /www/.

golden mistBOT
#

@fast steeple I converted your message into a file since it's above 15 lines :+1:

fast steeple
#

*it shows up vertically, icon above the name

hard blaze
tribal galleon
#

@fast steeple Try adding layout: icon_name.
custom:button-card Layout options

fast steeple
#

k, gimmi a moment thanks

fast steeple
hard blaze
#

Yes.. this is all in one card

tribal galleon
#

It has some pre-defined layouts available, but when you define your own with grid, you get more flexibility and options, but it is a bit harder to configure.

fast steeple
#

ah

tribal galleon
#

Pak11 he's referring to using a grid layout; not using a separate Grid card.

hard blaze
#

One example:

styles:
  grid:
    - grid-template-areas: '"n n" "s i"'
    - grid-template-rows: 1fr 1fr
    - grid-template-columns: 1fr

n = name, and will be on top in the button card
s = state and i = icon, will be side by side

tribal galleon
#

It's in the Advanced Styling options LINK.

fast steeple
#

oh ok, something i may need to learn at some point then.

#

the layout: icon_name worked

hard blaze
#

I actually didnt know the layout: icon_name existed mindblown

tribal galleon
#

You're just learning all kinds of stuff today. 😉

fast steeple
#

i keep having to change my room cards to something else because every time i open overview it freezes after 2 minutes. i have 12 rooms and HA seems not to like too many lines of code or something

hard blaze
fast steeple
#

i wnet from banner card to something complex to other random options, now im trying button cards

tribal galleon
#

Promise you, you probably don't have too many lines of code... My LAB dashboard is over 10k lines. Tablet dashboard with multiple rooms is almost 4k lines.

tender pine
hard blaze
hard blaze
fast steeple
#

oh so other things may be causing my freezes then. lovely lol

#

I've been running HA for over a year now and i still feel like i just started learning yesterday ugh

hard blaze
tribal galleon
#

You could start incorporating custom:button-cards, you can use Configuration Templates and reduce the lines of code (though it doesn't really change memory usage.) The template itself is 45 lines long.yaml type: custom:button-card template: generic_custom_button entity: light.office_lights name: Office icon: mdi:desk hold_action: action: navigate navigation_path: /fire-main/office

tribal galleon
neon meteor
fast steeple
#

not gonna lie, all that scares me lol, but i really like to torture myself so i will probably be diving into those at some point

hard blaze
#

or... not one button card.. its a button card insdide the buttoncard... inside the button card again hehehe

fast steeple
#

ugh having a day....

fast steeple
#

thanks for the tips all, gotta run and do chores before the long weekend of relaxing

tribal galleon
# neon meteor And now I want to see your dashboard 😄

My dashboard is nothing fancy. Simple, really. This one is from a Fire HD 10. This one uses an animated background (so I cannot screen capture it properly). The big button incorporates a bunch of extra stuff. Timer duration, automation status/toggling, how long it has been on, current kelvin/RGB. The button's background changes based on RGB, if applicable. The little buttons toggle and can navigate to that room's dashboard. There's pop-ups available with some buttons. I need to change the weather radar. I have something different running on the 24" touchscreen that I like better but have not put it on the tablets yet. There's a conditional card that also appears above the weather when Plex is playing. dashboard.yaml which is a little outdated as I've moved some stuff out of it since posting.

neon meteor
#

That's a nice dash, but it looks like a lot could have been done with native AI, what's the extra coding giving you other than some obvious design changes? Pure curiosity, not criticizing at all

golden mistBOT
#

@paper stone I converted your message into a file since it's above 15 lines :+1:

tribal galleon
#

@paper stone Believe the themes line is supposed to be indented two spaces (to "place" it inside the frontend section). From mine: yaml frontend: themes: !include_dir_merge_named themes/You'll more than likely need a restart after making that change.

hard blaze
paper stone
tribal galleon
#

Did you add two spaces?

paper stone
#

I did.

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_list themes

tribal galleon
#

try adding the / at the end of themes

#

Maybe it is something with include_dir_merge_list. I forgot what options are available for the !includes. Mine uses named instead of list.

paper stone
#

Just tried that, and I got the same error.
The system cannot restart because the configuration is not valid: Invalid config for 'frontend' at configuration.yaml, line 6: expected a dictionary for dictionary value 'frontend->themes', got []

frontend:
themes: !include_dir_merge_list themes/

#

I've tried with named and lists still a no go

dark dirge
tribal galleon
#

From a forum post from 2019:

I have tried to use include_dir_merge_list but does not works!
I have found that with the include_dir_merge_named all works fine!
I have found this way to load themes split in multiple files:
themes: !include_dir_merge_named themes/

dark dirge
#

which is what's documented there

tribal galleon
#

RobC could an issue within one of the theme files be reflecting the error in the !include?

dark dirge
#

it's not magical - if the thing you're including expect a list, use _list, if it expects a dict, use _named

#

that error above specifically indicates that it got a list, when it wants a dict

paper stone
#

I've created a themes folder, and I changed list to named, which worked. Thank you for being so helpful @dark dirge and @tribal galleon

tribal galleon
#

I intentionally broke one of my themes and the error reflected where the break was. (Had to try it out of curiosity.) 😄

Configuration errors
Error loading /config/configuration.yaml: mapping values are not allowed here
in "/config/themes/derek_dark/derek_dark_theme.yaml", line 15, column 24

paper stone
#

Thanks, this is all a learning for me.
I'm learning to read and trying to understand the code and debugging along the way. Yesterday I tried adding the indentation and changing names to list and back again and nothing seemed to work.

tall monolith
#

is anybody else using the team tracker integration and team tracker card? my dashboard is saying there's no such card now.

fast steeple
#

type: 'custom:teamtracker-card'
entity: sensor.team_tracker

fast steeple
tall monolith
#

Yes it should, but it does not

#

actually, it does work on mobile but not on web

fast steeple
#

hmmm, not sure then, mine is working on chrome. has no info though as im following NHL and its done for the season

tall monolith
fast steeple
#

i guess open an issue on its git?

hard blaze
#

You need to clear the chase in your browser if I'm not mistaken

tall monolith
#

clear the chase?

#

I deleted all site data in chrome for my HA, still that error.

#

safari showed the error for almost 5s before loading the card

#

so that's weird. firefox and all of the apps work fine. chrome is wrong on two computers, including one that had never opened it before

tall monolith
radiant marsh
#

Quick question: is it possible to embed a subview into another dashboard page, kinda like how you can use !include in YAML?

tall monolith
#

what's a subview?

#

oh, nm. i found it in the documentation

vital burrow
#

You can include that subview's URL with a webpage card (with the http/https caveat). But it might have some sideeffects

fast steeple
#

like my all night drinking a few weeks back

tribal galleon
#

@tall monolith TeamTracker seems to be working for me on Firefox, Chrome and Edge on PC, HA app on Android, and Fully Kiosk Browser.
Has it ever worked for you? I remember having some issues getting it set up. (I don't remember the specifics but can tag you in a thread.)

tall monolith
#

It's been working for a couple of months

golden mistBOT
#

@civic brook I converted your message into a file since it's above 15 lines :+1:

civic brook
sterile matrix
ornate isle
#

Hello guys, I am trying to design a water tank so that bubbles appear inside the card , but no bubbles appear even though the code is correct.
can you help me https://pastebin.com/yCn9bRSs

spark spear
#

H hello there I'm trying to get the time remaining displayed with my dishwasher.

#

Here is the code:

show_name: true
name: Dishwasher
show_icon: true
show_state: true
icon: mdi:file
entities:
  - entity: sensor.geschirrspuler_remaining_program_time
state_color: true
#

It looks like this:

#

I would also like to use it with time bar to show progress could some one help me or guide me too ?

spark spear
#

That's the guy I followed love his videos too but I can't get the moving bar to work like he does

hard blaze
#

Does anyone have a good way of sharing the guest network in a QR code, when using Unifi with PPSK? I get only one image / QR from the integration.

spark spear
#

That's what it looks like from the guy in the video you send

#

Not sure why it does that with the time

#

I can send the whole code later if you like

hard blaze
#

What sensor did you use?

spark spear
#

'sensor.geschirrspuler_remaining_program_time

#

That is the sensor I am using

#

I'll send the whole code later ok ? I'm on my phone now and can't make a text file with it.

hard blaze
#

you might need to template the sensor to get the right output you want

spark spear
#

Do I need to but that template in the config ?

#

That I was also unsure of

hard blaze
#

there might be a helper, i dont know.. i did it in sensors.yaml file

#

Thread

sharp tinsel
#

Hello. I installed Bubble Cards in HACS but I see this, and I am unsure of what it means. I cannot seem to load the cards, and I have cleared the browser cache

hard blaze
sharp tinsel
hard blaze
sharp tinsel
#

Heh

#

The UI isn't that great in HA tbh

somber plume
#

Hi, I have some trouble with the iOS app on my iPhone. The app is so slow and laggy. I tried to remove the app and the corresponding device in home assistant and set it up from ground up but it is still very slow and laggy.

On Safai on my iPhone it behaves the same .

On my laptop the fronted is fast and snappy.

If I clear the frontend cache on the iOS app it is better for some time.

I already posted this in the
iOS channel but they say it’s more on the front end to search

hard blaze
daring hound
#

Does anyone have any information on how to put a dashboard on a Google Nest Hub?

daring hound
hard blaze
#

You can use the normal google cast app, and just push the "on" button , and then browse what you want to play. Then you can choose media or dashboards

#

I believe that's through Nabu Casa btw. So it's not working for me

burnt cave
#

im having an issue in my lovelace where I am unable to see the top row(s). For instance the section titles are there but I can only see them when I scoll up (which then results in the scroll automatically and almost immediately scrolls back). Any ideas on how to resolve please?

daring hound
burnt cave
#

the second image is when i force the scrollbar (which enables me to see the headings). Note that the actual scrollbar on the right side is at the top in both images.

hard blaze
proven shuttle
#

Hello all, is there such a thing as a simple, straightforward battery level card? I've looked and found all kinds of stuff from inverters to battery overviews, but not a simple battery level indicator with a percentage.

hard blaze
hard blaze
#

Mushroom entity card works pretty easy

vague blaze
#

True.

proven shuttle
#

@hard blaze Ok, I'll give that a try.

#

@vague blaze NICE, but a bit too blingy for my liking 😉

vague blaze
#

Temps too.

hard blaze
#

That's my car battery card, but it's more advanced though

vague blaze
hard blaze
proven shuttle
#

Lol, I actually plan to look at it quite frequently.

vague blaze
vague blaze
vague blaze
proven shuttle
#

Maybe I'll look into coding a simple one myself one of these days, but CSS is not my strongest suit nor favorite pasttime

#

To quote Jeremy Clarkson: How hard can it be?

hard blaze
proven shuttle
hard blaze
#

Simple is good 🙂

proven shuttle
#

Incidentially, is there a way to add multiple entities at once as individual cards?

vague blaze
#

Outside of the auto-entities card, I don't think so.

proven shuttle
#

Hmmm. That might have come in handy...

hard blaze
#

You have the entity standard card

#

type: entities

proven shuttle
#

yeah that's what it gives me if I go via the entities tab.

#

Best way is probably to set one card up the way I like it and then just duplicate it until I have all my entities set up.

hard blaze
#

You can template the card you make

#

But not sure if that works on mushroom cards though. I only did with the button card

hard blaze
vague blaze
hard blaze
#

Could be real nice with my animated vehicle card

vague blaze
#

Oh for sure!

hard blaze
proven shuttle
#

... I bloody HATE yaml. What's wrong with some nice, unambigous json?

hard blaze
#

Well now I will have to use the whole day on figuring that out 🤣

hard blaze
vague blaze
hard blaze
proven shuttle
#

I also hate python btw. Call me old school, but giving up a nice, unabiguous structure just because you are too lazy to type a few braces should really be punishable by beating.

vague blaze
proven shuttle
#

Well, I suppose these things are sent to test us...

vague blaze
proven shuttle
tribal galleon
# proven shuttle Hello all, is there such a thing as a simple, straightforward battery level card...

I have a couple examples of simple (but customized) battery cards using Mushroom and custom:button-card. By using these cards, you can pretty much make them look however you want them to look with minimal effort. Examples
With the custom:button-card, once you get something set-up the way you want, you can turn it into a Configuration Template to easily replicate with minimal copying of the code.

hard blaze
#

so.. i have been trouble shooting for about 30 minuits, trying to figure out why my files are not changing after reboot.. and just realized i work in my own local files instead of the ftp server lol..

daring hound
tribal galleon
#

@civic brook you might look into adding some card_mod in order to adjust some sizes of the font, icon, and padding.

hard blaze
#

I have a question about shadows and grids. In a grid, I have two cards with outer shadows. I want the shadow to appear only on the outside, but since they're close together, the right card casts a shadow on the left card. Is there a way to fix this?

#

its bearly noticable... but when i noticed it, my eyes wont ignore it anymore hehe

tribal galleon
# hard blaze its bearly noticable... but when i noticed it, my eyes wont ignore it anymore he...

I wonder if it is possible to define the shadows per side? I know it can be done with borders. This is from a custom:button-card:yaml styles: card: - background-color: transparent - border-radius: 20px - border: 5px solid - border-left-style: solid - border-top-style: dotted - border-right-style: dashed - border-bottom-style: none - border-left-color: red - border-top-color: white - border-right-color: blue

hard blaze
tribal galleon
#

The only thing that comes to mind is micromanaging the z-index of each card to ensure they're stacked the way you want.

hard blaze
tribal galleon
#

Next suggestion:

hard blaze
#

and thats impossible hehe

zenith stag
hard blaze
golden mistBOT
#

@zealous heart I converted your message into a file since it's above 15 lines :+1:

zealous heart
#

Didn't thinked it will be too long for discord :/

zealous heart
coral helm
#

Hi all. I'm looking to render a "pie chart" ... Would you recomment apexchart ? latest version is 2 years old....mmm... Thx

tribal galleon
inland token
#

How do I do inline code for buttons? I tried this and found hundreds of old/obsolete examples that don’t work. I dumbed it down as much as possible. Is there any documentation, or is it all learn by example?

#

type: custom:button-card
name: Sonos
styles:
card:
- color:> [[[ return 'red' ; ]]]

#

I do not get red

tribal galleon
#

@inland token yaml color: "[[[ return 'red'; ]]]" or yaml color: | [[[ return 'red'; ]]]When you use a single line, it needs to be wrapped in quotation marks. When a multiline character is used, you don't use quotation marks.

inland token
#

Is it the pipe symbol, just > or >- ? I see examples with all of these. Guessing they changed it several times

tribal galleon
azure canopy
tribal galleon
#

That's one of the references I used and linked to.

azure canopy
#

Ah sure 🙂

#

Should have read until the Tip

zealous heart
fiery ledge
#

trying to get scrolling buttons in core HA dashboard with only card-mod, I am stuck....```
type: custom:mod-card
card_mod:
style: |
:host {overflow-x: scroll;}
card:

type: grid
columns: 4
row: 1
cards:``` is what I am after, but cant be done now because grid card doesnt support a row count, but for illustrative purposes, it seems to be the shortest way to show what I am after, see also https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744/6693?u=mariusthvdb

#

Ive also tried fiddling with horizontal-stack, but that card too is limited to a single view column width, so wont allow going beyond and compresses to fit inside that.

winged carbon
#

Is it possible to avoid automations running at HA startup? As an example I have automations running on the Sonos speakers if someone is at the door. As I usually works with my home assistant while my wife are at sleep, it is pretty annoying having her standing in the living room yelling at me for waking her up again. For sure I can turn off the automation but it run as soon as I turn it on again, and if I am going to turn it on later... well then usually forget it.

vague blaze