Fixes #8290
Signed-off-by: Wouter Born <github@maindrain.net>
State state = historicItem.getState();
if (state instanceof DecimalType) {
Number value = ((DecimalType) state).toBigDecimal();
- resultItems.add(new HistoryItem(historicItem.getTimestamp(), value));
+ resultItems.add(new HistoryItem(historicItem.getTimestamp().toInstant().toEpochMilli(), value));
}
}
<modules>
<!-- io -->
<module>org.openhab.io.homekit</module>
+ <module>org.openhab.io.imperihome</module>
<module>org.openhab.io.neeo</module>
<module>org.openhab.io.openhabcloud</module>
<module>org.openhab.io.transport.modbus</module>