#frontend-archived
1 messages ยท Page 5 of 1
you can add aliases as shown in the automation/script docs
to actually add comments, you need to split your automation YAML file as shown in the pinned message in #automations-archived and edit in YAML
Then you could install the phpMyAdmin addon and clean the database manually ๐
Any way to get this slider in a card view natively?
By natively you mean without third party cards?
Hi Guys,
Iโve a picture-elements card where Iโm trying to change the icon color based on a motion sensor last trigger time.
Example: If {{ relative_time(states.binary_sensor.front_motion.last_changed) }} is less than 5 minutes I want the icon color to show Red or else Green.
With the following Iโm able to change the color based on the state of this sensor, could any one please help me how can I do the same with last changed time.
icon_color: |- {% if is_state("binary_sensor.front_motion", "on") %} red {% else %} green {% endif %}
Never mind
Able to do this by following
icon_color: |- {% set ls = (states.binary_sensor.front_motion.last_changed) %} {% if ( now() - ls < timedelta(minutes=5) ) %} red {% else %} green {% endif %}
I just made a custom plugin for Hassio that might be the bridge youโre looking for.
is there a way to either hide a card if the entity is not connected. when i dont use my TV within a 24 hour window it throws entity missing error on the card or preferable to have it not show that error and just be greyed out or something?
How do i select a timeframe until 0.00 hour exactly??? https://youtu.be/C7Ta77twIPc
This is buggy as hell
Hi, since HACS doesn't handle updates any more how do I do this? "You need to manually clear the frontend cache after updating."
ok, so CTRL-F5 about 6 times. Would be nice if it could give the option like HACS used to.
Look at this.... https://www.home-assistant.io/dashboards/conditional/
hello cann someone help me get the colours change on the buttons wenn the vaccum is running through one of those scripts ?
'''yaml
show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: script.1643022832589
data: {}
target: {}
entity: vacuum.rocky
icon: mdi:stairs
name: Hallway
theme: Mushroom
'''
Conditional card
If you open the browser dev tools, and then hold on the reload button in the browser bar while the dev tools are open, it should show a secret menu with an option to empty cache and hard reload
Hi ! i created 2 different tab, but they show the same content. Do you know why ?
Oh I never thought of that. Thank you @light gull I will look into this on my travel to work this morning
#1037087561245524058 maybe some have ideas ?
so I know how to accomplish this on a website, but what would be the route with card mod, figured it no worries
Hello, Could you tell me how the new "ulm_translation_engine" works under minimalist-lovelace ? I would like to put my lovelace in "agreement" with this new value but I don't understand its function
If you are good with CSS, then are you already using card-mod?
I am too bad at CSS to know by heart how to do it, but I think there might even be examples of how to change the icon based on entity state in the forum thread.
Check @woven stirrup 's examples https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744/1396
Hi folks ๐ How can I specify icon type based on consumption of a specific sensor? According to my example here, I want the icon to change if the sensor reports a value exceeding, say, 2W https://pastebin.com/raw/g9PMtiU0
Mini graph card question
Can I have the logarithmic setting work only on one of two pieces of data I'm tracking in a single card?
hello there:
I am trying to get the color changed in a button card wenn a particular script is running . can someone help ?
I'm trying to make an entity background change color based on the value. I've tried the BigNumber card, but that seems to only work with a bar graph when using min and max, if I don't use min/max, then nothing changes color). I'd like the wet bulb to be blue when the temp below 21, yellow below 27, and red above 32 (trying to track snowmaking conditions). Is there a better card to use for this?
How do you mean precisely? It basically makes all entity state strings auto-translatable with help from the HA-Lokalise database and useable in custom-button card as a template
Did you try setting them two different axis? Set the linear series to primary and the logarithmic to secondary?
I only use apexcharts, but I would think that that is the approach you need to test.
When a script is running or when the state of the entity that the script addresses changes?
it looks like this. so wenn i press example Kitchen then it changes to green
@gloomy iris is that possible ?
@gloomy iris here the whole script for the whole card
I don't think so. mini graph card has attributes that can be set for the whole graph, and for individual entities. Log doesn't seem to work on individual entities.
does anyone have a good link for how to click a button on the dashboard and have it open another panel? I don't know if my google foo is just not good enough for this or if perhaps I'm using the wrong terminology. Thanks
ok, this fader just doesn't cut it.. it's huge and clunky on touchscreens too. how can I replace that with smaller, longer faders?
A custom card would be one way to do it
i'm currently figuring out how to install hacs
I get this issue when I try to add the hacs integration however
Sorry, as I said, I only use Apexcharts-card because everything else is not flexible enough. I just wanted to point out where to look.
entities does not give you a fader?
or maybe custom card slider entity row.
Has anybody seen a template to create a multiple choice dropdown from an input_select? So be able to select multiple options and return a list?
i get very little choice to pick from actually.. a toggle or that fader I screenshotted
slider entity row might work
I got a shelly rgbw that I'm using for 2x cct systems.. I'd like to get a more intuitive control too
I have sliders for climate (temperature control)
https://imgur.com/R2W5PCo is this a known bug when updating devices via home assistant?
"installing(true%)"
how do you handle guests?
like create a new account for them with their own dashboard and have a qr code for them?
oh i thought you meant knowing when a guest is in the house
hahahaha
why does a guest need access to hass? your automations or dashboards or light switches etc should still work regardless of who's there
to give them more control.. I'm not using motion sensors to turn on/off the lights
Hello, I need some help with the Xiaomi Cloud Map Extractor.
I have a xiomi mop pro 2 (Viomi) robot and I integrated it. It seems that it is ok(sensors and commands) but the map is not extracting correctly, it seems to be duplicating the map, inverting ,overlapping and with the robot in the wrong possition :/ does anyone had similar issue or know how to solve it ?
PS: on the xiaomi app the map is correct and working ok.
Thank you in advance
the official docs explain what to do: https://developers.home-assistant.io/docs/api/rest/
but...they give you some great examples of exactly the command to type
great job on the changes to the front-end everyone... with those new rounded edges and borders it wasn't hard to adjust my setup and give a really clean kiosk control panel grouping:
Looking nice @spare meadow
Is there a way to get the info dialog to take up most of the screen like in this picture from the release notes today?
when I click on an entity, the graph is small
this is in the browser
How did you get the colours change in those floor cards according to state ?
custom:button-card
Hehe so this happened to my custom theme ๐ Anyone know what lines to change to get rid of the boarders? Using both custom theme and a lot of custom button cards.
ha-card-boarder-width: "0px" does not seem to do anything
I already do have quite a few customisations from using css code thanks to card mod, this I actually ended up achieving using the border lol, not the way i would of gone about it in css on a web page.
create a custom dashboard just for the guests, use kiosk mode addon from hacs, then with fully kiosk... then create a toggle helper and then automation that when toggle is on have fully kiosk load url on which tablets you require to go to guest dashboard. because of the kiosk mode added to url they wont be able to access anything else.
Don't know how you wanted to dot it, but it failed in HA?
I probably would have uploaded two icons and selected the icon according to state.
Does anyone know of a wind rose card, or can point me in the direction of some documentation on how to make a custom card ?
i do already have some code to make a nice windrose in svg
Here's a starting point https://gist.github.com/thomasloven/1de8c62d691e754f95b023105fe4b74b
Though if you don't already have the data in Home Assistant somehow, you may want to consider finding a source for a prerendered variant somewhere on the internet and pulling that in as a generic camera entity https://www.home-assistant.io/integrations/generic/
The official documentation is here, by the way https://developers.home-assistant.io/docs/frontend/custom-ui/custom-card
Anybody know of a way to produce a multiple choice dropdown card (be able to select more than one entry)?
Could not find a solution in stock cards nor a custom card.
I applied the style to buttons, that way it has nothing to do with icons, its part of the button it self.
Your original button was different shapes. Did you draw the shape then? Borders with inner and outer radius?
The default dashboard theme has been adjusted to move a little closer to the new Material Design 3 guidelines. Borders around cards are now outlined (instead of having a shadow), and corners are a little more rounded.
You can set ha-card-border-width and ha-card-border-color in a theme
Ah, you're right. That will need to get updated.
Can the new 'statistic' card be set to a fixed_period by hours? The example only shows by date. Eg. I want to know the max of a sensor between 4pm and 9pm each day.
well yeah tbh, this border also bugged me when I did the update. had to remove it by theming border width
i wanted it customisable to fit different themes and test icons i make for cbi repo, so I can change shape when i need to using boder radius ect, just increasing radias will make it round with style code.
so just adding a bigger border radius creates round version
double click the title (Outdoor Lux)
A new Mushroom theme (Mushroom Shadow) has been introduced today which will bring it back to what it was
care to share code ?
Thanks ๐
Hey guys, does anyone else have the problem that the more info window for camera feeds is absolutely tiny after the 2022.11 update? Before the update the window was almost the size of the entire screen (depending on resolution) whereas after the update it is so tiny that it doesn't make sense anymore to use this window to look at your camera feeds. Is this intentional or a bug?
@gloomy iris No log support T_T https://github.com/RomRider/apexcharts-card#roadmap
Hello @lyric prairie Every time I put a custom-card, I get an error saying that it is impossible to find ulm_translation_engine.
How can I exactly remove and fix this blocking point?
What version of Minimalist do you have installed?
anyone else getting outlines on cards after updating?
See just some posts above you ๐ #frontend-archived message
@gloomy iris I converted your message into a file since it's above 15 lines :+1:
Forgot the () for the conditions. Cannot delete my post due to bot
Is there a way to use a "number slider" for a fan entity on a dashboard?
It's not really an installer version but I got some elements from the last 1.1.6.
Ah okay, that would explain why it cannot be found.
This is the translation engine template: https://github.com/UI-Lovelace-Minimalist/UI/blob/main/custom_components/ui_lovelace_minimalist/lovelace/translations/default.yaml
Note: by only adding some parts from the Minimalist-repo will eventually result in more of this errors as a lot of template and cards are linked to each other
Okay, thank you, I don't have the error anymore! That's cool! But one more thing, how do I change the language. I'm French, I like my language but even if I'm open-minded I have trouble reading and understanding Swedish or Norwegian or Dutch๐
@lyric prairie it was a bad placement of a yaml. It is corrected!
Evening all, any one know why
state_image:
"off": /local/off.png
"on": /local/on.png
is not working on picture elements?
hello, can I limit the range of the Color Temperature slider in the more info window?
my lamps can only go between 2202 and 4000 and not like the slider between 2000 and 6535 lumen
It depends on the integration that your lamp uses, but it should report what it is capable of
That's not the integration though. Are you using ZHA? Zigbee2MQTT? Deconz?
Zigbee2MQTT
Right, so you'll need to check the #zigbee-archived2MQTT docs for that device, and make sure that it's not "translating" the full range back into what the device can support, and if not then you can either customise the device yourself or open an issue for the device
i think i found it thanks
What is the code piece to count the lights in a room? I wish I had a label, like this example:
[[[
if (variables.room_card_label) {
return '<ha-icon icon="mdi:thermometer" style="width: 16px; height: 16px;"></ha-icon>' + (entity.attributes.current_temperature || entity.attributes.temperature || entity.state || '-') + 'ยฐC' + ' | '
+ '<ha-icon icon="mdi:water-percent" style="width: 18px; height: 18px;"></ha-icon>' + (entity.attributes.current_humidity || entity.attributes.humidity || entity.state || '-') + '%' + ' | '
+ '<ha-icon icon="mdi:lightbulb-on" style="width: 16px; height: 16px;"></ha-icon>' + ' count ' + (entity.attributes.current_humidity || entity.attributes.humidity || entity.state || '-') + '%';
} else if (entity.state == "on") {
return variables.ulm_on
} else if (entity.state == "off") {
return variables.ulm_off
} else {
return entity.state
}
]]]````
@dreamy copper I converted your message into a file since it's above 15 lines :+1:
What am I missing??
I'm trying to change the icon based on the value of an input_select helper.
It takes the language you have set in the Home assistant user profile
Anyone know why my entities cards are cropped at the top? The spacing at the bottom is fine.
I have a bunch and they're all like this if they don't have at title. I have a second HA install that's fairly old and it looks normal. The broken one is up to date
My history card in lovelace has a period of stalled updates, while the same sensor show normal updates in the history screen. Does anyone know what i should change in my card setup? (I only added the sensor of interest, selected one hour of history and kept the remaining fields empty)
I have an input-select dropdown but my choice is deleted and reseted to the first option every time i restart home assistant. is there a chance to keep that persistent?
Yes, it does by default. Do you have an automation resetting it?
I have an Input select How do i show a dropdown or something in the gui?
Something like this: https://community.home-assistant.io/t/lovelace-select-list-card/210085
Or you could create a button for each one, or just use the entity/glances/whichever card, click or tap on the entity and take advantage of the popup
Would you be able to share the code on those floor custom cards ?
Entities card
you misspelled "template "
i assume you're talking about just the summary rows?
this is the one for the "second floor"
https://gist.github.com/pironic/98e1c6cbc8c9f97b46661c8bacc9893e
Is there an issue with the new statistics cards? - ive got 3 of the same sensor set up - daily,weekly and monthly - however the weekly amount seems to be higher than the monthly, not sure if I've got something set up wrong or
@dreamy copper I converted your message into a file since it's above 15 lines :+1:
Fix the spelling error, see the message above... but it still doesn't update the icon when I change the state.
I'm sure this has already been talked about, but what in the hell is going on with borders on cards? How was this allowed?
What's your question @dark dirge? There are solid borders on all cards. Seems like many others are having this issue
It's not an issue
You seem to think that it's a bug, or somebody screwed up. They did not
No
This is expected behavior and for it to look like this?
And just because someone meant to mess up doesn't mean they didn't lol
Just because other elements of the UI have borders around them doesn't mean they've "been in HA for months". Frenck really has a tendency for not seeing past technical aspects
In any case, they were surprising, but they have grown on me. I just think such a very obvious UI update was not handled well. It seems the change was made to more align with material UI. It reminds me of Linus's rule to "not break user space". Meaning, don't do the "technically right" thing and ignore its effect on the user
https://youtu.be/VCYxQAXeVyU can't choose entity in statistics card
Is anyone able to give advice on if the new 'statistic' card be set to a fixed_period by hours? The example only shows by date. Eg. I want to know the max of a sensor between 4pm and 9pm each day.
Not sure but you could setup a statistics sensor with appropriate sample size and make a automation extract the max value at 9pm into a helper entity
For this use case, by 9pm that information is less useful. Having the value update between the hours of 4 and 9 allows for household to monitor power usage and avoid surcharges on energy spikes.
where did you find the option icon_template?
has anyone noticed after 2022.11.1 update cameras dont pop up large view no more and just basically pop up the same size view as on dash?
any suggestion on how to do the following:
in each area view, have a list of buttons with a button for each scene that has a matching area_id. as a bonus I'd love to be able to also dynamically create and delete scenes. So have a button to save the current lights status to a scene with the correct area_Id. And to be able to hold a scene button to prompt the user to delete the scene.
I know there are a few out-of-the-box thinkers here.
Can anybody think of a way to make the source of data statistics in an apexcharts-card when the charted time is more than 2 weeks without breaking the card when it is less than two weeks?
statistics:
type: mean
period: hour
align: middle
I have not found a way to disable it by setting them to [] or null without breaking the card.
If its not useful after 9pm and you collect until 9pm you can just extract the max attribute from the statistics entity using #templates-archived (because this has nothing to do with frontend)
is there a way to use includes in dashboards so repeated elements like sidebars in views can be managed in one place. At present when I make a change to a side bar I have to do it in all my views.
I am trying to modify the title color of a card and it works with card-mod of ha-card but not when I do it in themes. It should just be secondary-text-color, but it does not work. Tried a few more also.
@gloomy iris I converted your message into a file since it's above 15 lines :+1:
Does anybody know why that does not work but
card_mod:
style:
.: |
ha-card {
--primary-text-color: white;
--secondary-text-color: white;
}
works?
Not entirely sure if this is the right channel, but I have a script that notifies a tablet via notify service and tts_text. I want to click a button in the dashboard so I get a popup where I insert the tts_text and then send the notify. Suggestions? The only I can think of is displaying a helper with a text field and a 'run script' next to it.
Hi guys, is this possible? I have a slider to set a limit (0 - 100%) but I want to show the current value in the "name" field.
Something like this:
XX Limit - (currently ??%): slider here.
?? should be the sensor output
Hi
please, how to remove the magnifying glass in the opening screen? kiosk_mode: user_settings: - users: - luc hide_sidebar: true ignore_entity_settings: true
are the stupid borders getting removed next update?
https://github.com/home-assistant/frontend/issues/14204 i cant figure out what ildar means here. Or is it that all themes have to be updated to decide whether that border should be there? via this ha-card-border-width: 0px?
if you dont want the borders, you have to fix it globally for your frontend. you can do that with that single line in the theme(s) your using.
As a counterweight. I just updated and really really like the look
Hello. Can anyone advise please any elegant and compact card for multiple temperature entities? Default glance card with stack looks not so pretty.
Random question:
Is there a way to only apply the variable "ha-card-border-width" to my dashboard, and not other pages?
If you are not using an auto-generated dashboard, then yes.
what exactly would you not like there? had you expected something different?
No. There's just been quite a bit of complaints about the redesign.
Maybe that was mostly in other channels, though...
i just tried the default theme dark/light modes. being used to not use those, I feel the darkmode is rather nice indeed. Too dark for my eyes, but very clear nonetheless. Light mode however is shouting to please close that and switch to dark mode asap.... hurting my eyes. literally. nothing to do with the new borders/corners though ๐
although, on second review those borders and corners are not my preference
mod-card at the top?
my eyes need a bit of softening
I'll try to fix that tonight.
yes, but only to take out the gaps: type: custom:mod-card card_mod: style: | :host { --stack-card-margin: 0px; } card: type: horizontal-stack cards:
uhm, this might sound like a noob.... but. I have - !include /config/dashboard/buttons/buttons_dashboard_direct.yaml on all of my views as a top navigator. How do I get that in a Ui configured view...
with or without leading -
anyone use Sian-Lee-SA/honeycomb-menu with a hexagon card?
You don't.
!commands only work in the yaml files.
ok thanks, feared as much. tbh, that whole dashboard started out as an experiment using my cameras, and adjusting the view according to the viewing device, and the state of the cams. Turns out, that is way too complex for the UI configuration..... so I'll be moving that to yaml anyways.
Can I somehow sort all the "Dawn"..."Midnight" rows?
(without resorting to building template sensor for each row. Or writing custom card from scratch)
Those are multiple-entity-rows for sun.sun entity
Is there a way to invert colors for on/off on a cover device class?
I want my roller blinds to show open as the default color, and closed as the highlighted color
Or maybe someone knows if this can be achieved by having a template without a key?
Kind of an "insert this code if the condition is true"?
After the latest update my camera picture entitles no long fill the window. Can't figure out how to change it.
Previously they filled the entire browser window.
@fast sedge click on the text (Mac) in the header and it will expand. I think previously clicking anywhere in the header had expanded where now clicking on the text specifically now expands
Anyway to make that the default? Before it was always full screen
I handle that differently with tap actions for my cameras navigating to a separate panel view for the camera (which now the back button addition helps make navigation even easier). But yes I am seeing the same where the camera is no longer expanded by default. Thinking that could've been done to improve performance (maybe)
So right now, no fix for it then? A few updates ago they added that usless status bar / nav stuff at the top. Now it's not even maxed by default. It's evolving, backwards.
It's Core functionality so you'd need to handle it differently. Maybe for the time being (if it changes or becomes configurable), or maybe permanently if it doesn't come back and is an intended change. I'm not impacted creating separate views (panel) for each of my cameras. A little more work but resolves your issue
By separate view, do you mean a tab at the top?
the views are visible at the top yes, but can be hidden as well so they don't clutter
I have WAYYYY too many cameras to viably do that.
I have 4 cameras total now and it wasn't too bad to configure. Having other options available to help solve to issues we encounter or things we don't like is pretty awesome though ๐ might not always be exactly the way you want, but it's a work around
I have ~40 cameras
Hi, I recently installed https://www.amazon.com/dp/B08428YB81?psc=1&ref=ppx_yo2ov_dt_b_product_details. Using ZHA.
This works fine, but the Brightness control - how can I add a slider to my Dashboard?
There is a configuration that I can set (https://imgur.com/a/xBIhD3w), but this only controls the brightness when the switch is next powered on.
I can click on the Switch entity in my Dashboard (https://imgur.com/a/LhNyOgc) and control the Brightness, but I can't find any way to get the slider on my Dashboard directly.
I'm sure this is a simple one but I just can't find an Entity for this so add to the card. Any idea?
How can I control space between lines in vertical stack?
I only saw the 7 in your screenshot
My BlueIris camera server is on another view.
The tab I screenshotted was some of my 3d printers
The same for those picture entities.
I think #beta had a bug mentioned with more-info where it wasn't expanding at all. Maybe this could still be a hang over from that, or, was an intended change. It might go back the way it was, or, may deploy a setting to configure
Posted on the forums as well, maybe someone there will have any idea.
this might be something worth checking out too https://github.com/custom-cards/surveillance-card
Ah nice - might give this a shot.
Why does picture element not show images on it, as it did few days ago. Havent touched configurations... Otherwise it works (shows temperatures etc) ?
Complaining here wonโt bring it to the devs. If you want some hope for change , open a discussion in the Frontend Repo
listen to marius he is the king of being heard ๐
@fiery ledge agreed on the request for a change. I wasn't complaining (sorry if it had been interpreted that way). I'm not impacted by said issue and only tried to provide a work around in the meantime
Can anyone explain to me the benefit of displaying recent history in more-info like this now?
I don't know how to interpret min/mean/max. Are these over 5 minute windows or something?
The blog suggests that "the โmore infoโ dialogs of entities now use long-term statistics for the graphs shown. It makes those dialogs a lot faster, especially on mobile devices."
Is this just the best way to display the information if using data from long-term statistics? Because it seems a lot worse to me than just showing the raw data itself.
Even the example in the blog does not seem to make the case for displaying min/mean/max. I would rather just see the raw data.
A few days ago, I updated my FK Browser app via apk to 1.49.1, and have been noticing every 12 hrs, my tablet is asleep and FK is off. Tablet becomes very unstable and noticed there was only 250 meg memory left (out of 3GB), and its clear FK is just eating away at my memory until it crashes. Not sure if this is 2022.11 related or 1.49.1 related, but wanted know if anyone else is experience this. thanks
yes I am 100% not a fan of this change, it does not make sence in a smart home enviroment were your trying to simplify things, ok lets take one tap full screen and turn it into two tap full screen view on cameras, my NVR is smarter than that it is just one click camera opens ๐ although it does look like a fix has been submitted and apporved.
Good to hear.
Another major change hated by many, but pushed through by the devs anyway.
Why why why can the users not be given the option to use this, instead of having to use third-party workarounds to solve it? That's just means we have yet another thing to break in a future update...
Don't get me wrong, I've loved HA for years, but the disconnect between the devs and their userbase has always been a recurring and frustrating issue.
Hello! Is it possible to reduce distance between lines in glance card and some other distances between mushroom cards?
Looks a bit stretched by default
@polar kelp
Is the count (amount of created entities) used in auto-entities somehow available to the outside so I can use it in Javascript?
Only using card-mod. Or maybe by creating your own theme (but that is then global).
Not entirely sure if this is the right channel, but I have a script that notifies a tablet via notify service and tts_text. I want to click a button in the dashboard so I get a popup where I insert the tts_text and then send the notify. Suggestions? The only I can think of is displaying a helper with a text field and a 'run script' next to it. The run script part within the horizontal stack card takes too much space to be pretty. EDIT: Used a button card instead for the run service and custom:mod-card to make it less wide. Happy enough now.
Tried it but margin-*, and line-height does not affect spacing between cards. Which key do I need to use?
Is it possible to remove the icon in entities card and also remove the space where the icon was? Simply doing icon: ' ' doesn't remove the space, just the icon.
I am not usinf glance or mushroom, so I do no know. But try the developer tools in e.g. Chrome. It will show you were the margins are defined and you can alter them there to test.
Regarding the new stats in more-info, since you can click min/mean/max and show/hide the values,
could you force it to always only show mean (or state if there are no min/mean/max) ? Like changing the default value from "show all three" to "show only mean".
If you could do that, and then hide the <div class="chartLegend"> to get rid of the legend, then it's almost usable again
Hi want to play with the swiss-army-knife-card but i cant find the lovelace folder. Im running HAOS.
Will give it a try, thanks
Hey guys, I cannot edit on Schedule Card, it seems like it refreshes the view always so if I change something I have not even enough time to save the changes before they get reverted.. Tried Edge and Chrome Browser with no luck.. Same with HA App..
why was the border change not listed as a breaking change and not something thats optional in some way?
its just breaking so many themes and cards across the board that i cannot see why it would be implemented. I understand some like it. in that case placing that optional css change into the a theme you have is better than forcing it across the board and requiring alot of ppl to revert it.
Hey I have a second dashboard which is basically "grid card configuration" instead of the standard lovelace entity list. On my compuetr i can hold and click to open the menu to further customize the bulbs (light birghtness , color temp etc) But on mobile if I hold this does not happen. Anyone know a way?
In other words "Hold action" is not happening when I use mobile for grid cards (https://www.home-assistant.io/dashboards/actions/#hold-action)
anyone using custom-button-card? I wonder if there's a way to create a link to more-info from any element like the entity_picture... I mean a custom-field can hold HTML, but anyone had any luck with getting links to work and has an example?
is it known bug that the align of input boxes is drunk? and the ellipsis in entity names make no sense (since the name would easily fit the white space before input box)?
the benefit is that you can give more information with less stored data than with raw data.
let's say you have a value every second, in a 5 minutes frames you will have to store and display 300 values. for you display to be usable, you will have to dynamically compute less values.
while, if you store the mean, min and max value within this timeframe, you give almost the same information, with 100 less data to store and less CPU to display...
Yeah, that makes sense, I guess. It's just quite ugly. And the legend is not fully descriptive (begs the question: mean over what time period?)
I've got a sensor that displays my solar lifetime production in wh, how do I get it to display in Megawatts? ( i know the math, just not sure how to get the sensor to show it_
Wish there was a way to use the old kind of display, even if only in cases with relatively sparse data (which is many sensors, for me)
But I understand devs not wanting to make too many different cases
quite ugly at first, then you get used to it. this kind of data display is used a lot in a lot of domains, the most known is market data. I don't know about the time window, but the standard way is to give the column the width of the time window... the bigger time window, the larger column
I guess you can still get your data in the good old history view?
I still have raw value history in this view
Yeah, I do too. I guess i just wish there were some more options, but I understand why options are not that desirable
can I hide an entity in the lovelace frontend based on another entity's state (on/off)?
Either perform the maths in the card you are using or create a new sensor that does this for you.
That depends on the card you are using. But yes, there are a bunch of ways to do it, e.g. built-in templates or using config-template-card.
lovelace entity is a button and it should be shown depending on a binary sensor
Try also updating minimalist ๐
Take a look at templating https://www.home-assistant.io/docs/configuration/templating/
You might want to disable "show if empty" if that card only contains that one entity.
Is there a nice UI for Air Purifiers? I have the Sensibo...
Somebody have an ideaDoes anyone have an idea about counting lights on?
I mention it in the post below?
#frontend-archived message
sorry is it changed something with slider-card?
from yesterday it doesn't work anymore, yesterday it was showing an error, now i doesn't display the card anymore
when i try to put some brand new card it already found error
@polar kelp hello, i dont know where to add this code in my HA configuration: https://github.com/thomasloven/hass-browser_mod/blob/master/documentation/popups.md#dashboard-card-content I try to do this in configuration.yaml, but of course i have error ๐ฆ
ok, but in which configration file i can define service?
The one you want to call the service from. If you want to call it from an automation, make the call in the automation. If you want to call it from a button press then in the configuration of that button. The same way as any other service call in Home Assistant.
ok, so from automation. This is my first service and i dont know how to do this
i want to create automation: when someone call on doorbell, open poput with SIP and video
@polar kelp So i create my automation, and i dont know if is bug in https://github.com/TECH7Fox/sip-hass-card or in my config or in you addon, but when i press button on my doorbell in standard added card in lovelace i see options to answer and camera image, but in poput i havent button to answer or i dont see camera:
@lapis linden I converted your message into a file since it's above 15 lines :+1:
it seems to me that the content of the popup did not detect that someone was calling, and it detected that content under the popup. When I removed sipjs-card in lovelace nothing changed, still poput has no option to answer the call. What you see are the options to start a call from the client to the doorbell.
In the browser console, I see that the sipjs-card is loaded only after the poput is opened, so already after the connection has started. Perhaps this is where the problem lies. However, this does not explain why the second connection, after opening the popup and loading the sipjs-card, cannot be received either.
I have these 2 graph cards on my dashboard from my 2 smart plugs (with LocalTuya integration)
If I click on the right-hand one, it shows me the more detailed 24 hour graph, but if I click the left one it says 'No statistics found.'
How can this be fixed?
Issue started in 2022.11.0
The more-info now shows statistics, it was actual states before.
To troubleshoot, I'd start with finding out why your left sensor have no statistics.
Just added? Missing state_class ?
Can I sort the entities within an entities card by state value?
With the original entities card, not as far as I know.
But check out https://github.com/thomasloven/lovelace-auto-entities, that gives you loads of options, including sort by state.
Thanks. I was actually able to make a nice list with the battery-state-card now as well. ๐
How would you recommend to layout the front page? Looking to have an iPad in the Hallway to manage it
i didn't upgrade anything btw.. yesterday worked and now not.,..
Doesn't matter. The error messages are the same whether you changed anything recently or not.
As are the debugging steps - as it says in the link.
How can I find out which parameters I can influence using card mod?
For example how can I find the correct values for the background of a mushroom template card, chip card, icons of each aso. In the forum they sometimes specify mushroom-shape-icon$
mushroom-state-info$
Where do I find all these?
i found that is the tuya integration that doesn't work anymore i need to find out why uff
@willow falcon I converted your message into a file since it's above 15 lines :+1:
The documentation on github is an excellent starting point.
Thanks for the reply. Are you referring to the Card Mod or Mushroom GitHub?
card-mod
Can a sensor state be rounded in frontend w/o using a template? Eg the state-label card
icon: mdi:paper-roll
icon_color: |
{% if is_state('binary_sensor.motion_toilet', 'on') %}
var(--color-blue)
{% endif %}
layout: horizontal
primary: Toilette
tap_action:
action: navigate
navigation_path: toilet
style: |
ha-card {
--ha-card-background: red;
}```
I am trying something very simple first, but all it I see is that the card flashes briefly in red and then returns to the standard color, when reloading...
Trying to figure out how to access my home assistant ui over wifi rather than just over Ethernet
I'm having a hard time wording that issue in a way that gets me answers from the web
Settings -> System -> Network -> Network Adapter?
On the homeassistant ui? I don't have that menu past Settings
Then open your profile settings in the bottom left and toggle Advanced Mode
Interesting. I now have a lot more options but still lack System
If it helps, the symptom I'm seeing is an NXDOMAIN error when trying to connect to home assistant via say a laptop
I've been able to get to it via IP, so that will do for now
Sounds like a problem in your router, actually.
Seems likely, not sure where to start though. Obviously whatever DNS entry lets me go to http://homeassistant.local:8123/ is not spreading through the network
Hi all. I'm using simple thermostat card and just got a Honeywell T6 z-wave thermostat. So far, very happy with the combo. My thermostat has a fan mode known as circulation where it, on its own timer, runs 30% of every hour. Okay, fine, but I'm trying to find a way to add an icon to signify whether or not it happens to be on or off within the card. I looked in dev tools and I do see fan_state: idle/off which changes to running if it kicks on. Any guesses on the yaml code I'd need to use to employ this? Every thing my mind comes up with doesn't yield any positive change.
Hey i want to use water meter in the energy dashboard but i dont get my AI on the edge Watermeter as a dropdown. How do i need to configure my sensor?
Cancel, got it. Didn't realize I needed "attribute:" listed. Had mistakenly been too focused on thinking it was an entity which would only yield on/off, not the actual status if it was running and was idle/active.
sensors:
- entity: sensor.t6_pro_z_wave_programmable_thermostat_humidity
name: Humidity - attribute: fan_state
name: Fan
Can a built-in card .py file be accessed to make a change?
I want the built-in calendar card to display the dayโs full name instead of only 3 letters, which I imagine could be changed with access to the source.
In a type:Template card, how can I show two sensors at the same time? I mean I want to show Max.temp and Min.temp (maximum and minimum temperatures of the day) within the same chart in a 18ยบ/30ยบ way with two different sensors, but I don't know how to unite to show these two sensors within the same chip
I mean how can I join two sensors
sensor.aemet_daily_forecast_temperature_low
and sensor.aemet_daily_forecast_temperature to display in the same template
Anybody have any tips on adding a public webcam to a dashboard? I have a silly use case where my doggie day care has 4 webcams. I got the url to these webcams using chrome dev tools and added each one as a web page card. Works well enough. I was trying to get it working as generic camera integration, but no luck.
type: iframe
url: >-
https://ljsp.lwcdn.com/api/video/embed.jsp?id=5c6a256a-f40a-465b-a6b7-5c53471ca4a9
aspect_ratio: 50%
@errant tangle I converted your message into a file since it's above 15 lines :+1:
Hi, I have an underfloor heating, shelly 1pm under the control panel for each room to just give energy or not. I additionally have aquara sensor to measure temperature. Is there a way I can add a thermostat like https://community-assets.home-assistant.io/original/3X/2/8/2830e507a1c8f2e6c22b947fec6b0838aebddd04.png which combines the both devices. So if I tell the software thermostat to have 22 degrees, that it measures the temperature from my aquara sensor to tell the shelly to either turn the underfloor heating on/off to meet the given temperature? I know, that I can do some automation around shelly and aquara, but I am wondering if there is an integration + lovelace which already does it out of the box?
This question is probably the antithesis of why the simple thermostat card exists but I am curious - is there a way to disable the set point temperature and the -/+ buttons to control your preferred target temp? EDIT - Found it. Setpoints:
Is there a way to show a screen when a certain button is pressed "pop-up screen"?!
How can I see how a card on the default dashboard is defined without taking control of it?
Still adding a lot of stuff, so its nice to see whats gets added there, and then building another manually controlled one...
Look up browser_mod
Thanks
Hi, is there a way to format the state in a template card in a locale-aware way? E.g. I have a humidity sensor and states(entity) gives me 35.6 but in case the frontend is set to, e.g. German, it should be 35,6.
Recently installed 2022.11.1 and am loving the new energy UI... What I can't see, and a brief search hasn't pointed me in the right direction, is whether I can set it up to show half hourly bar chart rather than hourly ones? My cheap rate power is from 00:30 - 04:30, so would be good to see those split out, as well as generally taking half the time to update.
Is there a config option somewhere I've just missed? Looking at the sensors I am getting data pretty frequently (maybe not quite as often as I could, but it's definitely OK)
I have a question. Is it possible to somehow disable opening the menu by the gesture on the left and leave only the options for clicking on the icon (configuration file, add-on, etc.)?
How can I have a card show up or not based on a template resolving to true or false?
I feel like I should know how to do this, but I think I've used auto-entities for this in the past. However, in this case, I just want to display a card or not and not populate a card with entities.
I don't think this can do templates, though, can it?
The word "template" doesn't appear on the page anywhere at least
No, but this can https://www.home-assistant.io/integrations/template/
So you're saying I should create a template sensor that resolves to true or false and then check against that? I was thinking that, but I guess I was hoping there was already something for this. I don't really like having to create entities for presentation only things
Well, there's also this https://github.com/thomasloven/lovelace-state-switch
This seems like exactly what I want. Was there a reason you didn't suggest this first?
Looks like I already have it installed as well lol
You should always go for built-in as far as possible IMO.
Yeah I can appreciate that
When I go to edit something in the HA frontend, it tends to refresh after a few seconds closing the open dialogues
any way to prevent that?
still on a quest to create a rotating background image for a dashboard .... ideally, I'd pull a random image from a flickr album or something... anyone done it or have suggestions?
or I could pull a random image from a portfolio site
Hi, why doesnt timers count down in the front end:
type: entity
entity: timer.cooking_timer
attribute: remaining
state_color: false```
Just add this to the view configuration: yaml background: url(https://picsum.photos/1920/1080) center/cover
I have been coding some custom cards to handle some data going in and out of node red. Does anyone have any good advice or resources to really get to grips with how these cards work from the JS/DOM side of things? Im struggling to get my head around some of the patterns/technologies here to have my own functions working and more complex stuff displaying correctly on the frontend
There's a pinned message in #devs_frontend-archived with a link to some very very simple custom cards with explanations and incremental complexity.
Does anyone know if there's a simple way to get the non-rounded-corners-theme back?
or make these square again?
Hi, is it possible to show another card as an tap_action? If so, how?
Usecase: i got an card showing the number of open windows, if windows are open i want to tap on the card and show another card containing the names of the open windows
thanks but I'm trying to use my own photos
Browser_mod
yeah, but this has some real annoying limitations - like opening popups on all connected devices - the "old" way with deviceID: this isnt working anymore and the new way with fire-dom-event is not working with all cards
Sure, but besides describing the"new" way to do browser_id: THIS the documentation also details a third way.
can you give me a hint? atm i use call service to start a script which returns a card containing all open windows
It's the only method that's described right in the README.md file, not even requiring you to follow a link.
you mean the part about custom popup card?
Is it possible to use the hs_color or rgb_color of a light in a template to set the color of an icon? ( using mushroom template card )
**current attempt was this: **
{% if is_state('light.bedroom_cans', 'on') %}
{{ state_attr(states('light.bedroom_cans'), 'rgb_color')}}
{% endif %}
which returns: None
Well, part of my problem was the states() removed that and am getting the hs or rgb values.
this is weird:
{{ state_attr(states('light.bedroom_cans'), 'rgb_color')}}
what's the inside states() doing there?
it's definitely not going to give you an entity_id
you also have no "else" clause, so that's going to cause problems
nothing apparently, its copy/pasted, I removed that piece and am getting the correct value.
{{ state_attr('light.bedroom_cans', 'rgb_color')}} = (255, 177, 109)
Not so worried about the else for the moment, will add that once I can get the color of the icon to work.
i got 2 versions working, one with a script which tests if open windows are 0 and then does nothing preventing to open an empty popup card. This popups on all screens. another version is from the readme, everything coded per yaml in a card. But that generates an empty popup if all windows are closed
second version is from the lasz part of the readme
there we go: found a post on the forums: https://community.home-assistant.io/t/using-rgb-x-y-z-color-for-icon-color/422775/5
{{ '#%02x%02x%02x' % state_attr('light.bedroom_cans', 'rgb_color') }}
This works great! it converts the rgb value into an html hex value.
Hello! Does anyone have fancy compact card template for multiple temperature sensors?
what about the new tile card inside grid card? that or mushroom is prob a decent option
this is what the new tile card with a bunch of temps looks like
Thanks. I am still on 10.2022 version. This grid looks good, but not compact enough.
Here is my setup with grid of old entities. Compact enough but it looks too bad.
I'd suggest the mushroom template cards, might fit what you are after.
Thanks, will give it a try.
you can make it more compact with 3 or 4 columns
But is it clickable? I tried mushroom template now and its not.
looks fine with 3 columns with short names i think
you can change what click etc does in the card settings
still maybe better with mushroom and some more customization
Nice. So this is new card from latest HA version?
Looks exactly like mushroom entity card btw.
they hired mushroom developer
so hopefully more of that type stuff is included in hass without hacs needed for it
Would be great
ur great
Well, thank you for ideas. I have a plan now - will try to make those tiles with lighter background color in grid card with default color ๐
they're badges
I have a question about the min/max/avg lines in this graph. Over how long of an interval are the min/max/avg taken?
any tips on reducing lag (and loading times!!) for my dashboard on my tablet? I got the Lenovo tab M10 and Fully kiosk browser and when the screen turns on it takes about 5-10 seconds before I am able to use the dashboard at all
5 minutes
reviewing a n auto-entities with a template filter for map, this returns a comma-separated list? {% set km = states('input_number.quakes_near')|float(0) %} {% set location = states('input_select.quakes_near') %} {% for s in states.geo_location |selectattr('attributes.source','defined') |selectattr('attributes.source','eq','usgs_earthquakes_feed') if distance(s.entity_id,location) < km %} {{- s.entity_id -}}{{',' if not loop.last else ''}} {% endfor %}
however, it probably isnt, because the 'Either entities or geo_location_sources must be specified' is returned. how to turn this into a valid list for auto-entities..?
adding the [] brackets doesnt help
even {% set km = states('input_number.quakes_near')|float(0) %} {% set location = states('input_select.quakes_near') %} {%- set ns = namespace(quakes=[]) %} {% for q in states.geo_location |selectattr('attributes.source','defined') |selectattr('attributes.source','eq','usgs_earthquakes_feed') if distance(q.entity_id,location) < km %} {%- set ns.quakes = ns.quakes + [q.entity_id] %} {% endfor %} {{ns.quakes}}
returns the identical error, while that explicitly Is a list...
forget the above, it was an indenting issue in the config-template-card which envelopes the auto-entities map card.... to have it adjust the map color to the dark/light themes I use
how to do like that 16 tabs and even tab have the same many entities on below picture?
does the zone.home always show the icon account-multiple? Never noticed that before I must admit. seems a bit odd when the number of home persons is 1...
hi guys, can someone help me getting these two chips (entities) together as one -including icons? How do i go about doing this?
Mine shows this one
Didn't get your question, sorry
thats on an individual Map card? or the bigger Map left side panel
aarghh, found it... had a yaml Zone home, because the Name of the instance is also the name for the zone... Showing HA Main on my Map, if I dont create a secondary zone.home in yaml... and ofc I had set the icon there...
Now, a challenge to figure out where you both live based only on that crude, unlabeled street map ๐
Hello, anyone know where to find this dashboard remade of that youtuber? Googling didnt help :/
the easy way or the better looking way?
ah you mean the wall panel
but he never made the 3d model available because he was not satisfied with his model
Correct, i speak about his dashboard for wall panel. As he said in comment someone did remake it, so curious if there is any tutorial or something ๐
I have printed case already and tablet, looking for clean dashboard, and this one first coming to my mind, but he never did tutorial... ๐ข
when is the screenshot from?
last link you sent me, video about his wall panel
Updating to 2022.11 and my ux_goodie theme has boxes around everything. How do I remove them?
@empty escarp Thank you very much!
You're welcome
what module is that temperature element from
how can I show volume controls in the media control tiles?
Is there a way to have a per user session state or something that just retains based on reconnecting to the page? I want to be able to have a button that modifies the page but when I refresh or navigate back it should keep the same setting. Is this possible?
Hi all! I feel like I cannot do something in HA, that I think can be done. I would like to assign helpers to an area, in fact I'm looking for a solution to store preferences for a room, like desired light level for specific house modes and other more dynamic values like timers. I know I can do all this in the helper section, but I would like a more structured wait of doing it. It would also be interesting if we could do that to a device. Is that what blueprint do? I wonder re reading myself before posting
is there a simple way to create a button on dashboard that will open an app on android from HA?
Hi everyone, hope this is the correct channel for this
Is there a way to integrate this service into the frontend?
I'd love to have a card like this
Image
What's important here is the slider
An input_number, a script to run the service with the data from the input, a button to call it. https://www.home-assistant.io/integrations/input_number/
The added benefit of that is that when you decide you want to automate the start of the sprinklers, you can just have the automation call the same script and it will run for the selected duration. DRY - https://en.wikipedia.org/wiki/Don't_repeat_yourself.
Hi, can I set a background image in the dashboard so that it stays fixed when scrolling?
background: center / cover no-repeat url("/local/Hintergrund.jpg") fixed
Hi all, new to Node RED here... I have created a flow for a device tracker, which I have deployed.. Next step is to link the flow to a badge in lovelace yaml... Anyone who can point me in the right direction? Thx!
Alright ... I'm struggling and I can't figure out the right way to make this work. I am designing an interface for my tablets. Since the tablets are a fixed size I'm a trying to manually force cards to be certain dimensions. But it doesn't seem to work no matter what I do. Currently using a grid-layout with sizes, but some of the cards are forcing the grid areas to get bigger/smaller etc.
What's the correct way to manually force cards into certain sized boxes?
I'm not sure why, but my picture elements card recently started cropping my camera stream to 16:9 despite being a 4:3 stream. The same view on a picture entity card still shows as 4:3.
Any ideas what's caused this? :/
@buoyant pelican I converted your message into a file since it's above 15 lines :+1:
Howdy all. I'm on Docker HASS 2022.11.02 and have just recently had my iOS HASS app & iOS Safari start giving me a completely blank screen when hitting me server. On Safari, I can login, but then get a blank screen. Force restarting the iOS app gives me my default dashboard for a split second, then goes blank. Desktop browser & desktop MacOS app both work fine. I'm not sure how to diagnose this. Any ideas?
is there any custom card that allow to add badge with tap_action?
There may be some magic that I'm aware of, but I suggest using the tap_action to set an input_boolean and then using a conditional card to decide whether to show the badge. But I don't think you'll be able to do that with the badges at the top of the view
I just installed some Aqara Vibration Sensors and while they work fine, they report the state on the Dashboard as Detected and Cleared.
Is there a simple way to make this show as On/Off on a Dashboard Entities row?
I can add helpers and automations to set on/off flags but I feel like that is overkill.
sorry you misunderstood me
I would like to have a badge with the ability to change is tap_action opption
indeed I did
I haven't tried it, but this came up when I searched for "home assistant badge card tap": https://community.home-assistant.io/t/badges-toggling-scenes/134663/6?u=rccoleman
I don't see anything in the badge docs that says that's valid, though
is the HA android app or fully kiosk browser better for a dashboard?
I have a custom:Button-card that I would like to show in column 3 of my view. I have previously done that with a vertical stack card by adding this via the code editor to the card:
view_layout:
column: 3
This does not seem to work with a custom:button-card. How can I move the card to column 3 in the view?
hey all, im trying to put a border around a verticle stack card with a title, ive tried with card mod but dont seem to be able to apply the ha card border element to the main card, can this be done as the titles are kinda just floating above the boxes, i would like them to be incorprated in the over all box, there are a few horizontal stack cards inside my verticle stack card, ideally i would like the same border type applied to the main title so its wrapped in the section of the card (if that makes sense)
Well looks like I borked things - The view that I had nicely laid out and that allowed me to put cards into appropriate columns no longer pays any attention to the view_layout command for reasons unknown ....
When i use this custom card of following (https://github.com/fineemb/lovelace-thermostat-card) that i must installed HACS?
You should...not just for this card alone...HACS has loads of great cards to offer
Thank you
Want to add a battery state for my vacuum cleaner but card is empty?
Also for other battery states
is there another option for using dropdowns based on an input_select helper then the entitites card?
Please, help with hacs -> flex-table card. I have couple of hacs integration and all are working fine. This one I cannot make it work. Reinstalled couple of times, always restarted, resources:
- type: module
url: /local/flex-table-card.js
and this is killing me:
Did you clear your cache?
Which componets of chrome shoud I clear. Not all I hope?
That's better: To clear browsing data from this device only, while keeping it in your Google Account,
but anyway I would prefer to clear cache in a more selective way. What's necessary for HA.
I think I did.
I'll try again..tnx
Which componets of chrome shoud I clear. Not all I hope?
That's better: To clear browsing data from this device only, while keeping it in your Google Account,
but anyway I would prefer to clear cache in a more selective way. What's necessary for HA.
done this:
"No card type found"
A hard refresh ought to do it. Ctrl shift R in Chrome I think
Unfortunately not better. Can I expect to see the card as Apex card or should I choose the manual approach?
"Hold down Shift and click the Reload button. Or Hold down Command, Shift and click the 'R' key."
Not better..
Just tried Safari and the same problem persists. I think the automatic installation procedure, supposedly strait forward, is not very reliable.
I remember a similar issue with me, not sure anymore what I did....reboot HA?
Done meny times..
Where else should i look:
looks the same with me, did you try an incognito session with chrome?
going back on Rosemary's cache suggestion
I think I tried, but thanks for reminding me..
and another thing, I can only reproduce this when I create a custom card from yaml and start adding the '- type' . In that secion you donot use -
not better in incognito window.
I took it from the example #greenely.sensor
https://paste.debian.net/hidden/ec73d157/
An another example using Apex card working fine
try to remove the - and shift all to the left like my example...
tnx
I reproduced the same error...it seems to be the formatting
Could you please sent it to https://paste.debian.net/
How to explain this:
look closely to my second screenshot after type
type: custom:flex-table-card
title: Greenely Daily Usage
sort_by: date
entities:
include: sensor.greenely_daily_usage
columns:
- name: date
attr_as_list: data
modify: x.date
icon: mdi:calendar
- name: kWh
attr_as_list: data
modify: x.usage
omitting ' ' gives errors. With ' ' I can save but cust.elem doesn't exists
Success!! Thank you so much. After type no space !!
pfew... formatting can indeed be a nasty thing, esp. when the error is putting you in the wrong direction
Exactly.. So valuable graph.. I just couldn't give up. Thank you for your patience and your time.
Now next little problem shows up. But I can easily see that the graph presents 10 last days.
type: custom:my-custom-card
stuff: more stuff``` is the configuration for a custom card.
```yaml
- type: custom:my-custom-card
stuff: more stuff``` is a **list** of stuff where the first (and only) list entry is the configuration for a custom card.
๐
I've just updated to HA 2022.11. I have made a frontend with mushroom cards but now there is a outline to cards (like stated in the release notes). But how do I remove this border? It looks very weird with nested cards and even on just regular cards in my opinion
You can also see the outlines on the left. those are mushroom title cards so now there is this outline around them. Doesn't seem right to me
Fixed it myself. Seems like setting ha-card-border-width: 0 does the trick.
Does anyone know how I can add a standard card across all my dashboards? I have all my rooms as separate dashboards and want to have same basic information across all dashboards with an easy button to go to the home dashboard.
Yaml mode or Ui modeโฆ in yaml, itโs a simple !include
Do you have any examples or a website I could reference? Would I be including another dashboard or just a card?
Ideally Iโd do it all in UI mode
Includes canโt be done in the Ui unfortunately
This is what I do (using yaml mode ) on each view```
cards:
-
!include /config/dashboard/buttons/buttons_dashboard_direct.yaml
-
!include /config/dashboard/buttons/buttons_shortcut_menu.yaml
to have direct entries to my main dashboards, and subsequent available views:
I thought I remembered seeing a HACS integration or card someone had done relatively recently that let you re-use cards
there's the Q card .... not sure if that still works though https://github.com/thomasloven/lovelace-q-card
wasnt that in side-by-side operation with Nodered?
guess we need to wait for Thomas to fly by and comment on it's up-to-date-ness
I think it was Thomas, but I can't guarantee it ๐
it's always Thomas
I think I remember you talking about it, which is how I learnt about Q
Maybe the decluttering card?
Solved.
How do I turn states.entity_xyz.last_changed from UTC to "3 minutes ago"? Example: {{ states.binary_sensor.sensor_kontoret_occupancy.last_changed }} = 2022-11-11 21:14:52.110739+00:00
{{ state_attr('automation.alarm_armed', 'last_triggered')|relative_time }} ago
-> 14 hours ago
if you also need to change to local time, |as_local
Looks relevant, but won't show up ๐ฆ {{ state_attr('binary_sensor.sensor_kontoret_occupancy', 'last_changed')|relative_time }}
what does show up?
"None ago"
then you have a typo
Well it was never triggered then ๐
or that
I'm sitting ~15 centimeters from the sensor, getting the states correctly under dev-tools :p
works for me: {{ state_attr('automation.alarm_armed', 'last_triggered')|relative_time }}
oh, last_changed isn't an attribute
you took my example and decided to throw out your specific use case
{{ states.binary_sensor.aarlo_motion_back_door.last_changed|relative_time }}
you had it right the first time and then changed it
don't ever take anything I write at complete face value - I'm testing with my system and trying to provide guidance
sometimes it goes fast, thanks a lot
{{ states.binary_sensor.sensor_kontoret_occupancy.last_changed|relative_time }}
Dream scenario, getting the "x 'seconds'" into Swedish 'sekunder, minuter, timme' etc. Is that possible?
Oh, okey, can I replace multiple value in one string?
a sequence of them
|replace('seconds', 'sekunder')|replace('minutes', 'minuter')|replace(xxx)
I feel so dumb, but how do I make sure singularity and plural works? Because 1 hour = "1 timmar sedan". As well as 1 minute states "1 minuter"
your problem is getting more complicated
yep
{% set map = {"minute": "foo", "minutes": "foos", "hour": "bar", "hours": "bars"} %}
{% set time = (states.binary_sensor.aarlo_motion_back_door.last_changed|relative_time).split(' ') %}
{{ time[0] ~ ' ' ~ map[time[1]] }}
further complications are left as an exercise to the reader ๐
6 bars
hello All can some one tell me how i can remove side panel items
press and hold the "Home Assistant" lab at the top or hit "edit" from your profile
@dark dirge Your the best
2nd Question im trying to set up a ping sensor
i added it to the config but nuthing
standard debugging:
- Did you check your config?
- Did you restart HA?
- Did you check the logs?
i checked the config and restarted HA doesnt show up
ill look at the logs
i dont see anything
hard to debug nothing
yea thats why im lost
Please no pictures of text
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.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.
This is #integrations-archived anyway
I have an entity called sensor.dell_printer_black that shows a percent text as its value. Is there some way I can have a text overlaid on a pie chart and still fit in a card? I tried using Gauge, but it is too large. A smaller version of Gauge would be nice too.
I want my button card to have an icon on the left of label [not on top]. So, the modification would be:
.ha-card.my_theme {
flex-direction: unset;
justify-content: unset;
}
How do I do that with themes [?] config? I don't see any realโworld examples in the docsโฆ https://www.home-assistant.io/integrations/frontend/
Is there any way to exclude/remove an entire room from the auto generated dashboard without going completely manual?
Ideally the room would become its own dashboard.
I'm having trouble trying to set up an RSS feed using feedreader and iantrich/list-card but I'm having a lot of trouble
What I don't understand is the lovelace portion. I'm trying to add this card and it says to install via HACS yet I can't find it https://github.com/iantrich/list-card
I'm trying to pull off this combo: https://community.home-assistant.io/t/lovelace-rss-feed-parser-plugin-list-card/64637
Can anyone point me in the right direction?
Have you installed list-card via HACS? Do you have HACS installed? I found this issue with the list-card: https://github.com/iantrich/list-card/issues/52 And there is a fork with the fix applied.
Hi, I'm having issue with groups helper. When the new group is created there is no members shown and after selecting from advanced options still doesn't show any members or options to add members.
trying to get some attention in the Frontend development without being allowed to post in #devs_frontend-archived , could anyone using the iOS app check this please https://github.com/home-assistant/frontend/issues/9549. Its been like that for over a year, no response at all, so we still cant use a hold action on a picture in core....
iOS dev even pointed to the solution, but I don't understand that, so hope anyone here can check and see
I would like to use auto-entities to create cards base on area
I use the template filter to create list of my areas
how can I manage each area as card
Took me a few seconds to understand what this meant. It translates to 'order again' like you do in a restaurant ๐
Anyone able to report a change to that Norwegian translation or something? A better translation would be "Endre rekkefรธlge".
Maybe explain a bit more ? As I guess you already noticed that auto-entities can select on 'In Area'
something like this?
I am not sure what you mean on the area list...
ah...just noticed your template
you need to add options part...check my screenshot
i'm not able to add options to template
Hmm.. I see...nI was too quick
you add options to include filter.
I'm trying to do so to template filter but not successes
what if you change your type: grid to something else?
such as?
entities
Might this be because area <> entity?
entities card can also not show attribs f.e.
e.g. button card can only show entities, not areas
unless I am wrong of course... markdown card does not mind what you display but not that easy to make it look as nice
custom:button-card can be used without entity
I understand but when using auto-entities, I guess (?) it expects entities to be kicked back ...which is not the case as it kicks back areas
here it uses names and not entites
ok....
That finds all the entities with the given name
If you use a template filter you're on your own and have to manually return each entity - not a filter.
Ok thanks alot
I've created a theme with a simple rule for testing:
frontend:
themes:
dadatheme:
primary-text-color: pink
how to do I define styles for the card with dadatheme? I mean, with the current way I can only define some rules for predefined stuff, like this primary-text-color โย what about other stuff, that is not predefined to customize? or maybe i just don't know how to customize it?
the strange thing is that i search for dadatheme in the developers tools panel and theres NOTHING โย i expected that the cards with my theme would have a class like dadatheme or custom-theme-dadatheme or sth like that, so I could just inject my css with the rules for my class. but there's nothing o.O [?]
the predefined var with pink is injected โ but not all i'd like to do can/should be predefined ofc.
search for dadatheme gives me nothingโฆ
and all I actually wanna do is sth like this:
.dadatheme .ha-card {
flex-direction: unset;
justify-content: unset
}
OK, i've managed to do it with https://github.com/thomasloven/lovelace-card-mod
card_mod:
style: |
ha-card {
flex-direction: unset !important;
justify-content: unset !important;
}
It is strange I had to install a HACS mod though โย I expected Core's themes integration to allow a bit more customisationโฆ
I'd like to have a timer show up in an entity card only when it is running. Is it possible to do this?
is there anyway I can use
overflow-y: scroll;
scroll-snap-type: y mandatory;
so that I can scroll and immediately snap to my next vertical stack
or whatever card that comes next
@unreal tinsel I converted your message into a file since it's above 15 lines :+1:
the above /\ destroyed msg
Hi I m having issue with groups helper
I have HACS installed but when i search list-card it doesn't come up
For anyone else that can help, i'm trying to install https://github.com/iantrich/list-card and it says "install via hacs" but I can't find it in hacs
Nevermind I figured it out, I had to add a custom repo via the 3 dots at the top right
And use the repo I linked with the fixes on it, or you'll be back to this same spot.
Can I also install this via hacs, or do I have to do it manually?
You can install it via HACS, just add the fixed repo that was forked
Gotcha, so I would add Pave1D/list-card instead of iantrich/list-card?
correct
It still doesn't show after installing that forked repo :/
Did you restart HaOS?
Did a ui reload, trying a full restart now
I had to manually add an RSS feed into config.yaml before I could see it work at all
I already have a working RSS feed entity, card still isn't there after restart
Go into HACS and remove the List-card, then make sure the non forked repo is removed from your sources.
And reinstall
I did that before installing via the forked repo, should I do it again?
Maybe should I restart inbetween?
I'm suspicious of some form of corruption.
I'm running as a docker container, what checks can I run?
Don't know. I have mine as bare metal HaOS and it worked fine enough to have something be spit out from the addon.
HACS doesn't have addons, it has integrations
Sorry, my other HACS integrations work
I just updated the doorbell cam integration I use with my crap chinese webcam and it still works
Check more of the github issues on the 2 projects involved. Maybe something will come up.
Thanks
I got it working by removing all repos involing list-card, restarting, reinstalling, then restarting again
Thanks for your help!
Yeah, something smelled corrupted in there.
I have one more question, now the lovelace card is spitting out every single entry, any idea how I can limit it?
This is as far as I got myself. You may end up having to read code on that one. I couldn't find any real good docs on this.
Thanks anyway, you've been a big help
anyone know much about the custom-button-card?
color_type: label-card
styles:
card:
- background-color: transparent
tap_action:
action: null
can't seem to get rid of the button's borders
Hey All,
having an issue with the stock map card.
prior to 2022.11.x it centered the tracked entity in the center of the map view. (horizontal & vertical)
since 2022.11.x the tracked entity is centered horizontally but not vertically
type: map
entities:
- entity: person.ben
- entity: person.mary
- entity: zone.home
hours_to_show: 72
auto_fit: true
default_zoom: 13
HI guys
can anyone help me?
I need to make this icon smaller, and change icon
maybe there is some youtube guids
HEY
Anybody
@honest estuary @storm lion @fiery ledge @dreamy tendon @formal tide @tame dove
@pale snow
Yeah no reason to tag us all
maybe
@true robin Generally, don't tag people to ask for help - it comes across as bad manners, youโre demanding somebody answers you. Itโs different if youโre thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.
Similarly, please donโt DM (direct message) people asking for help. It also comes across as demanding, and means that others canโt learn from what you do.
Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on). When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
@true robin People (and other sentient or vaguely intelligent beings) aren't waiting here for your questions, ready to leap upon them the moment they appear. Have a little patience. Keep in mind that repeatedly posting to get attention is against the rules (flooding) and can get you muted or banned.
Hey All
What card are you using there?
sec
An image, of text, how ... friendly
Even better, you shrunk the whole thing to make it bloody hard to read
You're doing really well here
Looks like it's probably https://www.home-assistant.io/dashboards/picture-elements/
You want to set the CSS style on the whatever it is
@true robin When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
okay
Scroll down the page I linked to and you'll find instructions
thanks
sry
sry
Now you now that the next time you're in a hurry, you can read the fine manual rather than being impatient and rude ๐
type: picture-elements
elements:
- type: state-badge
entity: light.esp229
style:
top: 29%
left: 23%
state_image: mdi:home
image: >-
https://immoplanning.com/wp-content/uploads/2020/02/immoplanning-Plan-complet_04_2D.jpg
nothing happens
how can i change more-info dialog backgounrd using card-mod
https://imgur.com/a/kspmIE5 So, this section of dashboard. It's a layout-card: grid laid out as: https://paste-bin.xyz/966533 .
Why are the horizontal spaces between the cards larger than the vertical ones?
is there any way, to sum up energy consuption to one graph?
is there a way to combine 2 cards, like in a vertical stack, but without the card border between them?
this is one example, a room card & a text card, but i would like to get them looking like one card
Is there something wrong with this:
type: picture-elements
elements:
- type: image
entity: binary_sensor.1compressor
image: https://portal.husdata.se/img/KompOnAnim.gif
state_image:
'on': https://portal.husdata.se/img/KompOnAnim.gif
'off': https://portal.husdata.se/img/KompOff.bmp
style:
top: 57.8%
left: 40%
scale: 0.7
Or why it does not show "compressor" image on that picture element?
never used one of these cards, but you have image and state_image, possible it can't have both
i never used these cards, so i'm just guessing
worked earlier, so just wondering what is going on
I havent touched that, just updated core etc.
And does not make any difference if i remove that image ๐ฆ
if you remove the state_image with its 2 links, does it work then?
do you know if there is way to remove "(mean)" text in statistics graph if i have min, max and mean shown (which i do like the look of)?
Hello... I'm having a problem with home assistant closing what I might call "modal" dialogs if I tap outside them... this is getting in the way because I have to click on the browser to bring it to the front sometimes and it then closes the dialog if I have one open
No difference ๐ฆ
well guys, tried so sum up my smart plugs, but i dont get how this works
using card-mod how can I change mushroom card .secondary class - property overflow: visible, and color
I'm lost for hours
sum how? which sensor?
Tasmota Smart plugs
I'm noob. I assume you have valid sensors (showing in history), that you want to create a "sum" of them? Using a template?
found it:
card_mod:
style:
mushroom-state-info$: |
.secondary {
overflow: visible !important;
}
now how i'm putting it as a theme
Create a template sensor https://www.home-assistant.io/integrations/template/#state-based-template-binary-sensors-buttons-numbers-selects-and-sensors. The folks at #templates-archived can help.
I will give it a try later. Itโs already Midnight
Is it possible to set the icon color of a light to the lights current color using the custom button card? I'm looking for it to be a bit more dynamic than an on or off rgb value.
What is the best way to create a bitmoji/memoji for persons in HA?
Anyone experienced a web/ui issue where the mouseover on the sidebar buttons is a couple of buttons off? ie: mouseover button 3, and popup shows button 1, and click does button 1
video https://imgur.com/fuBgst5
hi, i'm trying to align state with wifi in custom button card http://pastie.org/p/1LH3S9UDTvXGgHxd2nu8uC but i made only with that far https://i.imgur.com/RqVYDzN.png -
Hey, I updated from 2022.5.5 to current and now all of my cards have rounded borders :(
ok, The theme was deprecated and I replaced it. But the non-numeric stuff is still there. I googled and couldn't find any definitive answers.
Well, those sensors aren't outputting numbers. So either they may be:
- unavailable
- outputting a number, but it's a string (
"6"instead of6). - or the card is broken.
Considering the flat line at the end, it may not be available
I don't have your HA in front of me, I can't check ๐
that was it! It didn't have the old data and now it is coming back
slowly
Ok last question:
I was using Light-Soft-UI before and it had different themes with different colors. Now I am using https://github.com/KTibow/lovelace-soft-theme/ and it has no themes and absolutely no documentation. How do I change the theme color per page in Lovelace with this new theme? (or is there a better Neumorphism theme?)
Did you look at Mushroom?
In what sense "look at"? I have mushroom installed but its a set of cards, not a theme
There's the mushroom theme too ๐
I looked at it and it doesn't really tickle the Neumorphism itch :/
Hey all, I just did an update for the first time in a few months and the UI options for setting a tap action, or double tap or whatever have all disappeared.
Was this intentional? What happened?! Thanks
(within the card configuration)
Im a beginner with HASS and most likely is it either something I completely missed or that I haven't quite understood how to interact with the UI but this is my main gripe right now. I want to be able to go from a card to a area-page from config.
To me, the area pages that aggregates all automations, sciprts, entities etc. are the natural "go deeper"-location from a card view in UI
I don't want to use the area card, I want to link the title of the glance card to a area for example, is this not possible?
No, it's not. But you could either use a custom card, or a vertical stack (or a custom vertical stack). With the latter two you can add a Markdown card and input
# [Bathroom](/config/areas/area/bathroom)
Or the appropriate equivalent there ๐
Hi Guys. I've been playing with the new "Tile Card Configuration" and I love it. Is there a way to have the "Action" be to take the user to a "View" I've created under "Overview"?
I am using Minimalist UI and the Standard Room Card. I added a climate entity and a cover group.
How can I manipulate the icon color of the cover group entity and the climate entity? I could not figure out how to since the icon templates only respond to the state on / off ... and not open / closed ... Can anybody help pls?
I am using Minimalist UI and the
If I have a mushroom card for a group of lights, and I want to be able to double tap on it to get a pop-up with controls for the individual lights inside, what is the best way to arrange that? I was thinking maybe a Boolean input helper that I toggle and put card-visible things on that, but that wonโt auto reset of course.
I suppose an automation that triggers on the toggle happening and turns it back off after a few minutes would work.
There should be an action for navigate_to, then you just copy the HA url and remove everything before the first / (leave the / in the field). https://www.home-assistant.io/dashboards/actions/#navigation_path
Could anyone recommend ways to remove duplication across dashboards? I use the UI and not YAML mode, though I would be open to changing that. I do have plenty of pretty elaborate custom cards though and instead of copy/pasting them I was hoping to be able to just define them once.
Guys. Main HA dashboard lives on a giant LG TV web browser. Everything is fine except the map is blank. I can see the devices but no map detail at all. I've tried opening a web page and going to openstreetmap which works fine. Is there anything I can do to fix this?
I'm trying to style a flex-table-card to show a row in red if an attribute has a certain value. Shouldn't line 42 make the color green if light is on and blue if not? https://pastebin.com/QF0xgP6h
Hello I'm trying to find the definition of the camera_view 'auto' mode... I know it is in opposition to 'live' which seems to be the only other pickable mode (uses stream)... but I can't find anything describing what auto means
automatic... something I hope
Which card are you referring to? https://www.home-assistant.io/dashboards/picture-entity/#camera_view?
probably that one... I saw it was referenced exactly the same in a small number
For what it's worth, it's always easier to answer questions about things where you can tell us which thing you're asking about ๐
yeah, picture-entity
well, my apologies... I had started this question in #camera and was told this was a frontend thing instead... but I didn't shift my brain to a more generic point of view
wait, that was you
nvm, so you know... but yeah... my fault for not shifting POV
Any time you're asking about a thing, telling us the exact thing helps us help you
There's often many different places that a config option will be used, and they're not always identical in meaning or context
Hmm.. I think I found a way. It's not pretty: https://pastebin.com/Tc94ZVbQ
Thanks. Yeah I saw this but unfortunately it seems it's only useful if you're using YAML mode
Maybe I have the wrong idea about YAML mode, but it seems like it would make it really difficult to iterate on changes to a card because to get it to work how you want because no longer have a live view of it as you're editing it. Or am I missing something?
You can always create a UI-controlled dashboard, experiment there, and copy over
But some things you just need to try/refresh/try/refresh
@haughty sorrel I converted your message into a file since it's above 15 lines :+1:
Thanks, thereโs a question in there about mushroom and why it wonโt toggle my lights back on in there if anyone can help it would be very appreciated ๐
Yeah that's the best option I could think of as well. Seems like there are a lot of benefits of using YAML, but kinda hesitant for that reason.
Will have to give it a shot with a dashboard sometime and see how I like it
Home would I make the good afternoon admin span the two horizontal Collums
When I try to install the Weather Forecast card, the weather entity does not appear and I have selected the location of my home. Does anyone know why?
Does anyone know if decluttering-card only works in YAML mode?
Seems like it does
Looking at the https://github.com/iantrich/config-template-card I don't think I follow this example:
type: 'custom:config-template-card'
variables:
- states['sensor.light'].state
entities:
- '${vars[0]}'
card:
type: light
entity: '${vars[0]}'
name: "${states[vars[0]].state === 'on' ? 'Light On' : 'Light Off'}"
vars[0] evaluates to the state, so why is it used in the entities list?
That's like trying to say show me the entity with the entity id of on. Doesn't make sense. Is this just a bad example?
Is there anything like auto-entities except for an arbitrary YAML list of anything?
Such as a list of cards or a list of chips (on the mushroom chips card)
Hey all, I'm having a heck of a time with custom components. I'm using HACs to install the custom components. Then I hard refresh my web browser and/or restart HA but I can't get them to load. I have checked my resources and they are there. I'm tried both the default /hacsfiles/ directory as well as /local/community but I can't seem to get a bunch of these to load. Any susggestions on this? running most current HA and HACs on HAOS
Anything in your dev console? Could be errors in there to give you a clue
I can't find anything specifically
This is pretty basic but I can't find anything for it: How can I get a value out of MariaDB (put there from a Node-Red automation, not that it should matter), format it, and display it on a Lovelace card?
To get the value use this integration:
https://www.home-assistant.io/integrations/sql/
To format it, well it depends on how you want to format it. You can use a template to create another sensor off of the one created from the SQL integration, or you could try formatting it right in the card itself.
One quick note, if this MariaDB is the HA MariaDB then I'd advise against using the SQL integration and get at the data via higher level interfaces rather than querying the DB directly. But if you know what you're doing then go for it.
How would I get at the data if not via the SQL integration? (It is the mariadb addon)
Well what data do you want to get?
For instance the home/away state of your phone is stored in the DB, but you wouldn't query the DB for it, you'd just use the corresponding sensor
I have a table that records the rooms in my house and the last time the robo vac cleaned them. The columns I care about are roomName and lastCleaned. I want to display a list of the rooms with the last times they were cleaned, but formatted nicely (eg: 13 hours ago and 22 minutes ago)
Manged to get something working ๐
sql + json plus flex tables
@gray steeple I converted your message into a file since it's above 15 lines :+1:
Then I used flex-table (also HACS) for the lovelace layout:
entities:
include: sensor.z10pro_rooms_last_cleaned
columns:
- name: Room
data: json
modify: x.roomName
- name: Last Cleaned
data: json
modify: (Math.round((Date.now() - x.lastCleaned) / 1000) / 3600).toFixed(1)
suffix: ' hours ago'
- name: Cleaning Type
data: json
modify: x.cleaningType || 'unknown'
And it came out pretty darn nice ๐
Oh sorry I meant the SQL table not the card table haha. But yeah that looks slick!
How'd I make the SQL table? I run a couple of "Init" nodes in my Node-Red flow.
pump some SQL to the MySQL node. Drop/Create tables, set initial values, etc.
Cool solution. One thing I wish HA was better at was storing tabular data
I needed something like that recently and just ended up creating attributes named like 0[foo]
I've been moving from UI automations to NodeRed. I think I might want to just write pure code though
I'll have to learn how to do that
lol yeah I've been thinking about doing that, but I'd have to get familiar with the integration dev setup
same
I started out on HA and pretty much went right into NR. I'm pretty technical and I realized I'm going to want to do complex automations and it's going to look like a nightmare
I'm also not a fan of control flow via a declarative syntax.
Some of the stuff with the interface they've done recently in automations has been nice though
NR?
Node-Red
Well you're flying then haha. I've been at it just about a year. You might want to try to stay within the bounds of the architecture though instead of rolling your own like it sounds like you did here where all you're really using HA for is to display the dashboard
For instance you could have created a sensor with attributes for each room and the last time they were cleaned
Dunno how to do that. I could probably figure it out though.
Don't know all the specifics of your implementation, but just a suggestion. You'll learn about how HA works a lot faster
And in the future you'll be able to implement things faster since you'll be operating at a higher level
e.g. sensors and templates instead of raw DB queries
What are templates?
The only thing I don't like about this is that I hard coded 'z10pro' into my SQL query. Everything else is drawn from devices, like rooms and such.
I should be able to buy and add another vacuum and it'll just .... work with the current setup.
Yeah I actually find it difficult a lot in HA to define things as concepts rather than hard coded entities
I think I should be able to change the query and then extract just the entities I want in the table card...
Think I'll try that now, save learning about templates until tomorrow
The first thing along those lines I did was write a NR flow to control all of my lights with motion. Normally people would just make automations for each room and match up their motion sensors and lights. But the concept you want to automate is to turn on the light in the same room where motion was detected.
Yeah templates are a big topic. Seriously powerful though and it's something you should know to get serious with HA
And #templates-archived will be a big help
Seems reasonable
Motion detected -> get sensors area -> get that area's lights -> light.turn_on on those lights (roughly)
yeah.
Those middle two are accomplished with templates: https://www.home-assistant.io/docs/configuration/templating/#areas
how can i make a button that turns on a switch for a fixed period then turns it off again. something like the old fashioned pneumatic delay time switches that were used to keep a light on for a short period of time
but in the front end of course
ideally it would look "pressed" until the timer runs out, and even might show a countdown timer in the button itself
As was stated above, NodeRed might be able to help out in this situation. I haven't had to delve into NodeRed myself yet as I'm just using HA for data collection at this point. In my Frontend, I do have a few button.* entities. You'd just have to tie it into Node-RED in some way to provide the delay.
Is there a way to specify a color to an mdi: icon?
I would like to use something like <cyan>mdi:water</cyan>, <magenta>mdi:water</magenta>, and <yellow>mdi:water</yellow> for my printer inks.
what happened here? the vertical line https://imgur.com/a/yvGqZJP
oh, its the german label for current renewable energy being low - "Wenig Kohlenstoff" which makes the upper row cell bigger in the electricity overview and centers it more to the right because of its width
https://youtu.be/usg8cB8sd8E his videos tend to be pretty clear and I remember a similar scenario in it.
trying to figure out the view and use on the new Tile card, I wonder why we would waste so much screen estate. seems 'nice' at first glance, but then the amount of non used space is rather striking. Can we somehow use that better?
Hola, has anyone else noticed issues with picture-elements cards showing state_image's? I had it configured for maybe a year and noticed them not working yesterday. I updated to 2022.11.2 a few days ago
The issue is that state_image items just dont display any more. eg.
state_image:
'on': /local/txpx.png
'off': /local/shield.png
type: image```
How does HA make use of the AUTH file contains in .storage folder?
This is regarding the authentication??
Yes. I think it's a registry of the valid authentication tokens.
action: call-service
service: fan.set_percentage
service data:
entity_id: fan.mum_study_fan
percentage: 16.6```
im getting a required key not provided error
How does HA use it then??
Cause it contains the permissions of a user, user groups, creds etc??
It compares the entries with the data sent by the browser to verify that the login credentials are correct and that the session is active.
Ah wait. There's more stuff there.
Yes, it stores the permissions. But there's not really any permission management yet besides the admin/user distinction.
But we can define our own permissions also for a particular user.
Like for a particular user, we have these permissions and this user is allowed to view only these entities?
Now, How the HA is using these entities?
Hi Reijo, I think we have the same issue
#frontend-archived message
I'll make a ticket
You can?
Yes in Auth file we can define these permissions after creating a group and defining it's policies...then after restarting the HA...those permissions are applied for the user.
worked earlier so just wondering what is
You mean this? https://developers.home-assistant.io/blog/2019/03/11/user-permissions
AFAIK that's not been touched since that blog post, so the current state is probably still pretty much
This feature is however unfinished. We need to audit the Home Assistant code to make sure that all APIs and service calls check the users permissions. So although a user will not be able to use the UI to make changes, there might still be APIs that can be accessed without permissions. And not only do we need to check the Home Assistant code, custom components that register services or APIs will also have to be updated."
How to transform the vacuum label? I don't understand why this is not good in my code.
'''
i3:
card:
type: "custom:button-card"
template: chip_mdi_icon_state
variables:
ulm_chip_mdi_icon_state_icon: mdi:robot-vacuum
ulm_chip_mdi_icon_state_entity: vacuum.deebot
label: |-
[[[ if (entity.state =='docked')
var etat = "Off";
else
var etat = "On";
return etat ; ]]]
'''
I feel like having permissions management is already quite useful when it only keeps out those who are fundamentally honest โ having it be robust against outright malicious users or even MIT-hacker prankster levels is a lot to ask beyond that.
In the same sense that 99% of locks out there in real world use are there to keep honest people honest, not really to be robust against a determined attacker.
Have you actually gotten this to work? I did some testing on it a while back on a test HA instance, and after following the directions in that doc @polar kelp linked my HA instance wouldn't start.
When editing yaml templates in the UI, the editor doesn't respect indentation and I have to indent manually. Am I missing something or is this just how it is? Any fix?
Use another YAML editor.
You can use the online one too.
Yeah, but then you're copy pasting back and forth to see the live changes
Wouldn't mind as much normally cuz I have a browser extension that lets me turn text areas into vim mode, but it screws up for this text editor for some reason and adds extra newlines
@stuck saddle I converted your message into a file since it's above 15 lines :+1:
Oops nvm, the settings in the sensor were wrong. (Exclude today: true).
What's the best way to make those tiles more square? Or adjust them in height?
Anyone know of some card or element I can use to show "cleared since" for e.g a motion sensor? I only can view "cleared" but would be nice to view the last motion date directly in a card (i know about the logbook)
is there a way to log and run automation for ha login events?
You may have to use InfluxDB for the last motion date aspect.
Ok crap then I will have to await new HW, already got too many addons on my poor pi
I started with a Minisforum U820
Looks like a NUC?
yep
Yea that would be great, I used to run on my old laptop but my puppy chewed the charger and it shorted so this is kinda temporary
I have it mounted on the back of a montor I use for other things.
$400 approx
Bought from NewEgg when they were selling it there, now I think you have to go direct.
Looks highly interesting thanks!
I have a browser_mod popup which allows me to click buttons to select fan speeds, I have also set it up so that if the speed is selected, it will highlight the borders. The card works but the cards borders do not get updated when a new speed has been selected.
any1 aware if there is https://github.com/ofekashery/vertical-stack-in-card but horizontal version ?
basically i would like to have 3 mushroom styled cards into one horizontal with one border
This, all in one
hm ok, gotta check that, ty sir
Hello all. Can i use some entity or customize entity such as like below picture without HACS.
I need this climate entity or card with two temperature points.
I've been trying to figure out the swiss-army-knife method for this. I'm still having a hard time wrapping my head around this and I want to accomplish something similar.
hey guys, weird one here... i'm trying to make a dashboard and am using template chips, but like 50% of the time when i go to type something it changes the writing direction to right to left? so instead of typing out mdi:battery, it ends up typing out yrettab:idm for some reason??? is there something i can do to fix it?
I have a browser_mod popup which allows me to click buttons to select fan speeds, I have also set it up so that if the speed is selected, it will highlight the borders. The card works but the cards borders do not get updated when a new speed has been selected.
can anyone help display the time remaning from my dishwasher ?
I got it cahgning colour wenn on and off but also want to have the time remaning displayed:
type: custom:mushroom-template-card
primary: ' {{ sensor.siemens_sn658x06te_68a40e1dc926_bsh_common_option_remainingprogramtime | first | as_timestamp | timestamp_custom("%T") }}'
secondary: ''
icon: mdi:dishwasher
layout: vertical
icon_color: |2-
{% if is_state('switch.siemens_sn658x06te_68a40e1dc926_bsh_common_setting_powerstate', 'on') %}red {% elif
is_state('switch.siemens_sn658x06te_68a40e1dc926_bsh_common_setting_powerstate', 'off') %} orange {% else %} green {%
endif %}
entity: switch.siemens_sn658x06te_68a40e1dc926_bsh_common_setting_powerstate
Hello ๐ new guy here, and also kind of noobish in regards to HASS, but I was trying out the 'confirmation' option for a tap-action, and it works great, but I was wondering if one could change the title of the prompt? In the browser it says something along the lines of "home assistant on PC somethingsomething is showing the following message:" and below that the text I specified. On mobile it only says "home assistant" as the title. Does anybody know if and how one can change the title? It does not change anything functionally, but I think it looks very ugly ๐ thanks in advance!
The documentation only shows the parameters 'text' and 'exemptions' for the 'confirmation'-option
someone arround with a tasmotized nspanel with lovelace ui / home assistant? i want to ask if there is a card with only one entinity for the whole screen. i want to scroll through each entity one by one all 4 seconds. its for my dad cause he can't see all through his glasses. auto scroll works already.
would love some inspiration on Subview use, I still am struggling a bit with those in my config. please see https://community.home-assistant.io/t/subviews-how-do-you-make-safe-link-show-them/490274 and comment away if you would. thx!
Henlo friends, question, maybe I can find help here.
I'm searching for a possibility to visualize a timer (automatisation) on the frontend. Like when I trigger the automatisation the rest time before the automatisation switches the device off again
you can maybe do a template entity and calc timer time - time now
Thanks for the reply, I will test that out ๐๐
ah you don't need
just add a card
`type: entities
entities:
- timer.test`
it shows an countdown by itself
For many releases now, I'd say since August at least, when I click on Developer Tools -> States, there is a significant delay before this tab loads. Is this a wide-spread issue or something specific to my instance? If the latter, does anyone have an idea as to why this is happening?
Does the new "Long-term statistics in the entity dialogs" feature works? I have some temp. sensors in it own statistics graph cards showing data as expected and not getting such data when clicking on the entity card.
Just so I'm clear, you mean in Settings -> Devices & Services -> Entities and then click on one those?
Okay I understand one part..
Got the same "problem"
Thanks for confirming, I wonder if our statistics databases have grown too large, I think that's where @clear rock was going with his clarification question.
which part you dont understand
What is the correct way to specify a target in javascript when using callService?
I've been trying:
this.call_service('light', 'toggle', { target: { entity_id: light.office_leds } }) with no luck.
Ah, figured out what I was doing wrong. Typical rubber duck syndrome, I figure it out after showing it to other people.
this has been the worst view since forever..... years probably, and getting worse, since the states are also growing in numbers with every release. There have been many requests to the frontend team to fix this. As a poormans fix, the Developer tools now lands on Yaml instead of states.
thats is until you navigate the menu, as the last visited page is stored in local storage per browser
just for reference, it can take up to/over 25 secs in my config for the view to completely load....
Judging by the scroll bar length, it looks like it's loading everything at once instead of some kind of pagination
Mine isn't terrible, but def notice a lag too now that you mention it
a small trick is to keep an entity, or an attribute in the filters, so it only last that long the first time it loads
Damn, that's much worse than my 10s...150% worse.
I'm trying to set something up with subviews so that once I interact with them, they automatically go back. For instance, I click on a button to go to a subview, then click on another button, and it performs the second button's action like running a script and then immediately goes back to the previous screen. Any ideas on how this would be possible?
and with that entity/attribute loaded, first enter a new filter, before deleting the current ones. that way it can hop from filter to new filter, instead of from filter to none to new filter
Hello, is there an easy addon that will let me arrange the dashboard however I want? Right now everything is auto aligned, which can be annoying if I want to have a gap or something
Check this out: https://github.com/thomasloven/lovelace-layout-card
Using card stacks can help too
@timid beaconthanks, I was looking at that. I assume if I have HACS I can just search for this?
Yup it's in hacs
Whenever I search within integrations or frontend for "layout-card" I get nothing.
scratch that, I rfound it.
I'd browse all of his repo's btw. He has a lot of really great things that you may want to remember in the future
auto-entities is probably my favorite. My main dashboard is probably at least 50% hidden most of the time
Right now I'm just looking for something fairly simple. I've been using hassio for a while to control my smart plugs and such
For sure. A lot of his stuff is a little more advanced
I use yaml mode and have different dashboards which I include my different views in. I reuse the same view yaml files across the different dashboards. How can I make a navigate_path relative? So if I am on dashboard-main it would go to "/dashboard-main/remote" and if I am on dashboard-theater it will go to "dashboard-theater/remote". I am specifically looking at having remote be a subview but do not think that matters to the solutions.
What if you don't start it with a /?
@timid beaconin his guide: https://github.com/thomasloven/lovelace-layout-card he specifies to set the layout options as described. However, he says this is now integrated into settings. Thing is, I still don't see where I could enter these options in, even in serttings.
I think the gif he has there is outdated. On the view edit dialog it's just at the bottom of the first tab. There doesn't seem to be a separate tab anymore
Try reloading your browser. My view type is now a dropdown
yeah, that did it.
Not sure then
Seems like this HACS is not working anymore :/
It fixed it.
Yeah just tried that myself. You can't use navigate but it seems to work for the URL action
What are the differences? I remember taking a look at the card and docs and couldn't really see the differences. Even more so, vertical has been updated recently where stack-in-card hasn't in like 2 years
@timid beacon
so here is what I am trying to do
I want "Sensors" to be under "Grow Setup"
You could use the vertical-stack-in-card
But it won't actually do it, I assume because of the height?
so put these cards, within a card?
type: vertical-stack
these cards are type: entities.
I wish I had a whole room just for flowers
I assume I'd define a verticle stack within the entities?
so entities card is inside a verticle stack?
Yeah check out the card. You'd just specify the exact same cards you have except they'd be nested inside vertical-stack. Vertical stack has a UI and everything. Just give it a try
Right but my goal is to have these headers as well, "grow setup" "sensors" etc
if that makes sense
I think I get what you mean though
Headers will still be there
@polar kelp Sorry to ping you directly, but the PR is locked: https://github.com/home-assistant/frontend/pull/8125
Wondering what happened to this. Seems like what you explained in the description is exactly what I'm looking for
[...] activate a script and get back to the start view with a single tap [...]
And if you want to get fancy check out https://github.com/ofekashery/vertical-stack-in-card which works the same but makes it look like it's all one card ๐
stack-in.card makes one frame for cards, vertical/horizontal stack just stacks cards side by side
like i would have these fitted in one background
mushroom cards has lovely outfit ๐
Wait how is that different than just the normal stack cards then?
that is normal horizontal stack card, since stack-in-card is not working
stack-in-card would add those in one "bubble"
I guess if you also want the other options stack-in-card provides in the keep object
I see, so with stack-in-card there's no outer bubble
Er rather the other way around
yes, thats what i presume
Strange, I dunno from a little testing I still don't get it
cant really tell, because its nto working for me at all, just says custom card not found