Unfortunately I still get the error.
2023-07-17 07:39:09.585 [DEBUG] [honeywellhome.client.HoneywellClient] - Got device by id: LCC-B82CA07C9CB5 location id: 2100216 with response: {
"displayedOutdoorHumidity": 72,
"vacationHold": {
"enabled": false
},
"currentSchedulePeriod": {
"day": "Monday",
"period": "Wake"
},
"scheduleCapabilities": {
"availableScheduleTypes": [
"None",
"Geofenced",
"TimedNorthAmerica"
],
"schedulableFan": false
},
"scheduleType": {
"scheduleType": "Timed",
"scheduleSubType": "NA"
},
"changeSource": {
"by": "partner",
"name": "Amazon Alexa"
},
"scheduleStatus": "Resume",
"allowedTimeIncrements": 15,
"settings": {
"hardwareSettings": {
"brightness": 1,
"maxBrightness": 5
},
"fan": {
"allowedModes": [
"On",
"Auto",
"Circulate"
],
"changeableValues": {
"mode": "On"
}
},
"temperatureMode": {
"air": false
},
"specialMode": null,
"devicePairingEnabled": true
},
"deviceOsVersion": "TH6220WF2006",
"deviceClass": "Thermostat",
"deviceType": "Thermostat",
"deviceID": "LCC-B82CA07C9CB5",
"deviceInternalID": 2350782,
"userDefinedDeviceName": "Thermostat",
"name": "Thermostat",
"isAlive": true,
"isUpgrading": false,
"isProvisioned": true,
"macID": "B82CA07C9CB5",
"deviceSettings": null,
"service": {
"mode": "Up"
},
"deviceRegistrationDate": "2020-07-31T22:37:43.1066667",
"dataSyncStatus": "Completed",
"deviceSerialNo": "1949LBJ58399",
"units": "Fahrenheit",
"indoorTemperature": 68,
"outdoorTemperature": 52,
"allowedModes": [
"Heat",
"Off",
"Cool"
],
"deadband": 0,
"hasDualSetpointStatus": false,
"minHeatSetpoint": 50,
"maxHeatSetpoint": 90,
"minCoolSetpoint": 50,
"maxCoolSetpoint": 90,
"changeableValues": {
"mode": "Cool",
"heatSetpoint": 65,
"coolSetpoint": 68,
"thermostatSetpointStatus": "PermanentHold",
"nextPeriodTime": "08:00:00",
"endHeatSetpoint": 65,
"endCoolSetpoint": 68,
"heatCoolMode": "Cool"
},
"operationStatus": {
"mode": "EquipmentOff",
"fanRequest": false,
"circulationFanRequest": false
},
"deviceModel": "T5-T6"
}
2023-07-17 07:39:09.607 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NoSuchMethodError: 'void org.openhab.core.library.types.DecimalType.<init>(long)'
at org.openhab.binding.honeywellhome.internal.handler.HoneywellThermostatHandler.update(HoneywellThermostatHandler.java:140) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Reading the message more closely, it’s complaining that DecimalType doesn’t have a constructor that takes a long
which is indeed the case (DecimalType (openHAB Core 4.0.0-SNAPSHOT API)) There are only constructors that take Number or String.
I think you need to avoid the use of primitives and use Integer, Double, or use BigDecimal. Alternatively you can convert the primitive to a String, but I suspect that’s not the best approach.