#frontend-archived
1 messages · Page 44 of 1
is there any component or way I can setting tuya led strip color mode (gradient , music , ... ) better than on off and change color
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
Is there anything under settings -> dashboards ->
-> resources?
curious whether restoring from backup has any impact on this?
I'm relulcant to test... maybe I can spin up a VM and disconnect it from the network and test...
I removed everything and every add on
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.
you have a litter room?
🤣 yes, 3 cats
large closet turned into cats room with outdoor ventilation.
huh
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
i have a closet that holds litter box and robot so the automation when it cycles doesnt send vacuum far
do you have a door flap for the vac to come and go and it closes out of sight when not in use?
it's a very fancy dashboard
unfortunately fancy is crashing too much and ill have to cut it down significantly
that or find what causing the issues
I only use my dashboard when something is wrong, so I haven't really spent that much effort on it
took 10 hours yesterday, and its 9 hours longer then i should have spent with it
no, closet partially covered so only lower half exposed where the litter and vac are
does a sweep around box after each cycle so we dont ever step on litter
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
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.
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
i saw a YT of a robot vac going into its own room under the counter with an automated flap, fell into a want catagory for me, but you could throw a door on the closet, put a cat door at the bottom and add a flap system with hindges lol
i want that hidden vac cabinet so badly
we might redo the kitchen next year, and if we do I'm getting that.
same, been drawing up the kitchen renos for a year so far and its looking promising
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
Seems like we're not talking #frontend-archived anymore. But #the-water-cooler is always open and a great place to talk about mini garage door for the robot vacuum 😉
#offtopic is very hit or miss. but i'll take your point in the spirit it was given
all good, got off topic too easily lol, im heading to take the pup to the vet shortly. thanks for the chat all. Nice to see you Rosemary
#the-water-cooler is where questions go to die.
Make the garage door for the robot open automatically, then it's #diy-archived
technically hes asking about turning the #frontend-archived of the cabinet into a garage door so
We’ll hit all the rooms… #hardware-archived #automations-archived #integrations-archived and so on.
anyone have a particular philosophy around creating a mobile dashboard? single vertical with horizontals? Grid? Mason vs panel?
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)
if you are working with a fairly default install, one way would be:
- make sure all your lights are assigned to their appropriate areas and floors (settings -> areas)
- make a script (settings -> automations -> scripts) for light.toggle that floor (or area)
- in your dashboard add a button card and make the entity your new script
Others should chime in too, there are certainly more elegant approaches and there may be some more user-friendly ones as well
do service target selectors accept floors now? 😕 it doesn't seem like they do
if I got into scripts and make a new one, this took me literally 3 seconds but only because my lights are assinged to areas
tbt I dont know
ah they do, it's hidden in areas
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
I'm trying, but it looks ugly compared to a room button 😁
It works thanks @mild gate ! Do you have a hint on how to retrieve the state of the lamps on the floor now? 👌😁
say more
@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.
that is a button card, right?
that looks like an Area Card
TIL area cards exist
channel settings 🙂
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
Is there something that is equivalent to card_mod thats built into HA? Trying to move away from addons
Dont think so. Nothing wrong with addons tho
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.
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?
A bar card could work
But that's not really a gauge
You probably can card mod it into a different shape
I'm looking at bar-card now
Or use apex-chart and style it to a minimum
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
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 🥸
did you look at the code? 🙂
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
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
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 🙂
Exhaust Air Heat Pump
Is there a working 3d floorplan card that is still working?
Probably in regards to hacs
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
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.
where do i find logbook?
oh, so it is, i was looking in settings. cool, thank you
someone have a idea to use a HA card into a webpage ?
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
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
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
when you say "set time" you mean the entities history?
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
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
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.
when you edit the view, there's a "visibility" tab in the view settings
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
maybe it needs a cache clear
@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.
Anyone know how to make it with css overlapping scroll bar x
For mobile
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
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
@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
I remember that some updates ago this was the default behaviour of the gauge card... Don't know why It doesn't work anymore.
I'd rather not be pinged, but whatever is happening it's the vertical-stack-card
sorry 'bout that
What doesn't work? It does nothing? More-info should be the default tap-action
that to me?
It does nothing 🙂
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
yeah it'll work right away, but then if I close HA and reopen it, it's blank
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
it'll work because I just came out of raw configuration editor, if I just start up HA, nothing
right. so submit a bug to the maintainer of that
it's that card
the vertical-stack-card? that's a bummer, I'll report. How do I grab a log?
I assume that might be helpful
no idea
I don't know - that's why I'm asking how
I have various installations of ha with dozens of gauges, I think they broke it since some time
it's not that card. I removed it, same problem
add it back, remove the next thing
keep doing that until you find the thing. but that card messed it up for me
I think that the problem comes from putting the gauge in a vertical stack.
If you put in the vertical stack it doesn't work, it works instead
I'm wondering if it's my theme
Found the error
@fading forum I converted your message into a file since it's above 15 lines :+1:
Maybe anyone can help me here, how do I remove the gradient on the media_control card. I already tried removing it via cardmod, but nothing worked for me:
@livid escarp I converted your message into a file since it's above 15 lines :+1:
I am looking for some links or tutorials on how to do this, not trying to get someone to solve it for me.
Take a look at my examples page. It should kind of get you started. Look towards the bottom. You'll need to use card_mod. I can probably help out in a couple of hours when I get off work.
@tribal galleon thank, will review the page, much appreciated.
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
@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
@livid escarp I converted your message into a file since it's above 15 lines :+1:
@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.)
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 %}```
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?
I suggest you look into layout-card to create one dashboard that fits all screen sizes. You might in the process however discover that it's quicker for you to create separate ones. It depends on the complexity 🙂
https://github.com/thomasloven/lovelace-layout-card
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
I disagree, you can def create cards that work for both devices. But getting away without scrolling would be a challenge.
Just for mobile/Smartphone. Cards are working on all devices, yes. But with more cards on a dashboard, it doesnt fit in all devices
@tribal galleon thanks for your help, that worked like a champ
@distant oracle I converted your message into a file since it's above 15 lines :+1:
Oho ok, is this message now visible for everyone still? 😄
yeah, so I can set time/scroll through history of entities
not possible
you can attempt to use the history explorer card, custom frontend card.
thx, I just want to see entities status history visualized on my home blueprint picture-card instead of just seeing them in a list, cause it's easier to spot everything changes anf effects of it
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
the frontend as a general rule does not use templates anywhere (except markdown card), so no you can't.
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?
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?
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?
which card are you using? More than likely possible using something like card_mod
anyone know how to cast a dashboard at a resolution above 720p?
what does your automation look like? and your theme files
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?
This is the automation:
description: ""
trigger:
- platform: state
entity_id: sun.sun
condition: []
action:
- service: browser_mod.set_theme
data:
theme: minimal
dark: "{{ iif(is_state('sun.sun', 'above_horizon'), 'light', 'dark') }}"
mode: single```
Theme it happens with any themes.
what if you use frontend.set_theme instead?
I have this in my automation and all works smoothly
sequence:
- service: frontend.set_theme
data:
name: MiniHass_Dark
It's the Samsung A8 tablet that won't get it otherwise
this is the theme I mainly use https://pastebin.com/sqCfRf6G
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!
you will need to add the entity to the card you wish to modify, then use the state to change the styling. Can the vacuums be added to a group helper? Then you should be able to set the group as the entity
oh so frontend.set_theme does not change the theme on the Samsung? are you not using the HA app?
I am using HA app with Fully Kiosk. Let me try again.
Weird, I am testing it using Developer tools, and it doesn't change the theme to dark
frontend set_theme can not change the light/dark mode
true, that is why I seperated my theme into two. One light and one dark. They are still in the same yaml file though so managing them is not much different
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.
Is it only a problem with the transition? like does it look different if you F5 refresh
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
that's not a thing. if that's a bug, than just write a github issue
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?
Make an input_select helper. Add the helper on your dashboard in a card (like entities card or tile card). An automation can run different actions when different values are selected in the dropdown.
@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.
Thanks a lot! The key was "helper", I'm pretty new to this world so I didn't know they existed. I'm studying 🙂
Can someone remind me what CSS controls line height? See the word 'Eggs' and how the bottom of the 'g' characters are being clipped.
or maybe a better question my be what is causing this clipping?
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
Again, I am a novice
This is the 'normal' to do list card
@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.
I played with it a bunch and everything I tried just moved the elements further apart and did not expand the route element to prevent the clipping
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"}
found the issue; effect has to be set as Random when using the Tasmota Integration
"effect": "Random"
Is this todo list?
Yes it is
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?
There's some info here: https://developers.home-assistant.io/docs/frontend/custom-ui/custom-card
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.
the element is ha-check-list-item, editRow and draggable are the classes
Okay. Thanks. Still very green at this. Can you tell me what I need to do to expand that row so that the text is not clipped?
negative
@acoustic ember I converted your message into a file since it's above 15 lines :+1:
Maybe this is what you are looking for: https://github.com/iantrich/config-template-card
type: 'custom:config-template-card'
variables:
- states['sensor.light']
entities:- '${vars[0].entity_id}'
card:
type: light
entity: '${vars[0].entity_id}'
name: "${vars[0].state === 'on' ? 'Light On' : 'Light Off'}"
Can someone please help me updating the rgb value to the button card.
{% set light_color = states.light.family_media_light_1.attributes['rgb_color'] | join(', ') %}
{{light_color}}
This provides me value as 123, 255, 35
I wanted to update the value to the button card dynamically, so if I change my LED color, the button change the color too.
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)';]]]
Solved using:
ha-check-list-item {
color: white;
font-size: 4vh;
line-height: 1.6;
}
line-height being the thing needing to be set
I was close by suggesting line-spacing. 😉
I have an example using card_mod that does what you want. It looks like you're trying to make a template for a custom:button-card. I never got around to making something similar to work natively in JavaScript, but I use the card_mod code with my custom:button-cards.
Card modding a button card to reflect the background as light's RGB
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?
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
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?
Its a service. You have to call weather.get_forecast
Thanks, I will try to do that. Last year the forecast data was right in the weather.home object (several layers down)
This is how I've done it.
target:
entity_id: weather.home
data:
type: daily```
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.
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
You're using a JavaScript return when card_mod relies Jinja even though it is in a custom:button-card.
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?
I'm not sure what you mean by that
If you created it through YAML, you could set the initial to true I guess?
I've used helpers, could I do it via the ui too?
Sorry... missed this. Nope. It's not available in the UI.
(One of the things that might come over to the UI eventually? lol)
Ah no worries, thanks. Hopefully 🙂
Ok. How do I use the variables? I tried using the curly braces and variable name and it didn't work. Crud. I may have forgotten the quotes
I didn't think about this when I responded earlier but you won't be able to use a JavaScript variable within a Jinja script (and vice versa). You could put the helper in some sort of helper that they both can access. I'll take a look at your card_mod later to see if it can't be directly incorporated into the custom: button-card perhaps.
okay. Yeah, I couldn't figure out what to do
I don't use node-red so I'm afraid I can't help you there.
#node-red-archived maybe?
thanks anyway, I received help in the node-red section and I have the data available now. I will just have to deal with the data now.
Try this...
type: custom:vertical-stack-in-card
horizontal: true
cards:
- type: entities
entities:
- entity: input_select.test
- type: entities
entities:
- entity: input_select.test
- type: entities
entities:
- entity: input_select.test
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```
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
yes, or in core with horizontal-stack, or even ```
- type: grid
square: false
columns: 2 #otherwise options get clipped
cards:```
all with the entities card as entities...
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
That's an unconventional setup
Normally, you would terminate SSL in NGINX and make a non-SSL connection to HA
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.
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.
I'm saying that your config doesn't make sense
Remove the base_url and ssl lines and terminate the duckdns connection in NGINX
what is wrong with it if I remove the scentences before use_x_forwarded
That's what I'm recommending
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
how are you trying to access it locally, i.e., via the IP address and http?
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.
FYI I just saw this. Looks like they changed it to get_forecsts with an "s", instead of get_forecast.
Has someone used config-template-card with Apex Charts?
Is there anyway to use iframes now ? or is it completely gone ?
Still the Webpage card or dashboard
what are you using it for?
ive tryed the webpage card, but you wont get the option to go to page from the quickpanel
what's a quickpanel?
side panel or what its called
For the sidebar? That's a webpage dashboard and can be created in the dashboard menu
from Jorg's link
but i cant open those that are in here
at the bottom, click "add dashboard"
You can. To configure them, klick on the dashboard's name, not on open
And to create one, as Tom said
i've never thought of anything I'd like to have as an embedded webpage. What are you planning to use it for?
ahh thx, i think i got it now
They also have some restrictions. They cannot show http pages over a https connection or if the page blocks iframes
missing the z2m page in ha
why not just turn that on from the addon?
oh, are you not using the addon? that would be a good reason, I guess
yeah, maybe i should try that 🙂
cant find the addon, is it only awalible for ha core ?
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
running it from docker
yeah, so that won't help. webpage dashboard ahoy
thx
and a solid answer for why to do that which nonetheless leaves me not needing it
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.
Some people miss the "warning" message in the docs and wonder, why it doesn't work 😅
yeah i know, but i do most of the settings from home, and thats running on http as its local
it pops up a message about why it doesn't work
Sir, do you expect me to read my error messages? 
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
Some others block that method for security reasons
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
yeah, and I guess NYT and Amazon would be likely to block that
Holy moly, you're a genius
Thanks a lot!
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.
I'm not sure of the specifics for HACS that you may see because I have experimental features enabled, but you should see something that this. Card_mod for example can be found by just typing card-mod. The weather card can be found with weather-card; it's the one that currently has 478 stars. The vertical-stack-in-card can be found by just typing vertical.
is the ESP32-S3-BOX-3 discontinued?
it was lol my bad
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
Is there a card for this:
Anyone know why i cant click anything on my ipad when it has kiosk mode on
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
Looks a bit like a sidebar view.
Late on the follow-up but that is exactly what I was looking for, thank you!
Lol endless struggle for me, I can somewhat do functional, and decent looking, but not the two together
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.
Appreciate this tip 👍
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
> 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.)
The move to view button isn't working for me. Is this a frontend bug or a core bug?
https://github.com/home-assistant/frontend/issues/20460
You can add your datapoint there. I looked at this once but was not able to reproduce it.
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?
i couldn't get it to work for anything
errors in browser console?
This doesn't work - I don't think that any state is reported at all.
it is only when moving things to the overview dashboard. I can move them from the overview to another dashboard but not back
Please add that information to the bug ticket, this can be tracked from there.
what's an easy way to put the web console on the issue? can it just be copy pasted?
posted
Looking into it a little bit more, it looks like someone reported a similar issue back in February. Issue 111837. There was no activity and the issue went stale and was closed. This integration only has about 500 installations.
thanks I think I found the bug 👍
@vernal abyss I converted your message into a file since it's above 15 lines :+1:
okay wow, that didn't send my pics, so here they are again:
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??
@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.
Hey, as you can see, the entity is empty. is it ok or not? I'm not sure....
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....
@copper shoal I converted your message into a file since it's above 15 lines :+1:
The image disappeared, there it is lol
Has someone seen an issue like this? Only happening on firefox... Trying to fix it for months
The card needs a media_player entity. The card is just a graphical representation of being able to interact with the entity. More than likely, you need to set up the Onkyo integration first.
Does this mean I'm SOL?
Since the ZAMG Integration isn't reporting values, I'm trying to combine info from the ZAMG Integration as well as the default Integration. Is that possible somehow?
#frontend-archived message
Woo hoo!
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.)
Your a legend
Ty
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!)
@zealous musk Website devs can disable the ability to show a webpage in an iframe. By the looks of it, that page cannot be iframed: https://iframetester.com/?url=https://zoom.earth
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
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.
Have you tried Weather Underground? Supports US, Canada, and Australia. (It is not interactive like what you're looking for but can at least provide radar images.) #frontend-archived message
Have you tried specifying http:// over https://?
@light wren I converted your message into a file since it's above 15 lines :+1:
@supple torrent try going directly to the IP address and not use the .local address (especially if you're on a Windows PC, IMO)
I think I do remember seeing that on a Reddit post somewhere, but it doesn't support the same type of quality map as the US version does - I've seen people integrate the site with great success in the US and when I last tried here, it gave me all sorts of hell. Think it has a different platform for AU. Might have changed since though!
Let me retry, and let you know
Good news and bad, it looks like WUnderground has developed their AU coverage much more now and seems, at least at a glance, to match what I generated over SF, US - but, same deal, no more embedding. Sad face.
I have tried both and get the same error. It wont connect
Is your HA on baremetal or a host like Proxmox?
it is a zimaboard
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?
Take a look at the weather-radar-card which relies on radar from RainViewer. There is also an iframeable option at https://www.rainviewer.com/weather-radar-map-live.html.
You're the best, thanks for your help dawg!
Will see what I can make work (and unclog the chat) 💪
Hmm. You're out of my range of knowledge i'm afraid but it sounds like you have a slow addin that's failing to load, or something doing network-y stuff that's taking over and changing HTTP/S forwards and/or triggering an AV. For the sake of troubleshooting, have you tried A) a different browser, B) a different PC, and C) rebooting all involved devices, including network switches/routers?
I have tried all, from diffrnet pc and browser. All I can think of is an addon or intergration is making it stop. I also read some say it could be my ssd dying. Im looking into that now
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?
not that i can think of at the moment. I only recently updated my ESPhome?
I bloody love you man. I feel like I unlocked unlimited power
I can takeover the world now
Or maybe just this tablet 
😂
thx, I will try that when I get back home from work. Do you also have an idea why the bar doesn't have a subtle background golor?
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?
Opening entity popup card from custom cards
Hmm. Really sorry, but I think you're out of my knowledge, except for your standard troubleshooting which I'm sure you've done or are doing yourself. You'd be better off I think with someone who can guide you through perhaps a shell connection or similar - do you want to maybe re-ask or link your question again and another smarter-y-pants can take over? Sorry!!
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
So I tried searching around a little bit and found the Platinum Weather Card which can be used for combining information from various weather sensors into a single card. I am struggling a bit with getting the formatting right, and with extracting information from the default home assistant Forecast (met.no) service.
are you using this one? https://github.com/tommyjlong/platinum-weather-card
No, I installed this one https://github.com/Makin-Things/platinum-weather-card
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
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.
They must have a state_class to have statistics recorded. You can check in developer-tools/statistics for all the entities for which statistics are recorded. Sometimes there's an issue there related to units or something that also cause problems.
Thanks. Since I have a temperature and humidity sensor I set the state_class to measurement. The change does not seem to apply to historical data. Is that right?
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.
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!
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.
(Genuinely asking) is that not handled through the web socket implementation now? There's a setting in /profile/general I remember seeing to not automatically disconnect after a period of inactivity, and I assumed that was related to web socket connections.
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.
here is my logs: https://logpaste.com/HgJjygDS
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.
that won't stop it from booting up or showing the main page
would that be a major issue to make my HA not start or loose connection so much
no
if that log is continuously populating, then HA is running. You just can't access it
now it will start and able to see the UI but after some time it will constantly loose connection?
No, that was just an example. But, along with the yaml errors, there do look like there are networking errors as well.
I will fix the yaml errors after i figure out the reason i keep loosing connection, Thank you for pointing out the Yaml though. Forgot about that
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.
is there a way to pin point the connection issue? im a novice with this lol
I appreciate any help
anyone can help with this please? #frontend-archived message
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.
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?
You activated the experimental features, which will be the default in the near future. You have more and better options now, than with the old style UI. Enjoy it
Yea, I’m not sure if the styling is just wonky with all that I have going on with the cards or what. I got it to kind of work but it looks like crap.
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.
do you have any browser extensions/plugins?
since you are allready using the custom:button-card, why not alse use it to make your headers/titles?
is there any way to edit the YAML for a type:sections without editing the entire raw configuration of a multiple view dashboard?
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
ah! Perfect! thanks!
can the markdown card take formatting? I tried a <span> but it ddidnt work
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?
[[[ 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
Anyone used the Kiosker app for a wall mounted iPad?
Hi, how i can add button in the menu bar ?
depends on what you want it to do, and I'm assuming you're talking about the sidebar?
Yes right be cause i switch frigate into a docker but i want to re add the button in my side bar
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
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
did you even try what I suggested?
Yeah but i dont want a button on my dashboard..
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
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
that's very cryptic, please elaborate
edited my message
states['light.abc'].attributes.brightness
for brightness
color depends on many factors
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
post your code instead, I can't understand waht you're asking but I can read code.
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
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?
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
Then it needs to be the top most card
Yes, like that
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.
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
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
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
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
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?
Dashboards -> Add -> Webpage
though it seems most websites want to block iframes, so prepare to be disappointed
There's also the Webpage card, but yeah, https is usually required from outside your network.
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
This is what I wanted. Thanks for the help.
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
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?
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
card_mod:
style: |-
ha-card {
{% if states('binary_sensor.pir_motion_pir_sensor') == 'on' %}
--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;
}
Tile Card
That's using a string and not an integer, but give me a minute and I'll give it a shot and see what happens
nadda, but let me tweak it a little to see what happens
remove '' then change ON with number
You must sure state is number
Usualy the state is string 😄
Using your formatting, and making a double declartion i got it to work...and idk why, becasue it shouldn't lol
@analog summit I converted your message into a file since it's above 15 lines :+1:
Double card_mod:
mhm. whch changed the background as intended, but the logic doesnt actually work, whoch makes sense
@analog summit I converted your message into a file since it's above 15 lines :+1:
Doesn't work at all...
@golden mirage I converted your message into a file since it's above 15 lines :+1:
wait, i see im missing the ' ' in some of them so let me fix that
not sure what you are showing here
added these and still nadda
@analog summit I converted your message into a file since it's above 15 lines :+1:
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;
}
Because state of entity is < 80
{% 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
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.
https://github.com/thomasloven/hass-browser_mod/blob/master/documentation/popups.md#styling-popups even mentions styling variables, and says they could be "set by a theme".
But I've set popup-border-radius: 100px; popup-min-width: 1000px; in the theme (and reloaded) and they don't seem to have any effect.
color quality and accuracy of different bulbs varies so much that there's no single answer for this. it's also possible that some bulbs can even display colors that your computer screen can't.
maybe you need the three dashes in front? ---popup-border-radius: 100px
I don't see that mentioned anywhere on https://www.home-assistant.io/integrations/frontend/#theme-format.
I've tried it nevertheless, and it doesn't seem to have any effect for me. Does it work for you?
I believe the -- syntax is just for accessing the variable from other CSS rules, often something like color: var(--accent-color)
That sounds about right. No I was actually having the same problem as you when styling a sunset-card. Could not to it through the theme so ended up using card_mod instead.
Remember that states are strings even if it is only a number. You need to convert the string to an integer (or a float) before being able to compare the numbers. This is done by piping the state to int (or float). (Int for whole numbers; float for numbers with decimal places.) And no quotes around numbers.```yaml
{% if states('sensor.surgas') | int > 80 %}
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
Does anybody know how to remove the tap action from history-graph cards?
Set the tap action to none?
https://www.home-assistant.io/dashboards/actions/
history card does not support tap_action
If you tap the line on the graph a more info window pops up
Oh I think maybe you were responding to rosemary, gotcha
is there a way to remove background color on a picture card?
Whats the line for background instead of icon?
and in all honesty it would be awesome to have a list of the availiable options which i am sure exists somewhere, just havent found it
also, thanks for the examples, they will come in handy for some other projects down the line
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
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 😄 )
@analog summit I converted your message into a file since it's above 15 lines :+1:
what am i missing here? I am almost certain its a formatting issue
Finally got it working correctly and added in some extra design stuff. here is the code for anyone looking for this in the future
@analog summit I converted your message into a file since it's above 15 lines :+1:
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
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).
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 :/
Yeah, not sure to be honest then. It is an old card (last release was 2023/04/02).
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
how can i make any device use a light card i need this bcs. by lights are just switches controlled by rademacher
You can use the Switch to X helper to convert switch entities to light entities
whats "Switch to X helper" cant find it :/
It is either on the more-info page of the switch, shown as "Show as" dropdown menu, or on the helpers page under + Create helper and switch_as_x
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.
Hi guys, I have this code that is supposed to show bubbles inside the rectangle but it doesn't, can you help me? https://pastebin.com/MimW7yca
Good morning 🙂
Does anyone know if it is possible to make buttons with this kind of border style / proress bar
I think "conic-gradient" is the key to this
that my friend is a good suggestion! Thank you 🙂
I got it working, but do you know how to get it to follow the cards border-radius? should e rounded corners.
Do i maby need to split it up into two custom fields?
do you can share code of this?
It is only a button card with a static border at the moment, nothing coded with sensors yet 🙂
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 mirage I converted your message into a file since it's above 15 lines :+1:
oh nice @golden mirage 🙂 but i will probably have the same issue with the border radius though 🙂
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!
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.
Hi, how do i do so the icon on my custome mushroom chip card is same color both off and on?
Probably an easier way, but you can use icon_color: '{{ ''color' if states(entity.you.want) == ''on'' else ''color'' }}'
Then set the color on both on and off same color
oh I did not know the gradient required a border image. Annoying
thank you, what about if i wanna just run a script? currently the icon color only changes when the script is running but i want it to stay the color all time
this might be a stoopid question, but did you try just styping "icon_color: red" and nothing more?
yes thats what i currently got
Indeed.. but considering using the card in card way, so the main card with gradiant background, and place another custom_field on top, and just changing the degrees on the gradiant.. not sure if it will work though
Im also thinking that you could fill a custom field with the gradient, and use a clipping mask to remove the center, in turn creating a border.
I will try a bit later, your version will probably be cleaner then mine 🙂
no idea if it works, just thinking that it should haha
well we have to try to figure it out 🙂
thanks for helping dude, will try later today, need to do grown up stuff.. booooring 😛
You're too fast bro! 🤣 Can I borrow your brain for a week?
Copied some of yours, and used background: conic-gradient(white 20deg, black 18deg) this works like a charm so fare 🙂 thanks!
Button-card, gradiant border
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
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.
if you swap to yaml, your main db needs to be yaml
otherwise you can just add yaml-only dashboards
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
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.
Are you using the actual Firefox or a "branded" Firefox for Linux? I was helping someone the other day with similar symptoms. I'll see if I can find the thread and tag you.
not sure. whatever mint ships with
no idea, I just know if you switch to mode: yaml for your dashboard, the main dashboard needs to be yaml. resources need to be loaded via yaml as well. If he can, he should attempt to run Minimalist as an added dashboard. I would assume it can be ran that way.
flatpak varient with same 127.0.2 version number has same problem
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
Buttons are momentary. You can't really do a on-off-on-off sequence that way unless the button supports a release event.
You might be able to do something with a toggle helper that toggles on each button press though.
i will try that thanks
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?
What version of HA are you running? The Energy dashboard is enabled by default. It's not something you can create.
im updating constantly
2024.6.4
is there some way to disable it? maybe i did that in the past
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:
And logbook either. Is this a new install?
nah, its super old. years
Do you have default_config: specified in your configuration.yaml?
nope
is that something that should be in there? was always wondering how i can check for updates in my config.yaml
That's why. You need either energy: or default_config: in your configuration.
its super old and maybe missing some newer stuff
what else am i missing from all those years? xD
thanks i will try
lmao I dunno? If you post up your config.yaml, I can see?
is there some doc whats behind default_config ? cant find
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
If you go to it by IP (https://ip-of-ha:8123) does it load?
Yeah it does
Which is what confuses me
Ok so you likely have a dns issue with your router or on your computer.
Not a front end issue.
It just means that mDNS isn't working on your network
Ah okay, I wasn't sure what the most appropraite chanell was
Where should I move it?
And right, #installation-archived not frontend
Thanks! that makes more sense I will re post it over there
Ah okay, it was really nice when it was working before
You probably won't find someone who will help debug mDNS for you
But if it isnt as reliable
Well, it stopped working for you 🙂
All good, I will have a quick google to see if it is a simple fix
It's easily broken or confused
But I will probaboly just leave it
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.
:0 now I can't even access it via it's local IP
Something appears to have gone even wronger
@modest nacelle I converted your message into a file since it's above 15 lines :+1:
is it possible to change color on an icon based on a helper variable or a sensors data?
yes you can use "if" statements.
there are some examples here: https://github.com/dsellers1/home-assistant/blob/main/examples.md
Nice, thanks
Has anybody else’s servercontrol sidebar not been working for a wile now? Just goes to a blank page
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?
No, like it was installed as an app on the PC. When I went to the Home Assistant URL, there was an Install button in the address bar of the browser and it created an "app" on the computer that could be pinned in the task bar. It would show up in the Control Panel as well as an app that you could uninstall.
For example, I have apps for Youtube TV, Youtube Music, and Google Messages. They're pinned in my task bar.
never heard of that or seen install on mine but i use firefox still
For Windows, Linux, and Chromebook users, you can add a shortcut to a website on the internet as an app in Chrome.
Open Chrome.
Navigate to the website you want to add as an app.
At the top right, click More .
Click More Tools.
Click Create shortcut.
Enter a name for the shortcut and click Create.
i dont even see create shortcut
This doesn't work on my version of Chrome. Seems to just be gone.
Anonymous Username
Add Short cuts missing
The option has been moved under "Save and share".
just tested and it works with home asst
they moved it
found the fix they moved the thing in chrome
Anonymous Username
Add Short cuts missing
The option has been moved under "Save and share".
That seems to have done the trick, thanks!
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
You can ask your questions here.
This is the correct server for themes and stuff?
This #frontend-archived channel would be appropriate for asking questions about themes. As for "stuff"... 🤷♂️
Now lets wait for response
That's something called a Progressive Web App. Depending on your browser of choice the steps to install it will be a bit different, but here's how to do it via Chrome:
https://support.google.com/chrome/answer/9658361?hl=en
Am i lazy?
Just ask your question. Don't ask if it is okay to ask a question.
Allright but some discord servers were very strict about this
I think i also had this with home assistant a while back
…what is your question?
It is a lot of convo about asking a question when by now the answer would probably have been presented 😄
Who me?
Yes
Here it is
And that was answered
Some discord servers are strict about simply asking a question? What? Why would a discord, that's main purpose is for support, have a problem with asking questions?
What is the specific thing you’re trying to do?
Well for organization
Take batocera.linux for example. If your question even slightly belongs to a different subchannel they are already mad
I mean its in what subchannel you put your question in
So we're discussing about to procedures in order to ask a question but yet the question still hasn't been asked? 😕
Correct.
Worst, what could happen, is that we send you to the correct one. Most people survived their first contact with us
That, and Tinkerer usually doesn't hang out in here so this is usually a safe space. 😛
You are indeed in the right channel... but what spesific question or problem is it that you want to solve? 🙂
And in the worst case, just put it in general
Okay but we are whiling away
Ill explain
only if you say his name three times in a row or @ him
Okay so I'm following these instructions: https://avenger11.github.io/HomeOS-doc/pages/Download.html
I was very careful not to tag him. 😆
I think i found it

https://github.com/avenger11/HomeOS/tree/main/themes/homeos its just on the site here
a file and i think i should copy this over in the file editor in the themes map if i'm correct?
You STILL haven’t asked a question
I did right?
I give up. Good luck.
here it is
There has to be a themes directory and it has to be included correctly in the configuration.yaml
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.
Yeah i understand
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?
Trying to get the whole thing to work on my side yes
Okay. Then in that case, it is going to require a bunch more than just the theme.
I understand
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.
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
I suggest using the GitHub and the instructions as more of a guide. Use it to slowly incorporate the elements into your dashboard.
☝️don't try to eat the entire cake in one sitting, take one bite at a time
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.
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 😕
I usually just use background: yaml background: center / cover no-repeat url("/local/front.jpg") fixed
ill try that thanks
Where do you have the image.png saved? Is it in the www folder or somewhere in media? (/local/ is mapped to /config/www/)
My media so that should be /local/
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...)
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
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/.
@fast steeple I converted your message into a file since it's above 15 lines :+1:
*it shows up vertically, icon above the name
You probably need to use grid to set the icon to the side, and then the name to the right.
k, gimmi a moment thanks
it says, from what i gather, that its do-able all in one card
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.
ah
Pak11 he's referring to using a grid layout; not using a separate Grid card.
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
oh ok, something i may need to learn at some point then.
the layout: icon_name worked
I actually didnt know the layout: icon_name existed 
You're just learning all kinds of stuff today. 😉
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
to much! i need vacation after this day! 😛
i wnet from banner card to something complex to other random options, now im trying button cards
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.
don't even think i have a www folder 🙂
i was about to say: my button card is about 700 lines of code... you just added a 0 and two to my awesome comment hehe
You can just add one 🙂 i had add it manually myself a while back
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
you will never stop having that feelig 😛
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
And... the majority of the cards on my tablet dashboard are templated so technically the number of lines would be a lot more if they're weren't. 😁
And now I want to see your dashboard 😄
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
All of this, is inside one button card 🙂 just to show you the flexibility you get by learning those cards.
or... not one button card.. its a button card insdide the buttoncard... inside the button card again hehehe
ugh having a day....
russian nesting doll for HA
thanks for the tips all, gotta run and do chores before the long weekend of relaxing
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.
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
That's a really cool UI
@paper stone I converted your message into a file since it's above 15 lines :+1:
I "outgrew" a lot of the stock cards kind of early on. The biggest thing with using the custom cards is being able to use templates (both JavaScript and Jinja) and the Configuration Templates in the custom:button-cards. The custom:button-card has it's own styling capabilities whereas the stock cards generally needed card_mod to make them look a certain way.
@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.
I strongly agree with this!
Thanks 🙂 all of it is inside a button card, so that's why I agree with @tribal galleon on the customization ability of the card
@tribal galleon Thank you for replying. I tried that and I get an error when I attempt a restart:
Did you add two spaces?
I did.
Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_list themes
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.
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
the instructions are here: https://www.home-assistant.io/integrations/frontend/#theme-configuration-splitting
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/
which is what's documented there
RobC could an issue within one of the theme files be reflecting the error in the !include?
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
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
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
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.
is anybody else using the team tracker integration and team tracker card? my dashboard is saying there's no such card now.
type: 'custom:teamtracker-card'
entity: sensor.team_tracker
with the integration, that should work
hmmm, not sure then, mine is working on chrome. has no info though as im following NHL and its done for the season
You need to clear the chase in your browser if I'm not mistaken
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
thanks for the help, I'll submit an issue
Quick question: is it possible to embed a subview into another dashboard page, kinda like how you can use !include in YAML?
You can include that subview's URL with a webpage card (with the http/https caveat). But it might have some sideeffects
like my all night drinking a few weeks back
@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.)
It's been working for a couple of months
@civic brook I converted your message into a file since it's above 15 lines :+1:
wOW - THAT ONE LOOKS GOOD !
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
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 ?
https://youtu.be/_aoO5CdymaE?si=BNWFpC6sVn9Sp1qD this guy has made a good guide
That's the guy I followed love his videos too but I can't get the moving bar to work like he does
I will try later, haven't done anything with mine yet
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.
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
What sensor did you use?
'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.
you might need to template the sensor to get the right output you want
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
You need to add the resources manually. You do this with the lines in your screenshot
Yeah I eventually figured it out haha
Nice work!
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
Are you connected with Nabu Casa on your phone app? I removed it and my app is a lot faster, but not sure if this is related to your problem
No I’m connected directly
Does anyone have any information on how to put a dashboard on a Google Nest Hub?
Through google cast integration
https://cast.home-assistant.io/
Thank you! I was having some issues finding somewhat recent documentation.
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
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?
Thanks! Luckily enough I have NC.. otherwise I can see myself spending hours troubleshooting why it did not work 😄
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.
No problemo. Did you get it working ?
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.
Mushroom cards are easy to use. Or you can use the standard tile card
I like this one for battery levels: https://github.com/swingerman/lovelace-fluid-level-background-card (along with energy tracking too).
Mushroom entity card works pretty easy
True.
@hard blaze Ok, I'll give that a try.
@vague blaze NICE, but a bit too blingy for my liking 😉
Temps too.
Mine too, tbh... I rarely look at my dashboard, so I can't even remember when I set these up. lol
That's kind of cool though!
Lol, I actually plan to look at it quite frequently.
Thanks 🙂 I do like the animation now that I'm looking at it again.
Ha. Yeah, I have things setup so that I don't have to look at the dashboard.
Huh... I like that too!
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?
You can copy paste 🙂 my battery card is on GitHub if you want to try, and can help you get it working
Thanks for the offer, but I'll stick with something simple and straightforward for now. I'm still very much finding my feet in HA
Simple is good 🙂
Incidentially, is there a way to add multiple entities at once as individual cards?
Outside of the auto-entities card, I don't think so.
Hmmm. That might have come in handy...
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.
You can template the card you make
But not sure if that works on mushroom cards though. I only did with the button card
This card I need to try, love the animation!
Yeah, I'm kinda digging it now too. lol I didn't even realize how customizable it is.
Could be real nice with my animated vehicle card
Oh for sure!
... I bloody HATE yaml. What's wrong with some nice, unambigous json?
Well now I will have to use the whole day on figuring that out 🤣
What you trying to do? 🤣
YAML is easy once you get used to it 🙂
Can you activate it by states ? So it only animates when a sensor is on?
Easy? True. But also breakable. Put one space wrong and the meaning changes. In JSON, and all other C-style formats for that matter, the worst thing you can do by misplacing a space or lf is break the code
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.
I don't think so. It might stop the animation if the value is zero though.
Well, I suppose these things are sent to test us...
Yeah, but that's one of the things you get used to... Plus, Python over other languages? Eh, I've been writing Python for almost 15 years (along with a dozen other languages). It's easy once you remember your spacing and nearly every ide/editor now a days will lint that for you if you get it wrong.
But you will admit it's more brittle than, say, Java or C? In the sense that a semantic change can go unnoticed instead of causing a compilation failure?
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.
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..
Wow, that is soo cool!!
@civic brook you might look into adding some card_mod in order to adjust some sizes of the font, icon, and padding.
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
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
Well that is possible, but wont fix what im trying to get:
I would love the shadow to not go over another card, so kind of z-indexing them at the same hight.. but thats probably not possible.. as its two different cards.
I might end up redusing the size of the shadow in the end, but was wondering if its possibe to do another way 😛
The only thing that comes to mind is micromanaging the z-index of each card to ensure they're stacked the way you want.
yeah, same thing i was thinking of 🙂 but i will try to ignore it for now hehe
Next suggestion:
and thats impossible hehe
I checked in photoshop and it's about 4 pixels width of the left card that is affected by the right cards shaddow. I had to draw a white circle in order to even see it though, but even now I can hardly tell ^^ I would opt to decrease the shadow either in size or opacity
Yeah I just wondered if it's possible without changing the theme hehe. But it's barely noticeable.. still annoys me though 🤣
@zealous heart I converted your message into a file since it's above 15 lines :+1:
Didn't thinked it will be too long for discord :/
Here the pastebin version: https://pastebin.com/JCbDBscQ
Hi all. I'm looking to render a "pie chart" ... Would you recomment apexchart ? latest version is 2 years old....mmm... Thx
Are you looking at the one by RomRider or another fork? apexcharts-card This one hasn't been updated since 2023-04 but I think that is the one that most people use. There's not a lot of support for it here in the channel but if you have questions about it, the forum thread is a better place to start. Forum thread
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
Following this example, which is apparently obsolete/wrong https://community.home-assistant.io/t/custom-button-card-icon-color-change/527214
@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.
When you're ready to take the next step and incorporate an IF statement, take a look at one of my examples: custom:button-card with custom icon color
Is it the pipe symbol, just > or >- ? I see examples with all of these. Guessing they changed it several times
The | and > are block style indicators; the - and + are a chomping indicators. They have different purposes. (Generally, I prefer to use |.) I wrote about it here: Single-/Multi-line code and Using Quotation Marks
There's also https://yaml-multiline.info/
That's one of the references I used and linked to.
Hello anyone know what’s wrong with my brightness linear gradient ? It’s fine with the temperature and I can’t figure out what is my mistake with the other one 😦
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.
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.
Usually the way to avoid that is to make you are specifying both to and from conditions in your automation triggers. When HA starts, everything is either in an unavailable or unknown state until the integration that hosts those entities loads. So, for a door opening automation, you'd want something like:
trigger:
- platform: state
entity_id:
- binary_sensor.door_sensor
from: "off"
to: "on"