]> git.basschouten.com Git - openhab-addons.git/commitdiff
fixed: iCloud response invalid: null (#10710)
authorTrinitus01 <58007280+Trinitus01@users.noreply.github.com>
Mon, 17 May 2021 20:11:16 +0000 (22:11 +0200)
committerGitHub <noreply@github.com>
Mon, 17 May 2021 20:11:16 +0000 (22:11 +0200)
changed: appVersion from 2.0 to 3.0
added: missing productType

Signed-off-by: Tom Blum <trinitus01@googlemail.com>
bundles/org.openhab.binding.icloud/src/main/java/org/openhab/binding/icloud/internal/json/request/ICloudAccountDataRequest.java

index 0c4b453efa57125365cd0387db1a284ddb147151..10e58c984d4e15a030ce08a957701982640845f8 100644 (file)
@@ -39,7 +39,7 @@ public class ICloudAccountDataRequest {
         @SuppressWarnings("unused")
         private boolean fmly = true;
         @SuppressWarnings("unused")
-        private String appVersion = "2.0";
+        private String appVersion = "3.0";
         @SuppressWarnings("unused")
         private String timezone = "US/Eastern";
         @SuppressWarnings("unused")
@@ -48,6 +48,8 @@ public class ICloudAccountDataRequest {
         private String apiVersion = "3.0";
         @SuppressWarnings("unused")
         private String webStats = "0:15";
+        @SuppressWarnings("unused")
+        private String productType = "iPhone6,1";
 
         private ClientContext() {
             // empty to hide constructor