Skip to content

Commit 97f608f

Browse files
committed
Fix Singapore datacenter URL
1 parent bb45944 commit 97f608f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinytuya/Cloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def setregion(self, apiRegion=None):
133133
elif self.apiRegion == "in":
134134
self.urlhost = "openapi.tuyain.com" # India Datacenter
135135
elif self.apiRegion == "sg":
136-
self.urlhost = "openapi.tuyain.com" # Singapore Data Center
136+
self.urlhost = "openapi-sg.iotbing.com" # Singapore Data Center
137137

138138
def _tuyaplatform(self, uri, action='GET', post=None, ver='v1.0', recursive=False, query=None, content_type=None):
139139
"""

0 commit comments

Comments
 (0)