Skip to content
#

tuya

Here are 79 public repositories matching this topic...

grenewode
grenewode commented May 11, 2020

Currently, the project does not provide any type definitions, which makes it difficult to use in typescript projects.

Since the project is already extensively commented with jsdoc comments, much of the work is already done. There are still places where updates will need to be made, but those should be largely trivial, just a matter of adding more jsdoc comments to provide type hints where type

jasimmk
jasimmk commented Jan 7, 2021

Currently SESSION is handled as a single global object. This is causes a limitation for using multiple Tuya accounts with different regions. A better approach without breaking existing code is, We should have an option to pass TuyaSession as an optional parameter.

class TuyaApi:

    def __init__(self, tuya_session=None):
        if tuya_session is None:
            self.tuya_ses

Improve this page

Add a description, image, and links to the tuya topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tuya topic, visit your repo's landing page and select "manage topics."

Learn more