Open Maharshi-Pathak opened 3 months ago
Also, Surveyjs widget specific error:
TypeError: undefined is not an object (evaluating 'window["surveyjs-widgets"].nouislider')
constructSurveyUI (/hacsfiles/SurveyJs-HomeAssistant-Card/survey-js-form-card.js:195:31)
/hacsfiles/SurveyJs-HomeAssistant-Card/survey-js-form-card.js:58:37
fire (/jquery@3.7.1/dist/jquery.js:3223:36)
fireWith (/jquery@3.7.1/dist/jquery.js:3353:11)
done (/jquery@3.7.1/dist/jquery.js:9627:25)
callback (/jquery@3.7.1/dist/jquery.js:10011:16)
dispatch (/jquery@3.7.1/dist/jquery.js:5145:32)
This issue is from the old survey-js-form-card.js file, but now in our new survey-js-form-card.ts file we are not even using this part of the code -> 'window["surveyjs-widgets"].nouislider', so we won't have any issues now.
Commit changes for using static import of surveyjs-widgets instead of 'window["surveyjs-widgets"]' -> https://github.com/NEU-ABLE-LAB/SurveyJs-HomeAssistant-Card/commit/d2549da5042fd41d27be024425f2bdf75c721fe8#diff-5513239e78b8caf1cd8b07f251b5a55bafc7675ea85de4f1aea1c57a48b1ba88
2024-08-06 00:25:54.097 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
I am getting this error after updating HA core to 2024.8.0b2 for SurveyJS
Can we check code base, if we are using this - update how the "closed" issue fixed in their version?