State-card-custom-ui Multiple error after 0.70 update

i have updated to latest 0.70 Hassio and i was aware of the changes in custom ui so i have updated them to the latest files @andrey has hosted

Issue: my badges wont list anymore , i have the below in my customize_glob.yaml

"*.*": 
  custom_ui_state_card: state-card-custom-ui 
group.inner_tracker_elements:
  state_card_mode: badges

getting the below errors logged.

    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:39 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:39 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:39 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:39 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:39 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:39 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/frontend_latest/app-653721033e62144d6a686dab25ef1429.js:2:12049 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:5379 Uncaught TypeError: Cannot read property 'LOGIC_STATE_ATTRIBUTES' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:28975 Uncaught TypeError: Cannot read property 'computeDomain' of undefined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:22303 Uncaught TypeError: Polymer.mixinBehaviors is not a function
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:16070 Uncaught ReferenceError: StateCardDisplay is not defined
    10:38 components/system_log/__init__.py (ERROR)
    https://192.168.0.111:8123/local/custom_ui/state-card-custom-ui.html:1:12865 Uncaught TypeError: Cannot read property 'EventsMixin' of undefined
    10:38 components/system_log/__init__.py (ERROR)

Do a search as already a thread on this exact issue with a solution…

Search for ‘computeDomain’ finds it instantly…

I moved to a hosted custom UI instead of local and that fixed it

Thanks for your reply guys , I found the solution and fixed it . Now all I have is the Hassio tab loading problem and some issues with iframe custom ui HTML or should I say the extra HTML under front end .

What was the solutions?

1 Like

Could you be so kind to share your solution?

@Coolie1101 and @kajmaj
if your using extra htmls urls under frontend in config.yaml, comment them out , this worked for me, the entire code needs to be commented out.

extra_html_url:

/local/custom_ui/state-card-tiles.html

/local/custom_ui/state-card-iframe.html

/local/custom_ui/state-card-with-speed.html

/local/custom_ui/state-card-custom_fan.html

/local/custom_ui/state-card-custom_light.html

/local/custom_ui/state-badge-custom.html

/local/custom_ui/state-card-value_only.html

/local/custom_ui/state-card-text.html

/local/custom_ui/state-card-custom_volume.html

extra_html_url_es5:

/local/custom_ui/state-card-tiles_es5.html
/local/custom_ui/state-card-custom-ui-es5.html
/local/custom_ui/state-card-html_es5.html
/local/custom_ui/state-card-custom-ui-dbg-es5.html
/local/custom_ui/state-card-value_only.html

So, you changed:
extra_html_url:
/local/custom_ui/state-card-tiles.html
/local/custom_ui/state-card-iframe.html
/local/custom_ui/state-card-with-speed.html
/local/custom_ui/state-card-custom_fan.html
/local/custom_ui/state-card-custom_light.html
/local/custom_ui/state-badge-custom.html
/local/custom_ui/state-card-value_only.html
/local/custom_ui/state-card-text.html
/local/custom_ui/state-card-custom_volume.html

To this:
extra_html_url_es5:
/local/custom_ui/state-card-tiles_es5.html
/local/custom_ui/state-card-custom-ui-es5.html
/local/custom_ui/state-card-html_es5.html
/local/custom_ui/state-card-custom-ui-dbg-es5.html
/local/custom_ui/state-card-value_only.html

This is my current config:

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

And this is what is in the custom_ui dir:

image

I do not understand, I am affraid :frowning_face:
like this :
- /local/custom_ui/state-card-tiles.html/
or this:
- "/local/custom_ui/state-card-tiles.html"
or somehow else?

To Coolie1101:
you have the same config as I have. It is i.a.w. Andrey CustomUI documentation
But for me - Hassio 0.70.0 - it does not work