mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[imperihome] Adapt call to ZDT in Persistence API (#8527)
Fixes #8290 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
2e4b1beb7f
commit
5297ac2524
@ -110,7 +110,7 @@ public class DeviceHistoryHandler {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user