TuyaInc / tuyasmart_ios_sdk

MIT License
22 stars 6 forks source link

Question #3

Closed wanglouin1990925 closed 6 years ago

wanglouin1990925 commented 6 years ago

Is there any way to check provided device is socket or light?

romuye123 commented 6 years ago

Hi @wanglouin1990925

You need need to check the product id of the device and compare. Product ID is unique to each category of device.