Revert "Fix connection issues with withings API by switching to a maintained codebase (#27310)" (#27385)

This reverts commit 071476343c.
This commit is contained in:
Martin Hjelmare 2019-10-10 14:21:42 +02:00 committed by Bram Kragten
parent d337b71725
commit c188ecf79b
9 changed files with 117 additions and 130 deletions

View file

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