[miio] fix Error parsing miot data null for new miot devices (#11658)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2021-11-29 10:57:58 +01:00 committed by GitHub
parent 0adacaf596
commit 497cffb084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ import com.google.gson.JsonParser;
public class MiotParser {
private final Logger logger = LoggerFactory.getLogger(MiotParser.class);
private static final String BASEURL = "http://miot-spec.org/miot-spec-v2/";
private static final String BASEURL = "https://miot-spec.org/miot-spec-v2/";
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
private static final boolean SKIP_SIID_1 = true;