#frontend-archived
1 messages ยท Page 50 of 1
You might try #installation-archived at this point.
Okily Dokily - Thanks for the input/time/help!
sure, sorry it didn't get you anywhere
Do you use Apexcharts?
hello everyone
im working on setting up a new install and whenever i try to add something to the dashboard a new issue comes up
first it was no config found
i fixed that
no there is no views in this dashboard and i don't know how to fix that
can anyone help please
just kidding i just figured it out
i just had to "take control"
anyone know when "Script: Turn On" doesn't show up when you type "script" in search of 'Add Action'
hi does anyone know why this is happening?
the panel "lights" shows when im editing but when im not editing the "lights" panel disappears
never mind i fixed it (it was in the visability tab)
I do not.
hey guys, i was going to update to 2024.8 when it came out but people were saying that it broke something - i think either button-cards or something major like that - does anyone know if this is fixed now or if things are still broken?
Not broken. Badges have been updated. A lot of people don't like them. https://www.home-assistant.io/blog/2024/08/07/release-20248/#new-badges-for-your-dashboard
ah, sorry, i should have been a bit clearer - i meant these button cards
I use it extensively. No issue for me.
Is there a way to get the "Browse Media" button from the Spotify card in something else?
In the first screenshot you see the "Browse Media" (Bladeren door Media) button, which let's you browse through Spotify Artists, albums, playists, etc.
However when I want to browse Media from a speaker currently playing Spotify I get a very limited Cast based browser that only gets me this (2nd screenshot). While I would like the same as the 3rd screenshot.
so i have this floor plan for my lights working really well! but the reactivity for colors looks really weird any suggestions?
Hi. Where are the dashboard .yaml files stored?
And, can we copy new ones after install so they get loaded as dashboards by the UI?
https://www.youtube.com/watch?v=TtWY65cG20k i think this can help you some!
Perhaps I should clarify. I don't mean the config files, but the .yaml files that describe the dashboards specifically.
After some more investigation, it seems they are not accessible, and they are even serialized to json in the backend, so probably it's not possible to provision a dashboard in a new installation via file copy alone...
Hi, can anyone tell me if it's possible to use 'my_color' in the 'color'? If so, how? I've been scratching my head for a while.
type: custom:button-card
variables:
my_entity: light.living_room_lamp
my_color: 0, 255, 0
entity: '[[[ return variables.my_entity; ]]]'
state:
value: 'on'
styles:
icon:
color: rgba([[[ return variables.my_color ]]], 0.5)
value: 'off'
styles:
icon:
color: rgba(255, 0, 0, 0.75)
@hollow pumice Two things to note: you can't template the entity and my_color needs to wrapped in quotes```yaml
type: custom:button-card
variables:
my_entity: light.living_room_lamp
my_color: "0, 255, 0"
entity: '[[[ return variables.my_entity ]]]'
state:
- value: 'on'
styles:
icon:
- color: '[[[ returnrgba(${variables.my_color}, 0.5)]]]' - value: 'off'
styles:
icon:
- color: rgba(255, 0, 0, 0.75)This also works if you want to go this route.yaml - color: '[[[ return "rgba(" + variables.my_color + ", 0.5)" ]]]'```EDIT: Changed entity to use my_entity variable.
The custom:button-card also defies good practice when it comes to using quotes. The standard is double-quotes around strings (or templates); single quotes used inside. The custom:button-card will change the quotes to single on the outside when you use the UI editor.
If you're planning on turning this into a configuration template and that's why you were trying to template the entity, and you go with something like this:yaml type: custom:button-card template: my_awesome_template entity: light.some_other_light_entityThe entity defined here will overwrite any entity defined in the configuration template (if there is one; good practice is to include a default entity IMO) and, therefore, you do not need to define the entity as a variable. (Entity variables do have some other uses but not in this case.)
@tribal galleon Thank you so much for your help! Oddly enough, I am not having issues with the entity portion, only the color. This is the code that I'm copying into my dashboard and trying to understand and fix up. The author recommends adding this to the lovelace ui theme, but I am nervous to mess with that.
What you provided did work to an extent, I will figure out the other portions where that code didn't work. I'm guessing that there's something not supported in there.
@limpid elk I converted your message into a file since it's above 15 lines :+1:
Can anyone help ?
@obsidian wind I converted your message into a file since it's above 15 lines :+1:
I feel like this should be easy but I can't seem to do it. I want a dashboard view that just loads the frigate proxy (normally found on left side bar). Trying to make it easy to navigate for my wife, and right now all the content she needs is in a dashboard. The new frigate UI is much nicer than what I had as some frigate cards on a dashboard, so want to use that native UI. I tried webpage card but it gives a firefox security error and isn't full screen
I got somewhere by doing panel:true in the dashboard config, but now I have two sidebars ๐ฆ
Is there a playlist card that works with musicassistant 2.0? I'm trying to play spotify through music assistant in a dashboard but want to show the playlist detail - I can do this with spotcast/spotify card from HACS but then it wont let me select my sonos devices :/
HI, I managed to create a select template that shows the states of an input_select and has different icons based on the state. I don't need to switch those states as automations behind will do that, but what I can't figure out is how I set different colors for different states.
The code that you linked to is the configuration template for the Room Card from MinimalistUI. That won't go into your theme. Instead, it needs to go into the the beginning of your dashboard's YAML via the Raw Editor. Now, that code does reference variables that will be found in your theme such as: - border: "2px solid var(--card-background-color)"
Also, I updated the code above to use the my_entity variable in the entity section. I think I forgot to swap your entity name for one of mine when I was testing.
I tried to get my Spotify-lovelace card working after some time of outage. After digging around it seems like the guy who made it past away. Swedish like me, but 6 years younger than me. Only 49 years old at the time R.I.P. Niklas. I hope someone picks up his job. I think he also did spotcast integration. but that is for now working for me.
I don't use that card but if you look at the forks, some people have already made some changes. This one looks like it has had the most work done to it but it hasn't been updated in two years. https://github.com/gmcmicken/spotify-card. This one has one modification done 5 months ago: https://github.com/vasyavetrov/spotify-card.
These might be worth checking out to see if they're usable. You can try one by adding it as a custom repository to HACS.
Also, not sure if this is relevant to your issue, but this might be worth reading. Something about some keys have changed: https://community.home-assistant.io/t/spotify-lovelace-card/103525/899?u=d_sellers1
Thanks, I will try tomorrow.
@formal onyx I converted your message into a file since it's above 15 lines :+1:
See above yaml configuration ^^ Hi guys. I created a tile card on my dashboard to open assist. Am I misunderstanding what "start listening" means because when I enable it for both tap actions, it doesn't start a microphone session right away on my phone (iPhone, latest HA companion app, latest iOS, running 2024.8.3). I tried it with a button card and still had the same issue. It's not the end of the world, it's just bothering me enough to find out if it's my stupidity or time to file a bug report. Didn't find anything confirming it in the docs.
pure coincidence, but I noticed that Map is offered as a move-to target for dashboard cards. I think that is a tiny bug ๐
Hi, is there any way to make the circle around the glance-card icon colored? I can't figure out how to do it using card-mod...Thank you very much!
@spark spear I converted your message into a file since it's above 15 lines :+1:
type: glance
show_name: false
show_icon: true
show_state: false
state_color: false
entities:
- entity: climate.hvac
icon: mdi:fire
card_mod:
style: |
state-badge {
background-color: rgba(255,0,0,0.3);
--icon-primary-color: red !important;
}```
Thank you o lot ๐ซก
And one more request - does anyone have experience with moving the title somewhere else on the tab? I'd like to move the thermostat-tab heading down (the top takes up too much space when there are multiple thermostats side by side)...
I managed to do it using this:
card_mod:
style: |
.title {
position: absolute;
top: 60%;
}
But scrolling it using the absolute position is probably not quite right, plus maybe on the phone it then shows overlapping some other element...
Thanks!
What is the best practice to crop a card on a dashboard? For example picture card.
Hi all, i have a problem, so i created a username, lets call it "Dan" so, dan's username has been created, i can use it to login, and it has admin but i didnt select it, i created another user and it works normally, i cant create the user dan because it already exists, any idea?
Please ping when answer
delete dan...
Cant because it doesnt show up. That's why im asking.
look in your users list, not persons list
if it's an admin, you need to be an admin to remove it
Im admin, the instance owner, in /config/person, and i cant find user list
look at the top of that page if you're on desktop. bottom if mobile
i can find it here https://my.home-assistant.io/redirect/people/
but thanks, i was able to find it using my.homeassistantlink and putting users
thabks for help
PD im catalan Persones is Persons
๐
Recreated the user, thanks for help!
But still weird that users part doesnt show up
Btw any way to prevent non admins to see other users location?
users might be behind Advanced Mode IIRC
So I've got this card-mod snippet:
'card_mod:
style:
hui-generic-entity-row $: |
.state {
color: {% if(states(config.entity)|int(0)>=80) %}green
{% elif(states(config.entity)|int(0)>=60) %}yellowgreen
{% elif(states(config.entity)|int(0)>=40) %}yellow
{% elif(states(config.entity)|int(0)>=20) %}darkorange
{% elif(states(config.entity)|int(0)>=0) %}red
{% else %}inherit
{% endif %}
}'
which works great!
But I want to apply it to every entity in an entitites (or similar) card, without having to copy-paste to every individual entity in the card. God-forbid I wanted to change something after that.
Any ideas?
I wonder if you could use the auto-entities card. I think you can set the "top-level" card as the entities card. Then in - options: you could use something like - entity: this.entity_id with the card-mod under that. In the include: you can feed it a list of entities that you want shown.
(This makes more sense in my head than what I've typed here. I can try it out when I get home but I just got to work so it will be a while.)
I am so lost with this CSS on this mushroom light card. I just want the slider to go all the way to the end.. and the word to be centered in the slider.
here is my code so far
@molten cipher I converted your message into a file since it's above 15 lines :+1:
all i need is the words moved over.. i don't get it lol
Using auto-entities to replicate card_mod
Mushroom light card card_mod
@golden mirage I converted your message into a file since it's above 15 lines :+1:
change here
mushroom-light-brightness-control$:
mushroom-slider$: |-
.container {
position: absolute!important;
width: 87% !important;
left: 50px !important;
top: 10px !important;
}```
and ```
mushroom-state-info$: |-
span.primary {
margin-left: 90% !important;
width: 87% !important;
z-index: 1 !important;
}```
fdy
how complicated is it to merge features from different types of cards? I have features from various minimalist cards as well as a default mushroom card which I want in one and I can't for the life of me figure out how to do it. Would I need to recreate the card from scratch?
just wanted to show that I combined the current electricity price with the current electricitiy grid fossil fuel percent, its nice to see how they correlate ๐
i tried combining multiple templates but it seels i can't use a mushroom_light_card as a template
not sure what i'm doing wrong
MinimalistUI cards rely on the custom:button-card. The Minimalist "cards" are templates that custom:button-card uses to render how it looks. custom:button-card and Mushroom card are totally different cards. You can, however, embed other cards into the custom:button-card via custom_fields. (A little bit of card_mod may also be needed to help remove borders and backgrounds.) This isn't the best example, but it shows what I mean. This is a custom:button-card that contains a mushroom-climate-card on the left and another custom:button-card on the right to create a separate button.
With a little bit of work, the custom:button-card can even be made too look like a Mushroom card. Here, a custom:button-card is stylized to look like a Mushroom Light card and uses a custom:my-slider-v2 card for the brightness.
ahh I see - that makes sense. the only part I really need from the mushroom light card is the ability to change colour/temp/brightness with a single bar
by having the 2 buttons which change to the other parameters when one is selected
dude thank you so much ๐ญ
@dense hornet For something relatively simple like this ("stacking" two cards), the stack-in-card would have accomplished the same thing. But, with that example, you can see the concept in action.
I feel so dumb for not even considering using a stack with both in one
in terms of changing where the brightness/temp/colour buttons that's limited to the mushroom card right?
I learned something new earlier in terms on using card_mod to move some elements around within the card (see: https://discord.com/channels/330944238910963714/1280737342164045967), but I'm going to assume they would still be confined within the Mushroom Light card.
I started to write a bunch of stuff on what could be done, but I just started confusing myself. It can be done, but I won't be able to do a good job describing how to do it. I'll have to play with it some more but I have a good idea in mind. Unfortunately, it is way past my bedtime.
Though I will say I also just learned that the Mushroom Light card, when it is embedded within the custom:button-card, can use JavaScript and is templatable (even thought the card itself is not templatable and would use Jinja)...
yaml custom_fields: mushroom_slider: card: type: custom:mushroom-light-card entity: '[[[ return entity.entity_id ]]]'
oh this is cool
thanks for helping out mate much much appreciated!
Thank you for this variation! I will try it out
how can i go about aligning this in the middle of the parent button-card div? do i have to make another grid inside the card with a single cell in it?
Hey wonder if someone can help! These are presence detection icons. They used to show the user profile pic of the user in HA who the icon was for, but since the update, thats gone and i cannot figure a way to get them back?
show Entity PIcture doesnt do it
What is the entity_id you're using?
Was that to me?
this is what that entity looks like
i tried adding a new one, but its the same
๐คทโโ๏ธ
really stupid syntax question but how do i convert this to target the entity set further above in the button-card?
background-color: states[variables.ulm_custom_card_esh_room_light_entity].attributes.rgb_color
i tried states[entity] or states['light.bathroom_light'] but neither seem to work
I tried using this but it only works as a true value and i can't set an alpha value:
- background-color: rgba(var(--button-card-light-color), 0.2)
so it only works as background-color: var(xyz)
Hey guys, i have a weird question, this year we saw a lot of good changes to the front end, with the ability to move tiles, resize tiles and stuff like that. but none of the options and updates to lovelace are available on my end, is that something i need to turn on? am i losing my mind? let me know if you have any ideas
Those features are only available on views in Sections mode. You can change the modes with the pencil besides the view
ohhh interesting, thank you ill give it a try
Morning all! I've been playing with Home Assistant since like 2017 and this last year has been the best / most stable / most usable experience I've had! I'm trying to fine tune a few things so wanted to get this groups throughs: 1). I love love love the autogenerated dashboard (I add and remove stuff including ESP32 a lot!) and have gotten pretty clever about defining rooms so it generates the view I want. However, it's slightly less customizable than I'd like (e.g. cannot hide disabled devices automatically etc.). Is there a good "autogenerate a dashboard" HACS addon that will let me do a tiny bit more overriding for a few things, but mostly generate a good default view?
2). I've got a few switches that I don't want to accidentally tap (e.g. my 3d printer power). Is there a good double check switch type? Basically something with the feel of
Is there a good "autogenerate a dashboard" HACS addon that will let me do a tiny bit more overriding for a few things, but mostly generate a good default view?
Generally what you seem to be looking for is a Custom Strategy (https://developers.home-assistant.io/docs/frontend/custom-ui/custom-strategy/)
I don't think many exist, but there's notable exceptions:
- Dwain's dashboard is an effort to get something similar divided over many views, but it'll look wildly different to what you're used to (https://github.com/dwainscheeren/dwains-lovelace-dashboard)
- Mushroom Strategy is kind of the same thing (https://github.com/AalianKhan/mushroom-strategy)
- Strategy Pack takes inspiration from both of these (https://github.com/itsteddyyo/strategy-pack)
lovelace_gen is kind of a pre-parser for your configuration yaml, which is diametrically opposed to what you describe but can be used to achieve something similar (https://github.com/thomasloven/hass-lovelace_gen)
This is helpful! Thank you
Is there a good double check switch type?
No, but there's various ways to achieve a similar effect. For a plain type, Selects do require two clicks/interactions. You can also create a button card with the tap behavior set to More Info, which will come very close to a double check switch imo
I wish the autogen lovelace would let you basically define a custom card in a different dashbaord and add a toggle / settings to say "import into autogen based on the defined room tag"
Yeah the more info trick is good! But I guess that won't work with the default autogen lovelace thing?
It's really fantastic to mess with devices and refresh the default view and have it show up
for the generic problem of having cards with entities based on a certain property, https://github.com/thomasloven/lovelace-auto-entities is a good and well-documented solution. You don't necessarily need an auto-generated dashboard for that
Gotcha ... I guess I can switch my dashboard over to 1 custom card per room ... not great though
Oh - is the strategy for the default lovelace autogen available / editable? Can I just hack it to customize it for the few changes I want to make?
doesn't look like it
I think this is it, but I suspect it won't get you anywhere https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/common/generate-lovelace-config.ts
Not yet possible, but I think it's being worked on
The sections view is hardcoded to have 4 (card-)columns per section. you do have control over the (section-)columns per view in the view configuration.
You technically can adjust the number of columns if you can override the --column-count in the hui-grid-section element, but it really doesn't like being smaller than 4. setting it to 6 kind of seems to work, however. Or rather, I don't have a complete enough test to see where it fails, because surely it will fail somewhere ๐
have. set of buttons in a grid (8) followed by a vertical-stack of buttons. on desktop those (grid and stack) have the correct space between them when using sections typ view, but on mobile there is a rather large gap between them
I don't know anything beyond very basics of adding stuff to the dashboard. I cloned an IR remote control and have the outputs saved as entities that I can switch, I don't seem to be able to have good goolefu for searching how to make it look nice on the dashboard. Is there a direction someone wouldn't mind pointing me towards?
any reason this could be happening? I tried tp experiment with the available theme variables but cant make that gap go away
what kind of gap?
the gap above the Alerts ticker
I use the custom:vertical-card but want to ditch that for core. this gap however prevents me from doing that
if you can live with something like in sgiratch's recent screenshot, that is probably the easiest. there are other possibilities, like combining layout-cards, and horizontal/vertical stacks. you may be in luck and have a specific HACS integration for your remote. Alternatively, you may have luck creating something using https://www.home-assistant.io/dashboards/picture-elements/ or https://experiencelovelace.github.io/ha-floorplan/docs/examples/, which are very custom solutions.
do I understand correctly that the mdi:floor-plan/mdi:microphone-message buttons are 2 items in an 8-column grid, on their own?
yes, essentially this:```
type: grid
columns: 8
cards:
- type: custom:button-card
template: subview
icon: mdi:floor-plan
variables:
tooltip: Plattegrond
path: /ui-sub-views/plattegrond - type: custom:button-card
template: subview
icon: mdi:microphone-message
variables:
tooltip: Intercom
path: /ui-sub-views/intercom```
ty!
using those on many views. the sections view type adds something on iOS companion app I can not yet find
(it also adds a bit of horizontal space and makes the views a bit narrower, which I also want to prevent, but the gap in the screenshot is more important)
can confirm at least that it does do something similar on android as well, and it's very specific to the bottom of the grid layout.
it looks like you want var(--ha-section-grid-row-height, 56px), of which the default 56px may be set too large for your squares when the column width shrinks too much.
setting it to auto should work for you.
o that is nice, hadnt realized auto would do it ( I did try those variables before).
let me try and get back
the exact place it's used is the --row-height in hui-grid-section
however, that will break all of your grid items which set a specific number of rows.
for now, I've just added ha-section-grid-row-height: auto and that indeed seems to work!
seems a bit odd HA frontend does not do this by design, and we need to manually fix that
it's to keep alignment between sections, I'm pretty sure. also, generic/variable height html elements in general respond a little nicer if you provide a specific target height in the parent.
using this ```
ha-view-sections-row-gap: 4px #default 8px
ha-view-sections-column-gap: 8px #default 32px
ha-section-grid-row-gap: 8px #default
ha-section-grid-column-gap: 0px
ha-section-grid-row-height: auto``` and see no real issues yet, so can broaden the experiment ๐ taking out the layout-card.
turning it to auto means that rows automatically adjust their height, which is exactly what you want in your case trying to vertically stack, but there's plenty layouts where that doesn't do what you want. e.g., creating buttons without a name/set height makes them the row really tiny:
I see yes, that makes sense... fwiw, I took out the other variables for now, only left the auto on row-height. I am not using Sections really yet, so can only comment on my experimental views and they all seem fine still.
maybe we can set that row-height using card-mod so I dont have to use it globally in the theme, and prevent the issue you warn for
dont think I saw that being done though
as long as you know what you're doing, this shouldn't be a foot-gun. rows and columns still work as they should, it's just that the row heights always auto-adjust. You know what you're doing and what's causing that, so you should have plenty of tools to fix it even if it does turn on you.
I don't think card-mod can help, as this styling needs to apply way above (or below) the ha-cards you have access to
the best solution for me would be a masonry view with option for 1 column....
no mods, no theme, just a single column
I think this does that? makes the editing really awkward, however.
type: custom:grid-layout
layout:
grid-template-columns: 1fr
grid-template-rows: auto
yeah, same thing I suspect
if you ever do end up shooting yourself in the foot here, it seems what you really want is to set grid-auto-rows: auto on hui-grid-section .container, so that you don't interfere with components which set their own height using calculations based on --row-height but still remove the lower limit of 56px on the grid row height.
i.e. that makes it only apply to items which don't set a variation of
layout_options:
grid_rows: 1
I have a remote set up, but I am looking for a good icon for "Source" as in media source, IE HDMI 1, 2, 3, usb, vga, etc.
My code:
entity: button.esperiment_source
name: Source
icon: mdi:source
show_state: false```
Maybe hdmi-port is best.
mdi:monitor-arrow-down-variant is not quite what you're looking for but it's somewhat close to the original idea.. I suppose mdi:remote-desktop might also convey the correct message if you're not too familiar with its icon.
oh wait, mdi:import is basically exact
Hmm, I think you are correct, but I think I may leave it as hdmi-port, possibly falsely due to recognizability for the family.
Thank you though!
Hi everybody, may I ask anybody for a double-check? have I found a bug? I am not able to create a section nor a card that can be made visible based on a condition on a group. On single entities, I can, but on any group I cannot. On the graphical UI drop-down for the group, it only shows the states "not available" and "unknown" (whilst for normal entities, in my case window sensors, it shows also on and off, i.e. open and closed). But weird as it is, it even states "State (actually: On)" or "... actually: Off)" in the UI, so shows the actual values, it should work on. Is that a bug?
You're not limited to pick one of the options in the dropdown
Dropdown will only be populated if HA knows what type of states that entity might be. For a group maybe it doesn't know the possible states.
but I know it. And if I put it in manually (anyway if I try "on", "off", local language (I use non-english), "open", "close", whatever I try it does not work
what's the generated YAML look like? "on" or "off" should be correct.
if that is the state of the group
The custom:button-card has a lock feature that requires you to press and hold the card before you can interact with it. Look at the discussion here with example code a couple messages up. #frontend-archived message
Thank you! I ended up using the button card + more info on tap trick. I think it works a bit better than the hold option, since it's clear what action to take. This will be super useful in other situations though - thanks.
Even stock button card can add confirmation dialog on button press.
Got another one for you folks. I'm using pirate weather, and I want to do what I think is a pretty common thing. Use mini-graph-card to show the temperature today so far, and in a different color, the forecast for the next few hours.
It looks like I need to either create a sensor for +1 hr, +2 hr, +3 hr from pirate weather, or do some kind of service call. Has anybody seem someone do this in a simple way that works for graphing the expected forecast (either alongside or seperately from the current weather history?)
What's the trick to that? Just the more info thing?
Ah nice thank you!
@vast crane off-topic: am I confused here? When did call-service change to perform-action?
I remember seeing that now and meant to go back and read it. Any plans to remove old language?
like to break old yaml? doubt it
we're still supporting legacy template syntax from many years ago
Ok just tried the individual sensors 1h, 2h, 3h ... doesn't work in a chart (kinda obvious in retrospect)
What's the right way to pull a weather forecast into a timeseries that can be charted?
Legacy support is nice. Lots of stuff that could break even with a long transition period.
This isn't really a thing in HA. Maybe it's something that apexcharts can do, but it would be very specific to that card.
unless I'm missing it mini graph seems to just plot history, not arbitrary datasets
I guess what you'd maybe need to do is with a trigger template, call the get_forecasts service, then write a template to iterate over the returned forecast points and push the data you want into an array of objects in a sensor attribute. Then pass that attribute to a data generator function in apexcharts.
Hi, I'm looking to make custom charts that respond to the energy date picker - like Sankey Chart Card. Anything like that around? If not, anyone keen to work on something like that? I'd be prepared to help, but I;m a bit noob in this kind of software.
see https://github.com/home-assistant/frontend/pull/21105, there's some work in progress here on something similar
Yikes! Do folks not chart the weather forecast? Def feels like a obviously useful widget / feature. Lemme see if I can figure this out with a healthy dose of chatgpt support. If you have done this already - please share!
might be easier to just find a custom card that displays the forecast in a way that you like?
all HA plots are geared around just plotting sensor history
I looked a bit... will look more! Hope it exists. Feels like something many people will have thought of
Looks like it is stalled...
yeah sometimes things take a while, or get abandoned
is your question related to Home Assistant?
Yeah, kind of that.
2.3 is the difference
what about react 20?
That would be 4
Did you have a meal?
Today, no
I see, you seem to be a senior developer..
They don't eat? ๐ค
Hi, professors.
Nice to meet all of you.
I am new to this server.
And of course I am a full stack developer.
I hope to work with you.
HOw do you think?
must experiment with that. maybe we can set it via card-mod-theme globally on the grid card. and if not, Id need to do it on all of those subview buttons grids
Welcome!
Please say potato ๐ฅ
BANANA! ๐
trying to find a way to get my cameras using the full view screen estate as I did with```type: custom:grid-layout #panel
layout:
margin: 0px
somehow I can not force the section to take the full screen width, not even with the new option column_span: 4. Or, rephrase, get the contained grid card use that space. the cards in the grid remain small.
setting - cards: - type: grid layout_options: grid_columns: full to the individual grid has no effect either
Does anybody know how to make a horizontal stack have 2 cards - one that takes 70% of space and the other taking the remaining 30% of the space?
ban
TIL that @vital burrow is really a minion.
@half osprey
node-vibrant - I am trying to use the extract_colors.ts module to extract the foreground / background colors that will be used in my custom card based on a background image. The extract_colors.ts uses the node-vibrant npm package to do this. I have copied the extract_colors.ts file (and all related .ts modules) to my project, but I cannot get it to work. A TypeError: Failed to resolve module specifier "http". Relative references must start with either "/", "./", or "../". message is always generated when I try to display my card. The extract_colors.ts files mentions a We import the minified bundle because the unminified bundle has some quirks that break wds. See #7784 for unminified version., that indicates something special was done in the node_modules directory to import a minified version. I also see a src/types/node-vibrant.d.ts module that (I think) needs to get placed somewhere under the node_modules folder maybe? I'm fairly new to TypeScript and HA custom card development, so not sure what I need to do to get this going. Any ideas? I appreciate the help.
UPDATE - tagged @half osprey on this - it looks like you made the changes to use the vibrant.min.js. I'm fairly new to TypeScript - is there a trick to implementing the node-vibrant for use by the extract_colors.ts module? Do I need to place the src/types/node-vibrant.d.ts file somewhere special? or maybe import that type from somewhere in my custom card?
UPDATE - tagging @raw brook - thought I would include you, as you had a post on this forum regarding node-variant. Is there a trick to include the minified version of this package? I am using the non-minified package and keep getting a TypeError: this.opts.ImageClass is not a constructor exception.
I use the webrtc- card to display my tapo cam in the dashboard. Is there a way for me to get this "wide" in sections? type: custom:webrtc-camera entity: camera.inngangsparti_hd_stream
I'm kind new to home assistant and find it 'difficult' to create something quite easy.
With easy i mean simple.. I try to recreate the niko home dashboard in terms of simplicity.
Right now i'm struggling with the layout or responsiveness from the buttons.
The new sections only has a 4 column option so setting the blocks to 1 doesn't cut it. Would it be possible to have justified items or something?
I'm looking to create a page 'control' that contains all the rooms. That once clicked open up with there corresponding items
I think a customizable column option will come in the future, so you could make it 3 columns.
Thanks for the info. Are there also options to open a room in a popup rather then a whole new page?
with custom resources I think so, stock HA no
would anyone be able to help with this?
Hello all.
New to Home assistant. Not sure where to get started with front end work. I'm working on data visualization for an ESP32 with a binary motion sensor over the crib for my baby.
What I am trying to track is:
- time spent sleeping (no motion),
- restless movements (motion for less than 1 minute), and
- time spend awake (motion for greater than 1 minute).
It would be nice to see these as trends over the last month and a summary of the previous night.
All I have been able to figure out how to build so far is just a history graph of on and off for the last 24 hours. The day time hours are irrelevant since this baby will not nap lol.
Could someone point me in the right direction on how I can learn to customize how this sensor data is displayed?
Hello. I'm playing with creating dashboards. Is it possible to create card with badges inside? I have set of lights which I turn on/off not separately but with like five scenes, yet I'd want indicators which ones are on. Adding them as entities makes card cluttered.
@spark spear I converted your message into a file since it's above 15 lines :+1:
@spark spear I converted your message into a file since it's above 15 lines :+1:
@spark spear I converted your message into a file since it's above 15 lines :+1:
how do i get the actual type of waste displayed in the label part of the guys code
Solved: type: custom:webrtc-camera entity: camera.inngangsparti_hd_stream layout_options: grid_columns: 8 grid_rows: auto
it's complicated.
Can anyone suggest how to do a sorted bar chart card, similar to the individual device consumption in the energy dashboard?
I want to show a list of energy using devices, sorted by value
gents, I am reading some forum posts about person cards, that shows the proxminity, battery level, etc. but they are all based on button-custom cards. Do anybody here know if there is now a modern, fully featured and configurable card that could be used in sections mode ?
Is there a way to rename automation categories? I fail to find that in the UI :/
Inthe automations UI: Filter - Categories - 
Oh wow thanks, I would never guessed the categories edit feature is under the filters, thanks
I'm using the timer-bar-card which doesn't have UI to set up. Can I use the new sections layout options via yaml? Atm it seems to be using full width by default and I'd like it to use the standard 2 columns, not 4.
Edit: sorted myself. Yes it works.
I have a problem with picture-element - When configuring where the bulbs should be, they will not be in that position when saving?
What can I do? Just keep editing until it saves to correct position?
do button-cards not distribute from center in horizontal stacks?
I want to get them centered and then pad on the outside of the buttons similar to this (but horizontally ofc)
is there a knopwn card to dsiplay the content of ha todo list on a dashboard ?
There is a to-do list card in the list of core cards.
yeah I've seen that, I'm seeking for something a little more subtle, actually
I'd like to have a way to only display the, lets say, 5 last items
idea is to display my groceries list on the overview page, and when I click on it, see the whole list
I'm really close to get rid of amazon echoes around the house, and aside all the nice home automation things I now can do using HA voice assistant, I also need to implement a nice way to display tyhe groceries list we use to generate by telling alexa to add this or that to the groceries list
Is there a way to make cards span rows/columns contained inside standard grid card?
It was possible with card_mod before, but it looks like now there is a <hui-card> wrapper element in the way..
Hey! Loving the full width sections but I can' figure out how to get actual cards in full width. For instance I have an aphex chart which only covers half the full width section. The same applies for an energy card I have. Do I need to configure the cards via card_mod or what am I missing please?
I think add this to the card yaml:
layout_options:
grid_columns: full
IDK what Apex supports but core cards should work for that.
@vast crane : thanks will give it a go!
Hi there,
I am currently building a new tablet dashboard and I added some automation stuff that notifies me when the letter box was opened.
Aftr a bit of trial and error I could get it to work but the button i need to click in order to reset the automation is massive. I am too stupid to make it smaller.
For my clock on the right I used a transparent png with a fixed size as a base but I don't want to do that for every card.
Also, since it's a conditional card it only appears when the letter box was opened, so I don't need that blue switch thingy next to the "Neuer Brief im Briefkasten" text. Can I somehow remove that from, showing in the card?
type: conditional
conditions:
- entity: input_boolean.briefkasten_geprueft
state: 'on'
card:
type: vertical-stack
cards:
- type: entities
entities:
- entity: input_boolean.briefkasten_geprueft
name: Neuer Brief im Briefkasten
- type: button
entity: input_boolean.briefkasten_geprueft
name: Briefkasten geleert
icon: mdi:mailbox
tap_action:
action: call-service
service: input_boolean.turn_off
service_data:
entity_id: input_boolean.briefkasten_geprueft
edit: oopsie, forgot to attach the yaml
basically, I want the button to look like this mushroom default room selector. Icon on the left and the text on the right, but same site as the letter box notification
I have a map with two zones that I added a long time ago, and they show up on the map. Today, I added a few more zones, but the map does not update to show the new zones unless I manually add the zone.<name> entity to the YAML. How can I configure the map to automatically display all zones?
Worth to add that i am using the default map card from when HA was installed
I believe only the default map panel will show all zones (and locatable entitities) by default.
Once you customize it you have to manage the entitites manually. (or else restore back to the default map strategy)
Or maybe you could do something with auto-entities custom card but I'm not as familiar with that.
so its not possible to do something like:
foreach(z in zones)
{
- entity: zone.z
}
no you can't write arbitrary pseudocode in a frontend card
with custom cards maybe
Again I think auto-entities may be a good candidate here if you're open to custom things.
Okay thanks
did you get help?
Nope - ended up editing / Saving ๐
Okay so now i am using auto-entities to filter by domain, but nothing shows up on the map.
Any idea what could be wrong?
It's a single card view
I could use the default map configuration, but my "persons" does not show up there
maybe you have to remove entities: from card: ?
Try bumping that up to the higher level:
type: custom:auto-entities
card:
type: map
...
entities:
- person...
filter:
That was it, thank you!
Maybe I'm blind, but where did the users tab go in settings?
It used to be in settings -> persons and there was a tab with users
Try enabling Advanced Mode
@winter blade
using auto-entities in a sections view, leaves a gap when the (entities) card is empty (even when the show_empty: false is set. Is there a generic solution/trick for this, or is the auto-entities card simply not yet fully compatible
the exact same cards configuration in a type: custom:vertical-layout has no gap. so it might be a section thing after all? (using yaml mode btw)
example to test:```
- type: custom:auto-entities
card:
type: entities
show_empty: false
filter:
include:
- entity_id: media_player.plex_*
state: /playing|paused|'on'/
Q1: To make them show up on a map card, what requirements must an entity meet?
Q2: Is it possible to create a weblink of sorts, where the url is defined by a template (either in-line or pulled from a template sensor)?
missed this yesterday: https://github.com/thomasloven/lovelace-auto-entities/issues/433#issuecomment-2161947274 hopes are set on the maintainer of auto-entities then.
Any ideas on how to get this to work? I want to have it filter based on the input_select helper that would contain the room name (i.e. โKitchenโ)
card:
type: entities
filter:
include:
- area: '{{ states.input_select.room_selection.state }}'
exclude: []```
I have a standard grid card with a set of button-card buttons which have no border or background. I would like to colour the grid background to the standard button colour and set a border for the whole card, but I can not seem to find the correct css id to control the whole grid as the normal ha-card does not work. Can anyone point me in the right direction. Thanks
I managed to work around my problem above, by using the custom:stack-in-card.
Looking for some advice. I would like to have a horizontal row using layout card. The entities for this row would be using custom button cards created using custom button card templates. Each custom button would display and icon and would have an associated action. The buttons to display would be pulled from a sensor attribute with a list that contains the button templates to display.
Sounds easy right?
Hi everyone I just wanted to share . https://cloudpilot-emu.github.io/ as a web page dashboard. It turns a dashboard into a cloud pilot pda . I put this website (https://cloudpilot-emu.github.io/app/#/tab/sessions) into a webpage dashboard , downloaded a pda rom file I chose tungsten w rom. And boom I got a touch screen pda . Now the issue is it's running on my phones browser cache instead of the home assistant webpage cache. I assume this is because I used the HA app to do this . When I open on another phone running my HA app the webpage dash is there but it says start new session and doesn't seem to save from 1 device to another device. Do I really have to embed this with a Java applet or is there a work around for this?
Last picture is home assistant app on another phone.
My question is how do I use home assistants webpage cache so it saves from device to device? Or . How do I local install it as a Java applet in my home assistant ?
Currently I have the embedded files stored in my /local/www folder .
#frontend-archived message
Nobody up for the challenge?
can the map zoom be somewhow set to cover all existing history points?
I guess not . It's fine at the moment I'm using Google generative integration to help me build the code . So far I got a html page listing the emulator and sensor values. Next we created a Java script file to pull that info. Now we created code for a websocket api . I was hoping to just set home assistant app to use home assistant webcache.
Dinki I use rows and columns on the entities card. Can you use the yaml for rows and columns and just make the buttons on 1 card ?
nope don't think so
says bottom of page he uses gmplot code to center and adjust zoom.
Autofit and fit zones sounds like what your saying.
The default_zoom value will be ignored if it is set higher than the current zoom level after fitting all visible entity markers in the map window. In other words, this can only be used to zoom the map out by default.
Also found default_zoom
Never changed my map but I assume if I took control of my map dashboard I could change these values in my yaml view. Also it may erase your map I've had dashboards erase when I take control. So maybe create new dashboard click map hopefully it shows your map and you can click yaml view at the bottom and see values to be adjusted such as default_zoom and you can set it further out than 14.
Has anyone else had trouble resizing apex charts card in sections view?
hey anyone can help me pls i cant add 2 entity on same line
i dont have the little + to add more
i have it before but i accidently delete it and now i cant add it anymore
using Mushroom Cards
Hey yall, quick question, does anyone have a or know of a earth globe card for realtime data?
Hi, good morning! I'm hoping someone can help me fix the following yaml. I want the icon to flash when it turns red. I have tried inserting the animation where I have commented it out, and neither works. Any idea how I can get it to work? Here's the YAML: https://dpaste.org/BO1At
Hi all, wondering if I'm doing something wrong with bubble cards integration. On my main dashboard i have 23 cards, 21 of which are the pop-ups for the other 2. My dashboard has 12 rooms and, for example, i have 12 pop-up cards and the content. Is this the way to do it? Asking also because my home assistant is running VARYYYYYY sloWWWW. lol
my HA was running sluggish before i switched to the pop-up rooms. I originally had 12 tabs at the top for 12 rooms. So I turned those into popups as well as info pages like all house lights, sensors, peoples state/map, and so on. So totaling 21 popups now vs 21 tabs. Which on a phone, sorta does the same thing but I now have that close X on the right side and a cleaner look.
How do I make the 'Attributes' section auto-expand when clicking on a entity popup? Currently, it's collapsed by default
I configured a webpage dashboard to an online emulators embed my game. Now I have a dashboard to play monthly games. I picked retrogames .cc . Has save, load, button config, supports my Xbox s usb controller and touchscreen. Now i pick a new game per week embed the new website embed address .Just wanted to tell someone thanks.
Hello everyone, I just joined the HA server here on discord. Inevitably, I have to come up with a newbie question. ๐
I'd like to make my dashboard (Stefan's Dashboard) the default view in the HA frontend GUI. That's easy enough to do, but it makes the Overview disappear from the sidebar. Is there any way to still access Overview, or would I have to change the default view each time I want to get to Overview?
You can always make a new dashboard using the same default strategy as the original overview, and add that to your sidebar. It should be the same thing.
Dashboards -> Add Dashboard -> Default Dashboard
yeah, if you copy the yaml to a new dashboard of any name you choose, you can then set that one as defaultandhave it on your sidebar
You can always make a new dashboard
you can have as many dashboards as you like and as many on the side bar as you like, but take my advice, i clearly have issues of my own, so i cauion anyone to take my advice lol, Aside from this
hey guys when I go to add a card there are no options. Its like missing? Anyone ever seen that?
https://imgur.com/a/XLaN3wQ
that is kinda odd. I'll be no help sorry, but do the basic stuff like restart HA and clear cache. I've personally had blank cards belonging to a specific card but not a blank card list like that.
My internet is down as we have a forest wild fire and had to evacuate. I have internet on my cell data. Anyway the HA app won't connect. Getting this error. See graphic. I can connect with the browser no problem.
Hi all, I need to implement a mockup developed with figma.
I have this ON/OFF Switch
Do you can help me to draw it?
It has to do with your cell being a different network, and the app is probably pointed either to NabuCasa url or another 3rd party DDNS for external access, and it's also probably pointing to your usual internal IP address you gave Hass when setting it up on your home network. Your cell would be giving it a different IP address. So if you're using a browser on your phone, and typing in http://homeassistant.local:8123 then yes, you would be able to reach it. It's on the same network (your cellular network).
why not create a PR to fix the first one, instead of creating an issue and describe how it should be fixed there?
so sign it?
it takes 2 seconds to register your github account and use it to manage the PR
that's all it's asking for
Is there a nice 'light-weight' add on for style of Home Assistant on Pi4?
I'm looking for something that is nice to view on mobile mostly but obviously via a browser would be nice too on a laptop/desktop
Is Lovelace still most user friendly UI?
Technically lovelace no longer exists
now it's just Dashboards
there are separate addons like the custom ha-fusion addon that presents a different style UI
๐ฎ
In 2024.9 I find I am unable to view/change the settings for an input_boolean defined in helpers via the front end. Is anyone else having the same problem?
Creating a new one shows the settings correctly, but editing it does not show anything.
What settings do you mean?
I have that issue too sometimes. A hard refresh usually fixes it.
What do people use to create nice cards then for best UE?
Depends on what you consider โniceโ? I use Mushroom cards heavily (especially Mushroom template cards) on my dashboards. Thereโs also a lot of custom cards you can install through HACS.
Most of mine is done with Mushroom cards and button card.
I have been using the new sections layout.
The main panel also uses pop-up card extensively to add additional popup windows. So for example there is a pop-up sonos card for each media player. If a user is in a room extra buttons appear for that room such as the TV control popup in the picture.
Anyone know what's causing this to popup in the log?
Uncaught error from Chrome 128.0.0.0 on Windows 10 TypeError: Cannot read properties of undefined (reading '_leaflet_pos') _leaflet_pos (src/dom/DomUtil.js:247:11) getPosition (src/map/Map.js:1488:9) _getMapPanePos (src/map/Map.js:1505:66) _getNewPixelOrigin (src/map/Map.js:1224:27) _move (src/map/Map.js:1726:7)
have you cleared your cache on your win 10 machine?
9 times out of 10, clearing cache solves frontend errors that appear in the logs. The other 1/10 times, it's a custom card causing the issue
Hi all,
Ive created a template which returns the entities from my truenas system about particulair apps which are not on. Now, id like to create a tile card ( or something similair ) which use that template. The point is: the way it is getting used by the tile card is not nice. Is there any way to optimize it? The most optimal would be that every entity gets underneath the other one. ( im not sure if thats possible with a tile card, but any card such thing would be possible is OK ). I was thinking about creating a forloop with the template, but what do the experts think? ๐
Do you have HACS, using Auto-entities with an entities or some other card is an easy way to do this.
Yes i have HACS ๐
Going to have a look right now! Many thanks! ๐
Thanks for the references, mushroom cards seem nice
I'm not even sure what I want ๐ just something easy to use on mobile
Works flawless, many thanks ๐
Cleared cache and note that that also reset my Theme from dark mode. What else gets reset? And, why are these options set as browser cached items and not stored in some HA specific file?
because 1 user can be logged into HA from multiple sources and have multiple themes
A smart options management system would handle that. What else was cleared/reset by cache clear?
the entire frontend is a browser
if you're so good at coding, why don't you make it work in the backend then
I have no patience for your backhanded comments today
I'm not a web system coder but I DO know that HA has a server based store for most .data
What was back handed? Anf What else weas reset by the cache clear
It's purposely in cache for the reason listed above
saying "A smart ... " implies the current system is not smart. And you do these type of comments often enough to be annoying
It isn't smart if it silently deletes user settings. If I'm sorry if facts annoy you
It doesnโt silently delete settings
How is it silent if you delete the browser data
It doesnโt even delete settings when you do that.
If you set up your system correctly, your theme will load after a cache clear
OK .. how do I do that? I'm not aware how to set that up
Ahh themes config setup. Why isn't that enabled by default?
Hi all,
do you can help me?
Because HA doesnโt make assumptions on how the user wants to use their system. It does the basics and then allows the user to tailor it how they want it.
Sure it does. It makes the assumption to use the light theme
that's the default theme, it's not an assumption
Why do you think your usecase should be default instead of another?
Shhh get out of here with your logic
What is the best practise for templating an icon? I have a binary sensor from an ESPHome thing, that I want to turn into an entity card that contains only the icon, which should change based on state. Options seems to be:
- Leave the sensor as it is, and use CSS overrides to change the icon based on state. I don't love this, as it often lags.
- Create a template helper with an
icon_template, but this cannot be associated with the ESPHome device, which I don't love (helpers created in the frontend can be associated, but have noicon_template, and backend template sensors are vice-versa). - Something else?
What is the best way of doing this?
if it's a binary sensor, can't you make use of the device_classes?
Unless I've misunderstood, that will give me icons based on the device_class, but won't let me customise them
so your icons don't fall under any of the ~50 or so device classes?
It's motion detection for my cat's litterbox, so to be honest, I want a poo emoji while occupied, and a toilet emoji while not occupied...
ah ok
template sensor wrapped around your esphome sensor
with an icon_template
YAML only
otherewise, deal with CSS
Cool, thank you, and there's no way of associating it with the device?
You can if you use the UI... but then you can't use an icon template ๐
Haha, fair enough, thanks
New to HA this week ๐
Alarm panel card populated via mqtt discovery - I would like to change the Arm Home / Away labels on the boxes.
Can it be done? Or do I need to create a manual alarm/other type?
Thanks for any pointers!
Hey, im stuck at the help us help you page
It always says unknown command or it says connection lost
Does anyone know why this happens?
any way to determine why a hacs custom card wont show in my card selection list? (flex horseshoe and better sliders)
or a way to troubleshoot
do the docs say that they should?
Yes
Then clear your browser cache
I don't see anywhere here that says it will show up in the list of cards: https://github.com/AmoebeLabs/flex-horseshoe-card
Perhaps I missed it..,
I got it now - user error
This one will not be in the list because it does not push itself to window.customCards
Thank you. Internet came back on finally. Now everything works. And yes I use NabuCasa when I away.
I'm currently working with the new dashboard sections layout. Under each card, I can choose the layout for grid_columns: and grid_rows. Does anyone know what the default width and height for each grid_column: and grid_row is?
It depends on the card. You can revert to the default value with the circled arrow symbol. It only shows, if a non-default value is set.
It seems like the height has some fixed intervals that it selects when I choose multiple rows under the layout.
Oh, you mean the height of the rows itself.
I don't know the exact value, just that it has been reduced recently.
Does the new sections size work like i think it does? My sections config has 6 max columns. I've got 2 sections, one that is 4 coluimns and one that is 2 columns, but they wont fit side by side??
put them in a horizontal stack with mode: panel on the view
but keep in mind, they won't automatically move around when you switch to mobile.
๐ค doesn't that defeat the point of sections. 4+2 = 6
actually, i cant seem to do x+x lol
seems its actually restricted to 4 not 6
what do you mean "Defeat the point"
the point of sections is to have a UI that you can drag and drop UI elements around
sections itself has limitations, i.e. how many columns it can contain
Well, if the view lets me configure 6 columns. like so
and a section lets me control the width, up to that limit of max columns
right, that's the max number it will have when you place them all into a single section
that doesn't mean it will give you 6 sections when it can't fit all the elements
then why does this only work when its 1, 2 and 1
that's only 3 sections
thats 4, if i try and set them to 4 and 2 widths, it forces this
because it can't fit them
that makes no sense?
add your UI elements
it's guessing right now
see that little edit button? You can also modify the content widths
you haven't done any of that
you're just adding willy nilly
ok, I was coming that this from like a css grid perspective. So i set the max columns, and then each section would be like a column span basically
but now adding them, i see thas not quite how it works
Hi
I've installed a monitoring tool named Uptime-Kuma on a server at home. I also Installed the HACS plugin for Uptime-Kuma.
The plugin gives me sensor for every service that I monitor thats either up or down.
To visualize this in HA I thought I use History Graph card, that olso show me for how long the service has been down. It's realy nice actualy.
But I would like to change of the history grapg bar. Now it's Purple when the service is UP and Turquoise when the service is DOWN
was trying to figure out how piitaya laid this out basically
Anyone who knows a way to change the color of the Histor Graph Bar
you have to add your elements
yeah i see that now
is here a good place I can ask a yaml (apexchart) question?
mostly custom template issue
Probably, but #templates-archived might be better.
anyone got any tips to get this entity/card to have a transparent background? used to, but it looks like it changed at some point
Is there any way to get this full error? Is it available in dev console somehow? This is custom button card
Is it possible to create a item(view) in the topbar that is pointing to a "add-on"(fx. Calendar/Energy dashboard/etc)?
on my frontend on a android tablet, i have black empty space on the left and right side, how do i remove or minimize the black space?
Is there a guide or anything I can reference on how to toss in CSS for specific card types into themes.yaml?
Sorry if I overlooked it, but was it not possible to add the cards shown on the Energydashboard also to other dashboards? Or is that only possible using community cards?
You can. https://www.home-assistant.io/dashboards/energy/
They aren't in the picker though so you have to add them as Manual
https://github.com/thomasloven/lovelace-card-mod
But it takes some work. But it should work if you cannot find a "simpler" solution ๐
Ah, I thought I remembered it being possible but forgot it was manual.
Awesome, thank you!!
Might you be adding the Layout options of the new Sections view? I know the cards otherwise have no configs, but maybe nice for placing them in the sections ๐
Is there a built-in way to do a horizontal divider on dashboards? I searched the forums and here but all the old answers I could find that people said fixed it for them are from like 4+ years ago and no longer available, at least by default, when editing dashboards/creating cards.
nothing really built in
Seems like there maybe used to be a divider entity and it's no longer around? Which seems less than ideal if there wasn't a replacement.
Dang, alright thanks.
there's a divider row for entities card, maybe that's what you're remembering
divider entity makes no sense
Ah, that might have been it -- I couldn't find that in the entities card and yeah agreed it as an entity doesn't make sense people were just using imprecise terms around it so I wasn't clear what was going on.
I tried putting it in the yaml but wasn't able to get it working, I'm probably just missing something if it should still be functional, I'll poke at it more.
it's only for within an entities card, if that's what you're trying to do
I can work with that if I can get it to show up in the entities card, I just haven't even been able to get to that point. I'll try doing yaml editing again and come back with it whether it works or not
Ohhhhhh it was working, it's just that on default colors the divider itself is hard to distinguish from the background and looks like it's not populating anything
Well, I can work with styling it from that, thanks for pointing me back at it ๐
Yup exactly, I just thought it was going "sure here's your entity" and then giving me an empty card lol
Just needed better eyes
Playing with the styling a bit, unless I want to start messing with themes more than I am atm doing either an actual title or using text to just do a bunch of repeat -s or something as a makeshift divider is probably a better fit. Thanks again for helping me get it working though.
I noticed that the zoom buttons for the map card are on the left side. That's an unideal placement for me as a right handed person.
I considered registering an issue on the Github repo, but saw the recommendation to ask in this discord if I'm unsure where to register the issue.
And tbh. I'm not sure if that is something that merits an issue.
Does anyone have thoughts on the matter?
I've seen this discussion, is probably in the right place. Don't think that is an issue as it's more of a feature request. Can also add to feature-requests category on the forum.
https://github.com/home-assistant/frontend/discussions/21608
Someone familiar with custom-auto-entities card? I can use last-changed as secondary_info, but why not the property 'ip'?
I would like to show every device's IP in the list as secondary info. If I do 'ip' instead of 'last-changed' I get nothing as secondary info.
Secondary-Info is a property of entities card and only accepts a few fixed options.
https://www.home-assistant.io/dashboards/entities/#secondary_info
Ah, bummer that it doesn't support other properties. Then I should use another card for it?
If you want that then yeah you'll need something else.
Hi All, my next project is to update my dashboard ( this design has the WAF, so it has to be exactly this haha), Jokes aside. I am keen to give it a go. My initial thought was to use the Grid card layout, but rather than doing Grid in Grid in Grid, does anyone have any better suggestions on how to achieve the layout:
there is an uptime card on HACS that's probably better for your use-case
i have a horizontal stack, but cant seem to hide the names of the entity's. is there a way to hide the entity names from being on top of the graph?
cards:
- type: entity
entity: sensor.precipitation_chance_3h
unit: '%'
- chart_type: line
period: hour
type: statistics-graph
entities:
- sensor.solar_panel_1_sum
- sensor.solar_panel_2_sum
- sensor.solar_panel_3_sum
stat_types:
- change
logarithmic_scale: false
days_to_show: 2
The - sensor.solar_panel_1_sum - sensor.solar_panel_2_sum - sensor.solar_panel_3_sum
are showing on top.
hide_legend: true
thanks!
when trying to change some code in a card, my browsers freeze and crash. on both edge as chrome. does anyone else have that?
i have a popup card that pops up based on entity. i simply want to add a few more entitys....
Hello, I bought a tablet to put on my wall, but when I try to go on one of my dashboard (a sections dashboard) on the android app or through the browser, HA loop and never show the dashboard. Other dashboard works ok. Any idea why ?
I have blocked a device from accessing the internet, but now a website embed no longer works. is there a way to make the home assistant device show this website and feed it to the device im blocking from the internet, instead that this device itself seeks to open the page?
So it is possible to display a website on frontend/dashboard that is being rendered/downloaded by home assistant, not the companion app/browser?
Is there a recommended way to keep the HA android app always connected to my HA so that when I open it, it doesn't spend time reconnecting. Should I do something in the companion app Vs android battery optimization Vs some combination of both.
Youโll want to ask in #android-archived
Hey guys, I keep getting an error message: "Configuration errors detected: Unknown type: vertical-stack" when attempting to use vertical-stack... Any ideas?
share the yaml?
@final tartan I converted your message into a file since it's above 15 lines :+1:
that seems fine, suggest put up the full thing on a paste site
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Is there something I need to do to integrate or install vertical-stack?
The "Unknown type: vertical-stack" is throwing me for 6... It's like vertical-stack isn't enabled or something?
I'm not sure how that could be possible
try safe mode is my only suggestion, maybe it's some custom resource breaking something
oh or try clearing caches
I installed vertical-stack-in-card via HACS and it's working
Yeh, maybe it's the cache. I'll try in a private browsing window
Nup, same issue in a private browsing window
Have a confusion here and hoping someone can help. I'm trying to make a dumbed down HA mobile dashboard for a family member, and want to have a weather forecast for their work site. I've been using Ambient Weather Network for the hyperlocal conditions, but that's only current conditions, not forecast. I'm trying to figure out what I would need to do to add a second location for pulling forecasts (US based, btw)
I am trying to figure out how to set the color of the "PRESS" button. I have ha-card installed and working.
I set the color to white of the name of the button. On the right hand side there is a word that says press where I toggle the sensor.
Hereโs a snippet of the yaml...
โโโtitle: Bedroom Window
state_color: true
card_mod:
style: |
ha-card {
card-mod-icon-color: white;
background: cornflowerblue;
color: white;
box-shadow: true;
},,,
anybody here got a suggestion how I can configure a colorpicker in a dashboard and store the selected color in a input_text helper for later use?
all I can find sets a color directly on a light, which is not what I want.
type: entities
entities:
- entity: switch.assist_microphone_mute
card_mod:
style:
.: |
:host {
--switch-unchecked-track-color: yellow !important;
--switch-unchecked-button-color: red !important;
--switch-checked-track-color: lime !important;
--switch-checked-button-color: green !important;
--switch-checked-color: lime !important;
}```
is there a bug in the graph card? it shows completely different on one device as the other. the exact same card with same settings.
it shows correct on my pc. set for 2 days. on my other device it shows for the last 9 months.
i just tried 3 different cards and they are all refusing to correctly show.
ah, the secondary device had its date set to the year 1970.
Is there a way I can do this?
- type: map
entities:
- entity: person.my_name
theme_mode: dark
default_zoom: 16
hours_to_show: "{{ states('input_select.map_hours_to_show') }}"
Currently doesn't seem to work, I have seen people use custom:config-template-card with variables
What am I doing wrong with the Frigate Card, as soon as I select the Camera Privater go2rtc I get the following message: Could not get a camera endpoint for this live provider (incomplete configuration?)
guess this goes here, i want to create a SVG icon and i can use elements from two existing ones in home assistant but i cannot for the life of me figure out how to take said element from one svg file to another while maintaining the svg format. i mean i can easily copy and paste but that doesn't mean it will remain a vector image. Anyone with some knowledge on this?
Youโll want to ask in #cameras-archived as that sounds more like a config issue in frigate.
Hi what is the correct way to add button card templates !include to a UI controlled dashboard. I tried adding it in raw config but that didn't work, I might be missing the correct way due to updates. Is it still possible?
well i presevered :p
my fan has a night mode, so i wanted an icon for that :)
aand it works, yay.
Anyone use UI Lovelace Minimalist. Im having an issue I think in "calling" the templates that are within Minimalist when I go create a Dashboard
I am trying to change the color of the PRESS
Set the color of PRESS
i'm using this to see an attribute to an entity but i want to tag something on the end like TB and i suck with templating what am i missing?
type: entities
entities:
entity: sensor.viper_home_viper_home_storage_g
type: attribute
name: PLEX Free Space
attribute: AvailableSpaceMB
You could create a template sensor helper with
{{ state_attr(โsensor.viper_home_viper_home_storage_gโ, โAvailableSpaceMBโ) ~ โTBโ }}
And then use the template sensor entity in your card instead of the entity. There might be other ways to do this as well.
ok, theres something else. i want to redfine the attribute of that sensor to where it shows 9.8TB instead of this
tried doing something in dev tools but it's showing 'sensor' is undefined
{{ sensor.viper_home_viper_home_storage_g | float | round(2) }}
would i have to make a sensor entity out of the attribute first for that to work?
seems like there would be a way to display this in the ui without doing all this i just can't find it
{{ states('sensor.viper_home_viper_home_storage_g') | float(0) | round(2) }}
Oh wait... actually you said it's an attribute, right?
{{ state_attr('sensor.viper_home_viper_home_storage_g', 'AvailableSpaceMB') | float(0) | round(2) }}
in developer it shows like this after trying that 9813121
{{ (state_attr('sensor.viper_home_viper_home_storage_g', 'AvailableSpaceMB') | float(0) / 1024000) | round(2) }}
ahhh. thats what i was having a problem finding info on
๐
So, the complete template should be:
{{ (state_attr('sensor.viper_home_viper_home_storage_g', 'AvailableSpaceMB') | float(0) / 1024000) | round(2) ~ 'TB' }}
Does anyone know if the type: custom:bubble-card card_type: horizontal-buttons-stack
can support a action based on clicking the button? would like to fire a automation when i press it. in visual editor we can only open a website or open a menu it seems.
only problem i see is the way it's being converted. i'm using hass.agent to display the sensors
not sure why it's showing like this lol
seems like hass.agent isn't displaying the correct info
Yeah. I have a feeling that is where I am going to need to end up. I am still incredibly new to HA and YAML. So it might have to be a future me problem. Plus, with an additional swing option about to be added into HA, some of the cards will need updating as well, so hopefully they get added into either. ..
use card_mod with height or line-height
no that was just to show the inconsistency with my actual free space to what hass agent is telling ha
i can't get it to convert exactly the right numbers
hi, not sure if this is an integration issue or a UI issue but I suddenly have 85 devices unavailable https://github.com/home-assistant/core/issues/125872
all my light switches, shutter controls, smart plug sockets, nothing working because of this one stupid issue. I'm so mad, I am freaking out here
well it seems, dear friends, that themes have an amaziing ability to alter the colours in embedded images
I did think of that briefly bt dismissed it as being too stupid of an idea
but apparently it is a "feature" of Home Assistant
with the new grid layout, how can I have a rectangular camera take up only its height when the grid spans two columns? i.e. currently, in a single column, the camera shows as a rectangle, but when I stretch the grid to span two columns, the camera becomes square. Idealy, I'd like it to be the width of two columns, but not take up the equvielnt height of a square element
Hello guys, quick question. Is it possible separate state value and unit of measurement in the new badges?
Yes, with the mushroom template badge you can do that.
Thanks, was hoping for a native way since I don't use mushroom
evening folks
I used to use https://github.com/marcokreeft87/room-card, but it seems like the author archived the repository, causing HACS to remove it
does anybody have a suggestion for a replacement?
I guess for now my workaround is that I forked the repo and added it as a custom repo in hacs
Anyone an idea how i can fix this useless white spaces, i am using the mushroom title card. Or do i need to use an vertical stack card for this?
I have two seperate title cards for the "Ruimtes" and "Begane grond":
type: custom:mushroom-title-card
title: Ruimtes
type: custom:mushroom-title-card
title: ''
subtitle: Begane grond
I love the look of the badges. Hope I could place them anywhere in sections.
Is there way to change the colour of the icons on a picture-element? I thought maybe I can use card_mod but I don't understand how to use it well enough. I use card_mod: style: | ha-card { box-shadow: 0px 0px 9px 3px var(--primary-color) }
to change the boarder but not sure what to add for the icon.
This is the element and I want to change the colour to white which works using chrome dev but not sure what to put in the code.
Anybody know how to make a custom Mushroom chips card chip only show for a specific person? I am using card-mod.
Tried: https://hastebin.com/share/cajoqewive.css
It compiles witout errors, and shows the card, but... doesn't show the card based on the condition...
I did a standalone conditional, and it works... I understand what I'm trying to do it really custom... I just really am hoping it can work.
Material Design Icons - is there any way to utilize the Density features of the Material Design icons to enable high-density space for controls that are generated by the <HA-FORM> control? Or maybe manual CSS styles that I can incorporate to decrease the size of the controls that are generated? A 24px; top and bottom margin around each rendered switch control is just a lot of wasted space IMHO. Please advise, and thanks for the help.
Is there a way to an "notify" Service to an Markdown Card? I generated an notification that works great, but now i would Like to Show this notification on my Dashboard too, but shown only for an specific user
Not really with a notify service, but you could store the notification text in either a template sensor or an input_text helper and then show that in the markdown card.
How come there isnโt a default light card that can address more than one light?
make a group of lights, then use that group in a light card
A group is a helper, you can create it from the helpers page. it will create a new light entity
Hello! Does anyone know how I can make the icons that have the glow behind them in, pulsate or blink? Here's a link to a GIF to reference (https://imgur.com/a/IzpZ5LE) and here is the yaml I am currently using: https://dpaste.org/23Xjk.
On the stock tile card for garage doors, is it possible to have the icon green when closed and red when open to match the lock tile card? Or is that a 100% custom thing to accomplish?
You can change the colors with a theme I believe
custom_covers:
modes:
dark:
state-cover-open-color: "#ff0000"
state-cover-closed-color: "#00ff00"
anyone using WallPanel? any way to display the image also in notch area?
that's exactly what I want. Is there good documentation somewhere (I'm sure the answer is yes) as to where/how to apply that?
I've kept the dashboard relatively stock outside of some additions via hacs
Themes doc are a bit sparse, but I think here: https://www.home-assistant.io/integrations/frontend/#supported-theme-variables
Sweet! Thank you!
In case anyone read my question earlier and wanted to know how to do it, I figured it out. Image: https://imgur.com/a/d7nmKqy and here's the YAML: https://dpaste.org/AEtjp
I was actually in the process of starting a thread to help you. The custom:button-card method was the first that I was going to mention. Looking at your code, though, why did you make a custom_field for the name? You can apply the color and name options to the card's name field via the state styles.
Oh, because I don't know how to write yaml. I'm resourceful in 'permanently borrrowing' other people's code though! haha. So this was cut and paste from a couple sources, until I could get it working. hahaha But thank you for wanting to help! I appreciate it!
Gotcha. Another option for a simple blinking icon to consider instead of the key_frames.yaml styles: icon: - animation: blink 1s infiniteThe speed of the blinking is handled by the time duration, here 1s.
Ah, I've used that for my garbage collection images I have blink the day before and the day of. I honestly don't really know what it means where it says 'light .8s alternate infinite' except the .8s which is point 8 of 1 second and infinite meaning keep doing it until the state changes. But 'alternate'? Alternate of what?
For your current animations, alternate doesn't really do much for you. Think of the key_frames as a script for the animation. Something is done, then it moves to the next line in the script and does that, so the 0 to 100%. With Alternate (which is part of the animation-direction setting) the animation is played forwards first, then backwards. Consider the animation that changes the icon from red, to green, to blue. With alternate, the animation would go red, green, blue, greed, red and then start over.
See Run Animation in Reverse Direction or Alternate Cycles on CSS Animations at w3schools.
Ah, okay, I understand. Where I got the code, they used multple colours and I did notice it go forward, then backwards, then forward again. I guess I was lucky in changing the colours all to red to create the pulsating effect. haha
I have a different problem that I haven't been able to figure out an answer on it yet. Mind if I ask you privately? It's not related to frontend really, otherwise I'd simply ask in here.
@lost pebble Yeah. That's what I did when I was learning how to do some of that stuff; just try to dissect the code to get a better understanding. In fact, when I was looking through some of my examples a few minutes ago, I noticed I had a box-shadow element that served no purpose for the animation that I was going for. This is something I was playing with a while back.
You can DM. Might not be able to help but maybe point you in the right direction.
That's a neat alert! Before I knew you could do animations, I create GIF's and used picture-entity to display the gif when needed for an alert.
And thanks, will shoot you a dm now...
Hi, can anyone recommend a good source of info to start with CSS styling in Homeassistant?
Hi , i'm trying to get a tile card with "progressbar" for my electric car's SOC as in the presentation "2024.9: Sections go BIG" does anyone know what code is used? when i add mymy sensor i got "No compatible features available for this entity"
๐

