Closed marshalltech81 closed 1 year ago
Nevermind ... came across https://github.com/custom-components/pyscript/issues/313 ... I am wondering if this could be slightly better documented maybe?
Updated docs to clarify that pyscript.app_config
is not available in regular scripts. See 12b1e84.
In following the documentation, https://hacs-pyscript.readthedocs.io/en/latest/reference.html#configuration, I tried "To use the UI, go to the Configuration -> Integrations page and select “+” to add
Pyscript Python scripting.
". However I could not find that option any where in the UI.So in my configuration.yaml, I did the manual option of specifying:
And in my pyscript/config.yaml:
Lastly in my script for
my_app1
as an example, I am trying to calllog.info(f"configuration {pyscript.app_config}")
and the error I keep getting back is:Any thoughts?
Thank you in advance!