How to create and reload an app #229
-
Hi Guys, im struggling with defining an app in pyscript. I tried both ways, having the app in a single file beneath apps and having the app in a folder containig also the init.py file, the app is also defined in my config.yaml . None of the described ways seems to work, the app is not found on pyscript.reload or HA new start. Am I missing something?
Debug log says:
thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I played around a little bit more and I had the pyscript config in an extra file beneath I will try out moving the pyscript config to its own file again and see if it works |
Beta Was this translation helpful? Give feedback.
I played around a little bit more and I had the pyscript config in an extra file beneath
pyscript/config.yaml
which was bound to the configuration of homeassistant bypyscript: !pyscript/config.yaml
. Also I added the pyscript integration on the integrations page of home assistant. After removing integration this and moving the pyscript config to the homeassistant configuration yaml, my apps are detected.I will try out moving the pyscript config to its own file again and see if it works