Fix python state definition
Use dev branch of state package