CoolKit-Technologies / ha-addon

Apache License 2.0
265 stars 121 forks source link

Fix for #42 #77

Closed IRus closed 2 years ago

coolkit-tony commented 2 years ago

Hi, @IRus. You should replace yourHomeAssitantLongLivedAccessToken with your real token.

coolkit-tony commented 2 years ago

Hi, @IRus. You should replace yourHomeAssitantLongLivedAccessToken with your real token.

IRus commented 2 years ago

Exactly, but README doesn't contain this info, hence this PR

coolkit-tony commented 2 years ago

Hi, @IRus. The configuration is optional. According to this doc, we get supervisor token by this way:

import process from 'process';

console.log(process.env.SUPERVISOR_TOKEN);
IRus commented 2 years ago

This configuration is not clear for people that runs this container without HACS or supervisor. See #42

coolkit-tony commented 2 years ago

Your opinion is fully noted. We will merge your code soon. Thanks for your PR!