After the latest git pull, my scripts stopped working. It turns out that the integration was attempting to create the file "/lastapinteraction.txt" which was failing because the homeassistant user is not allowed to write to /
Steps to reproduce the behavior:
Make sure / is not writable by normal users like home assistant (mode 755)
Remove /lastapinteraction.txt (if it exists, to simulate what happens for a new user)
Invoke a service using drawcustom
Script fails and errors are reported to the log about being unable to open "lastapinteraction.txt"
As a general rule, applications should not be putting files in /
Once the file is created and made writable, the problem does not show up. My workaround for now is:
After the latest git pull, my scripts stopped working. It turns out that the integration was attempting to create the file "/lastapinteraction.txt" which was failing because the homeassistant user is not allowed to write to /
Steps to reproduce the behavior:
Script fails and errors are reported to the log about being unable to open "lastapinteraction.txt"
As a general rule, applications should not be putting files in /
Once the file is created and made writable, the problem does not show up. My workaround for now is:
It's possible that this is a configuration or installation error on my part, and maybe there is some other way to fix or work around the problem.