Keeping track on when an Item was last updated (OH3)

If you use previousState(true), you get an HistoricItem with state and timestamp properties that represent the Item when it had a state different than the current state. I’m not sure what is returned when the current state is NULL, but this may suit your purposes.

If not, take a look here…

1 Like