hass-aarlo
hass-aarlo copied to clipboard
"No scheme supplied" when TFA using API
Having an issue with the python error message "No scheme supplied". Tried to specify the domain with http/https, but that just broke everything, even when I escaped the slashes "http://domain". I don't have good enough Python skills to fix this, but my solution was a temporary hack, adding "https://" infront of {} on these lines:
https://github.com/twrecked/hass-aarlo/blob/version-0.7.x/custom_components/aarlo/pyaarlo/tfa.py#L179
https://github.com/twrecked/hass-aarlo/blob/version-0.7.x/custom_components/aarlo/pyaarlo/tfa.py#L206
Guessing this might have something todo with Python version? Or have I configured it incorrect?
tfa_host: "my-domain-has-a-dash.maindomain.tld"