#frontend-archived

1 messages · Page 220 of 1

zinc gorge
#

Got close with the generic_camera entity, but I give up lol

fiery ledge
fiery ledge
#

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

polar radish
#

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

zinc gorge
#

@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"

polar radish
#

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.

polar radish
#

Hah, I stand corrected .... I did actually find it in the attributes of weather.home .... Thanks!

fiery ledge
#

anyone else seeing this in HACS?

dark dirge
#

seeing what?

#

I have many cards like that 🙂

polar radish
#

sure, it's a standard view of HACS front end cards that have been downloaded

polar kelp
#

Missing the dotsvertical button?

fiery ledge
#

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

sullen wyvern
#

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

polar kelp
#

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.

sullen wyvern
#

Ah, so that;s the answer. It's picture element card. But still not getting why - I would expect the picture resize to fit

mortal whale
#

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'

valid ember
#

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)?

vapid field
#

You could create a template switch. This allows you to have a switch which calls a service on turn_on/turn_off.

radiant stream
#

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

icy delta
#

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?

grand harbor
open seal
#

Hey! Is there a way to display a number based sensor as a graph, without adding an actual unit_of_measurement?

mortal cape
open seal
quiet sun
#

ah nevermind

#

HACS 🙂

kindred hull
#

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.

celest adder
#

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 :(

polar radish
#

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!

real lark
#

Where is first part of the url set? I can't find anywhere in the UI or yaml to edit this

polar radish
#

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

real lark
dark dirge
#

you set it at some point, probably when you created the dashboard

#

configuration -> Dashboards

polar radish
polar radish
#

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.

kind shellBOT
#

Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.

dark dirge
#

My guess is that you either removed default_config: from configuration.yaml or messed up the format

polar radish
#

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.

dark dirge
#

Did you run the config check?

polar radish
#

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.

silk igloo
polar radish
#

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.

distant hull
#

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

kind shellBOT
distant hull
# kind shell

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?

keen viper
#

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.

karmic tendon
wanton needle
#

hi,

#

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?

tulip basin
#

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

tulip basin
#

This remote install really does not have much installed except for the zwave and zigbee to mqtt

fallow oak
#

Does anyone know of a card suitable to monitor docker containers?

polar kelp
#

What kind of entities do you have?

fallow oak
#

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...?

slow sundial
#

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)

runic knoll
#

Hey guys! New to HA, is there a way to resize elements on a dash? Thanks in advance!

haughty vine
#

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?

modern plume
#

what's the best way/card to have three gauges next to the other in a single card?

haughty vine
#

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.

fallow oak
fallow oak
polar kelp
#

You could probably do something nice with auto-entities

fallow oak
dark dirge
#

It mainly just fill some other card with entities

fallow oak
#

Thats nice! Let me try experimenting a bit... 👍

worthy tapir
#

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

tawny cloak
#

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?

polar kelp
#

Use background-color

distant hull
fiery ledge
# tawny cloak In a custom:button-card, I want to display a partly transparent picture on a col...

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 😉

polar kelp
ashen ermine
kind shellBOT
quiet estuary
#

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)

tawny cloak
inland skiff
#

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.

runic knoll
#

Hey guys! how do I add a last updated thing to my Weather forecast card?

coral thicket
#

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.

eager thistle
#

Silly question but how can i ensure my dashboard cards stack and not go into another column?

inland skiff
eager thistle
#

Ahh lemme try

inland skiff
#

small example

#

with vertical stacks and grids

#

but you can also make several grid cards on top of each other

eager thistle
#

hmm ket me try that

#

So if i understand it right, it's a grid card that has nested vertical/horizontal stacks?

inland skiff
#

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

eager thistle
#

oh i've been currently experimenting with Mushroom cards

eager thistle
coral thicket
#

yaml

cerulean blade
#

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.

stuck heron
#

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.

worn raptor
#

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?
polar radish
#

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.

slow sundial
#

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..

wide oriole
#

How do I make my device trackers visible in the "Map" tab?

blazing wren
polar radish
polar radish
#

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

jovial flicker
#

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"

worn raptor
honest ridge
#

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

dark dirge
#

Yes, you can use the 'Edit raw' from the 3-dot menu

teal mesa
#

hi there, does anyone know how i can separate these things? like put them into different "cards"?

dark dirge
#

you can make an entities card and put whatever you want in it

teal mesa
#

ohhhhhhhhh i ended up doing something else, it kinda worked, i changed the "area" on those things, and now they're split

dark dirge
#

sounds like you used an "area" card or similar

#

if so, yeah

teal mesa
#

for the other method, how do i make an entities card?

dark dirge
#

add an entities card

#

Literally, "Add Card", type "entities"

teal mesa
#

ohhh i need to do this edit dashboard thing, ty 🙂

bright sky
#

Hi, can you tell me if different users can have different Standard Dashboard?

empty escarp
#

yes they can

#

in the user settings is an setting for standard dashboard

bright sky
#

Ah, there it is, thank you!

empty escarp
#

You're welcome

polar kelp
#

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.

tired widget
#

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.

compact pebble
#

Whats the problem with my yaml?

#

I am trying to just test the power key

#

It works fine in the developer tools

rich lotus
#

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

fading reef
#

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 😳

polar kelp
#

Check your logs. I think your database crashed. A restart should fix that.

polar kelp
#

If not, add this to the card configuration:```yaml
view_layout:
position: sidebar

#

Or yaml view_layout: position: main

polar kelp
fading reef
#

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

polar kelp
#

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?

vapid field
#

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 🙂

polar kelp
#

But maybe there's some card that does exactly what you want right away. I'm not sure.

fiery ledge
viral spoke
#

hey, i search for a card to show current power draw which can be clicked to toggle the switch in the plug

fiery ledge
#

just use a custom button-card to toggle the switch and show the power in the lable

viral spoke
#

Hmm, Ok, did not know you can do that, ty

vapid field
#

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 😄

fiery ledge
fiery ledge
#

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

honest ridge
sonic lion
#

Hello, I'm new to homeassistant, can you have a video on how to get started with the control panel and configure it?

fading reef
# polar kelp That could definitely cause problems. Rpi doesn't have an onboard battery, so 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

wide oriole
#

How do I make people show in the Map view even if they are home?

polar kelp
fading reef
polar kelp
#

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.

fading reef
fading reef
#

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?

compact pebble
warped creek
#

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?

polar kelp
#

If you’re pretty new to HA: neither. Stick with the default stuff until you know what it does and what you want.

mortal whale
eager pine
#

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

worthy lodge
#

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

GitHub

Custom Lovelace card that displays ZHA network and device information - GitHub - dmulcahey/zha-network-card: Custom Lovelace card that displays ZHA network and device information

fading reef
#

Connected LAN and its back online fine

polar kelp
worthy lodge
dark dirge
#

configuration-> Dashboard -> Resources

worthy lodge
#

Thanks, so if I add a resource, is it local to the config/www folder?

dark dirge
#

That path is /local/...

worthy lodge
#

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.

dark dirge
#

Like I said, that path is /local/...

#

You tried everything but that

worthy lodge
#

alright, clearly I'm too stupid for this. Thanks anyway

plucky mesa
#

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.

vapid field
devout charm
#

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

devout charm
timid beacon
#

Is there a dashboard card that just shows all logbook entries as if I were to just be on the logbook page?

halcyon basin
#

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,

rancid linden
#

Anyone know why UI/UX often changing on every release ?

frail pike
#

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

fiery ledge
fiery mortar
#

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?

fiery mortar
#

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.

wide oriole
#

Can I make People visible on map even if home?

vale umbra
#

trying to put context around this, panel_iframes are dashboards and dashboard views can have panels?

dark dirge
#

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

dark dirge
wide oriole
#

I want the map view. Would it be hard for me to modify the source code to make this change?

dark dirge
#

That's up to your skill level

wide oriole
#

If my skill level is to the place where I could change some basic stuff but nothing way too complicated?

dark dirge
#

Then, no, it's too complicated

wide oriole
#

Alrighty.

#

Well that sucks

kind shellBOT
#

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.

wide oriole
fading reef
hidden tinsel
#

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 ? 😅

polar kelp
#

That's EXACTLY the reason I made that

abstract lintel
#

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.

worthy tapir
#

@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

quick vessel
#

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.

fiery ledge
fiery ledge
#

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

quick vessel
#

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

fiery ledge
#

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

quick vessel
#

I really can't expose that. There are over 300 entities. Including some "self destruct buttons"

fiery ledge
#

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 ....

quick vessel
#

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?

fiery ledge
#

you could install a second instance on an additional device yes, not sure what entities your talking about

quick vessel
#

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

fiery ledge
#

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.

quick vessel
#

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?

fiery ledge
#

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```

quick vessel
proven schooner
#

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

eager pine
#

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?

tender orchid
#

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!

worthy tapir
worthy tapir
#

Im using color:

fiery ledge
#

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?

rough coyote
#

nvm

worthy tapir
#

I think so

eager pine
#

I would figure it's a simple solution. On while button is down, Off when not?

polar kelp
#

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.

split peak
#

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

fiery ledge
#

which apparently is related to Browser mod

worthy tapir
#

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

vapid field
#

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...

fiery ledge
modern plume
#

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?

dark dirge
#

It depends on the card you're using

white drift
#

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.

blazing ginkgo
#

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

blazing ginkgo
#

Alternatively, is there just some way to have cards be collapsible

tawny cloak
eager pine
daring hound
#

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. 🙂

karmic tendon
daring hound
nova bloom
#

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

wispy flint
#

any way to turn off the overly verbose "triggered by" messaging that's now shown for Logbooks in a lovelace view after 2022.06?

tender pine
#

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

charred pumice
#

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?

fiery ledge
fiery ledge
worthy tapir
#

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?

woven pine
#

Hi everybody!
Quick question: how can I force specific card heights in lovelace?

fluid junco
#

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