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

Setup does not save to apikey.py #12

Closed
MangoTigers opened this issue Apr 21, 2024 · 3 comments
Closed

Setup does not save to apikey.py #12

MangoTigers opened this issue Apr 21, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@MangoTigers
Copy link

MangoTigers commented Apr 21, 2024

Describe the bug
i tried starting it up but it gets stuck on setup no matter how many times i setup or launch it every time i skipped the home assistance page. i opened the apikey.py file and put it in manually and put the home assistant settings as "skip" and it launched.

Desktop (please complete the following information):

  • OS: windows 11 home insider preview
  • Version 22H2
@newideas99
Copy link
Contributor

Same issue here! I put home assistant settings as "none" and it launched.

But ya its not saving api keys with the current setup.

@MangoTigers MangoTigers changed the title Setup does not save to config.py Setup does not save to apikey.py Apr 21, 2024
@small-cactus
Copy link
Owner

The issue is that I have the amount of setup steps set to the amount that home assistant requires, without logic to default back to the number that it requires without home assistant.

To fix the issue temporarily, you can manually save your apikeys in apikey.py, make sure you set the home assistant ones to random numbers, or open renderer.js and search for:

const totalInputs = 7;

and change 7 to 5.

Then go through setup like normal and it should work, but I'm not entirely sure

Please update me if this temp fix solves the issue.

@small-cactus
Copy link
Owner

I've pushed a final fix, if one of you in this issue could try it out and let me know if it works, that would be great.

@small-cactus small-cactus self-assigned this Apr 21, 2024
@small-cactus small-cactus added the bug Something isn't working label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants