1 """Support for register Vulcan account."""
5 from vulcan
import Account, Keystore
8 async
def register(token: str, symbol: str, pin: str) -> dict[str, Any]:
9 """Register integration and save credentials."""
10 keystore = await Keystore.create(device_model=
"Home Assistant")
11 account = await Account.register(keystore, token, symbol, pin)
12 return {
"account": account,
"keystore": keystore}
dict[str, Any] register(str token, str symbol, str pin)