home-assistant-custom-ui icon indicating copy to clipboard operation
home-assistant-custom-ui copied to clipboard

All Group Cards Blank

Open Coolie1101 opened this issue 6 years ago • 9 comments

Checklist

  • [X] I'm running the latest version of CustomUI (Update guide) or using a specific release that is not marked as "Broken".
  • [X] I tried to force-refresh (Ctrl+Shift+R / Ctrl+F5) the browser
  • [X] (Optional, but recommended) I'm using Chrome or tried to reproduce the feature on Chrome.

Browser + Version:

  1. Chrome 69.0.3497.100 (Official Build) (64-bit)
  2. Microsoft Edge 42.17134.1.0 / Microsoft EdgeHTML 17.17134
  3. Internet explorer 11.34517134.0

CustomUI version: 2018-08-31

Home Assistant release (hass --version): 0.81.1

Problem-relevant configuration.yaml entries:

frontend:
  themes: !include_dir_named themes
  extra_html_url:
    - /local/custom_ui/state-card-custom-ui.html
    - /local/custom_ui/state-card-hline.html
    - /local/custom_ui/state-card-iframe.html

  extra_html_url_es5:
    - /local/custom_ui/state-card-custom-ui-es5.html

  javascript_version: latest

Problem-relevant customize_glob.yaml entries:

"*.*":
  custom_ui_state_card: state-card-custom-ui

Problem-relevant Home Assistant log entries:

2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'camera' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'camera' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'camera' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'camera' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sun' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:14 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined
2018-10-28 23:05:15 ERROR (MainThread) [frontend.js.latest.201810261] http://192.168.200.210:8123/local/custom_ui/state-card-custom-ui.html:239:3174 Uncaught TypeError: Cannot read property 'sensor' of undefined

Any errors from browser Javascript console:

Did not check prior to disabling.

After disabling customize.glob, cards show up.

image

image

Coolie1101 avatar Oct 29 '18 04:10 Coolie1101

I have exactly the same problem. Everything was working on v0.79 - updated to v0.82.0 - many cards went blank. It was suggested to me that I turn off custom-ui (https://github.com/home-assistant/home-assistant/issues/18398) and everything works! I haven't had time to investigate further, but it's clear that this latest version doesn't want to play with custom-ui. I'll check if there is a newer custom-ui version and see what the effect is.

Mikeinnc avatar Nov 16 '18 05:11 Mikeinnc

So, I've updated custom-ui to 2018-03-01 and it appears to fix the problem. I've reset the configuration file, and allowed custom-ui again; restarted the system and all appears to be well. Cards are showing devices exactly as I'd expect.

Mikeinnc avatar Nov 16 '18 06:11 Mikeinnc

So, I've updated custom-ui to 2018-03-01....

Updated to an old version? The current is 2018-08-31.

bratanon avatar Dec 15 '18 01:12 bratanon

is this still the case with the latest update of custom-ui? All groups in my HA instances are back, both on desktop and mobile devices.

Mariusthvdb avatar Dec 18 '18 07:12 Mariusthvdb

Not for me. I updated to 20181217 and it works.

bratanon avatar Dec 18 '18 11:12 bratanon

Hi, I still have the same problem. I updated Custom UI to 20181217 and I have 0.84.3 version of Hass.io.

EDIT: In my case fixed by deleting my browser’s cache.

artomka avatar Dec 18 '18 18:12 artomka

Hi , same problem , custom UI 2018-12-17 and 0.84.5 of Hass.io

jonydebu avatar Dec 21 '18 17:12 jonydebu

same problem here also groups randomly disappear. 84.6

matthewcky2k avatar Jan 03 '19 14:01 matthewcky2k

Still have the problem in 0.102.2

Spirituss avatar Dec 02 '19 19:12 Spirituss