What exactly is state history?

Hi everyone,

I understand the difference between event and state, but my question is - where can I see the "State history"?
Each device has the "Events" button at the top that shows what I understand is the event history, but where does the state history is shown?
What would happen for a temperature sensor if I set event history to 100 and state history to 1? Would I see up to 100 changes in temperatures on the events page?

Thank you!

Something I wrote for my use to look at events and states for an attribute:

https://raw.githubusercontent.com/thebearmay/hubitat/main/apps/eventStateDisplay.groovy

1 Like

Thank you, I installed your app and explored a bit.
It seems like for every device I checked, the state and event history had the same information.
Not sure why would I want a state history if I already have the event one?

Sometimes events don’t cause state changes, or you will see multiple events in rapid succession…