Use EntityStateAttribute enum in Space API (#175956)