#frontend-archived
1 messages · Page 220 of 1
loaded todays dev and was confronted with 28px border radius on dialogs in my square themes.... Personally I really dislike those overly rounded corners. One more core setting to override. Easily fixed though ha-dialog-border-radius: var(--ha-card-border-radius) which is set to 0px in my themes. Just so you know: https://github.com/home-assistant/frontend/blob/106f6a307fd67d627caa38dc027c2201148a6fa7/src/components/ha-dialog.ts#L84
not sure about the other changes too, they seem to create a lot more space in the dialog cards , which isnt necessarily a nice thing on smaller displays
Asking again - anybody know how I can get at forecast temperature of next day? My weather card might say the high for tomorrow is 25 degrees - what entity has that information in it? I would like to use that information for homre heating/cooling node red flows.
I use the Environment Canada integration
@polar radish you can search entity attributes. Quickest way. If you see something on your front end that says "tomorrow is 25 degrees" then go to Developer Tools > States, and type in the "Attributes filter"
Thanks Seal, learned something new. Alas, in my particular case this did not result in a matching entity 😦 This method is a heck of a lot easier than making a node red flow to look at every entity that could possibly contain the data that I was looking for. The only thing that I can think of is that the forecast high temperature is buried someplace in the weather API and is never given it's own entity or way of directly accessing it.
Hah, I stand corrected .... I did actually find it in the attributes of weather.home .... Thanks!
anyone else seeing this in HACS?
sure, it's a standard view of HACS front end cards that have been downloaded
Missing the
button?
yes, that was my quest. Ive now learned that is by design and we need to click the card before we can get to the meatballs
I apparently missed some release notes on that
Hi all, did anyone here tried to play little bit with CSS of Dashboards 1 card view? By design I would expect to fit on the screen, but it just simple does not. Even in fullscreen mode. I was able to make it fit manually, by editing few divs, am just wondering, if there is some simpler/direct/permanent way
What card is it? It's supposed to fill the screen.
Except cards with pictures. They will conform to the aspect ratio of the picture.
Ah, so that;s the answer. It's picture element card. But still not getting why - I would expect the picture resize to fit
I'm having a weird issue with the custom mushroom card. But I don't think it's an issue with the card so I wanted to come here to see if anyone has experienced this before...
It seems like my icon colors for a specific card (mushroom chip) is being overwritten by the color set by the light and dark mode. I inspected the icon and I can see the color style on the icon has 2 color options trying to be applied but the white and black color seems to be the one that ends up always being applied... Any ideas why this might be happening?
This is what I see when I inspect the icon.
Quick Google search found that rgb(225,225,225) is #e1e1e1 in HEX and the only other place I can find that is on a variable named '-primary-text-color'
Would anyone be able to walk me through creating a toggle switch that would change the states of an entity (fan setting in an ecobee thermostat in this case)?
You could create a template switch. This allows you to have a switch which calls a service on turn_on/turn_off.
Hi ! I have made multiple button thanks to my broadlink rm4 pro. How do i set up a remote on home assistant ? I have each button set up separately
I am totally new to home assistant btw, so sorry if its a stupid question
I am trying to set up a single toggle within Mushroom cards to switch all lights on and off, and then subsequently each room. Within the light card, you can only select 1 entity. any ideas?
I guess you are looking for light groups
Hey! Is there a way to display a number based sensor as a graph, without adding an actual unit_of_measurement?
@quiet sun https://github.com/kalkih/mini-media-player
Solved with yaml unit_of_measurement: ""
Is there an easy way to install that?
ah nevermind
HACS 🙂
Is there a limit to the number of picture entity cards on one panel in Lovelace. I have 7 camera feeds and only 6 will show the feed.
Hello!
Can anyone help me with the cast entity?
type: entities
entities:
- type: cast
name: Media
icon: mdi:record-player
dashboard: lovelace-cast
view: media
hide_if_unavailable: true
show_header_toggle: false
This shows connected, but doesn't display the dashboard. Yet I have no problem if I use a script
Just curious if I'm missing something simple
Wait, does the script cast from the server and the button cast from the device viewing the dashboard? If so....it's my firewall rules :(
I seem to have screwed up in a big way .... I had a perfectly working Lovelace setup that was heavily powered by node red. For reasons unknown to me, a lot of things have stopped working. For example, I had a history graph of atmospheric pressure and it disapeared. I tried adding another graph to the dashboard and in the cards listing the history graph box says : History integration disabled.
I make extensive use of service calls in my setup and all of a sudden I get 'service not found' errors.
I did edit my configuration.yaml file in order to install a thermostat setup (didn't succeed yet) but I commented all the edits out and rebooted HA and te issue remains.
I could use a hint of where to look for my screw-up!
Where is first part of the url set? I can't find anywhere in the UI or yaml to edit this
Just found out that ALL my helpers seem to be broken (which would explain a lot). When I look at a listing of the helpers, I used to be able to get details by clicking on a helper listing. Now I get no configuration details and when I click through a bit further, I get a note that this helper is not available ..... This entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device. HOw can I figure out what is going on ?
All the scripts seem to have disappeared ..... but they are still in my scripts.yaml file
That the dashboard name
How and where do you change it?
One of the things that was suggested on the web was to delete the database file (home-assistant_v2.db) - unfortunately that did not help 😦
Looks like some major corruption - Looking at the main Home Assistant panel on the left side of the screen, there are a number of items missing: Energy, Map, Logbook, History and Media are all missing.
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
- HAOS & Supervised use
ha core check - Container uses
dockercommands - Core requires you to activate the venv first
My guess is that you either removed default_config: from configuration.yaml or messed up the format
Nope, default_config: is still there but I did try removing it and inserting history: just to see if it would get me the history integration back but it did not. I luckily took a full backup two days ago - unfortunately I spent a LOT of time on upgrades over those two days. If I restore, I get a working system back. I am now trying to see if I can extract the configuration.yaml file from the working system and move it to the borked system to see if that gets me to a working version with the vast majority of the changes still there.
Did you run the config check?
Hmmm .... I copied the entire config subdirectory to the home subdirectory but it looks like the restore overwrites everything including other directories. I will have to see if I can move the working config files over to another computer, restore the system to the borked state and then overwrite the borked configuration.yaml with the working configuration.yaml.
Yes, the config check shows a vaid file.
everything from the "frontend" part of that home assistant mockup figma looks good, i wonder if somebody's implemented it yet
link: https://www.figma.com/file/4LZqQZRynDZGTgA2rN35Te/Home-Assistant-config-mockup?node-id=922%3A728
I am happy to report that using the previously working configuration.yaml to overwrite the borked configuration.yaml got the system back to a working state.
I compared the two configuration files line by line and could not see the difference. There were some minor differences with one file having lines preceded by '#' - ie commented out. Looking at the difference a fourth time I found the one and only possible error although it doesn't make sense to me. When I first determined that the history integration was borked, I commented out the default_config: line and inserted 'history:' but at this time the system was already broken. I later reversed the change, un commented the 'default_config: line and inserted what I thought were comment symbols for the 'history:' line. Instead of a '#', I used '//' which is not a comment symbol in a yaml file.
I don't know what it did to the file but I could not see any other issue .... <shrug> ..... that is about 4 hours of my life that I will never get back 😦
The kicker - inserting '//history:' in the working configuration.yaml reports an error when checked and does not permit a reboot because of that error. Colour me confused .... but it's working and I have always been told to not look a gift horse in the mouth.
I can only assume that the configuration.yaml file was corrupted in some way that doesn't show up in a plain text editor.
is there some very basic guide to get started with adding extra buttons to lovelace cards? i've found things that work but i cant reproduce it currently on other cards with other functionality, meaning i havent figured out the logic behind it. I basically just want to add fan speed settings to the default thermostate card, the ac supports it, i can access the options from the 3 dots, but i want to add it to the card as buttons, maybe the presets aswell etc
@distant hull posted a code wall, it is moved here --> https://hastebin.com/vacibekovu
Ive got this far, anyone can point me in the direction to have the corresponding icon change color or change the icon or whatever when it matches the current state of fan_mode?
Sorry if this is the wrong place to ask.
Does anyone know about a lovelace bar chart, that can show multiple entities, one per bar.
It will show the current watt consumption, so I can easiliy see what is currently using power.
I know Energy has per entity kWh. But I want to see the current watt at the current time.
not sure what you want but this one can do a LOT https://github.com/RomRider/apexcharts-card
hi,
i hve such a plug: https://www.zigbee2mqtt.io/devices/TS011F_plug_1.html#tuya-ts011f_plug_1
Integrate your TuYa TS011F_plug_1 via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway.
it has sensors for power, current, energy, voltage ...
i use z2m
but only see the energy sensor in the dashboard.
how may i add power, current and voltage?
is there any known errors with latest HAOS and RPi4B. After startup it takes a minute or so when I can access the frontend and after that I get a connection refused. This is on a "remote" HA install and I can still control any zwave or zigbee2mqtt devices from my main HA install. If I pull the plug and power it up again I can get the dashboards for some seconds before I get connection refused again.
So apparently it works but I cannot get the frontend
This remote install really does not have much installed except for the zwave and zigbee to mqtt
Does anyone know of a card suitable to monitor docker containers?
What kind of entities do you have?
Container status, cpu/mem, uptime, health, network up/down... Also for Docker Engine, number of containers (running/stoped), total cpu/mem... Lots more really...
Tried looking around, but did not find anything tailor made for this...?
hey guys, where can I report a bug? Its probably just a translation problem. On the conditional card with the visual editor it says when "condition not" but switching to yaml it's actually the "condition". the translation seems to be switched
(using Portuguese translation)
Hey guys! New to HA, is there a way to resize elements on a dash? Thanks in advance!
I have like 9 "dev" dashboards (usually hidden) with 10+ views each with various attempts at creating something (mostly with button-card / decluttering-card / config-template-card + card_mod - thx to @polar kelp, @late anvil, @mild veldt) and on my main HA instance. I cannot delete them coz I know one day I will definitely need to go back to some old obsolete code I wrote months ago.
And my main dashboard still looks like pile shit (now less thx @sage depot for great mushroom cards).
Is this still healthy?
what's the best way/card to have three gauges next to the other in a single card?
I had a prototype card with 3 vanilla gauges next to each other in one card - mostly with stacking, rescalling them and moving labels using CSS tricks and card_mod. Not in use atm but it's definitly doable thing.
I'd use three gauge cards inside a vertical or horisontal stack card...
Any ideas?
You could probably do something nice with auto-entities
Yeah! That looks well suited! Does it support some kind of icon/image per card? Something to visualize what container it is for easy overview?
It mainly just fill some other card with entities
Thats nice! Let me try experimenting a bit... 👍
Is there a way to display icon and info over top of each other like this?
Im trying to get as much on a screen at once
In a custom:button-card, I want to display a partly transparent picture on a coloured background. It seems, however, that setting the background colour overrides the picture. How to do it?
Use background-color
anyone who could help me with this? or point me in the right direction for instructions?
background-color makes it happen indeed, you can check eg https://gist.github.com/Mariusthvdb/2d59566b173c6d37bd986c213f77c348#file-button_card_templates-yaml-L1340 for an extended example. note the size: 95% in that template leaves a small edge inside the button, revealing the background color, which is used to indicate travel/presence options. Commented are some previous efforts struggling with the same challenge 😉
background: is shorthand for a whole bunch of individual properties. All of which override the shorthand completely if defined: https://www.w3schools.com/cssref/css3_pr_background.asp
Also see: https://www.youtube.com/shorts/ybV6US_MYcE
I think you can use custom:button-card, it can fully custom the style color by entity value.
@quiet estuary posted a code wall, it is moved here --> https://hastebin.com/ivafijokik
Good morning,
I have a vertical stack, and inside that a few horizontal stacks, and inside each H-stack several Entity cards.
I have set the font size in each Entity card individually, which is a pain, and very repetitive.
Is there a way to set the font for "all cards in the arrangement" at once?
(the current code is in my post here https://hastebin.com/ivafijokik)
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Right.... I thought I tried that but I must have been mistaken. Thanks!
did someone in any chance already simulated the mushroom entity button with custom_card. I want to add some blinking which can not be done with mushroom but I would like to keep the mushroom style.
Hey guys! how do I add a last updated thing to my Weather forecast card?
Since lovelace_gen doesn't work with the latest version of HA... is there any other way of passing variables to a template you include? I have a couple of templates that I instantiate multiple times with different entities.
Silly question but how can i ensure my dashboard cards stack and not go into another column?
i'm using grid cards for this. https://www.home-assistant.io/dashboards/grid/
Ahh lemme try
hmm still did this :/
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
small example
with vertical stacks and grids
but you can also make several grid cards on top of each other
hmm ket me try that
So if i understand it right, it's a grid card that has nested vertical/horizontal stacks?
correct
but you could also use the display type of the dashboard itself
so there are many ways. just experiment with it and pick the one you like
oh i've been currently experimenting with Mushroom cards
Thank you! this is so much nicer.
yaml
Hello, I have a question about HA WebSockets API (either pure, or through home-assistant-js-websocket library). Is there any way to subscribe to events from just one entity? I'm trying to write code for very low powered device, and my HA instance has thousands of entities. Constant stream of events is makes my app run out of memory.
Hello, where can I find my Hass.io section? I would expect to appear below Developers Tool but I don't see it. I want to know its updated location thanks.
I've installed Mushroom in HACS, I've downloaded mushroom.js, I've moved it to /config/www/, confirmed it's there, and I've added mushroom.js to resources. I've seen it done in different ways, but currently I have both
/hacsfiles/lovelace-mushroom/mushroom.js?hacstag=444350375200
/local/mushroom.js, and
http://localhost:5000/mushroom.js
- but I still don't have any mushroom cards to choose from in Edit dashboard. Am I missing something?
A custom button card can have a 'confirmation' option followed by 'text: user message'
Is there a way to split the user message over two lines?
The standard linux \n thing isn't working and I am not sure how to escape/separate the control character so that it is recognized as not being part of the string.
hey guys, for some reason when I'm Away my badge picture disappears and just shows black. this only happens on the android app. anyone ever encountered this bug?
and it's just my picture. my wife's picture shows fine..
How do I make my device trackers visible in the "Map" tab?
Did you restart after installing the integration through HACS?
Well I buggered it up during testing - Linux asked me if I wanted to stop getting the user message (I said yes) which is now preventing any message from showing at all ... dang !
A reboot of the computer I was working on (not the HA computer) fixed things but I did see some really weird stuff that I can't explain. I also got '\n' to work with a really weird combination of brackets that I don't understand ... but it is working.
I have abandoned the attempt of setting up a confirmation message - it is just too flaky in a number of different ways
No disrespect to the platform or the dev's because lord knows I appreciate the work you put into this system but is there a way I could customize this title or remove it without going through a custom sidebar intergration via hacs? I know I could do it through hacs but that seems like a PITA just to get rid of what to me is an eyesore...
I want it to say what I want it to say instead of "Home Assistant"
Yep - a few times now...
Hello! Is there a way to mix "UI Controlled" dashboards with YAML defined dashboards without defining everything in YAML only? like, create a new dashboard in the UI but just dump the YAML definition in it instead of adding items visually. Just like you can with the cards themselves inside a dashboard
Yes, you can use the 'Edit raw' from the 3-dot menu
hi there, does anyone know how i can separate these things? like put them into different "cards"?
you can make an entities card and put whatever you want in it
ohhhhhhhhh i ended up doing something else, it kinda worked, i changed the "area" on those things, and now they're split
for the other method, how do i make an entities card?
ohhh i need to do this edit dashboard thing, ty 🙂
Hi, can you tell me if different users can have different Standard Dashboard?
Ah, there it is, thank you!
You're welcome
An entities card named "Sensor" is pretty much a dead giveaway for an auto generated dashboard.
Default behavior is one card per area, and then one card per entity type for those that are not in areas. Pretty much
Lots of the old helpful people here have probably not seen an auto generated dashboard, though...
At least not a recent one.
Okay, so I have a bit of a Z-Wave problem that has begun to bleed over to a UI issue. To start, let me provide some context as to why I am asking this question, and what my intents are. Last night, I began setting up a new system, featuring a Trane XR524 thermostat. While working on the dashboard, there were some issues with the display units on the thermostat card, as displayed, which was found to be due to the thermostat itself sending the temperatures from the multilevel sensor in Celsius. On a support call with Trane, it was determined that the conversion should be performed by the receiving system. Going off that, I have been working on figuring out if there is a way to modify the card to either perform the conversions through the manual configuration, or make a sensor entity that will allow me to create a cobbled together card of my own for it. Any help would be much appreciated.
Whats the problem with my yaml?
I am trying to just test the power key
It works fine in the developer tools
Hey guys - anyone have a rough guide on how to use the sidebar view??? The Docs are very thin and Im trying to replace a dead custom card
Does process temperature card in dashboard does not work on Wifi connection? I just moved from LAN cable to wifi and it has become static. Same for Statistics like Processor usage, RAM etc 😳
Check your logs. I think your database crashed. A restart should fix that.
If you're using the GUI editor there's a new arrow below the card in edit mode to move it to the sidebar.
If not, add this to the card configuration:```yaml
view_layout:
position: sidebar
Or yaml view_layout: position: main
Check the left edge of service, data and target in your two examples and you may find something...
I checked the logs, They are empty. I did restart it though 4 hrs back. Still nothing there.
Not sure if its related but after moving to Wifi (than earlier LAN connection), my samba share addon is also not connection (i.e. access files on Rpi)
There is another thing. I use nodered. It shows time zone has changed, in its nodes (after LAn to WIFI), dont know why. I have a custom time zone (my local) in nodered settings. Can some time zone changes screw these charts? Also where can i fix time zone? In settings> General> Time zone is correct
That could definitely cause problems. Rpi doesn't have an onboard battery, so it pulls the current time from the internet on every boot. Perhaps something is not working there?
Hey all 🙂 is it possible to have one card that’s like animated and switches between devices every 5sec or so and with swipes to sides. Like I have a washer, dryer and dehumidifier in bathroom, so all of them would live in this one animated card with pressable buttons and so on oh and if possible in mushroom style 🙂
This may help https://github.com/thomasloven/lovelace-state-switch
But maybe there's some card that does exactly what you want right away. I'm not sure.
sounds maybe like swipe card in auto mode? https://github.com/bramkragten/swipe-card and https://swiperjs.com/swiper-api#autoplay
hey, i search for a card to show current power draw which can be clicked to toggle the switch in the plug
Hmm, Ok, did not know you can do that, ty
Thanks @polar kelp and @fiery ledge I totally forgot to mention that I’m pretty new so HA and so far I’ve done stuff only in GUI so I just have no idea what to do with these three links You guys gave 😄
In my bio there s a link to my Gist and there you can find my button card templates to creat this. Look for button-switch 😉
Those are custom cards you need to install before using them. They extend the core Ha Frontend options. Take it step by step …
For examples on the swipe card check the community thread on the card. Same goes for the other options ofc, the community is a much more suitable spot for finding these extended code examples
oh thank you very much, I missed that! already added my yaml dashboard!
Hello, I'm new to homeassistant, can you have a video on how to get started with the control panel and configure it?
Thanks for reply. But even with LAN, current time is fetched from internet only. right?(everything was fine on LAN on same wifi modem). Even Static IP i kept same (on lan and Wifi). I wonder what has changed?
Nodered is working fine (internet nodes work fine). Just the time seems off there.
And ofc the main thing that processor temp, processor data, etc are all same
Also does Samba share not work over WIFI connection? I can;t access files on pi via samba share
What can i look for or try? ?(there is nothing in logs. all empty)
Further other data in text like RAM/swap/even processor is updating fine
At right bottom, u will see clone of processor temperature, i tried adding again thinking it will work, but nothing changed
How do I make people show in the Map view even if they are home?
That's exactly as expected from database problems. The current value is updating, but no historical data is saved.
Ok. But whats the solution Thomas? 🙂 I dont need the old data in that DB (i mean processor temp, ram, etc. It has been anyway set for 5 days purge in configuration.yaml). Do i need to delete DB or something? how can i start afresh with new DB?
recorder:
commit_interval: 120
purge_keep_days: 5
#purge_interval: 1 # obsolete, replaced by "auto_purge" (default: true)
Depends on your setup, but there really should be something in the logs about it.
What you can try is rename the file <config directory>/home_assistant_v2.db to something else and restart. That would make hass create a new blank database.
Earlier it was on "fatal" for both, i changed to "info". I guess i will see it . Rebooting now. Is it ok?
logger: default: info logs: # log level for HA core homeassistant.core: info.
Thanks. Will try that too (after reboot).
Ok saw an entry "The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly"
So in such scenarios, only way is to delete the file and restart? Not important for me, but just for info, can we fix that DB file too?
service: remote.send_command
data:
device: TV
command: power
target:
device_id: d88b5bff29b4c278118f3406c3956bfe``` I changed it to this but it still doesn't work. How exactly do I need to do it?
Hi guys, I'm pretty new to HA and I'm currently looking into (ha, how original) UI-Lovelace-Minimalist and Mushroom. Which one would you recommend and why? Would I miss out on certain things, not picking the other one?
If you’re pretty new to HA: neither. Stick with the default stuff until you know what it does and what you want.
Any suggestions? Completely out of ideas on how to troubleshoot/fix this.
Is it possible to have a momentary button in Love Lace? Not one press = ON, next press = OFF but rather ON while holding down and then OFF when letting go
Can someone walk me through how to add something to my dashboard? I'm trying to follow the instructions here https://github.com/dmulcahey/zha-network-card but clearly I'm missing some obvious beginner things, or these instructions were written years ago and no longer apply? I have the .js file copied into my www directory, I'm not sure what the rest of the instructions are telling me to do
Whats funny is i just reconnected the LAN cable and it started working fine....including that processor data charts (and hence the DB?) Is that even possible that DB can get corrupted on Wifi and not on LAN?
I disconnected and rebooted into Wifi (Note that i first time connected via Wifi), and it does nt even boot or boots disconnected to internet. So weird.
Connected LAN and its back online fine
Weird. I think you should bring this over to #installation-archived and see if anyone there has any ideas.
"Finally, add the following on top of your UI Lovelace configuration (means either via Config UI or .yaml" Which yaml should I be adding this to? configuration.yaml? And after that manually add a card to a dashboard?
-> Dashboard -> Resources
Thanks, so if I add a resource, is it local to the config/www folder?
That path is /local/...
So I tried just putting /zha-network-card.js and /config/www/zha-network-card.js into the resources and restarted HA, but when I try to add the card to the dashboard it tells me that the custom element doesn't exist.
alright, clearly I'm too stupid for this. Thanks anyway
Guys, I need/want a makeover for my front end UI and i'm looking for some inspiration. I will be designing it with my GF using it in mind. Controlling lights in multiple zones, A/C, heating, SONOS, etc. It'll be 100% used on mobile.
Thanks, will give it a look the next days 🙂
Is it possible to add a confirmation dialogue for a cover or lock for lovelace UI? back gesture on my phone is sometimes resulting in garage being opened unintentionally
answer to my own question: https://github.com/iantrich/restriction-card
Is there a dashboard card that just shows all logbook entries as if I were to just be on the logbook page?
Morning all, I'm trying to configure some front end plugin's i've downloaded via HACS, but all of them show the error "No Type configured" The resources are setup ok. I've also got a strange anomily that I cannot set a theme, when I select the theme drop down, the list is blank. I'm running this in a docker image on unraid.
I can see that hacs has created a folder under the www called community with each of the custom cards in.
"homeassistant\www\community"
As well as this there is also the "custom_components" folder under the "homeassistant" folder.
I can see the resources are added in lovelace.
EDIT: changing the path from "\hacfiles" to "\local\community" seems to have done the job,
Anyone know why UI/UX often changing on every release ?
Hi everybody. I'm a new member, I'm new to home assistant, I'm trying to build the program but I use the command " yarn build " it runs successfully but it doesn't go to the developer server to see the interface. Please show me how to build the project so I can see the home assistant interface. Thank you in advance
why are you building the program? you should be able to install in any of the suggested ways on Getting started. https://www.home-assistant.io/getting-started/ and then hop over to #installation-archived if you run into trouble
Good morning. I am trying to track down the source of errors I see on Chrome console. Seems like there is the wrong file name for the card-mod resource. I have uninstalled and re-installed it with HACS with the same error. Any ideas? I am getting: 190927524:1 GET http://192.168.0.21:8123/hacsfiles/lovelace-card-mod/card-mod.j net::ERR_ABORTED 404 (Not Found).
It's missing the "s" in ".js" but where is the incorrect information coming from?
This happens even if I uninstall card-mod
Found it. I'm an idiot. Must have added it in the frontend: section of configuration.yaml years ago.
Can I make People visible on map even if home?
trying to put context around this, panel_iframes are dashboards and dashboard views can have panels?
A panel iframe is a sidebar icon that opens a webpage in an iframe (I.e., within the HA interface)
They're not dashboards, but will show up as icons in the sidebar alongside any dashboards and other items
They're completely independent of dashboards, as they take over the main HA display area as a dashboard would
No, but you can add a map card to your dashboard and have control over what's shown there
I want the map view. Would it be hard for me to modify the source code to make this change?
That's up to your skill level
If my skill level is to the place where I could change some basic stuff but nothing way too complicated?
Then, no, it's too complicated
If you have a feature request for the frontend you can open one here, for Home Assistant itself please post on the forum. All other feature requests should be made to the developer of that custom card/component.
Thank you, I created the discussions page: https://github.com/home-assistant/frontend/discussions/13215
Personally think the same 🙂 Too many UI changes. Every release one has more than a few things to search again (as can't be found). I think they better decide things, then make a big change in UI and then stick to it for a while.
Is there a way to change the little icon that appears in the tab in my browser to understand which tab is some HA forum/docs tab and which my home assistant ? 😅
That's EXACTLY the reason I made that
Does anyone know where i can find the custom helper buttons that are created? I want to copy the code so i can merge it into another custom card.
@polar kelp is it normal for card-mod not to be able to change the font color? I've successfully the background color, but font won't change
{{ description }}
Well, this gets asked a lot but all I find are questions and no answers.
What are my options if I want to restrict a user to a certain dashboard?
Hiding entities on the sidebar only works for me until the next login.
latest card_mod has an issue for some details on icon_color, and mainly on card-mod-icon https://github.com/thomasloven/lovelace-card-mod/issues/206 If you post your yaml we can check if its you, or card_mod 😉 If its card_mod, downgrade to 3.14 should fix it
for core, your options are explained in the docs. Do you want to go beyond those (admitted rather limited options)?
best options in my usecase are creating a few dashboards open to all users, and set admin to the rest
within the dashboards, you can set a view to be available to certain users only
That would be fine, but I have not found a way to hide the overview dashboard from a user
I have read something about creating a new dashboard, and making it admin only, but it did not change anything for the user. Only for the admin account
ya, the auto create overview is a pain..... it keeps popping up on a new user login, and one keeps having to select the non auto created dashboard as default..
well, if you create a dashboard and set admin: true, its only available to the admins
I really can't expose that. There are over 300 entities. Including some "self destruct buttons"
as far as I know there's no way to set admin: true to the auto generated ui-lovelace.yaml. Never checked, but maybe we can hack the .storage files for that 😉
its atop of my list, and I dont even have that file ....
Hmmm... Maybe it is worth it doing it outside of home assistant? Making some kind of Webpage that exposes a few entities and talks to them via API?
you could install a second instance on an additional device yes, not sure what entities your talking about
Well, I just want to expose a minimal set of controls for a user (lights/lawn sprinkler/blinds) without giving them access to entities that just exist there for automations
And the overview dashboard gives them access to everything. Including entities that would actually cause some hardware damage if triggered at the same time
but that wont work, because the auto overview dashboard shows all entities on the instance. I thought you were talking things like scripts for shutting down etc.
No, it is stuff like the switch for the electric pizza oven. I'd rather not have it triggered and turned on accidentally.
Anyways. Sounds like this kind of access controls isn't possible yet?
fwiw, you could (probably should) add a fake (almost empty) ui-lovelace.yaml in the /config folder. that way it wont try to recreate the all entities view, and you could even show a small markdown card saying you need to reset the default dashboard upon login 😉
yep that works:```
-
type: markdown
content: >
Hi {{user}}, you need to reset the auto-selected 'Overview (default)' View upon login.
Go to your profile picture in the left side menu and select 'Overview'.
Or click the image below 😉 -
type: picture
image: /local/various/select_dashboard.png
tap_action:
action: navigate
navigation_path: /profile```
That looks workable! Thanks a lot!
Is there a way to adjust the height/ scaling of a dashboard panel? I want to put a single picture element in a panel and don't want to have any vertical scrolling
Is it possible to have a button in lovelace that is momentary?
When the button is held down it is ON, but as soon as you let go it goes OFF?
I'm hopeful someone here can point me in the right direction. I'm fairly new to lovelace dashboards, coming from OpenHab previously.
I have tried Grids, Horizontal Stacks, Layout-Card, Masonry (layout card), and just about every other kind of view I can find. I have tried suggestions I've found in my searches from grid_row/grid_cols, to height: styles, etc.
What I'm trying to accomplish is a symmetrical, grid layout where all cards in the grid are the same width and height. I have mocked up that config here, and you can see one of the cards, the Radar card, is not conforming.
Would this be more of a layout/lovelace question or more of a question for the creator of this Radar card?
This is a grid with 3 columns and wraps to a second row for a total of 6 "cells."
All I want is a grid that displays 3 columns and 2 rows, all cards being the same size. No matter what I try, I end up with something like this, where the radar card is twice the height of all the other cards. What am I missing.
TIA!
Did you see my link for my yaml?
I looked at that issue. I dont know if it would be related. I cant get font color to change, whereas that issue is about icons.
Im using color:
tbh I dont know anything about mushroom, never used it. Did you check their thread in the community or their Discord?
color: should work, if its the correct selector.... are you sure about that?
nvm
I think so
Is this really a problem with lovelace? 😦
I would figure it's a simple solution. On while button is down, Off when not?
Not really. The connection frontend->backend->device is not reliable enough for that to be a good idea.
You'd need a direct connection from the frontend to the device for that to be reasonable, and whether that is possible depends entirely on what you're trying to controll.
http://192.168.1.74:8123/frontend_latest/core.446aadfa.js:1:9430 Uncaught Error: Suspend promise not set i am getting this type of error in my working homeasssitant logs. please guide me where i have to do fine tuning to remove this type of error
I’d like my front door lock button to work like similar to the alarm disarm/arm buttons, where it blinks until its done arming / disarming
Anyone know of an existing card or easy way to mimick that?
My lock takes a while to respond and so users tend to keep pressing the button
Hi guys, I am trying to display an image saved in a mqtt camera.
I can't get the image to be displayed in any way, I have tried several combinations and none works for me.
On the other hand, this colleague who has it identical to me... it works for him.
What could I try more or what am I doing wrong?
I assume that the camera entity has information since node red sends the information to the topic and it is stored in the mqtt camera... Is there a way to see what an entity contains? Let's see if the information is not being saved correctly...
you can use animation on many cards using card-mod, or built in in custom: button-card
if I have an integration that reports data with 2 floating points, do I need a custom template to make it round to one? or is there a quick way that I can achieve this?
It depends on the card you're using
im probably missing something simple. I have a dashboard for 4 cameras. With the default masonry, it is properly showing 4 in a grid, but its not doing 100% width of the available space. I swear when i see some demos out there, it should be 100% width by default.
So, I'm trying to simplify the view of a custom dashboard, and I was wondering if there was any way to have a card only display its header
Notably, I've got a bunch of light groups, and I really don't want to see all of the lights in the group at a time, and only care about a broader on/off status for the group
Alternatively, is there just some way to have cards be collapsible
This simply means that any user of HA can always control everything? 😲
Isn't it possible to lock a user to one specific dashboard?
I have a gate motor I am trying to control. Wired to a z-wave relay.
As things can be in the way and that we may want to only have it partially closed I would like for it to be "hold down to move". Do you see any other way to do this? @polar kelp Thanks 🙂
Is it possible to add a part of a dashboard that shows up conditionally?
There is a carbage collector app, that shows if today or tomorrow carbage is collected. I don't need to see that every day, however. 🙂
Thank you!
i have a gree mini split that is showing the Temp number in Celsius but it says "F" next to it. Is there a way to fix this for the entity rather than using a template? I need in Fahrenheit
any way to turn off the overly verbose "triggered by" messaging that's now shown for Logbooks in a lovelace view after 2022.06?
since update i get a lot of
Error while loading page lovelance-home
is this a know error ?
sorry i don't know jet how to check for know bug/glitches
Guy.. quick question, how do I use a template as entity estate on the dashboard? (i have the template ready but I don't know how to implement it on the dashboard)
Don't know I can paste my code in here?
as far as I know you can not prevent someone to open a view that is not available in the tabs/dashboards to them. if you know/guess the path, it will open. My suggestion of creating that initial view upon login is merely an attempt to make things smoother, and prevent accidental access to unwanted devices somewhat
what exactly are you trying to do? your description lacks some detail 😉
setting colours in the companion app with rgb produces very different results on the app vs on a desktop browser. Like, so different that I don't think it's just monitor calibration. The docs say that the iOS app can handle rgb, but is there something going on where it's converting them and losing the real colour accuracy?
Also, is there a way to apply a background colour to a vertical or horizontal stack?
Hi everybody!
Quick question: how can I force specific card heights in lovelace?
did you ever get input on this or find a solution? I also wanted to have a dynamic navigation_path leading to a page named like the user