Skip to content

Commit

Permalink
Merge pull request #6 from idanudel/FIX_DecimalType
Browse files Browse the repository at this point in the history
Make sure int is provided to DecimalType convert instead of int
  • Loading branch information
idanudel committed Jul 16, 2023
2 parents ffc1025 + 0b8b9ff commit 0548860
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/main/history/dependencies.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="org.openhab.binding.honeywellhome-3.0.2-SNAPSHOT">
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="org.openhab.binding.honeywellhome-3.0.3-SNAPSHOT">
<feature version="0.0.0">
<feature>openhab-runtime-base</feature>
<feature>wrap</feature>
<bundle>mvn:org.openhab.addons.bundles/org.openhab.binding.honeywellhome/3.0.2-SNAPSHOT</bundle>
<bundle>mvn:org.openhab.addons.bundles/org.openhab.binding.honeywellhome/3.0.3-SNAPSHOT</bundle>
<bundle>wrap:mvn:org.lastnpe.eea/eea-all/2.2.1</bundle>
</feature>
</features>
Expand Up @@ -2,8 +2,8 @@

public class ChangeableValues {
public String mode;
public int heatSetpoint;
public int coolSetpoint;
public long heatSetpoint;
public long coolSetpoint;
public String thermostatSetpointStatus;
public String heatCoolMode;

Expand Down
Expand Up @@ -4,7 +4,7 @@
import java.util.Date;

public class Device {
public int displayedOutdoorHumidity;
public long displayedOutdoorHumidity;
public VacationHold vacationHold;
public CurrentSchedulePeriod currentSchedulePeriod;
public ScheduleCapabilities scheduleCapabilities;
Expand All @@ -30,7 +30,7 @@ public class Device {
public String dataSyncStatus;
public String deviceSerialNo;
public String units;
public int indoorTemperature;
public double indoorTemperature;
public double outdoorTemperature;
public ArrayList<String> allowedModes;
public int deadband;
Expand Down
Expand Up @@ -5,8 +5,8 @@
public class ChangeThermostatsSettingRequest {

String mode;
int heatSetpoint;
int coolSetpoint;
long heatSetpoint;
long coolSetpoint;
String thermostatSetpointStatus;

public ChangeThermostatsSettingRequest(ChangeableValues changeableValues) {
Expand Down

0 comments on commit 0548860

Please sign in to comment.