We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3770650 commit bd2fd55Copy full SHA for bd2fd55
bundles/org.openhab.binding.energidataservice/README.md
@@ -739,7 +739,7 @@ logInfo("Spot price two hours from now", price.toString)
739
740
```javascript
741
var hourStart = time.toZDT().plusHours(2).truncatedTo(time.ChronoUnit.HOURS);
742
-var price = items.SpotPrice.history.historicState(hourStart).quantityState;
+var price = items.SpotPrice.persistence.persistedState(hourStart).quantityState;
743
console.log("Spot price two hours from now: " + price);
744
```
745
0 commit comments