[FEATURE] Support changing the state of a resource