Skip to content

Commit

Permalink
Fix json serde issue (#141)
Browse files Browse the repository at this point in the history
Use Double for temperatureOffset instead of Integer
That way it allows values such as -0.5 (as provided by Rika)
  • Loading branch information
sebastienvermeille authored Dec 9, 2023
1 parent be0ef84 commit cd12e06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class Controls {
private Integer convectionFan2Area;
private Boolean frostProtectionActive;
private Integer frostProtectionTemperature;
private Integer temperatureOffset;
private Double temperatureOffset;

@SerializedName("RoomPowerRequest") // for coherence (the rest of the api is using camelCase)
private Integer roomPowerRequest;
Expand Down

0 comments on commit cd12e06

Please sign in to comment.