Fix bug in Fitbit config flow, and switch to prefer display name (#103869)
This commit is contained in:
parent
51b599e1f6
commit
96a19d61ab
5 changed files with 96 additions and 14 deletions
|
@ -69,7 +69,7 @@ class FitbitApi(ABC):
|
|||
profile = response["user"]
|
||||
self._profile = FitbitProfile(
|
||||
encoded_id=profile["encodedId"],
|
||||
full_name=profile["fullName"],
|
||||
display_name=profile["displayName"],
|
||||
locale=profile.get("locale"),
|
||||
)
|
||||
return self._profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue