I could use some help. Hopefully this is the right place. I recently decided to change my hassio setup and install hassio in a Docker Container on a linux mint 19 client. I found the following step-by-step instructions for installing hassio on Linux Mint 19 here: https://www.smarthomebeginner.com/install-hass-io-on-docker-linux/. Most everything is working fine. However, now my command line switches no longer work. I get the following error message in the log:
ERROR (SyncWorker_8) [homeassistant.components.command_line.switch] Command failed: curl -s -k -u myusrname:mypassword -H ‘Accept:application/json’ --digest ‘https://192.168.1.15/restapi/relay/outlets/4/state/’.
I never had and issue with these command line switches when I used other hassio install methods. Based on what little information I could gleam online, the issue appears to be that the Docker container does not have the correct ssh cli authorization to execute command line commands. Not sure it matters, but I have installed the Hassio SSH & Web Terminal Addon and it seems to work fine. If anyone knows why I am not able to use command line switches when running hassio from a Docker container and if there is a way to fix it, I would be much obliged.