Vangorra withings fix (#27404)

* Fixing connection issues with withings API by switching to a maintained client codebase.

* Updating requirements files.

* Adding withings api to requirements script.

* Using version of withings api with static version in setup.py.

* Updating requirements files.
This commit is contained in:
Robert Van Gorkom 2019-10-10 11:22:36 -07:00 committed by Paulus Schoutsen
parent 27f036c691
commit 77490a3246
9 changed files with 130 additions and 117 deletions

View file

@ -4,7 +4,7 @@ import logging
from typing import Optional
import aiohttp
import nokia
import withings_api as withings
import voluptuous as vol
from homeassistant import config_entries, data_entry_flow
@ -75,7 +75,7 @@ class WithingsFlowHandler(config_entries.ConfigFlow):
profile,
)
return nokia.NokiaAuth(
return withings.WithingsAuth(
client_id,
client_secret,
callback_uri,