Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HASS.Agent integration issue #2

Open
BroManDudeGuyPhD opened this issue Jun 2, 2024 · 1 comment
Open

HASS.Agent integration issue #2

BroManDudeGuyPhD opened this issue Jun 2, 2024 · 1 comment

Comments

@BroManDudeGuyPhD
Copy link
Owner

There is a bug when calling the program from the HASS.Agent app which makes the script not read stratagems.json

This is caused by the way the script uses stratagems,json to store the stratagem codes
I believe this is because I have stratagems,json pulled in by relative path as opposed to an explicit path

Potential solutions:

  1. settings file that is included in .gitignore which allows settings the path of the script
  2. Requiring a path to be passed in when calling the -strat parameter
@BroManDudeGuyPhD
Copy link
Owner Author

This can be resolved by updating the value of $stratagesmDataFile on line 52 to the literal path value, but I will work on a true script level fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant