Fix config sample

This commit is contained in:
Antonio J. Delgado 2025-01-06 22:59:02 +02:00
parent 138c3be658
commit 5649bb2883
2 changed files with 2 additions and 2 deletions

View file

@ -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 - 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. - 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).

View file

@ -1,3 +1,4 @@
debug_level='DEBUG' debug_level='DEBUG'
log_file='/config/publish_active_windows.log' log_file='/config/publish_active_windows.log'
# list_of_parameters=['foo', 'bar'] ha_url="http://ha.example.org:1234"
ha_token="123456abcdef"