thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.08k stars 127 forks source link

custom:grid-layout doesn't work with android app #133

Closed roma777roma closed 3 years ago

roma777roma commented 3 years ago

My Home Assistant version: 2021.04.3

Layout-card version (FROM BROWSER CONSOLE): 2.2.3

What I am doing: Using the type: 'custom:grid-layout' and the android companion app.

What I expected to happen: it worked fine before I expected it to continue to work

What happened instead: the error appears on the phone: "custom element doesn't exist: grid-layout" The screen is all red and nothing is visible

Minimal steps to reproduce:

  - title: test
    path: test
    type: 'custom:grid-layout'
    panel: false
    layout:
      max_cols: 5
      grid-template-columns: 190px 190px 190px 90px 90px
      grid-template-rows: 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px
    badges: []
    cards:
      - type: entities
        entities:
          - light.d806c5eb_e18aa5d7
        view_layout:
          grid-column: 2 / 3
          grid-row: 1 / 2

Error messages from the browser console:


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

thomasloven commented 3 years ago

Does it work in a computer browser?

roma777roma commented 3 years ago

yes, it works.

thomasloven commented 3 years ago

Then it's likely that the still version is still cached on your phone. Please make sure to clear the cache. It's somewhere in the app settings.

roma777roma commented 3 years ago

it works!!! Thanks and sorry for all!!