A different take on designing a Lovelace UI

Hey guys,

do you know how to update the hassio core via a button click on the lovelace interface?
I didn’t find any solution for that yet.

All the best,
Max

Hello,

I really like this dashboard so I tried to copy all the files to recreate it for my own HA instance.
I changed the theme to “tablet”.

I can’t get it to work, things that are not working properly are:

  • layout is not right, for example the 3 icons at the buttom of the sidebar are at the top of the next column.
  • popups aren’t working
  • Overall there seems to be less margin between the tiles, so it can’t fit the same tiles on the screen as the screenshot.

I also noticed that the custom icons that are included are not showing up right to.
I attached a screenshot to show what I mean.

Some help yo get me started on this dashboard would be greatly appreciated!
Maybe I just forgot some obvious thing.

I had the same issue, seems that the used integration “layout-card” is changed.
I used the folliwing instead and that seemed to fix it.

- type: custom:layout-card

Do you mean the service call service: homeassistant.reload_core_config ?

I see in your screenshot your dashboard is similar to mine. (icons and layout not working)
Please let me know if you fix any of these issues :slight_smile:

@cristi.costache @remy1010

I’m using Home Assistant Container Installation - Home Assistant

  1. https://github.com/philhawthorne/ha-dockermon
    Connects to docker sock so you can start/stop containers from hass

  2. https://github.com/containrrr/watchtower
    Updates containers if new images are available

1

Watchtower is configured with --run-once. It’s stopped until I press the switch in lovelace - communicates with ha-dockermon which starts watchtower. So all containers are up to date at least once a month with hass release schedule :innocent:

2 Likes

Maybe a browser rendering issue, also mentioned here

Hi Mattias,
First I want to tell you how much I appreciate your work. This is clearly the best design I saw for home assistant.
Regarding my problem, indeed for browsers is working fine now (I cleared the cache as suggested: @remy1010 you’re design look different because you changed the grid-layout to layout-card. Change it back and clear the browser cache and it will work), but the main problems are for ios hosted apps. This is strange because I know you developed this interface especially for ios.
Do you use it with browser or with home assistant application?
Do you have some hints regarding this issue?
Best regards,
Cristi

Hi Mattias and Cristi,

thanks for your help!
I changed the grid type and cleared the cache.
It looks some better now, but the icons on the buttom of the left sidebar are still different from the example.
Also the pop-ups aren’t working.

Any clue why?

Attached how my dashboard looks now, I removed the conditional media section myself because it was giving me errors.

2 Likes

Hi Remy,
Do you have browser-mod installed?
Regards,
Cristi

Yes it is installed.

Do I need to configure/change anything for browser_mod?

I saw some references to the Galaxy tablet for browser_mod but for now I’m only viewing this in the browser, Mac OS/Windows apps and tablet will be relevant is everything is set up.

Thank you @Mattias_Persson ,

but is there a similar solution for a non-docker installation?

Yes that’s exactly it - the same as the screenshot you linked.
Not sure why it does it, as it does display correctly sometimes - I think it could possibly be related to the animation as it mostly has the error if the TV is already on when HA restart or the dashboard reloads, but if I click the button on the dashboard to turn the TV on then it seems to work OK.

U should put browser_mod: in your configuration.yaml. Probably already is, because Mattias used it for his tablet, but you could just remove is and only add browser_mod: to it.

When you did that, restart HA and after it fully booted, refresh the page. It should work.

I’ve never encountered it (chrome), but my best guess is icon_tv in button_card_templates.yaml,
fill="url(#A)" gets its color from linearGradient above. Try fill="blue" instead, ignoring the gradient. Could also be state/animation issue.

Well, you always have the CLI option

  • OS/Supervised ha core update
  • Core pip3 install --upgrade homeassistant

Shell Command can run this as a service, and you call that service with a tap_action on a button.

1 Like

I’m using macOS - Chrome/homeassistant-desktop
Android - Fully Kiosk Browser
iOS - Home Assistant (Companion)

You can clear cache in the iOS app too,
sidebar → app configuration → debugging → reset frontend cache

I’m sorry for asking this, but I’m 100% noob when it comes to HA. how do you even install this?

Thx for your help, I commented it out a while ago because I thought… Well I didn’t think I guess :smiley:
Popups are working now.

I will just look for other icons (from materialicons) to workaround the custom icons not working issue.