custom-components / pyscript

Pyscript adds rich Python scripting to HASS
Apache License 2.0
874 stars 46 forks source link

"pyscripy not found" error #514

Closed kicker10BOG closed 1 year ago

kicker10BOG commented 1 year ago

On Home Assistant 2023.8.x, I get this error.

homeassistant.loader.IntegrationNotFound: Integration 'pyscripy' not found

And yes, it says "pyscripy" instead of "pyscript" and I'm running pyscript 1.5.0 after uninstalling it and re-installing it.

craigbarratt commented 1 year ago

How did you install it? What directories are in your config/custom_components directory?

kicker10BOG commented 1 year ago

I'm using HACS to manage its installation. I just tried commenting out

pyscript:
  allow_all_imports: true

and now it seems ok. Did I just miss where that no longer is needed for importing libraries?

kicker10BOG commented 1 year ago

Ok, nevermind. I got it working now. I'm not sure what exactly fixed it, but it's all working now with that no longer commented out.