@mega-yfue/eufy-sdk / tuya / deriveTuyaAccount
Function: deriveTuyaAccount()
ts
function deriveTuyaAccount(eufyUserId, phoneCode?): TuyaAccount;Derive the full TuyaAccount (username + password + countryCode) for a eufy user id. phoneCode is the eufy account's phone country code; when omitted the countryCode defaults to "1" (see resolveCountryCode for the region-based fallback).
Parameters
eufyUserId
string
phoneCode?
string