@@ -145,14 +145,15 @@ def wizard(color=True, retries=None, forcescan=False, nocloud=False, assume_yes=
145145 " currently registered in Tuya App (used to pull full list) or 'scan' to scan for one: " + normal )
146146 # TO DO - Determine apiRegion based on Device - for now, ask
147147 print ("\n " + subbold + "Region List" + dim +
148- "\n cn\t China Data Center" +
149- "\n us\t US - Western America Data Center" +
150- "\n us-e\t US - Eastern America Data Center" +
148+ "\n cn\t China Data Center (alias: AY) " +
149+ "\n us\t US - Western America Data Center (alias: AZ) " +
150+ "\n us-e\t US - Eastern America Data Center (alias: UE) " +
151151 "\n eu\t Central Europe Data Center" +
152- "\n eu-w\t Western Europe Data Center" +
153- "\n in\t India Data Center\n " )
152+ "\n eu-w\t Western Europe Data Center (alias: WE)" +
153+ "\n in\t India Data Center\n " +
154+ "\n sg\t Singapore Data Center" )
154155 config ['apiRegion' ] = input (subbold + " Enter " + bold + "Your Region" + subbold +
155- " (Options: cn, us, us-e, eu, eu-w, or in ): " + normal )
156+ " (Options: cn, us, us-e, eu, eu-w, in, or sg ): " + normal )
156157 # Write Config
157158 json_object = json .dumps (config , indent = 4 )
158159 with open (config_file , "w" ) as outfile :
0 commit comments