Issue started with upgrade to 88.0. Everything was working fine on 87.1. Now I’m getting the following errors for two of my custom lovelace cards in place of the card. The errors appeared after I got the “New Frontend Available” message and I reloaded the front end. This error is happening across all browsers on all platforms. All the other custom lovelace cards aI use are working correctly.
Custom element doesn't exist: button-card
Custom element doesn't exist: dark-sky-weather-card
This is the current configuration for my custom cards in lovelace
title: Home
resources:
- url: /local/custom_ui/dark-sky-weather-card.js?v=7.2
type: module
- url: /local/custom_ui/alarm_control_panel-card.js?v=0.4.0
type: js
- url: /local/custom_ui/button-card.js?v=0.0.3
type: module
- url: /local/custom_ui/entity-attributes-card.js?v=0.1.1
type: js
- url: /local/custom_ui/mini-media-player-bundle.js?v=1.0.2
type: module
views:
I get the following errors in my log:
2019-02-21 11:33:04 ERROR (MainThread) [frontend.js.latest.201902200] https://mydomain.duckdns.org:8123/local/custom_ui/dark-sky-weather-card.js?v=7.2:4:39 Uncaught TypeError: Cannot convert undefined or null to object
2019-02-21 11:33:04 ERROR (MainThread) [frontend.js.latest.201902200] https://mydomain.duckdns.org:8123/local/custom_ui/button-card.js?v=0.0.3:1:39 Uncaught TypeError: Cannot convert undefined or null to object
Same errors in debug log
2019-02-21 11:33:04 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1841236944] Received {'type': 'call_service', 'domain': 'system_log', 'service': 'write', 'service_data': {'logger': 'frontend.js.latest.201902200', 'message': 'https://mydomain.duckdns.org:8123/local/custom_ui/dark-sky-weather-card.js?v=7.2:4:39 Uncaught TypeError: Cannot convert undefined or null to object'}, 'id': 18}
2019-02-21 11:33:04 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1841236944] Received {'type': 'call_service', 'domain': 'system_log', 'service': 'write', 'service_data': {'logger': 'frontend.js.latest.201902200', 'message': 'https://mydomain.duckdns.org:8123/local/custom_ui/button-card.js?v=0.0.3:1:39 Uncaught TypeError: Cannot convert undefined or null to object'}, 'id': 19}
This is my frontend config.
frontend:
javascript_version: latest
themes: !include_dir_merge_named themes
The files definitely exist in \config\www\custom_ui. I have double checked all file names/paths. I have gone back to the source files and recopied the RAW js code into the files to make sure there was no issue there. I have cleared all my browser caches (multiple times) including cookies and have reloaded HA. I have restarted HA. I have gone back to using lovelace in YAML mode. I have played with the js version numbers to try and force it to update. I have googled both the lovelace error and the log error. The log error doesn’t come up with anything related to HA. There were some issues with the update to version 85.0 that caused a similar lovelace error for some people (I did not have an issue with that version) but the solutions proposed in those threads have not helped me.
These cards have were all working for a while on previous versions with no issues. No changes were made before the update to v0.88.0. Running on an Rpi3 using Hass.io.
Anyone got a clue what’s going on here?