I have an item which comes in seconds and I would like to display this in hours (2 decimal digits). I have googled and searched a bit and found that item transformations might be able to do that. I have therefore done a
in the Item Metadata (State description). When I use the value in a page, I can see that the rounding is not properly done (left part of the image). However, when I wait ~2 mins, the value is displayed as I intended (right part of the image):
I am wondering why the display switches after a few minutes and what I can do to always have the intended formatting.
- Platform information:
- Hardware: Raspberry Pi
- Java Runtime Environment: openJre17
- openHAB version: 4.0.3