Skip to content

Conversation

@arirobinson
Copy link

I find it simpler to define the home assistant access token in the module config file.

This updates the node_helper.js code to get the token from the config file and updates the readme.md to show the token in the config.js

added token in config
changed "process.env.HASSIO_TOKEN" to "config.token" to pull token from config rather than process.env
@aserramonner
Copy link
Owner

Thanks a lot for the contribution !

I would not like to break current users of the environment var approach. Any idea about how to combine both approaches ?

@iorifly
Copy link

iorifly commented Jan 17, 2020

need help. I made all the changes and still have an error.

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

Successfully merging this pull request may close these issues.

3 participants