I (accidentally) upgraded from AppDaemon 3.0.4 to 4.0.1 last night and everything broke. Well, yes, I had to rewrite the appdaemon.yaml configuration file. No problem. Great documentation - thanks!
Then there was a detailed HADashboard error screen which I fixed by clearing the browser cache. Again, thanks for the pointer.
What I can’t get rid of is a javascript popup on every dashboard saying “Error getting state, check Java Consule for details”. Spelling error and all.
Here’s what the console has to say.
ReferenceError: error is not defined
knockout-3.4.1.js line 68 > Function:3:57
text http://<url>:5050/javascript/knockout-3.4.1.js line 68 > Function:3
update http://<url>:5050/javascript/knockout-3.4.1.js:98
m http://<url>:5050/javascript/knockout-3.4.1.js:72
Qc http://<url>:5050/javascript/knockout-3.4.1.js:51
Rc http://<url>:5050/javascript/knockout-3.4.1.js:51
aa http://<url>:5050/javascript/knockout-3.4.1.js:50
B http://<url>:5050/javascript/knockout-3.4.1.js:49
m http://<url>:5050/javascript/knockout-3.4.1.js:72
q http://<url>:5050/javascript/knockout-3.4.1.js:11
m http://<url>:5050/javascript/knockout-3.4.1.js:71
h http://<url>:5050/javascript/knockout-3.4.1.js:69
g http://<url>:5050/javascript/knockout-3.4.1.js:69
h http://<url>:5050/javascript/knockout-3.4.1.js:70
Sb http://<url>:5050/javascript/knockout-3.4.1.js:76
WidgetBase http://<url>:5050/javascript/dashboard.js:410
baseerror http://<url>:5050/compiled_javascript/application.js:1002
<anonymous> http://<url>:5050/compiled_javascript/default/<dashboard-name>_init.js:91
jQuery 2
j
k
I reverted to AppDaemon 3.0.4 and everything is glorious.