diff --git a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/AddressInfo.java b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/AddressInfo.java index 7c7f4de0e78..b7b4f8360e9 100644 --- a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/AddressInfo.java +++ b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/AddressInfo.java @@ -26,7 +26,7 @@ public class AddressInfo { public String street; public String locality; - @SerializedName("postalCode") + @SerializedName("postal_code") public String postalCode; @SerializedName("insee_code") diff --git a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/Contracts.java b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/Contracts.java index 89dae9f1d2b..2a04cbe0618 100644 --- a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/Contracts.java +++ b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/Contracts.java @@ -40,6 +40,9 @@ public class Contracts { @SerializedName("contract_status") public String contractStatus; + @SerializedName("contract_type") + public String contractType; + @SerializedName("last_distribution_tariff_change_date") public String lastDistributionTariffChangeDate; }