async def METHOD_NAME(
    decoy: Decoy,
    protocol_engine: ProtocolEngine,
) -> None:
    """It should be able to create a command."""
    command_create = pe_commands.HomeCreate(params=pe_commands.HomeParams())
    queued_command = pe_commands.Home(
        id="abc123",
        key="command-key",
        createdAt=datetime(year=2021, month=1, day=1),
        status=pe_commands.CommandStatus.QUEUED,
        params=pe_commands.HomeParams(),
        result=None,
    )
    def _stub_queued_command_state(*_a: object, **_k: object) -> pe_commands.Command:
        decoy.when(protocol_engine.state_view.commands.get("abc123")).then_return(
            queued_command
        )
        return queued_command
    decoy.when(
        protocol_engine.add_command(
            pe_commands.HomeCreate(
                params=pe_commands.HomeParams(),
                intent=pe_commands.CommandIntent.SETUP,
            )
        )
    ).then_do(_stub_queued_command_state)
    result = await create_command(
        RequestModel(data=command_create),
        waitUntilComplete=False,
        timeout=42,
        engine=protocol_engine,
    )
    assert result.content.data == queued_command
    assert result.status_code == 201
    decoy.verify(await protocol_engine.wait_for_command("abc123"), times=0)