andrey-git / home-assistant-customizer

Companion component for home-assistant CustomUI
MIT License
32 stars 32 forks source link

错误信息 Uncaught TypeError: Cannot read property 'state' of undefined #4

Open jia175891641 opened 5 years ago

jia175891641 commented 5 years ago

我的配置: `homeassistant: name: Homebolin latitude: 29.084455 longitude: 119.654027 elevation: 7 unit_system: metric time_zone: Asia/Shanghai

customize: !include customize.yaml

packages: !include_dir_named packages customize_glob: ".": custom_ui_state_card: state-card-custom-ui

customizer: custom_ui: local hide_attributes:

frontend: javascript_version: auto extra_html_url:

config: history: logbook:

hachina:

name_tobe_displayed在配置文件中必须存在,slogon可以不存在

name_tobe_displayed: 我的新名字 slogon: 阳光照耀大地 `

错误信息: 2018-10-05 16:25:38 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined 2018-10-05 16:25:38 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined 2018-10-05 16:25:39 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined 2018-10-05 16:25:39 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined 2018-10-05 16:26:04 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined 2018-10-05 16:26:04 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined 2018-10-05 16:26:05 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined 2018-10-05 16:26:05 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined 2018-10-05 16:26:06 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined 2018-10-05 16:26:06 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined 2018-10-05 16:26:07 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined 2018-10-05 16:26:07 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined

Spirituss commented 4 years ago

I have the same issue, which cause HA to crash very fast. Looking forward for some fix of it.