State = 0 means that the battery can operate freely (based on other price signals)
State = 1 means that the battery must be reserved, ready to be called upon
State = 2 means that the battery must discharge, because an event should be called.
If you’re seeing this step shape, it means that the reserve period is for 5 hours, but the event is 4 hours long.