I found this issue when I tried Copying and Editing an existing Digital State.
New Digital Set:
0 : CLOSED
1 : OPEN
I renamed it, saved it and assigned it, but then the PI Tag Value showed the following result:
PI Tag Value: StateSetID: 64 | Offset: 0