๐
woohoo
yay! just in time when I started experimenting with it ๐
it'd be nice to have some sort of "padding" card to allow separating columns :p
not sure if that's a nicer solution than the proposed columns. but I suppose such could be quite easy to implement at least
I suggest that for card suggestions, you first implement it as a custom card so people can play with it before we add it to stable
There is a great custom card example that can help you get started
working all of this, it could be quiite nice to be able to define a location of an entity, and use that for an entity-filter to show e.g. entities located in the bathroom
had I knowledge of frontend dev :/ but I agree with the notion
I think that once we have added the device registry, we should add locations to devices ๐
@dim harness that is kind of handled by the example given here - type: entity-filter filter: - entity_id: '*kitchen*' card_config: title: Kitchen
assuming kitchen is in the name...
@mortal cape yeah, it requires that in the name, but sure ๐
yeah, that'd be something for the dev registry indeed
- type: entity-filter
filter:
- domain: media_player
state: 'playing'
card: media-control
should this work for displaying a playing media players? I'm just getting "entity not defined in card config"
It doesn't work as media-control takes in a single entity and entity-filter works with cards that take in entities
entity-filter feels a bit odd to me, as it is (I'm assuming) not accepted wherever entities can be defined
hmm, okay, I see. it'd be nice to have such ability I suppose (for a what's-going-on main screen)
where is the ๐ป ? ๐
Some things suggested: https://gist.github.com/ciotlosm/9508388876edf92c4c1f3579e740fbd5#gistcomment-2628962
Cant wait to start trying it out but I know im going to need a few hours at least lol
This looks really cool, hopefully it will get implemented at some point. I think someone is already working on it. https://github.com/covrig/homeassistant-hline
It's the 3rd time now someone posted this. What about anyone tries to implement these 10 lines of code? ๐ค
entity-filter card question: is it possible to not include hidden entities?
i've tried
filter:
- domain: light
hidden: false
``` but it is still showing me some hiddne entities
hidden is a thing from the past, it's UI config stored in the state machine
It's not possible right now
We might end up adding an exclude filter too
Although we don't match on attributes yet either
when using the entity-filter card, is it possible to sort by friendly name?
The problem with sorting by friendly name is that friendly name is part of the state and so it can change
We can sort it by friendly name, but only maybe at initial config parsing
Woo! Moved everything over earlier today and all I can say is it's awesome!
im thrilled with it too
probably dumb but im happy i can add a media player to an entity card. love the little line entry for it
Got some ideas about making my home an "at a glance" page using the glance pictures... I wonder if they click the picture could act like a button and take you into another view...
you mean instead of the tabbed view?
As well as.. so I'm thinking glance picture reporting states of the whole room, so all the motion sensors, all the lights etc just connected up in group's, so if you toggle it off it just kills all the lights in that room, or resets motion, or brings up more info on that rooms temp etc.. but clicking on the picture of the room just is a link to the tabbed view
huh.. interesting
Or you could still navigate by a tabbed view.. kind of hadashboard on steroids overview page
Just an idea... Thinking it'd be awesome to quickly be able to see relevant stuff, and be able to dig into the details all with a unified interface
im kind of digging that idea
And one step further, be able to have the picture glance be subbed in for a camera feed ....
Hey is it possible to do a camera glance? I'd love to use my camera as the background, and I can pull the image but it doesn't update.
it would probably update on a refresh?
It only does on a webpage refresh. The Lovelace refresh doesn't do it
before i dive in, is it possible to use lovelace with the iOS app?
to be fair how granular do you need it?
does it refresh if you navigate back to it from a tab?
Well I just want to update the lamp I can see honestly. And nope only on an F5
hmm I mean you could spoof a refresh probably
Yea, it'd just be nice if I could just take the camera window and add in the Glace icons. That would be ๐
adding an "issue" to the lovelace git.. see what the devs think
PLEASE: check the few existing issues before creating new ones
sorry @quick beacon - spotted it as a sub comment on another issue but not it's own
can close off if that's not the right thing do to ? as for the two earlier- apologies, got a bit excited
HA 0.72.1 includes iframe-card & fixes entity_picture in glance-card
great work guys!
does someone have an example of what they've done with this?
I'm just toying with some things now @dreamy tendon but ill post some screen shots later if you like?
also this might give you ideas:
https://gist.github.com/ciotlosm/9508388876edf92c4c1f3579e740fbd5
thanks. And sure I'd like to see more as well even though I don't use the GUI that much myself
nor do i but the wife does and some tablets through the place might not be a bad idea
I was just about to sink a silly amount of time into hadashboard, looks like this fits the bill perfectly for me
@storm lion @dreamy tendon make sure you read already reported items. I've tried to aggregate some also reported as comments on the gist.
will do @north spear - I made a booboo earlier and listed a couple but read them all now.. what's good practice with regards to if something is noted in a comment but not the actual issue?
let me know I'll update that list so we can update issues with all logical needs
https://gist.github.com/ciotlosm/9508388876edf92c4c1f3579e740fbd5#gistcomment-2628962 this comment should have correlated most needs
I've added a get to issues through the day, one @quick beacon has already picked up on and seems to be working on and the other is a camera glance, or as @half osprey has suggested is to incorporate this within the picture glance card
cards to support templating is something else I'm excited for
also can clicking on a "picture glance's" picture act as a link to a tab
I think that should be already doable
have you tried to combine entity-picture with link entity ?
hmm nope.. I'll give it a go.. will let you know if it does work so it can be added to your gist
@raven nacelle can you let us know which types of cards you have on that interface?
@storm lion You cannot
what I thought, thanks ๐
^ so no not possible Marius
in glances can you add to the list:
an option that when clicking on a camera icon it brings up the camera in a window as it does when you click on the camera it's self?
But can you reference a normal link? I know most of lovelace you canโt deep link yet for views but at least first step should be doable. I will try tomorrow
as in a link to say google.com?
(sorry, if these are really simple questions, far, far from a coder I'm afraid or Id be trying to help with the project a lot more)
So first step is going to be adding permalinks for views
So that it's something like /lovelace/abc to get to view X
The next thing I want is indeed to allow tapping a glance-picture and have it trigger a navigation
So you can have a house overview, tap to go to a view that dives into that room
Then each room view can have a picture to go back
that's exactly what I'm after ๐
And then we can hide the tab bar and header and you have a super sexy UI
I'm so glad that's not just cool in my head!
now that the UI is getting decoupled from the back-end will this also impact components like input_* which currently expose state and interface as one... I can imagine that it might be worth it to just create generic input controls which can just set/update state instead of having special components for them
@vapid field no. Setting states directly is not something the frontend does
Frontend only interacts with higher level APIs made available
are there plans for a 'group by state' filter card?
@storm lion but without specifying every explicit state?
i mean to group entities in buckets based on which state they're in
but automatically
try:
- type: entity-filter
filter:
- domain: '*'
state: 'on'
(not sure - might work though)
I think he also wants state: '*'
@half osprey but why not a more generic state component which exposes a set and then allow creating custom controls? I understand that its not on the current to-do list, but it would make adding custom input a lot easier without having to switch components when a new input is available
which seems weird to me, heh
yeah, i want it to figure out all the possible states for a given domain, and then group entities into the possible state buckets
I guess if entity_it is * then domain is by defacto
@vapid field because setting states is only allowed to be done by the Entity class
Can you filter by state of entity_id or only domains?
my use case is template sensor wrappers for device_tracker entities -- some I consider "offline", some "down", and some "away"
@north spear - if the right way of adding issues is through you can considering adding:
- currently clicking on
climates,camera,input_selectin glances doesn't bring up the appropriate "popupmore info dialogs"
The popups are called "more info dialogs"
thank you boss ๐
Hello everyone, is lovelace substitute for ha dashboard?
@storm lion it works for me. Are you sure it's glance card?
@north spear it's a picture glance card
I don't think glance card was designed to open more info dialog
it was designed for on/off entities and sensors (especially binary)
I think this will require a discussion if it will make sense to add more info dialog or just avoid allowing entities that don't match on/off to show
@half osprey considering lovelace is experimental, I assumed issues should not go into home-assistant-polymer list. Also ui-schema repo seems appropriate (at least from description) only for suggestions and discussion around schema specific things
where should bugs / features & rest be reported?
I have a list aggregated based on various comments on the gist, but I avoided to tell them and raise issues in home-assistant-polymer because it's experimental
Understand that, but it acts that way for motion sensors.. perhaps turn that off then if it's not intended behaviour?
Also possibly an option of changing the icons would be useful? For example I have two switches that both just show up as lightening bolt.. either a user defined icon or a number of "secondary" icons would be useful
just some simple minds like me might think it's a missing feature ๐
@north spear - Unless I have missed it I can't seem to suggest edits to your gist.. can you add a note saying you can only have a maximum of 10 items shown on a picture glance please
it's unlikely people will add that many.. I just wanted to see how many we could have, and let people know
since 0.72.1 glance cards aren't cutting cropping longer names for me:
https://imgur.com/a/KX0SY7L
Is this for anyone else, and if so did you want me to raise a bug issue?
@north spear - give me a shout if you want a hand with that - I'm no coder, but can help with the docs if it would be useful.. up to you ๐
It is a bug. It has to be raised, probably against ui-schema
I am happy to receive help, but unfortunately gist is very limited on collaboration
You can post comments and I will happily integrate them in the proper area in the docs
My gist is just a temporary walkthrough until Lovelace becomes the official dashboard
is it worth considering adding it to the main documentation with ExperimentalLovelace in front of it?
I think you've got the docs down at the minute personally, but the take up seems massive so far which might suggest it's worth getting in the proper docs earlier than was maybe envisaged
Lovelace fixes the main problem for users that adjust interface for the first time: avoids the need for reload the whole HA on every change. That speeds adoption A LOT
That is why the uplift in adoption so early on
Totally agree - and that's the only feature I'm not using
so you need to have a weather component, not sensors setup
go for yahoo weather - dark sky doesn't load the icons correctly
nice work ๐
Would YR do the job?
YR is a sensor - not a weather component
https://www.home-assistant.io/components/weather/
any of the options on the right of that page will work.. however I believe the recommended is yahoo weather until the other weather components standardize there icon requests as per
without writing a custom card, is it possible to display a second line under a sensor like customui does with extra_data_template?
separators was requested, but not yet implemented, fonts and sizes probably not, but should be doable with themes at least at a view level.
Themes unfortunately isn't working for me, I think it needs a fix
@north spear posted a message that is more than 15 lines. It is now available at: https://hastebin.com/osotofutol
Where are requests entered?
I correlated these from the gist comments, but I think there should be a repo where tehse should be entered as issues
for now the only repo for lovelace i know it's ui-schema, but unsure if these fit there the best
so for now at least for myself I'm maintaining these in the comments, trying to inform people to avoid duplication. Far from ideal, but hope we get more steer on the best spot to place these
I'm sure we wouldn't want feedback for experimental UI to go against the official "home-assistant-polymer" repo
you mean do it programatically or through automation?
not sure exactly the use case you're trying to describe
Programatcially would be fine...
Let me do a screenshot
Oh... I cannot share files in here...?
No, too many people would just post code as images
@quick beacon Didnยดt know I was in the habbit of doing that...? But sure... No problem!
Can you stop posting useless pictures, tinkerer told you
Highlighting a this is what would be great, sure, but here's a pretty picture, not so great ๐
@split granite I get the issue of people (including me apparently) posting useless pictures would be a problem... Could you please explain to me what it is here that I did wrong?
Think before posting, you have a row full of toggles. How should we also add a text there?
My personal take also is only to include the bit that's relevant - trim images, and use them where they add something you can't easily explain in words
@split granite Thanks! Get it!
@quick beacon made a good point too - in that image, how would you add state without fundamentally changing the nature of the card
About the most you can do there is change the icon colour (carefully)
Something like this....
I hope that picture isnยดt too much for anyone!?
In my case, the idea was to have a picture-glance card, picking up the image from a web cam, so dynamically updating the image with a view of the weather data that is displayed in the bottom....
wow.. all 3 pixel there hurt my eyes :S
I need to go to bed and sleep this day away! Everything I do is wrong now....
lol.. I was joking buddy! I like the concept though ๐
I'm not sure if any information put under the icon would be too small to be of functionally useful
๐ I donยดt know either...
That was the idea, now Iยดve shared it, and Iยดll leave you guys to do with lovelace whatever you want!
Hi, What's lovelace?
Please read the channel topic @ocean skiff
baby don't hurt me
smh
no more
Is there way to define card width and maximum cards in row?
seeing as we have a plant card, what about a climate sensor? current temp, target temp, mode
^Same applies for vacuum card
ohh I see... well on the flip side then, how about a way to front end attributes in a glance card, then people could make there own "vacuum card" if they wanted?
Are there any plans for a glance-like card that has directly actionable buttons instead of just statuses? I currently have a card that has two scripts. It would be nice to have those script buttons side-by-side to help reduce the space they take up.
Yeah it doesn't seem to work with the normal glance. Clicking on them will bring up the popup card with the controls, but it would be nice to have it directly actionable from the main card.
Ex:
Script 1 Script 2 Script 3
[Execute] [Execute] [Execute]
Something like that ^^
yeah, I think the picture glance does that...
@storm lion Picture glance isn't ideal though for that purpose as it is designed to take up more space in a sense. Whereas the normal glance card is designed to condense things.
@north spear Glad to hear ๐
@north spear - consider adding on attributes to be used in glance cards please (I assume it's possible to do from my very rudimentary understanding of the system)
It might just be a re-work of the plant card?
What would be the use case? I am not sure I understand
soo, it'd use a display card the same as glances or the plant sensor but for other devices that list a number of attributes; vacuum cleaners and climate sprint to mind immediately.. now you could work around it by creating a template sensor for each attribute or something but that seems a bit of a long work around
Quick question: Has someone already created a groups->Lovelace migration script? I'm tempted to write one if that doesn't exist yet :P
Hey @burnt herald ! not that I've seen...
That will be super @burnt herald
I was thinking of that as well
However I felt that would be better to look at each group and try and make it more dynamic
should be relatively straightforward, already on it :)
I can't post pictures here mate but - https://imgur.com/a/rLRMAEB
so yeah a few of those in a glance card would be useful for a number of people I guess - Looking at the code, I can't see it being any different to the plant card, other than it being user defined attributes
Is there a way to customize the title of the weather-forecast card?
it's the name of what you've set the weather entity as in
weather:
- platform: yweather
- name: name_here
erm...that doesn't seem to work
erp...nvm...I was editing a copy of my weather.yaml file rather than the actual file ๐คฆ
๐ changed it now?
lol.. I get stuck at that step too!
Murphy's law - Make something idiot-proof, and they will build a better idiot
lol
@burnt herald nice!
For the people that wanted basic templating in the Markdown card, I've shared an example on how to achieve that with a custom card https://github.com/home-assistant/ui-schema/issues/55#issuecomment-400351524
^posting useful examples in an issue is not ideal ๐
haha you are very right
I was thinking of making this example the official custom card example
As the other example only works in Chrome
...and it works offline by default
so add both there ๐
I will
When adding MJPEG camera as 'picture-glance' it shows live video stream, first time I see live stream on front-end! and because its added only in Lovelace and not as component it has no errors in logs this is great ๐
when did a calendar side bar appear? Is that a lovelace thing? ๐
calendar was added in 0.72, don't think it is working atm
no, isn't working. for me, just must have missed the feature note on the blog
@mortal cape is it possible to run the migration script on hassio ( just copying out the config files and runing the script over?)
yes , to my mac
@calm rock It's going to look for an install of homeassistant
!! Good , it will speedup the transition a lot ..
wow i really love how if you have all the cameras in a single view they no longer take up a single column.....sorry if that was mentioned before just started to dive into this ๐
@upper jungle just be careful this will eat bandwidth
This is a fantastic addition to HA. Thank you to all involved!
@storm lion our vaccums are named the same lol
Moved docs. Gist comments didnโt allow notifications or collaboration. Will delete/disable the new repo when lovelace will stop being experimental and not move so often. Iโll try to keep updates there as stuff is moving wih dev.
@upper jungle can you please show me your MJPEG picture glance entry in ui-lovelace.yaml? I'm struggling to achieve the same thing here
I've looked around a bit but cannot find anything regarding this.... Can you use the old badges inside a card in lovelace or would you have to implement it as a custom card?
custom card
The badges don't really work well in a custom card, too flashy
For now glances do a similar thing
Thats what I though, thanks
someone change the room topic to the new location of the lovelace docs please?
What's that location @storm lion ?
done
thanks guys ๐
I meant to do that earlier and forgot
Who is @ciotlosm? Is there a way that we can migrate this over to a new section on our website?
it's @north spear - @empty heath
Thank you, sir. Lovelace is integrated into the core, yes?
It's not a "custom component" or anything like that, right?
I think he just wrote a nice summary and it because the defacto place..
yup part of the core, albeit it not on by default.. can go on there with an note on it being experimental nice and bold on the title I'd think
Hey
๐
@north spear Would you be okay with moving your hard work on the Lovelace docs over to the Home Assistant website?
Sure
Let me know where exactly. Not sure I can give enough permision for transfers
I have also not respected any standard either
happy to help you @north spear if you want me to take a few and amend formatting as per guidance
@north spear No worries on either of those, we can help you get it up to standards. ๐
ehm official repo for lovelace is dev-docs..., @north spear "only" has examples
at least documentation is something I can be useful and help out with
As for the permission, anyone and everyone is allowed to submit a PR. Let me have a look at where the best place might be.
For now I think under Frontend would be good, something like https://www.home-assistant.io/docs/frontend/lovelace/ -- does anyone have any thoughts on this?
@quick beacon I personally do not feel that dev-docs is an ideal place for it, but that's just me.
it's experimental + wip. I won't update two docs sites
I don't disagree with that.
@storm lion is vacuum cleaner already supported ?
As an entity it is
I was only musing about a specific card for it.. it works just as before currently @hallow granite
@storm lion how would it look like in Lovelace?
As.OK ..are u planning to integrate it ?
With attributes and control buttons ?
I'll post a screenshot when I get home of what it currently looks like... I think it was decided it probably wasn't worth it giving it a specific card
@storm lionthats a pity ..cause I think it would be nice having a clean control panel for it
@empty heath Let us keep it in dev docs until it matures otherwise precious time will be spent on updating multiple docs. Plus, I am guessing at some point, Lovelace may become the default frontend, in which case, we may not need a separate entry
@raven nacelle Understood, and that works for me. ๐ Thank you!
Yeah.would be awesome having Lovelace the standard frontend
Probably will be
Why not...I mean what would be a reason not to be ?
Can we link @burnt herald migration script in the pinned too please?
Lovelace UI Migration Script (by @burnt herald) https://gist.github.com/OttoWinter/730383148041824bc47786ea292572f8
Thank you!
Doesn't work for hassio installs unfortunately
nvm, misread