hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

"No scheme supplied" when TFA using API

Open robbanl opened this issue 11 months ago • 5 comments

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"

robbanl avatar Aug 05 '23 19:08 robbanl