-
Hi, I'm playing around with some triggers based on data from my PSN account (like online status), using the PSNAWP library. I have a script which runs fine locally, runs fine via the HASS terminal (SSH add-on), but it throws an error when I make it into a service: Exception in <file.psn.psn_availability> line 3: from psnawp_api import psnawp ^ ModuleNotFoundError: No module named 'psnawp_api' It looks like pyscript cannot find the installed library, any ideas on why this is failing? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I managed to fix this by adding the library PLUS VERSION in the pyscript/requirements.txt file. I tried various values in there before it finally worked. Running into another issue now, but I'll try to solve that myself first ;) |
Beta Was this translation helpful? Give feedback.
I managed to fix this by adding the library PLUS VERSION in the pyscript/requirements.txt file. I tried various values in there before it finally worked. Running into another issue now, but I'll try to solve that myself first ;)