Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid layout is not working anymore after (I think) Upgrade to 2025.1.1 #308

Open
4 tasks done
cedricdelecole opened this issue Jan 8, 2025 · 5 comments
Open
4 tasks done

Comments

@cedricdelecole
Copy link

My Home Assistant version: 2025.1.1

Layout-card version (FROM BROWSER CONSOLE):

What I am doing: after upgrade to 2025.1.1, my custom-grid:layout is not recognized anymore ... see screenshot below :

image

What I expected to happen:
Dashboard displays as previously

What happened instead:

Minimal steps to reproduce:

# The least ammount of code possible to reproduce my error
kiosk_mode:
  admin_settings:
    hide_header: false
    hide_sidebar: false
  non_admin_settings:
    kiosk: true
views:
  - title: Home
    type: custom:grid-layout
    layout:
      grid-template-rows: 75px 650px 75px
      grid-template-columns: 420px 500px 420px
      grid-template-areas: |
        "head1 head2 head3"
        "col1 col2 col3"
        "foot1 foot1 foot1"
    icon: mdi:home
    visible:
      - user: 6c0f22e61daf4f799222ab1f2942f2af
      - user: 1a22f3b4ca2f4c4c84db909d9ba20c60
    badges: []
    cards:
      - type: horizontal-stack
        cards:
          - type: custom:mushroom-person-card
# End of code

Error messages from the browser console:


By putting an X in the boxes ([X]) below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • Have made sure I am using the latest version of the plugin.
  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.
@Marfyy
Copy link

Marfyy commented Jan 8, 2025

I had the same issue in HA 2025.1.0

@Marfyy
Copy link

Marfyy commented Jan 8, 2025

I managed to solve the problem. There was some issue with HACS not being initialized, which caused this error. I fixed my HACS by checking the AppDaemon checkbox in HACS configuration, and reloading it.

Not sure what the problem with HACS was, and why this fixed it, but everything is up and running now with the layout-card
image

@kariudo
Copy link

kariudo commented Jan 9, 2025

fixed my HACS by checking the AppDaemon checkbox in HACS configuration, and reloading it.

I saw this issue as well; however, I want to comment that theres no need to enable to AppDaemon option, just attempting a reload of HACS (possibly more than once) allowed the integration to start successfully.

Regardless, it appears this is not an issue with this repo at all, just a HACS startup related issue.

@maciej-or
Copy link

hi, I had to enable AppDaemon, multiple reloads HACS and the whole HA didn't help

@cedricdelecole
Copy link
Author

Disable then re-enable hacs in the intégrations page. I was able to restart it this way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants