model.json file not found
See original GitHub issueerror started with v0.25.0 and then still present in v0.25.2
powercalc starts and creates sensors as it should, but I still found this in the log:
2022-08-24 23:20:16.323 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/yeelight
2022-08-24 23:20:16.342 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/paulmann licht
2022-08-24 23:20:16.345 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/anko
2022-08-24 23:20:16.348 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/belkin
2022-08-24 23:20:16.350 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/aqara
2022-08-24 23:20:16.353 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/wiz
2022-08-24 23:20:16.355 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/lidl
2022-08-24 23:20:16.357 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/lexman
2022-08-24 23:20:16.360 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/tuya
2022-08-24 23:20:16.364 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/mueller-licht
2022-08-24 23:20:16.367 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/arlec
2022-08-24 23:20:16.370 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/ikea
2022-08-24 23:20:16.372 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/malmbergs
2022-08-24 23:20:16.376 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/signify
2022-08-24 23:20:16.380 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/ledvance
2022-08-24 23:20:16.385 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/innr
2022-08-24 23:20:16.390 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/melitec
2022-08-24 23:20:16.393 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/lifx
2022-08-24 23:20:16.396 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/elgato
2022-08-24 23:20:16.401 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/sonoff
2022-08-24 23:20:16.403 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/gledopto
2022-08-24 23:20:16.405 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/genio
2022-08-24 23:20:16.407 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/osram
_Originally posted by @pejotigrek in https://github.com/bramstroker/homeassistant-powercalc/issues/1018#issuecomment-1226408067_
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Error Unable to find JSON file in folder, Javascript
This depends where you're calling it from. Currently, the path is relative, and where it's relative to can get quite confusing quite quickly....
Read more >item model .json file not found - Modder Support - Forge Forums
I have been trying for ages to get a texture loaded on an item. I have looked over what feels like the entire...
Read more >json file is not found - SAP Community
I am trying to access my json file which is in model folders through my xml view but its showing me the following...
Read more >OSError: Error no file named model_index.json found ... - GitHub
I found that having even more space than the minimum available required for the files is solving the problem. After having a trained...
Read more >Error no file named model_index.json found in directory
Evidently A file is missing when I look stablediffusion_weights person folder(empty), on you Drive, when it's supossed the files to be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed by #1045. Will be in next release.
no, thank YOU! I’m happy I could help! 😃