diff --git a/README.md b/README.md index d43cc74..379f5d9 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,3 @@ publish_active_windows.sh [--debug-level|-d CRITICAL|ERROR|WARNING|INFO|DEBUG|NO ``` - URL should be something like https://myhomeassistant.example.org:8443 - The TOKEN must be generated in HomeAssistant, under your profile, Security, Create token. This token will be readable to the user you want to monitor, and it could be able to publish and read any other data from HomeAssistant. At the moment HomeAssistant doesn't support more granular permissions that allow you to limit the access of this token. -- Alternativaly you can use the option --config with a config gile containing ha_url and ha_token (underscores instead of hashes because of click module). diff --git a/config/config.conf_sample b/config/config.conf_sample index e0d2ce7..3a6087c 100644 --- a/config/config.conf_sample +++ b/config/config.conf_sample @@ -1,3 +1,4 @@ debug_level='DEBUG' log_file='/config/publish_active_windows.log' -# list_of_parameters=['foo', 'bar'] +ha_url="http://ha.example.org:1234" +ha_token="123456abcdef"