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

Fetch the device list a 2nd time to make sure we have the local key #306

Closed uzlonewolf closed 1 year ago

uzlonewolf commented 1 year ago

Closes #305

jasonacox commented 1 year ago

Nice... I like the merge approach rather than scanning every ID with missing local_key's.

Testing...

Do we want to try to get any of the draft changes in on this release? I think this could go out as v1.12.1.

uzlonewolf commented 1 year ago

Up to you. Only reason I left #308 as a draft was because by the time I was done I was too tired to test it as much as I wanted. #300 is going to require some slight updates after these 2 are merged.

jasonacox commented 1 year ago

To keep it clean (and small batch changes), I released this PR as v1.12.1 (see https://pypi.org/project/tinytuya/1.12.1/).