Skip to content

Home Assistant Token Update - #13

Open
arirobinson wants to merge 3 commits into
aserramonner:masterfrom
arirobinson:patch-1
Open

arirobinson wants to merge 3 commits into
aserramonner:masterfrom
arirobinson:patch-1

Conversation

@arirobinson

Copy link
Copy Markdown

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
Copy Markdown
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

iorifly commented Jan 17, 2020

Copy link
Copy Markdown

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