You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using pyscript for my automations, as well as YAML. I thought that I would mention that watchman does a pretty good job of scanning python files and detecting problems as well. Essentially the easiest way to use pyscript is to put all your python files into the /config/pyscript directory. I have added the following to init.py to get it working. You may want to provide it as an option for others.
The one thing that it doesn't cope with is pyscript's ability to refer to attributes in the same definition, e.g. entity.attribute, but other than that, 10/10! Thanks - great utility.
The text was updated successfully, but these errors were encountered:
I have been using pyscript for my automations, as well as YAML. I thought that I would mention that watchman does a pretty good job of scanning python files and detecting problems as well. Essentially the easiest way to use pyscript is to put all your python files into the /config/pyscript directory. I have added the following to init.py to get it working. You may want to provide it as an option for others.
The one thing that it doesn't cope with is pyscript's ability to refer to attributes in the same definition, e.g. entity.attribute, but other than that, 10/10! Thanks - great utility.
The text was updated successfully, but these errors were encountered: