Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
iMicknl committed Jun 15, 2024
1 parent 27a8dca commit 4a44a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nest_protect/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def async_validate_input(self, user_input: dict[str, Any]) -> list:
data = await client.get_first_data(nest.access_token, nest.userid)

email = ""
for bucket in data["updated_buckets"]:
for bucket in data.updated_buckets:
key = bucket["object_key"]
if key.startswith("user."):
email = bucket["value"]["email"]
Expand Down

0 comments on commit 4a44a1a

Please sign in to comment.