HCConfigAdapter.setStateCommand() implemented.