My dashboard is not working anymore after upgrading from 3 to 4. Getting a lot of error messages and almost none of the widgets seem to load.
My appdaemon.yaml
secrets: /config/secrets.yaml
appdaemon:
time_zone: Europe/Amsterdam
latitude: 48.105677
longitude: 11.579957
elevation: 538
plugins:
HASS:
type: hass
http:
url: http://127.0.0.1:5050
hadashboard:
_
Here are the error messages from the Firefox console:
TypeError: this.entity_state is undefined dashboard.js:338:21
on_ha_data http://hassio.local:5050/javascript/dashboard.js:338
update_dash http://hassio.local:5050/javascript/dashboard.js:151
forEach self-hosted:235
update_dash http://hassio.local:5050/javascript/dashboard.js:148
onmessage http://hassio.local:5050/javascript/dashboard.js:76
a http://hassio.local:5050/javascript/reconnecting-websocket.min.js:1
onmessage http://hassio.local:5050/javascript/reconnecting-websocket.min.js:1
[Nano] Nano Defender Activated :: hassio.local core.js:43:13
[Nano] Excluded :: All Generically Applied Solutions rules-common.js:239:17
[Nano] Excluded :: uBO-Extra rules-common.js:306:17
Object { widget_type: "baseswitch", entity: "media_player.epson_projector", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/media_player.epson_projector dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.kill_me", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/script.kill_me dashboard.js:269:17
Object { widget_type: "baseicon", entity: "sensor.fritz", fields: {…}, icons: {…}, static_icons: [], css: {}, static_css: {…}, namespace: "default" }
dashboard.js:259:17
/api/appdaemon/state/default/sensor.fritz dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.full_light", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.full_light dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_white", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_white dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "media_player.onkyo", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/media_player.onkyo dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.reading_light", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.reading_light dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_teal", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_teal dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_boolean.firestarter", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/input_boolean.firestarter dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_green", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_green dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_select.onkyo_input", state_active: "Kodi", enable: 1, post_service_active: {…}, fields: {…}, icons: {…}, static_icons: [], css: {…}, static_css: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/input_select.onkyo_input dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_select.onkyo_input", state_active: "PlayStation", enable: 1, post_service_active: {…}, fields: {…}, icons: {…}, static_icons: [], css: {…}, static_css: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/input_select.onkyo_input dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_select.onkyo_input", state_active: "BluRay", enable: 1, post_service_active: {…}, fields: {…}, icons: {…}, static_icons: [], css: {…}, static_css: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/input_select.onkyo_input dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.mood_light", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.mood_light dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_yellow", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_yellow dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.rainbow", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/script.rainbow dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_orange", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_orange dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_select.onkyo_input", state_active: "AUX", enable: 1, post_service_active: {…}, fields: {…}, icons: {…}, static_icons: [], css: {…}, static_css: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/input_select.onkyo_input dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_select.onkyo_input", state_active: "Nintendo", enable: 1, post_service_active: {…}, fields: {…}, icons: {…}, static_icons: [], css: {…}, static_css: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/input_select.onkyo_input dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "input_select.onkyo_input", state_active: "fireTV", enable: 1, post_service_active: {…}, fields: {…}, icons: {…}, static_icons: [], css: {…}, static_css: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/input_select.onkyo_input dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.lights_off", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.lights_off dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_red", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_red dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_full", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_full dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_pink", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_pink dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_half", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_half dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.leiser", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/script.leiser dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.lauter", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/script.lauter dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.good_night", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/script.good_night dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "switch.vitrine", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/switch.vitrine dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_purple", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_purple dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_dark", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_dark dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "scene.strip_blue", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/scene.strip_blue dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.strip_aus", state_inactive: "scening", state_active: "stillscening", enable: 1, momentary: 1000, ignore_state: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, … }
dashboard.js:259:17
/api/appdaemon/state/default/script.strip_aus dashboard.js:269:17
Object { widget_type: "baseswitch", entity: "script.stumm", state_active: "on", state_inactive: "off", enable: 1, post_service_active: {…}, post_service_inactive: {…}, fields: {…}, icons: {…}, static_icons: [], … }
dashboard.js:259:17
/api/appdaemon/state/default/script.stumm dashboard.js:269:17
TypeError: this.entity_state is undefined 14 dashboard.js:338:21
on_ha_data http://hassio.local:5050/javascript/dashboard.js:338
update_dash http://hassio.local:5050/javascript/dashboard.js:151
forEach self-hosted:235
update_dash http://hassio.local:5050/javascript/dashboard.js:148
onmessage http://hassio.local:5050/javascript/dashboard.js:76
a http://hassio.local:5050/javascript/reconnecting-websocket.min.js:1
onmessage http://hassio.local:5050/javascript/reconnecting-websocket.min.js:1
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
openPrompt resource://gre/modules/Prompter.jsm:663
alert resource://gre/modules/Prompter.jsm:737
error http://hassio.local:5050/javascript/dashboard.js:321
jQuery 4
openRemotePrompt resource://gre/modules/Prompter.jsm:619
Source-Map-Fehler: Error: request failed with status 404
Ressourcen-Adresse: http://hassio.local:5050/javascript/socket.io.js
Source-Map-Adresse: socket.io.js.map
TypeError: this.entity_state is undefined 2 dashboard.js:338:21