Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 768996b

Browse files
committed
🐛 fix type error for new findmy api
1 parent cf3772a commit 768996b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/findmy/findmy_hub.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""The FindMy hub."""
22

33
from dataclasses import dataclass
4-
import io
54
from typing import Any
65

76
from datetime import datetime
@@ -30,7 +29,7 @@ class FindMyHub:
3029
def __init__(self, url: str) -> None:
3130
"""Initialize."""
3231
self.anisette = RemoteAnisetteProvider(url)
33-
self.account = AsyncAppleAccount(self.anisette)
32+
self.account = AsyncAppleAccount(anisette=self.anisette)
3433

3534
async def authenticate(self, email: str, password: str) -> LoginState:
3635
"""Test if we can authenticate with the host."""

0 commit comments

Comments
 (0)