[miio] add new country server and improve readme (#8816)

* [miio] add new country server and improve readme
* [miio] apply spotless

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2020-10-21 23:14:14 +02:00
committed by GitHub
parent 998d11455c
commit ed6d68ffd7
4 changed files with 521 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ public class CloudConnector {
private String username = "";
private String password = "";
private String country = "ru,us,tw,sg,cn,de";
private String country = "ru,us,tw,sg,cn,de,i2";
private List<CloudDeviceDTO> deviceList = new ArrayList<>();
private boolean connected;
private final HttpClient httpClient;

View File

@@ -18,7 +18,8 @@
</parameter>
<parameter name="country" type="text">
<label>Xiaomi server country</label>
<description>Xiaomi server country(s) (e.g. sg,de). Separate multiple servers with comma</description>
<description>Xiaomi server country(s) (e.g. sg,de). Separate multiple servers with comma. Leave empty for all. See
binding readme for country to server mapping</description>
<required>false</required>
</parameter>
</config-description>