@mega-yfue/eufy-sdk / discoverSolixDevices
Function: discoverSolixDevices()
ts
function discoverSolixDevices(client, opts?): Promise<SolixDevice[]>;Discover an account's Solix devices as capability-driven SolixDevice objects — the wire+model composition (a transport read + the product catalog) that used to be SolixClient.discoverDevices(). It lives in the model layer because it builds SolixDevice; the wire client (now transport/http) cannot, and passing it structurally keeps the layers decorrelated. Feed live telemetry to each result via SolixDevice.applyReading.
Parameters
client
opts?
catalog?
Returns
Promise<SolixDevice[]>