jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
923 stars 165 forks source link

Tighten up parent device detection in the Wizard #296

Closed uzlonewolf closed 1 year ago

uzlonewolf commented 1 year ago

Not all devices have local keys as shown by #292, and this broke parent device detection. This PR tightens up parent detection to avoid devices without local keys. Between this PR and #289 I'm going to go ahead and say closes #292.

jasonacox commented 1 year ago

Thanks @uzlonewolf ! Looks great. 🙏