@mega-yfue/eufy-sdk / solixProductFamily
Function: solixProductFamily()
ts
function solixProductFamily(input): SolixProductFamily;Resolve a Solix device's SolixProductFamily by consulting the family predicates first (they are catalog-independent, so a device classifies even before a catalog is fetched), then the catalog category for the families that have no prefix set yet. Returns "unknown" when neither identifies one — never a guess, mirroring device-family.ts returning false on an unknown device type.
The meter is checked before the Solarbank: both can present a battery-ish catalog category, but the meter's AE1X0 prefix is unambiguous and a meter is never a Solarbank. The Solarbank case reuses isSolixSolarbank (prefix OR the home-battery category) rather than re-testing the prefix here, so the two never drift.