Hi
I currently struggle with the command_line auth_provider. No matter what i try, my script is not even executed. My config is:
homeassistant:
auth_providers:
- type: command_line
command: /root/config/auth_hebler.sh
- type: homeassistant
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
The script makes just an authenticated http-request to another system. i have tested it from the commanline, it works. But it seems that HA dont even try to run the script, instead i get these Logentries:
2021-12-17 18:39:55 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from blah.lah (1.2.3.4). (Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0)